Function at 0x45b0e0
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.005fd857
test eax, eax
je 0x45bae1
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 0x45bae1
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 0x45b1d0
cmp dword [0x75e208], 0
jne 0x45b1d0
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 0x45b1d0
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 0x45b1e9
mov edx, dword [esp + 0x74]
mov dword [0x75e20c], ebx
mov dword [0x752e38], edx
cmp dword [0x75e214], 0
jne 0x45b488
mov edx, dword [0x75e204]
test edx, edx
je 0x45b493
mov eax, dword [0x75e6a4]
fstp st(0)
mov dword [0x75e214], ebx
test eax, eax
je 0x45b21d
push eax
call fcn.005f908d
mov esi, eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005fd59b
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov ebx, eax
call ebp
push eax
call fcn.005fd857
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 0x45b302
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 0x45b2a0
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 0x45b2d2
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.005fd857
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 0x45b340
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 0x45b3aa
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 0x45b3d9
fadd qword [0x6813f8]
fidiv dword [0x75e21c]
mov ebx, 1
fstp qword [0x752e48]
fld qword [esp + 0x34]
fxch st(1)
mov edx, dword [0x75e204]
test edx, edx
je 0x45b499
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 0x45b42f
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 0x45b4e2
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45b4e2
fstp st(1)
fld qword [eax]
fst qword [esp + 0x34]
test edx, edx
je 0x45b4da
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.006224a0
mov dword [esp + 0x74], eax
jmp 0x45b4e4
fld qword [0x752e40]
jmp 0x45b3f0
fld qword [0x752e40]
xor eax, eax
cmp word [0x75dd2c], 0x54
je 0x45b4be
movzx ecx, word [eax + 0x68474c]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45b4a5
jmp 0x45b441
movzx ecx, word [eax + str.Segoe_UI]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45b4be
jmp 0x45b441
fstp st(1)
fst qword [esp + 0x4c]
jmp 0x45b4e4
fstp st(0)
cmp dword [esp + 0x60], 0
je 0x45b9a2
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 0x45b55e
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.006224a0
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.006224a0
mov esi, eax
sub esi, edi
add esi, dword [esp + 0x28]
cmp dword [esp + 0x144], 0
mov dword [esp + 0x14], 0
je 0x45b5d6
cmp dword [esp + 0x58], 0
jne 0x45b931
push 0
lea edx, [esp + 0x68]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x45b931
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 0x45b709
cmp dword [esp + 0x13c], 0
je 0x45b636
lea edx, [esi + esi]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x45b638
lea eax, [ebx + ebx*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x45b638
mov esi, ebx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov edx, dword [esp + 0x138]
cmp eax, edx
je 0x45b709
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 0x45b680
fstp st(1)
fld st(0)
fxch st(1)
cmp dword [esp + 0x54], 0
jne 0x45b6c0
fild dword [esp + 0x74]
fmul st(2)
fdiv qword [esp + 0x34]
call fcn.006224a0
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 0x45b6c0
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.006224a0
fxch st(2)
mov ecx, dword [esp + 0x44]
fstp qword [esp + 0x34]
mov ebp, eax
jmp 0x45b70f
fld qword [esp + 0x4c]
fld1
cmp edi, ebp
jge 0x45b7f2
cmp dword [esp + 0x13c], 0
je 0x45b743
lea edx, [ebp + ebp]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x45b745
lea eax, [edi + edi*2]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x45b745
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 0x45b774
fstp st(0)
fld st(0)
cmp dword [esp + 0x54], 0
jne 0x45b7b2
fild dword [esp + 0x74]
fmul st(1)
fdiv st(3)
call fcn.006224a0
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 0x45b7b2
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.006224a0
fstp qword [esp + 0x4c]
mov esi, eax
sub esi, dword [esp + 0x20]
add esi, dword [esp + 0x28]
jmp 0x45b7f6
fstp st(0)
fstp st(0)
cmp dword [esp + 0x140], 0
jne 0x45b8bc
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x45b818
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x45b845
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.006224a0
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
cmp ebx, ecx
jne 0x45b859
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x45b88c
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.006224a0
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ebp]
cmp edx, edi
jle 0x45b89b
mov eax, edi
sub eax, ebp
mov dword [esp + 0x18], eax
lea edx, [esi + ecx]
cmp edx, ebx
jle 0x45b8aa
sub ebx, esi
mov ecx, ebx
mov dword [esp + 0x30], ecx
xor edx, edx
cmp eax, edx
jge 0x45b8b4
mov dword [esp + 0x18], edx
cmp ecx, edx
jge 0x45b8bc
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 0x45b8fc
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 0x45b929
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 0x45b931
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 0x45b931
mov dword [esp + 0x14], 1
cmp dword [esp + 0x13c], 0
jne 0x45b957
cmp dword [esp + 0x14], 0
jne 0x45b957
mov ecx, dword [esp + 0x2c]
push 0x16
push esi
push ebp
push 0
push 0
push 0
call fcn.005f560f
jmp 0x45b973
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 0x45b9a2
fld qword [0x6828c8]
fsubr st(1)
fild dword [esp + 0x78]
fmul st(1)
call fcn.006224a0
fimul dword [esp + 0x74]
add dword [esp + 0x78], eax
call fcn.006224a0
add dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45b9b8
cmp dword [esp + 0x144], 0
jne 0x45b9b8
fstp qword [eax]
jmp 0x45b9ba
fstp st(0)
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
test ebx, ebx
je 0x45badf
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.005f908d
mov esi, eax
test esi, esi
je 0x45badf
cmp dword [esp + 0x60], 0
je 0x45bab8
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.006224a0
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.006224a0
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 [0x6828c8]
fmulp st(2)
fxch st(1)
call fcn.006224a0
fimul dword [esp + 0x64]
add eax, edi
push eax
call fcn.006224a0
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.005f908d
mov esi, eax
test esi, esi
jne 0x45ba00
pop edi
pop ebx
mov ecx, dword [esp + 0x124]
pop esi
pop ebp
xor ecx, esp
call fcn.0062023e
add esp, 0x120
ret