Function at 0x5777d4
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 0x577b13
mov eax, ebx
call fcn.00577428
test al, al
jne 0x577b13
cmp dword [ebx + 0xb8], 0
jg 0x577b13
cmp dword [ebx + 0x268], 0
je 0x577822
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x2b4], 0
je 0x577b13
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x29e], 1
jne 0x57784f
mov eax, dword [0x62f54c]
cmp dword [eax], 0
je 0x57784f
mov eax, dword [0x62f54c]
mov eax, dword [eax]
cmp dword [eax + 0xb8], 0
jg 0x577b13
mov eax, dword [ebx + 0x230]
and eax, 0x80
cmp eax, 0x80
je 0x577b13
cmp dword [ebx + 0x258], 0
jne 0x5778ca
mov ecx, dword [0x62f410]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d1f70]
call fcn.004d84a4
mov esi, eax
mov dword [ebx + 0x258], esi
mov dword [esi + 0xc], 0xffffff9e
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x318], 0x58935c
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x260], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x264], eax
mov eax, dword [ebx + 0x258]
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x38], 0x5893bc
xor edx, edx
call fcn.004da40c
xor edx, edx
mov eax, dword [ebx + 0x258]
call fcn.004d94e0
cmp dword [ebx + 0x268], 0
je 0x577983
mov eax, ebx
call fcn.00587b7c
mov esi, eax
mov eax, ebx
call fcn.00587444
imul esi, eax
inc esi
mov eax, dword [ebx + 0x24c]
call fcn.004d9094
mov ebp, eax
mov eax, ebx
call fcn.00587350
add ebp, eax
sub ebp, esi
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.0058a92c
sub ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x268]
call fcn.0057712c
sub ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004bb0e0
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.00576ffc
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d9074
add edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x24c]
mov eax, edi
call fcn.004bb0e0
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.00576ffc
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [esp + 0x10], edx
test esi, esi
je 0x5779c9
inc esi
jmp 0x5779c9
mov eax, ebx
call fcn.005879b8
mov ecx, eax
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax + 0x4c]
movzx eax, byte [esp]
call fcn.00594e04
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d9094
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d9074
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
mov dword [esp + 0x10], eax
mov edi, 0x658
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x29e], 1
jne 0x577a8a
mov eax, dword [0x62f54c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 1
call fcn.0055472c
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d9094
add esi, eax
add esi, 2
push esi
mov eax, dword [0x62f54c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 3
call fcn.0055472c
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004d9074
add esi, eax
mov eax, esi
add eax, 2
lea ecx, [esp + 0x28]
pop edx
call fcn.0040ab70
lea edx, [esp + 0x24]
lea ecx, [esp + 4]
mov eax, dword [0x62f54c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.004b1b90
push edi
mov eax, ebx
call fcn.005879b8
push eax
mov eax, dword [ebx + 0x24c]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0
mov eax, dword [ebx + 0x258]
call fcn.004bb0e0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x577af9
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.004bb0e0
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x577ac7
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 + 0x258]
call fcn.004bb0e0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x577af9
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 + 0x24c]
call fcn.004bb0e0
push eax
call sub.user32.dll_GetWindow
push eax
mov eax, dword [ebx + 0x258]
call fcn.004bb0e0
push eax
call sub.user32.dll_SetWindowPos
push 0x501
push 0
push 0
mov eax, dword [ebx + 0x258]
call fcn.004bb0e0
push eax
call sub.user32.dll_RedrawWindow
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret