Function at 0x4d5530
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 0x4d5855
mov eax, ebx
call fcn.004d5188
test al, al
jne 0x4d5855
cmp dword [ebx + 0xb4], 0
jg 0x4d5855
cmp dword [ebx + 0x268], 0
je 0x4d557e
mov eax, dword [ebx + 0x24c]
cmp dword [eax + 0x290], 0
je 0x4d5855
mov eax, dword [ebx + 0x24c]
cmp byte [eax + 0x277], 1
jne 0x4d55ab
mov eax, dword [0x6607cc]
cmp dword [eax], 0
je 0x4d55ab
mov eax, dword [0x6607cc]
mov eax, dword [eax]
cmp dword [eax + 0xb4], 0
jg 0x4d5855
mov eax, dword [ebx + 0x22c]
and eax, 0x80
cmp eax, 0x80
je 0x4d5855
cmp dword [ebx + 0x258], 0
jne 0x4d5626
mov ecx, dword [0x660674]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x440fd4]
call fcn.00443fa0
mov esi, eax
mov dword [ebx + 0x258], esi
mov dword [esi + 0xc], 0xffffff9e
mov dword [esi + 0x304], ebx
mov dword [esi + 0x300], 0x4e6e10
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], 0x4e6e14
xor edx, edx
call fcn.00445fdc
xor edx, edx
mov eax, dword [ebx + 0x258]
call fcn.00445198
cmp dword [ebx + 0x268], 0
je 0x4d56df
mov eax, ebx
call fcn.004e5708
mov esi, eax
mov eax, ebx
call fcn.004e4fd0
imul esi, eax
inc esi
mov eax, dword [ebx + 0x24c]
call fcn.00444d48
mov ebp, eax
mov eax, ebx
call fcn.004e4edc
add ebp, eax
sub ebp, esi
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004e8380
sub ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x268]
call fcn.004d4edc
sub ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00465948
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004d4dac
mov edi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00444d28
add edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [ebx + 0x24c]
mov eax, edi
call fcn.00465948
xor ecx, ecx
mov edx, dword [ebx + 0x268]
call fcn.004d4dac
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [esp + 0x10], edx
test esi, esi
je 0x4d5725
inc esi
jmp 0x4d5725
mov eax, ebx
call fcn.004e5544
mov ecx, eax
mov eax, dword [ebx + 0x24c]
mov edx, dword [eax + 0x4c]
movzx eax, byte [esp]
call fcn.0053d59c
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00444d48
mov ebp, eax
mov eax, dword [ebx + 0x24c]
call fcn.00444d28
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 + 0x277], 1
jne 0x4d57e6
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 1
call fcn.004c6bc0
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00444d48
add esi, eax
add esi, 2
push esi
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
mov cl, 1
mov dl, 3
call fcn.004c6bc0
mov esi, eax
mov eax, dword [ebx + 0x24c]
call fcn.00444d28
add esi, eax
mov eax, esi
add eax, 2
lea ecx, [esp + 0x28]
pop edx
call fcn.00407d4c
lea edx, [esp + 0x24]
lea ecx, [esp + 1]
mov eax, dword [0x6607cc]
mov eax, dword [eax]
mov eax, dword [eax + 0x24c]
call fcn.0045d2c4
push edi
mov eax, ebx
call fcn.004e5544
push eax
mov eax, dword [ebx + 0x24c]
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 + 0x258]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4d5855
push 0xffffffffffffffec
mov eax, dword [ebx + 0x24c]
call fcn.00465948
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4d5823
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.00465948
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4d5855
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.00465948
push eax
call sub.user32.dll_GetWindow
push eax
mov eax, dword [ebx + 0x258]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x2c
pop ebp
pop edi
pop esi
pop ebx
ret