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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53cc30
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.00488940
xor eax, eax
xor edi, edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
cmp eax, edi
mov byte [esp + 0x80], 1
mov dword [esi + 0xf2], eax
jne 0x4506ae
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 0
call fcn.004500c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
call fcn.004884e0
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1304
push ecx
call ebx
mov ecx, dword [esi + 0xf2]
mov dword [esp + 0x18], eax
call fcn.00468610
cmp eax, edi
je 0x450701
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esi + 0xa8]
call fcn.0046b180
test eax, eax
jl 0x450701
mov eax, dword [esp + 0x30]
cmp eax, edi
mov dword [esi + 0xfa], eax
jle 0x450701
test eax, eax
jg 0x4507c5
xor edi, edi
mov eax, dword [esi + 0x10]
push edi
push edi
push 0x1304
push eax
call ebx
mov ecx, dword [esi + 0xfa]
cmp eax, ecx
jle 0x45073b
lea edi, [eax - 1]
cmp edi, ecx
jl 0x450739
nop
mov ecx, dword [esi + 0x10]
push 0
push edi
push 0x1308
push ecx
call ebx
sub edi, 1
cmp edi, dword [esi + 0xfa]
jge 0x450720
xor edi, edi
mov edx, dword [esi + 0x10]
push edi
push edi
push 0x130c
push edx
call ebx
mov ecx, esi
call fcn.0044ffc0
cmp dword [esp + 0x2c], edi
mov byte [esp + 0x80], 0
je 0x45078b
xor esi, esi
cmp dword [esp + 0x30], edi
jle 0x45077a
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*4]
call fcn.004884e0
add esi, 1
cmp esi, dword [esp + 0x30]
jl 0x450765
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.005168e3
add esp, 4
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x80], 0xffffffff
call fcn.004884e0
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x30]
test edi, edi
jl 0x450900
cmp edi, eax
jge 0x450900
mov eax, dword [esp + 0x2c]
lea eax, [eax + edi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00488590
cmp edi, dword [esp + 0x18]
push 0
jge 0x450840
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040d490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80], 2
mov dword [esp + 0x58], 1
call fcn.00489670
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], eax
call fcn.00488680
lea edx, [esp + 0x58]
push edx
push edi
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x10]
push 0x133d
push eax
call ebx
lea ecx, [esp + 0x1c]
jmp 0x4508df
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040d490
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 3
mov dword [esp + 0x58], 1
call fcn.00489670
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], eax
call fcn.00488680
lea edx, [esp + 0x58]
push edx
push edi
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x10]
push 0x133e
push eax
call ebx
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x48]
push eax
push edi
push 0x130a
push ecx
call ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x54]
sub eax, dword [esp + 0x3c]
add eax, dword [esp + 0x44]
test eax, eax
jle 0x4508db
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 1
call fcn.00489940
add edi, 1
cmp edi, dword [esi + 0xfa]
jl 0x4507c1
jmp 0x4506ff
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]