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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526570
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x24
xor esi, esi
push esi
push 0x1036
push ebx
call edi
xor eax, eax
mov dword [esp + 0x48], eax
push 2
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x48], 3
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push ebx
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
jne 0x45b3e0
mov dword [esp + 0x4c], 0x12c
jmp 0x45b3f0
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x44]
push edx
push esi
push 0x1061
push ebx
call edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebp + 8]
mov byte [esp + 0x78], 1
call fcn.0045b0a0
add esp, 8
test al, al
jne 0x45b47a
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x45b449
push eax
call fcn.004fc79f
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x45b466
push eax
call fcn.004fc79f
add esp, 4
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x45b4c6
mov ecx, dword [esp + 0x2c]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x45b4c6
mov eax, dword [esp + 0xc]
push 1
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + edi]
push ebx
call fcn.00466170
add esp, 0xc
add esi, 1
add dword [esp + 0xc], 0x30
jmp 0x45b482
xor esi, esi
mov dword [esp + 0xc], esi
lea esp, [esp]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x45b514
mov ecx, dword [esp + 0x1c]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x45b514
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edx + edi]
push ebx
call fcn.00466170
add esp, 0xc
add esi, 1
add dword [esp + 0xc], 0x30
jmp 0x45b4d0
mov edi, ebx
call fcn.004666b0
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x45b52e
push eax
call fcn.004fc79f
add esp, 4
mov eax, dword [esp + 0x28]
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
je 0x45b54b
push eax
call fcn.004fc79f
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret