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

Disassembly:
sub esp, 0x120
mov eax, dword [0x755898]
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.005fa8ec
test eax, eax
je 0x45b231
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 0x45b231
fld qword [0x74fd60]
mov eax, dword [0x75abd8]
mov ecx, dword [0x75adbc]
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 0x45a920
cmp dword [0x75b1e8], 0
jne 0x45a920
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 [0x75b1e8], ebx
mov dword [esp + 0x2c], 0x5c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
fld qword [esp + 0x34]
test eax, eax
jne 0x45a920
mov ecx, 0x17
lea esi, [esp + 0xd0]
mov edi, 0x75b180
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov dword [0x75b1e4], ebx
cmp dword [0x75b1ec], 0
jne 0x45a939
mov edx, dword [esp + 0x74]
mov dword [0x75b1ec], ebx
mov dword [0x74fe38], edx
cmp dword [0x75b1f4], 0
jne 0x45abd8
mov edx, dword [0x75b1e4]
test edx, edx
je 0x45abe3
mov eax, dword [0x75b664]
fstp st(0)
mov dword [0x75b1f4], ebx
test eax, eax
je 0x45a96d
push eax
call fcn.005f610f
mov esi, eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005fa630
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov ebx, eax
call ebp
push eax
call fcn.005fa8ec
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
cmp dword [0x75b1f8], 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 0x45aa52
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0xd0]
mov dword [0x75b1f8], 1
mov dword [esp + 0x3c], 0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a9f0
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 0x45aa22
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 [0x75b200], ecx
mov dword [0x75b1fc], eax
push 0x75b180
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
call fcn.005fa8ec
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 0x45aa90
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 [0x75b200]
fst qword [0x74fe40]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45aafa
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 0x45ab29
fadd qword [0x67e1b0]
fidiv dword [0x75b1fc]
mov ebx, 1
fstp qword [0x74fe48]
fld qword [esp + 0x34]
fxch st(1)
mov edx, dword [0x75b1e4]
test edx, edx
je 0x45abe9
fstp st(1)
mov dword [esp + 0x60], ebx
fld st(0)
mov dword [esp + 0x54], 0
fst qword [esp + 0x34]
fld qword [0x74fe48]
fstp qword [esp + 0x4c]
fcom qword [0x74fd60]
fnstsw ax
test ah, 0x41
jne 0x45ab7f
mov dword [0x75b1f0], ebx
mov ecx, 0x17
fxch st(1)
mov esi, 0x75b180
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x144], 0
je 0x45ac32
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45ac32
fstp st(1)
fld qword [eax]
fst qword [esp + 0x34]
test edx, edx
je 0x45ac2a
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.0061f560
mov dword [esp + 0x74], eax
jmp 0x45ac34
fld qword [0x74fe40]
jmp 0x45ab40
fld qword [0x74fe40]
xor eax, eax
cmp word [0x75ad14], 0x54
je 0x45ac0e
movzx ecx, word [eax + 0x681450]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45abf5
jmp 0x45ab91
movzx ecx, word [eax + str.Segoe_UI]
mov word [esp + eax + 0x90], cx
add eax, 2
test cx, cx
jne 0x45ac0e
jmp 0x45ab91
fstp st(1)
fst qword [esp + 0x4c]
jmp 0x45ac34
fstp st(0)
cmp dword [esp + 0x60], 0
je 0x45b0f2
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 0x45acae
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.0061f560
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.0061f560
mov esi, eax
sub esi, edi
add esi, dword [esp + 0x28]
cmp dword [esp + 0x144], 0
mov dword [esp + 0x14], 0
je 0x45ad26
cmp dword [esp + 0x58], 0
jne 0x45b081
push 0
lea edx, [esp + 0x68]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x45b081
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 0x45ae59
cmp dword [esp + 0x13c], 0
je 0x45ad86
lea edx, [esi + esi]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jge 0x45ad88
lea eax, [ebx + ebx*2]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x45ad88
mov esi, ebx
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov edx, dword [esp + 0x138]
cmp eax, edx
je 0x45ae59
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 0x45add0
fstp st(1)
fld st(0)
fxch st(1)
cmp dword [esp + 0x54], 0
jne 0x45ae10
fild dword [esp + 0x74]
fmul st(2)
fdiv qword [esp + 0x34]
call fcn.0061f560
mov ebp, dword [0x74fe38]
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 0x45ae10
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.0061f560
fxch st(2)
mov ecx, dword [esp + 0x44]
fstp qword [esp + 0x34]
mov ebp, eax
jmp 0x45ae5f
fld qword [esp + 0x4c]
fld1
cmp edi, ebp
jge 0x45af42
cmp dword [esp + 0x13c], 0
je 0x45ae93
lea edx, [ebp + ebp]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x45ae95
lea eax, [edi + edi*2]
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
jmp 0x45ae95
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 0x45aec4
fstp st(0)
fld st(0)
cmp dword [esp + 0x54], 0
jne 0x45af02
fild dword [esp + 0x74]
fmul st(1)
fdiv st(3)
call fcn.0061f560
mov esi, dword [0x74fe38]
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 0x45af02
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.0061f560
fstp qword [esp + 0x4c]
mov esi, eax
sub esi, dword [esp + 0x20]
add esi, dword [esp + 0x28]
jmp 0x45af46
fstp st(0)
fstp st(0)
cmp dword [esp + 0x140], 0
jne 0x45b00c
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x45af68
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x45af95
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.0061f560
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
cmp ebx, ecx
jne 0x45afa9
xor ecx, ecx
mov dword [esp + 0x30], ecx
jmp 0x45afdc
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.0061f560
mov dword [esp + 0x30], eax
mov ecx, eax
mov eax, dword [esp + 0x18]
lea edx, [eax + ebp]
cmp edx, edi
jle 0x45afeb
mov eax, edi
sub eax, ebp
mov dword [esp + 0x18], eax
lea edx, [esi + ecx]
cmp edx, ebx
jle 0x45affa
sub ebx, esi
mov ecx, ebx
mov dword [esp + 0x30], ecx
xor edx, edx
cmp eax, edx
jge 0x45b004
mov dword [esp + 0x18], edx
cmp ecx, edx
jge 0x45b00c
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 0x45b04c
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 0x45b079
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 0x45b081
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 0x45b081
mov dword [esp + 0x14], 1
cmp dword [esp + 0x13c], 0
jne 0x45b0a7
cmp dword [esp + 0x14], 0
jne 0x45b0a7
mov ecx, dword [esp + 0x2c]
push 0x16
push esi
push ebp
push 0
push 0
push 0
call fcn.005f26ab
jmp 0x45b0c3
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 0x45b0f2
fld qword [0x67f668]
fsubr st(1)
fild dword [esp + 0x78]
fmul st(1)
call fcn.0061f560
fimul dword [esp + 0x74]
add dword [esp + 0x78], eax
call fcn.0061f560
add dword [esp + 0x74], eax
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45b108
cmp dword [esp + 0x144], 0
jne 0x45b108
fstp qword [eax]
jmp 0x45b10a
fstp st(0)
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ebx, eax
test ebx, ebx
je 0x45b22f
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.005f610f
mov esi, eax
test esi, esi
je 0x45b22f
cmp dword [esp + 0x60], 0
je 0x45b208
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.0061f560
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.0061f560
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 [0x67f668]
fmulp st(2)
fxch st(1)
call fcn.0061f560
fimul dword [esp + 0x64]
add eax, edi
push eax
call fcn.0061f560
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.005f610f
mov esi, eax
test esi, esi
jne 0x45b150
pop edi
pop ebx
mov ecx, dword [esp + 0x124]
pop esi
pop ebp
xor ecx, esp
call fcn.0061d2ff
add esp, 0x120
ret