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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0xac], eax
mov ecx, dword [edi + 0x84]
push ebx
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
push esi
je 0x447906
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.0040d9e0
test eax, eax
jne 0x44756c
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0052151a
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x228]
mov esi, 1
push esi
push 0x5633a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.004b5090
test eax, eax
jne 0x447594
mov dword [esp + 0xc], ebx
jmp 0x4475a1
xor eax, eax
cmp dword [esp + 0xc], esi
sete al
mov dword [esp + 0xc], eax
lea ecx, [edi + 0x1c0]
push esi
call fcn.0050328d
mov ebx, eax
test ebx, ebx
je 0x4475f9
test ebx, ebx
mov eax, ebx
je 0x44762b
mov esi, dword [eax + 8]
test esi, esi
mov ebx, dword [ebx]
je 0x4475f0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4475d0
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4475e7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 4], 0
push esi
call fcn.004faebf
add esp, 4
test ebx, ebx
jne 0x4475b3
mov esi, 1
cmp dword [edi + 0x1cc], esi
jle 0x447614
lea ecx, [edi + 0x1c0]
call fcn.00503229
cmp dword [edi + 0x1cc], esi
jg 0x447601
movzx eax, word [esp + 0x8e]
add eax, 0xfffffffe
cmp eax, 6
ja case.0x447624.3
jmp dword [eax*4 + 0x44791c]
jmp fcn.00504221
mov dword [esp + 0x10], esi
jmp case.0x447624.3
mov ecx, dword [edi + 0x84]
test byte [ecx + 0xfc], 0x20
je 0x44764b
mov dword [esp + 0x10], esi
jmp case.0x447624.3
mov dword [esp + 0x14], esi
jmp case.0x447624.3
mov edx, dword [edi + 0x84]
cmp dword [edx + 0x78], 3
je 0x44766a
cmp dword [esp + 0xc], 0
jne 0x44766a
mov dword [esp + 0x1c], esi
jmp case.0x447624.3
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
lea eax, [edi + 0x2d4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [edi + 0x328]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov eax, 0x56b100
lea ecx, [edi + 0x280]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], ecx
lea eax, [edi + 0x4f8]
lea edx, [edi + 0x37c]
lea ecx, [edi + 0x45c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x8c], ecx
lea eax, [edi + 0x22c]
test eax, eax
lea edx, [edi + 0x4c4]
lea ecx, [edi + 0x490]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0x56a9d4
mov dword [esp + 0x64], 0x56b898
mov dword [esp + 0x68], 0x569dbc
mov dword [esp + 0x90], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 0
je 0x447747
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.005039ae
lea eax, [edi + 0x3d0]
test eax, eax
je 0x44776c
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call fcn.005039ae
fld qword [0x5ae4c0]
fld qword [0x584f48]
fmul st(1)
call fcn.005261c0
fmul qword [0x584e18]
mov ecx, dword [esp + 0x2c]
sub ecx, eax
push 0
push 0
mov dword [esp + 0x14], ecx
call fcn.005261c0
fld qword [0x5ae4b8]
fmul qword [0x584dc0]
push eax
call fcn.005261c0
mov edx, dword [esp + 0x78]
sub edx, eax
push edx
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + ebx + 0x44], 0
jne 0x4477dc
mov ecx, dword [esp + ebx + 0x30]
push 0
call fcn.00501947
jmp 0x4478c7
push 0xc
call fcn.004fae94
mov esi, eax
add esp, 4
xor eax, eax
test esi, esi
je 0x447906
mov dword [esi], eax
mov dword [esi + 4], eax
push esi
lea ecx, [edi + 0x1c0]
mov dword [esi + 8], eax
call fcn.00503381
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + ebx + 0x30]
mov ecx, dword [esp + ecx + 0x58]
mov dword [esi], ebx
call fcn.005058e9
test eax, eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + edx + 0x8c]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
je 0x447556
test ebx, ebx
je 0x447851
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.005039ae
push 5
mov ecx, ebx
call fcn.00501947
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
push 5
push 0
push 0
push edx
push eax
push 0
mov ecx, ebx
call fcn.00501b56
fld qword [0x5ae4c0]
fmul qword [0x584f48]
call fcn.005261c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
sub ecx, eax
sub ecx, dword [esp + 0x24]
mov eax, dword [edi + 0x84]
add dword [esp + 0xc], 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 + 0x7c]
mov eax, edi
call fcn.00421940
mov ebx, dword [esp + 0x10]
add ebx, 4
cmp ebx, 0x14
mov dword [esp + 0x10], ebx
jb 0x4477c5
cmp dword [esp + 0x14], 0
je 0x4478eb
push 5
lea ecx, [edi + 0x2d4]
call fcn.00501947
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
mov ecx, edi
mov dword [edi + 0x1dc], 0
call edx
mov eax, 1
mov ecx, dword [esp + 0xb4]
pop esi
pop ebx
xor ecx, esp
call fcn.0052151a
mov esp, ebp
pop ebp
ret