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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x80], 0
jne 0x45a1b2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x84], 0
je 0x45a1a8
call fcn.00503137
mov eax, dword [eax + 8]
mov ebp, 1
push ebp
push 0x1e4
lea ebx, [edi + 0x328]
push ebx
call fcn.0046c310
push 0x2bc
push 0xe
lea esi, [edi + 0x1e4]
call fcn.00424c40
push 0x12c
push 0xe
lea esi, [edi + 0x1ec]
call fcn.00424c40
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
xor ebp, ebp
lea eax, [edi + 0x22c]
add esp, 0x10
cmp eax, ebp
lea ecx, [edi + 0x280]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x56dac0
mov dword [esp + 0x28], 0x56cfcc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
je 0x45a25a
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.005039ae
lea eax, [edi + 0x2d4]
cmp eax, ebp
je 0x45a27f
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4c0]
mov edx, dword [esp + 0x3c]
fmul qword [0x584e18]
push ebp
push ebp
mov dword [esp + 0x18], edx
call fcn.005261c0
fld qword [0x5ae4b8]
fmul qword [0x584dc0]
push eax
call fcn.005261c0
mov ecx, dword [esp + 0x54]
sub ecx, eax
push ecx
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, edi
cmp dword [esp + ebp + 0x14], 0
je 0x45a3a7
push 0xc
call fcn.004fae94
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x45a3db
mov dword [esi], eax
mov dword [esi + 4], eax
push esi
lea ecx, [edi + 0x1c0]
mov dword [esi + 8], eax
call fcn.00503381
mov ebx, dword [esp + ebp + 0x1c]
mov ecx, dword [esp + ebp + 0x24]
mov dword [esi], ebx
call fcn.005058e9
test eax, eax
mov dword [esi + 4], eax
je 0x45a1a8
test ebx, ebx
mov eax, dword [esp + ebp + 0x2c]
mov dword [esi + 8], eax
je 0x45a335
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.005039ae
push 5
mov ecx, ebx
call fcn.00501947
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
push 5
push 0
push 0
push ecx
push edx
push 0
mov ecx, ebx
call fcn.00501b56
fld qword [0x5ae4c0]
fmul qword [0x584f48]
call fcn.005261c0
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 4]
sub ecx, eax
sub ecx, dword [esp + 0x3c]
mov eax, dword [edi + 0x84]
add dword [esp + 0x10], ecx
mov dword [edx + 0x84], eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edi + 0x228]
mov edx, dword [edx + 0x160]
push eax
call edx
mov esi, dword [esi + 4]
lea ebx, [esp + 0x58]
mov eax, edi
call fcn.00421940
add ebp, 4
cmp ebp, 8
jb 0x45a2c0
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
mov dword [edi + 0x1dc], 0
call edx
mov eax, dword [edi + 0x78]
mov ecx, dword [eax]
add edi, 0x78
push 0
push edi
call ecx
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret