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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffc4
mov byte [esp], cl
mov esi, edx
mov ebx, eax
lea edx, [esp + 2]
mov eax, dword [ebx + 0x24c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx + 0x50]
movzx edx, word [eax + 0x52]
and dx, 1
cmp dx, 1
jne 0x4e1100
mov edx, dword [ebx + 0x24c]
cmp byte [edx + 0x277], 2
je 0x4e11f2
cmp byte [edx + 0x271], 1
jne 0x4e0ede
cmp dword [eax + 0x24], 0
jl 0x4e0ee0
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x2c]
push eax
push 7
call sub.user32.dll_GetSystemMetrics
mov edi, eax
pop eax
sub edi, eax
jmp 0x4e0ee0
xor edi, edi
mov eax, ebx
call fcn.004e78e0
mov ecx, eax
lea edx, [esp + 2]
mov eax, esi
call fcn.0051ebf8
cmp byte [ebx + 0x78], 0
je 0x4e11f2
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x44], 0
je 0x4e11f2
test edi, edi
jle 0x4e11f2
push 0xcc0020
mov eax, ebx
call fcn.004e4edc
push eax
mov eax, ebx
call fcn.004e4e44
push eax
mov ebp, dword [ebx + 0x50]
mov eax, dword [ebp + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebp + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x2e]
sub eax, edi
push eax
lea eax, [esp + 0x16]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x1e]
push eax
push esi
call sub.gdi32.dll_BitBlt
push 0xcc0020
mov eax, ebx
call fcn.004e4edc
push eax
mov eax, ebx
call fcn.004e4e44
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [esp + 0x12]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x2c]
sub eax, edi
push eax
mov eax, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x1e]
push eax
push esi
call sub.gdi32.dll_BitBlt
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x30]
sub eax, edi
mov ebp, dword [esp + 0xa]
sub ebp, eax
push 0xcc0020
mov eax, ebx
call fcn.004e4edc
push eax
mov eax, ebx
call fcn.004e4e44
add eax, ebp
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
lea eax, [esp + 0x12]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x2c]
sub eax, edi
push eax
mov eax, dword [esp + 0x1e]
push eax
push ebp
push esi
call sub.gdi32.dll_BitBlt
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x32]
sub eax, edi
mov ebp, dword [esp + 0xe]
sub ebp, eax
push 0xcc0020
mov eax, ebx
call fcn.004e4edc
add eax, ebp
push eax
mov eax, ebx
call fcn.004e4e44
push eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + 0x44]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebx + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0xc8]
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x24]
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
movsx eax, word [eax + edx*8 + 0x32]
sub eax, edi
push eax
mov eax, dword [esp + 0x1e]
push eax
push ebp
mov eax, dword [esp + 0x1e]
push eax
push esi
call sub.gdi32.dll_BitBlt
jmp 0x4e11f2
movzx edx, byte [eax + 0x39]
mov byte [esp + 1], dl
cmp byte [eax + 0x38], 0
jne 0x4e1115
mov eax, ebx
call fcn.004e2bbc
mov edi, dword [ebx + 0x24c]
cmp byte [edi + 0x277], 2
je 0x4e11bc
mov eax, dword [ebx + 0x24c]
call fcn.0045d1f4
push eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.0045d1b0
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00407d30
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
call fcn.004e4edc
push eax
mov eax, ebx
call fcn.004e4e44
xor ecx, ecx
pop edx
call fcn.00407d30
lea ecx, [esp + 0x38]
mov edx, dword [ebx + 0x50]
mov eax, edi
call fcn.00529304
lea ecx, [esp + 0x34]
xor edx, edx
xor eax, eax
call fcn.00407d4c
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0x24c]
call fcn.00465948
push eax
push 0
movzx ecx, byte [ebx + 0x42]
or cl, byte [esp + 0xd]
mov edx, dword [ebx + 0x24c]
mov eax, esi
call fcn.004c61ec
cmp byte [esp], 0
je 0x4e11f2
mov eax, dword [ebx + 0x24c]
call fcn.004c5fc0
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x6604e8]
mov eax, dword [eax]
xor ecx, ecx
mov edx, 0x60000
call fcn.0053d554
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004e6d44
mov byte [ebx + 0x42], 0
add esp, 0x3c
pop ebp
pop edi
pop esi
pop ebx
ret