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

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x50
push ebp
push 0x1c938
push eax
mov eax, dword [eax]
call eax
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4d9172
push ebx
push esi
lea ecx, [ebp + 0xd8]
mov dword [ebp + 0x7c], 0
push edi
push ecx
mov dword [ebp + 0x78], 0
call fcn.004db2a0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 5
push eax
xorps xmm0, xmm0
mov dword [esp + 0x4c], 0
push ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x54], 0
movlpd qword [esp + 0x64], xmm0
call fcn.004d8d30
lea ebx, [ebp + 0x2a98]
add esp, 0xc
mov word [ebx], 0x100
mov edi, 2
add ebx, 2
mov ecx, edi
mov esi, 1
shr ecx, 1
dec ecx
shl esi, cl
test esi, esi
je 0x4d8f51
push esi
push edi
push ebx
call fcn.0046bb30
add esp, 0xc
inc edi
add ebx, esi
cmp edi, 0x16
jb 0x4d8f36
mov edi, 8
lea ebx, [ebp + 0x548]
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop dword [eax + eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x4d8f8a
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x4d8f80
sub esi, 1
jne 0x4d8f70
mov eax, 0xa1
add edi, 0x10
sub eax, edx
mov dword [ebx], eax
add ebx, 4
cmp edi, 0x808
jb 0x4d8f64
push dword [esp + 0x74]
mov dword [ebp + 0x50], esi
push ebp
mov dword [ebp + 0x1baa0], esi
call fcn.004d8d30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d910e
mov eax, dword [esp + 0x7c]
cmp dword [eax], 5
jae 0x4d8fd9
mov esi, 5
jmp 0x4d910e
mov edi, dword [esp + 0x78]
mov dword [eax], 5
mov al, byte [ebp + 0x9c]
mov esi, dword [ebp + 0xcc]
mov cl, al
shl al, 2
add cl, al
add cl, byte [ebp + 0x98]
mov al, cl
shl cl, 3
add al, cl
add al, byte [ebp + 0x94]
mov byte [edi], al
cmp esi, 0x200000
jb 0x4d9027
lea eax, [esi + 0xfffff]
and eax, 0xfff00000
cmp eax, esi
cmovae esi, eax
mov eax, esi
jmp 0x4d9043
mov edx, 0x16
nop dword [eax]
mov eax, edx
mov ecx, edx
and eax, 1
shr ecx, 1
add eax, 2
inc edx
shl eax, cl
cmp eax, esi
jb 0x4d9030
push dword [esp + 0x8c]
mov ebx, dword [esp + 0x74]
push dword [esp + 0x8c]
mov dword [edi + 1], eax
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
push 0
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + 0xa8], eax
lea eax, [esp + 0x1c]
mov dword [ebp + 0x7c], eax
mov eax, dword [esp + 0x78]
push ebp
mov dword [esp + 0x20], 0x4d9430
mov dword [esp + 0x2c], 0
mov byte [ebp + 0xf7], 1
mov dword [ebp + 0x10c], eax
mov dword [ebp + 0x124], ebx
mov dword [ebp + 0xb4], 1
mov dword [ebp + 0x540], ebx
mov dword [ebp + 0x544], 0
call fcn.004d7a30
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4d90fb
push dword [esp + 0x84]
push ebp
call fcn.004d8910
mov esi, eax
add esp, 8
test esi, esi
jne 0x4d90fb
cmp dword [ebp + 0xb8], ebx
jne 0x4d90f6
cmp dword [ebp + 0xbc], eax
je 0x4d90fb
mov esi, 0xb
mov eax, dword [esp + 0x18]
sub dword [edi], eax
mov eax, 7
cmp dword [esp + 0x1c], 0
cmovne esi, eax
push dword [esp + 0x8c]
lea eax, [ebp + 0xd8]
push eax
call fcn.004db660
mov ebx, dword [esp + 0x90]
push dword [ebp + 0x50]
push ebx
mov eax, dword [ebx + 4]
call eax
push dword [ebp + 0x1baa0]
mov eax, dword [ebx + 4]
push ebx
call eax
mov dword [ebp + 0x50], 0
mov dword [ebp + 0x1baa0], 0
push dword [ebp + 0x78]
mov eax, dword [ebx + 4]
push ebx
call eax
mov dword [ebp + 0x78], 0
mov eax, dword [ebx + 4]
push ebp
push ebx
call eax
add esp, 0x28
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x50
ret
mov eax, 2
pop ebp
add esp, 0x50
ret