Function at 0x45b6f0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x120
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x138]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, dword [esp + 0x12c]
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], eax
call ebp
push eax
call fcn.005fd7d9
test eax, eax
je 0x45c0f1
mov eax, dword [eax + 4]
lea edx, [esp + 0x6c]
push edx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x45c0f1
fld qword [0x752d60]
mov eax, dword [0x75dbe4]
mov ecx, dword [0x75ddc8]
fld st(0)
fst qword [esp + 0x2c]
push ebx
fxch st(1)
mov ebx, 1
fstp qword [esp + 0x48]
push edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ebx
test eax, eax
je 0x45b7e0
cmp dword [0x75e208], 0
jne 0x45b7e0
lea edx, [esp + 0x14]
fstp st(0)
push edx
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0
push str.selectedFont
push eax
mov dword [0x75e208], ebx
mov dword [esp + 0x2c], 0x5c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
fld qword [esp + 0x34]
test eax, eax
jne 0x45b7e0
mov ecx, 0x17
lea esi, [esp + 0xd0]
mov edi, 0x75e1a0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov dword [0x75e204], ebx
cmp dword [0x75e20c], 0
jne 0x45b7f9
mov edx, dword [esp + 0x74]
mov dword [0x75e20c], ebx
mov dword [0x752e38], edx
cmp dword [0x75e214], 0
jne 0x45ba98
mov edx, dword [0x75e204]
test edx, edx
je 0x45baa3
mov eax, dword [0x75e6a4]
fstp st(0)
mov dword [0x75e214], ebx
test eax, eax
je 0x45b82d
push eax
call fcn.005f9031
mov esi, eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005fd51d
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov ebx, eax
call ebp
push eax
call fcn.005fd7d9
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
cmp dword [0x75e218], 0
mov ecx, 0x12
mov esi, str.AQWERtyuiop_ASdfghjkl_Zxcvbnm_wwwamd
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.USER32.dll_DrawTextW]
mov ebp, eax
jne 0x45b912
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0xd0]
mov dword [0x75e218], 1
mov dword [esp + 0x3c], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b8b0
push 0x400
sub eax, edx
lea ecx, [esp + 0x40]
push ecx
sar eax, 1
push eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0xdc]
push edx
push eax
call esi
lea eax, [esp + 0xd0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b8e2
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
xor edx, edx
div ecx
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
mov dword [0x75e220], ecx
mov dword [0x75e21c], eax
push 0x75e1a0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
call fcn.005fd7d9
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x1c], 0
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b950
push 0x400
sub eax, edx
lea ecx, [esp + 0x20]
push ecx
sar eax, 1
push eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0xdc]
push edx
push eax
call esi
mov edx, dword [ebx]
mov eax, dword [edx + 0x28]
push ebp
mov ecx, ebx
call eax
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
lea eax, [esp + 0xd0]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
lea edx, [eax + 2]
fidiv dword [0x75e220]
fst qword [0x752e40]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45b9ba
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
xor edx, edx
div ecx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
test eax, eax
jge 0x45b9e9
fadd qword [0x681408]
fidiv dword [0x75e21c]
mov ebx, 1
fstp qword [0x752e48]
fld qword [esp + 0x34]
fxch st(1)
mov edx, dword [0x75e204]
test edx, edx
je 0x45baa9
fstp st(1)
mov dword [esp + 0x60], ebx
fld st(0)
mov dword [esp + 0x54], 0
fst qword [esp + 0x34]
fld qword [0x752e48]
fstp qword [esp + 0x4c]
fcom qword [0x752d60]
fnstsw ax
test ah, 0x41
jne 0x45ba3f
mov dword [0x75e210], ebx
mov ecx, 0x17
fxch st(1)
mov esi, 0x75e1a0
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x144], 0
je 0x45baf2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45baf2
fstp st(1)
fld qword [eax]
fst qword [esp + 0x34]
test edx, edx
je 0x45baea
fld qword [esp + 0x4c]
fmul st(1)
fdiv st(2)
fstp qword [esp + 0x4c]
fild dword [esp + 0x74]
fmul st(1)
fdivrp st(2)
fxch st(1)
call fcn.006223d0
mov dword [esp + 0x74], eax
jmp 0x45baf4
fld qword [0x752e40]
jmp 0x45ba00
fld qword [0x752e40]
xor eax, eax
cmp word [0x75dd2c], 0x54
je 0x45bace
movzx ecx, word [eax + 0x68473c]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45bab5
jmp 0x45ba51
movzx ecx, word [eax + str.Segoe_UI]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45bace
jmp 0x45ba51
fstp st(1)
fst qword [esp + 0x4c]
jmp 0x45baf4
fstp st(0)
cmp dword [esp + 0x60], 0
je 0x45bfb2
mov esi, dword [esp + 0x2c]
fstp st(0)
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, ecx
cdq
and edx, 3
add edx, eax
mov esi, dword [esp + 0x40]
sar edx, 2
mov eax, ecx
sub eax, edx
mov dword [esp + 0x18], eax
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
sub eax, edx
cmp dword [esp + 0x140], 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
je 0x45bb6e
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], esi
mov edx, dword [esp + 0x44]
sub edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fld qword [esp + 0x4c]
sub eax, ecx
fld1
mov dword [esp + 0x14], eax
fsub st(1), st(0)
fxch st(2)
fmulp st(1)
fild dword [esp + 0x14]
faddp st(1)
call fcn.006223d0
mov ecx, dword [esp + 0x48]
sub ecx, esi
sub ecx, dword [esp + 0x138]
mov ebp, eax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld qword [esp + 0x34]
fsubrp st(2)
fmulp st(1)
call fcn.006223d0
mov esi, eax
sub esi, edi
add esi, dword [esp + 0x28]
cmp dword [esp + 0x144], 0
mov dword [esp + 0x14], 0
je 0x45bbe6
cmp dword [esp + 0x58], 0
jne 0x45bf41
push 0
lea edx, [esp + 0x68]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x45bf41
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
sub ebx, dword [esp + 0x68]
sub edi, dword [esp + 0x64]
cmp ebx, esi
mov ecx, dword [esp + 0x44]
jge 0x45bd19
cmp dword [esp + 0x13c], 0
je 0x45bc46
lea edx, [esi + esi]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x45bc48
lea eax, [ebx + ebx*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x45bc48
mov esi, ebx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov edx, dword [esp + 0x138]
cmp eax, edx
je 0x45bd19
mov ecx, esi
sub ecx, dword [esp + 0x28]
sub eax, edx
add ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdivp st(1)
fld1
fadd st(1), st(0)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x45bc90
fstp st(1)
fld st(0)
fxch st(1)
cmp dword [esp + 0x54], 0
jne 0x45bcd0
fild dword [esp + 0x74]
fmul st(2)
fdiv qword [esp + 0x34]
call fcn.006223d0
mov ebp, dword [0x752e38]
mov ecx, eax
mov eax, ebp
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
xor eax, edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
sub eax, edx
cmp ecx, eax
jle 0x45bcd0
mov dword [esp + 0x74], ebp
fld st(1)
mov edx, dword [esp + 0x44]
fmul qword [esp + 0x4c]
sub edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
fdiv qword [esp + 0x34]
mov dword [esp + 0x10], edx
fst qword [esp + 0x4c]
fild dword [esp + 0x10]
fld st(1)
fsub st(3)
mov dword [esp + 0x10], eax
fmulp st(1)
fild dword [esp + 0x10]
faddp st(1)
call fcn.006223d0
fxch st(2)
mov ecx, dword [esp + 0x44]
fstp qword [esp + 0x34]
mov ebp, eax
jmp 0x45bd1f
fld qword [esp + 0x4c]
fld1
cmp edi, ebp
jge 0x45be02
cmp dword [esp + 0x13c], 0
je 0x45bd53
lea edx, [ebp + ebp]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x45bd55
lea eax, [edi + edi*2]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x45bd55
mov ebp, edi
sub ecx, dword [esp + 0x3c]
mov edx, ebp
sub edx, dword [esp + 0x24]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fdivp st(1)
fadd st(1)
fcom st(1)
fnstsw ax
test ah, 5
jp 0x45bd84
fstp st(0)
fld st(0)
cmp dword [esp + 0x54], 0
jne 0x45bdc2
fild dword [esp + 0x74]
fmul st(1)
fdiv st(3)
call fcn.006223d0
mov esi, dword [0x752e38]
mov ecx, eax
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, ecx
cdq
xor eax, edx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x10]
sub eax, edx
cmp ecx, eax
jle 0x45bdc2
mov dword [esp + 0x74], esi
fld qword [esp + 0x34]
mov eax, dword [esp + 0x48]
fmul st(1)
sub eax, dword [esp + 0x40]
sub eax, dword [esp + 0x138]
fdivrp st(3)
mov dword [esp + 0x10], eax
fxch st(2)
fst qword [esp + 0x34]
fild dword [esp + 0x10]
fxch st(1)
fsubrp st(2)
fmulp st(1)
call fcn.006223d0
fstp qword [esp + 0x4c]
mov esi, eax
sub esi, dword [esp + 0x20]
add esi, dword [esp + 0x28]
jmp 0x45be06
fstp st(0)
fstp st(0)
cmp dword [esp + 0x140], 0
jne 0x45becc
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x45be28
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x45be55
mov ecx, edi
sub ecx, ebp
mov edx, edi
sub edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
fimul dword [esp + 0x1c]
fild dword [esp + 0x10]
fdivp st(1)
call fcn.006223d0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
cmp ebx, ecx
jne 0x45be69
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x45be9c
mov edx, ebx
sub edx, esi
mov eax, ebx
sub eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
add eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
fimul dword [esp + 0x20]
fild dword [esp + 0x10]
fdivp st(1)
call fcn.006223d0
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ebp]
cmp edx, edi
jle 0x45beab
mov eax, edi
sub eax, ebp
mov dword [esp + 0x18], eax
lea edx, [esi + ecx]
cmp edx, ebx
jle 0x45beba
sub ebx, esi
mov ecx, ebx
mov dword [esp + 0x30], ecx
xor edx, edx
cmp eax, edx
jge 0x45bec4
mov dword [esp + 0x18], edx
cmp ecx, edx
jge 0x45becc
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x18]
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
lea ebx, [eax + ecx]
lea ecx, [edi + edi*8]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jle 0x45bf0c
mov edx, edi
imul edx, edx, 0xb
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x45bf39
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, edx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, ecx
jle 0x45bf41
imul edi, edi, 0xb
mov eax, 0x66666667
imul edi
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jge 0x45bf41
mov dword [esp + 0x14], 1
cmp dword [esp + 0x13c], 0
jne 0x45bf67
cmp dword [esp + 0x14], 0
jne 0x45bf67
mov ecx, dword [esp + 0x2c]
push 0x16
push esi
push ebp
push 0
push 0
push 0
call fcn.005f5541
jmp 0x45bf83
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 1
push esi
push ebp
push edx
mov edx, dword [ecx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [esp + 0x54], 0
fld qword [esp + 0x34]
je 0x45bfb2
fld qword [0x6828c0]
fsubr st(1)
fild dword [esp + 0x78]
fmul st(1)
call fcn.006223d0
fimul dword [esp + 0x74]
add dword [esp + 0x78], eax
call fcn.006223d0
add dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45bfc8
cmp dword [esp + 0x144], 0
jne 0x45bfc8
fstp qword [eax]
jmp 0x45bfca
fstp st(0)
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
test ebx, ebx
je 0x45c0ef
mov esi, dword [esp + 0x2c]
mov ecx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x30
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.005f9031
mov esi, eax
test esi, esi
je 0x45c0ef
cmp dword [esp + 0x60], 0
je 0x45c0c8
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push 1
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld qword [esp + 0x38]
fmul st(1), st(0)
fxch st(1)
call fcn.006223d0
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
push eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fld qword [esp + 0x54]
fmul st(1), st(0)
fxch st(1)
call fcn.006223d0
mov edi, dword [esp + 0x64]
push eax
mov eax, edi
sub eax, dword [esp + 0x144]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fxch st(2)
fsub qword [0x6828c0]
fmulp st(2)
fxch st(1)
call fcn.006223d0
fimul dword [esp + 0x64]
add eax, edi
push eax
call fcn.006223d0
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [esi + 0x20]
push 1
push ebx
push 0x30
push edx
call ebp
mov esi, dword [esi + 0x20]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call fcn.005f9031
mov esi, eax
test esi, esi
jne 0x45c010
pop edi
pop ebx
mov ecx, dword [esp + 0x124]
pop esi
pop ebp
xor ecx, esp
call fcn.0062016f
add esp, 0x120
ret