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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x80], 0
jne 0x45ac52
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x84], 0
je 0x45ac48
push 0x2bc
push 0xe
lea esi, [edi + 0x1e4]
call fcn.00424c40
push 0x12c
push 0xe
lea esi, [edi + 0x1ec]
call fcn.00424c40
add esp, 0x10
mov dword [edi + 0x1e0], 1
call fcn.00503137
mov eax, dword [eax + 8]
push 1
push 0x233
lea esi, [edi + 0x228]
push esi
call fcn.0046c310
call fcn.00503137
mov eax, dword [eax + 8]
push 1
push 0x1e4
lea ebx, [edi + 0x25c]
push ebx
call fcn.0046c310
call fcn.00503137
mov eax, dword [eax + 8]
push 1
push 0x22f
lea ebp, [edi + 0x290]
push ebp
call fcn.0046c310
mov edx, dword [edi + 0x2c4]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x104]
shr eax, 4
not eax
and eax, 1
mov dword [esp + 0x28], eax
mov eax, edx
call fcn.00456ee0
mov dword [esp + 0x2c], eax
mov eax, edx
call fcn.00456f40
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x100]
shr edx, 0x1d
and edx, 1
lea ecx, [edi + 0x3c4]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x31c]
mov dword [esp + 0x60], ebp
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
lea edx, [edi + 0x370]
lea ecx, [edi + 0x418]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0x56c854
mov dword [esp + 0x4c], 0x56e238
mov dword [esp + 0x50], 0x56d610
mov dword [esp + 0x54], 0x56bac4
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebp
je 0x45ad9f
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.005039ae
lea eax, [edi + 0x2c8]
cmp eax, ebp
je 0x45adc4
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x68]
push ecx
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4c0]
mov edx, dword [esp + 0x1c]
fmul qword [0x584e18]
push ebp
push ebp
mov dword [esp + 0x1c], edx
call fcn.005261c0
fld qword [0x5ae4b8]
fmul qword [0x584dc0]
push eax
call fcn.005261c0
mov ecx, dword [esp + 0x74]
sub ecx, eax
push ecx
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x45ae10
cmp dword [esp + ebp + 0x28], 0
je 0x45aeef
push 0xc
call fcn.004fae94
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x45af79
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 + 0x38]
mov ecx, dword [esp + ebp + 0x48]
mov dword [esi], ebx
call fcn.005058e9
test eax, eax
mov dword [esi + 4], eax
je 0x45ac48
test ebx, ebx
mov eax, dword [esp + ebp + 0x58]
mov dword [esi + 8], eax
je 0x45ae85
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.005039ae
push 5
mov ecx, ebx
call fcn.00501947
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 5
push 0
push 0
push ecx
push edx
push 0
mov ecx, ebx
call fcn.00501b56
fld qword [0x5ae4c0]
call fcn.005261c0
sub eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x84]
add eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov dword [eax + 0x84], ecx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edi + 0x2c4]
mov edx, dword [edx + 0x160]
push eax
call edx
mov esi, dword [esi + 4]
lea ebx, [esp + 0x78]
mov eax, edi
call fcn.00421940
add ebp, 4
cmp ebp, 0x10
jb 0x45ae10
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
mov dword [edi + 0x1dc], 0
call edx
mov ecx, dword [edi + 0x78]
mov edx, dword [ecx]
lea eax, [edi + 0x78]
push 0
push eax
call edx
mov eax, dword [edi + 0x84]
mov dword [edi + 0xc0], edi
mov esi, dword [eax + 0x14]
test esi, esi
je 0x45af56
mov eax, esi
lea ecx, [edi + 0xc4]
lea ebx, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x45af40
sub eax, ebx
sar eax, 1
push eax
push esi
call fcn.00404a30
add edi, 0xdc
push 0x562dd8
mov ecx, edi
call fcn.00503381
push 0x562dc4
mov ecx, edi
call fcn.00503381
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret