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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
cmp dword [edi], 9
je 0x4e595b
cmp dword [edi], 0xd
je 0x4e595b
xor esi, esi
cmp dword [edi + 0x54], esi
je 0x4e595b
mov ecx, dword [esp + 0x68]
xor ebx, ebx
inc ebx
mov edx, ebx
call fcn.004cf04c
test eax, eax
js 0x4e5954
mov ecx, dword [esp + 0x68]
lea edx, [edi + 0x4c]
call fcn.004cefaa
test eax, eax
jns 0x4e5954
lea ecx, [esp + 0x3c]
call fcn.004d0cf6
mov dword [esp + 0x18], ebx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov eax, ecx
inc ecx
mov dword [esp + 0x14], ecx
cmp eax, 0xa
jg 0x4e5927
mov ebp, esi
mov eax, ebp
inc ebp
cmp eax, 0xa
jg 0x4e5927
push dword [esp + 0x78]
lea edx, [esp + 0x1c]
mov ecx, edi
push 0x4e81bf
call fcn.004d3389
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e592c
cmp dword [esp + 0x7c], eax
je 0x4e5920
push ecx
push dword [esp + 0x84]
lea eax, [edi + 0x28]
mov ecx, edi
push dword [esp + 0x84]
lea edx, [esp + 0x48]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004d2ddb
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4e592c
mov ecx, dword [esp + 0x10]
lea eax, [edi + 0x4c]
push eax
lea edx, [esp + 0x40]
call fcn.004cfd4e
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.004cf04c
test eax, eax
je 0x4e577f
push dword [esp + 0x70]
lea edx, [esp + 0x28]
mov ecx, edi
push dword [esp + 0x70]
call fcn.004e567b
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e592c
push dword [esp + 0x80]
lea edx, [esp + 0x34]
mov ecx, edi
push dword [esp + 0x80]
call fcn.004d3389
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4e592c
push dword [esp + 0x68]
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004cf608
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
lea edx, [esp + 0x24]
push ebx
mov ecx, edx
call fcn.004cf299
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
lea eax, [esp + 0x30]
lea edx, [esp + 0x24]
push eax
mov ecx, edx
call fcn.004cf608
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
lea eax, [esp + 0x30]
lea edx, [esp + 0x18]
push eax
mov ecx, edx
call fcn.004cf608
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
lea edx, [esp + 0x18]
lea ebp, [edi + 0x4c]
mov ecx, edx
push ebp
call fcn.004cfd4e
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
push ebp
lea edx, [esp + 0x1c]
mov ecx, ebx
call fcn.004d08c2
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
lea eax, [esp + 0x24]
mov edx, ebx
push eax
mov ecx, ebx
call fcn.004cf608
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
push ebp
mov edx, ebx
mov ecx, ebx
call fcn.004cfd4e
mov esi, eax
pop ecx
test esi, esi
jne 0x4e592c
xor edx, edx
mov ecx, ebx
call fcn.004cf04c
test eax, eax
jne 0x4e592c
mov ecx, dword [esp + 0x14]
jmp 0x4e576d
mov esi, 0xffffb080
jmp 0x4e592c
mov esi, 0xffffb300
lea ecx, [esp + 0x3c]
call fcn.004d0d96
lea ecx, [esp + 0x18]
call fcn.004ce75f
lea ecx, [esp + 0x24]
call fcn.004ce75f
lea ecx, [esp + 0x30]
call fcn.004ce75f
mov eax, esi
jmp 0x4e5960
mov eax, 0xffffb380
jmp 0x4e5960
mov eax, 0xffffb080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret