Function at 0x45f610a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc7882
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, ecx
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 0x60]
or dword [esp + 0x14], 0xffffffff
xor ebx, ebx
mov dword [esi + 0x268], eax
cmp ecx, ebx
je 0x45f61109
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
call dword [eax + 0x84]
mov byte [esi + 0xcb], al
jmp 0x45f6110f
mov byte [esi + 0xcb], bl
mov eax, dword [esp + 0x14]
mov ecx, esi
call fcn.45f65118
push ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x20], eax
cmp eax, ebx
jne 0x45f6113d
push 0x30
push 0x45dd3cb8
call fcn.45f85b90
lea eax, [esp + 0x1c]
mov dword [esp + 0x108], ebx
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], ebx
call fcn.45f84577
lea edx, [esp + 0xc0]
call fcn.45f33889
push ebx
mov byte [esp + 0x10c], 1
call fcn.45f497c0
pop ecx
mov ecx, eax
lea eax, [esp + 0xa4]
call fcn.45f337af
push eax
lea eax, [esp + 0xc4]
mov byte [esp + 0x10c], 2
call fcn.45f33ba3
mov edi, dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
call fcn.45f84577
push eax
call edi
test eax, eax
je 0x45f6128a
mov al, byte [0x4603baf4]
test al, al
jne 0x45f61199
push ebx
mov dword [esp + 0x50], VariantInit
call fcn.45f497c0
pop ecx
mov ecx, eax
lea eax, [esp + 0x50]
call fcn.45f337af
push eax
lea eax, [esp + 0xc4]
mov byte [esp + 0x10c], 3
call fcn.45f33ba3
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x20]
call fcn.45f84577
push eax
call edi
test eax, eax
je 0x45f612d2
mov al, byte [0x4603baf4]
test al, al
jne 0x45f611ea
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
lea edi, [ecx + eax]
lea ecx, [edi + 5]
mov dword [esi + 0x228], ecx
mov dword [0x4603ba88], eax
mov dword [esp + 0x14], ebx
mov ecx, dword [esi + 0x190]
cmp dword [esp + 0x18], ecx
jae 0x45f61259
mov ecx, dword [esi + 0x194]
mov edx, dword [esp + 0x14]
cmp dword [ecx + edx + 0x2c], ebx
setne cl
or byte [esp + 0x13], cl
inc dword [esp + 0x18]
add dword [esp + 0x14], 0x3c
cmp byte [esp + 0x13], bl
je 0x45f61229
sub eax, dword [esp + 0x78]
mov dword [esi + 0x240], edi
mov dword [esi + 0x244], eax
cmp byte [esp + 0x13], bl
je 0x45f61316
mov eax, dword [esi + 0x268]
cmp edi, eax
jbe 0x45f6127f
mov eax, edi
mov dword [esi + 0x234], eax
jmp 0x45f6131c
lea eax, [esp + 0x28]
push eax
push 0x4e51
push 0x45dd072c
mov esi, 0x80004005
push esi
mov dword [esp + 0x38], ebx
call fcn.45f85675
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], 0x45dc096c
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], ebx
push 0x45ff0f98
lea eax, [esp + 0x40]
push eax
call fcn.45fb1416
lea eax, [esp + 0x24]
push eax
push 0x4e58
push 0x45dd072c
mov esi, 0x80004005
push esi
mov dword [esp + 0x34], ebx
call fcn.45f85675
mov eax, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x45dc096c
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], ebx
push 0x45ff0f98
lea eax, [esp + 0x30]
jmp 0x45f612cc
mov dword [esi + 0x234], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x248]
mov ecx, dword [esi + 0x234]
add eax, ecx
mov ecx, dword [esi + 0x5c]
shr ecx, 4
and ecx, 1
add ecx, eax
lea edx, [esi + 0x238]
mov dword [esi + 0x22c], eax
mov dword [edx], ecx
cmp byte [esi + 0xcb], bl
je 0x45f61368
test cl, 1
je 0x45f61368
inc ecx
inc eax
mov dword [edx], ecx
mov dword [esi + 0x22c], eax
mov eax, dword [esi + 0x228]
inc eax
mov dword [esi + 0x23c], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x230], eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x10c], 2
call fcn.45df4cdf
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x10c], 1
call fcn.45df4cdf
lea esi, [esp + 0xc0]
mov byte [esp + 0x108], bl
call fcn.45f338b4
or dword [esp + 0x108], 0xffffffff
push dword [esp + 0x20]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret