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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd4
mov byte [esp], dl
mov ebx, eax
cmp byte [ebx + 0x78], 0
je 0x5f3518
mov eax, ebx
call fcn.005f2e50
test al, al
jne 0x5f3518
cmp dword [ebx + 0x8c], 0
jg 0x5f3518
mov eax, dword [ebx + 0x1fc]
cmp byte [eax + 0x277], 1
jne 0x5f3285
mov eax, dword [0x65a924]
mov eax, dword [eax]
cmp dword [eax + 0x8c], 0
jg 0x5f3518
cmp dword [ebx + 0x20c], 0
jne 0x5f32ea
mov ecx, dword [0x65a808]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x489348]
call fcn.0048c8dc
mov esi, eax
mov dword [ebx + 0x20c], esi
mov dword [esi + 0xc], 0xffffff9e
mov dword [esi + 0x304], ebx
mov dword [esi + 0x300], 0x602b38
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x210], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x214], eax
mov eax, dword [ebx + 0x20c]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x602b3c
xor edx, edx
call fcn.0048e980
xor edx, edx
mov eax, dword [ebx + 0x20c]
call fcn.0048dad4
cmp dword [ebx + 0x218], 0
je 0x5f33a2
mov eax, ebx
call fcn.0060149c
mov esi, eax
mov eax, ebx
call fcn.00600e20
imul esi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d684
mov ebp, eax
mov eax, ebx
call fcn.00600d3c
add ebp, eax
sub ebp, esi
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.00603da0
sub ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x218]
call fcn.005f2bd4
sub ebp, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0047d6c4
xor ecx, ecx
mov edx, dword [ebx + 0x218]
call fcn.005f2b2c
mov edi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d664
add edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x1fc]
mov eax, edi
call fcn.0047d6c4
xor ecx, ecx
mov edx, dword [ebx + 0x218]
call fcn.005f2b2c
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [esp + 0x10], edx
test esi, esi
je 0x5f33e8
inc esi
jmp 0x5f33e8
mov eax, ebx
call fcn.006012d8
mov ecx, eax
mov eax, dword [ebx + 0x1fc]
mov edx, dword [eax + 0x4c]
movzx eax, byte [esp]
call fcn.005ca1b4
mov esi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d684
mov ebp, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d664
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1fc]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x10], eax
mov edi, 0x658
mov eax, dword [ebx + 0x1fc]
cmp byte [eax + 0x277], 1
jne 0x5f34a9
mov eax, dword [0x65a924]
mov eax, dword [eax]
mov eax, dword [eax + 0x1fc]
mov cl, 1
mov dl, 1
call fcn.005bf610
mov esi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d684
add esi, eax
add esi, 2
push esi
mov eax, dword [0x65a924]
mov eax, dword [eax]
mov eax, dword [eax + 0x1fc]
mov cl, 1
mov dl, 3
call fcn.005bf610
mov esi, eax
mov eax, dword [ebx + 0x1fc]
call fcn.0048d664
add esi, eax
mov eax, esi
add eax, 2
lea ecx, [esp + 0x28]
pop edx
call fcn.00407cfc
lea edx, [esp + 0x24]
lea ecx, [esp + 1]
mov eax, dword [0x65a924]
mov eax, dword [eax]
mov eax, dword [eax + 0x1fc]
call fcn.004750dc
push edi
mov eax, ebx
call fcn.006012d8
push eax
mov eax, dword [ebx + 0x1fc]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [esp + 0x11]
push eax
mov eax, dword [esp + 0x11]
push eax
push 0
mov eax, dword [ebx + 0x20c]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5f3518
push 0xffffffffffffffec
mov eax, dword [ebx + 0x1fc]
call fcn.0047d6c4
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x5f34e6
push edi
push esi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov eax, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x20c]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowPos
jmp 0x5f3518
push edi
push esi
mov eax, dword [esp + 0x18]
push eax
push ebp
mov eax, dword [esp + 0x1c]
push eax
push 3
mov eax, dword [ebx + 0x1fc]
call fcn.0047d6c4
push eax
call sub.user32.dll_GetWindow
push eax
mov eax, dword [ebx + 0x20c]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret