Function at 0x5518b8
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 0x551bf4
mov eax, ebx
call fcn.00551508
test al, al
jne 0x551bf4
cmp dword [ebx + 0xb8], 0
jg 0x551bf4
cmp dword [ebx + 0x268], 0
je 0x551906
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x2b4], 0
je 0x551bf4
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x29e], 1
jne 0x551933
mov eax, dword [0x6a216c]
cmp dword [eax], 0
je 0x551933
mov eax, dword [0x6a216c]
mov eax, dword [eax]
cmp dword [eax + 0xb8], 0
jg 0x551bf4
mov eax, dword [ebx + 0x230]
and eax, 0x80
cmp eax, 0x80
je 0x551bf4
cmp dword [ebx + 0x258], 0
jne 0x5519ae
mov ecx, dword [0x6a2020]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4e4dbc]
call fcn.004eb2f0
mov esi, eax
mov dword [ebx + 0x258], esi
mov dword [esi + 0xc], 0xffffff9e
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x318], 0x563af8
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], 0x563b58
xor edx, edx
call fcn.004ed258
xor edx, edx
mov eax, dword [ebx + 0x258]
call fcn.004ec32c
cmp dword [ebx + 0x268], 0
je 0x551a67
mov eax, ebx
call fcn.00562304
mov esi, eax
mov eax, ebx
call fcn.00561bcc
imul esi, eax
inc esi
mov eax, dword [ebx + 0x24c]
call fcn.004ebee0
mov ebp, eax
mov eax, ebx
call fcn.00561ad8
add ebp, eax
sub ebp, esi
lea edx, [esp + 0x1c]
mov eax, ebx
call fcn.005650e0
sub ebp, dword [esp + 0x20]
mov eax, dword [ebx + 0x268]
call fcn.0055120c
sub ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004cdf0c
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.005510dc
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004ebec0
add edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x24c]
mov eax, edi
call fcn.004cdf0c
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.005510dc
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [esp + 0x10], edx
test esi, esi
je 0x551aad
inc esi
jmp 0x551aad
mov eax, ebx
call fcn.00562140
mov ecx, eax
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax + 0x4c]
movzx eax, byte [esp]
call fcn.005df26c
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004ebee0
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004ebec0
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 0x551b6b
mov eax, dword [0x6a216c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 3
call fcn.0051d108
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.004ebec0
add esi, eax
add esi, 2
mov eax, dword [0x6a216c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 1
call fcn.0051d108
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.004ebee0
add ebp, eax
mov eax, ebp
add eax, 2
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
mov eax, dword [0x6a216c]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.004c4984
push edi
mov eax, ebx
call fcn.00562140
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.004cdf0c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x551bda
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.004cdf0c
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x551ba8
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.004cdf0c
push eax
call sub.user32.dll_SetWindowPos
jmp 0x551bda
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.004cdf0c
push eax
call sub.user32.dll_GetWindow
push eax
mov eax, dword [ebx + 0x258]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowPos
push 0x501
push 0
push 0
mov eax, dword [ebx + 0x258]
call fcn.004cdf0c
push eax
call sub.user32.dll_RedrawWindow
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret