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

Disassembly:
sub esp, 0x64
xor eax, eax
push ebx
mov dword [esp + 0x3c], eax
push esi
mov dword [esp + 0x44], eax
push edi
mov dword [esp + 0x4c], eax
mov ecx, 7
lea edi, [esp + 0x54]
mov dword [esp + 0x50], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
cmp eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
jne 0x4c0f30
xor eax, eax
mov edx, dword [0x5c86d4]
add eax, 1
mov dword [edx + eax*4 - 4], ecx
mov edx, dword [0x5c86d4]
mov dword [edx + eax*4 + 4], ecx
jo 0x4c11b2
cmp eax, 1
jle 0x4c0f05
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0x10
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
test edi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x54], 0x1c
mov dword [esp + 0x58], 7
je 0x4c11a9
lea edx, [esp + 0x44]
push edx
push edi
call dword [fcn.004011c8]
lea edx, [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
push edx
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dword [fcn.00401118]
mov esi, dword [0x4011ac]
push 3
call esi
push 2
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
sub ecx, edx
jo 0x4c11b2
sub ecx, eax
jo 0x4c11b2
mov dword [esp + 0x28], ecx
call esi
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x48]
sub edx, esi
jo 0x4c11b2
sub edx, eax
jo 0x4c11b2
mov dword [esp + 0x28], edx
xor eax, eax
mov ecx, dword [esp + eax*4 + 0x14]
mov edx, dword [esp + eax*4 + 0xc]
cmp ecx, edx
jg 0x4c11a9
add eax, 1
jo 0x4c11b2
cmp eax, 1
jle 0x4c0fcc
mov ebx, dword [fcn.004012ac]
push ebp
xor esi, esi
jmp 0x4c0ff9
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x58]
push edx
push esi
push edi
call dword [fcn.00401174]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
sub ecx, eax
mov eax, esi
mov edx, dword [esp + 0x6c]
mov dword [esp + esi*4 + 0x38], edi
not eax
jo 0x4c11b2
and eax, 1
mov dword [esp + esi*4 + 0x30], edx
shl eax, 2
mov dword [esp + esi*4 + 0x40], ecx
mov ebp, dword [esp + eax + 0x28]
cmp ebp, dword [esp + eax + 0x10]
jl 0x4c1152
mov eax, dword [esp + esi*4 + 0x18]
cmp eax, 0xb
jge 0x4c1062
cmp edx, edi
jle 0x4c1053
xor eax, eax
jmp 0x4c108d
cmp edx, ecx
jne 0x4c1138
mov eax, 6
jmp 0x4c108d
mov edi, dword [esp + esi*4 + 0x10]
sub edi, 0xb
jo 0x4c11b2
cmp eax, edi
jle 0x4c1138
cmp edx, ecx
jge 0x4c1082
mov eax, 1
jmp 0x4c108d
jne 0x4c1138
mov eax, 7
mov ecx, dword [0x5c86d4]
cmp eax, dword [ecx + esi*4]
je 0x4c10a6
mov dword [ecx + esi*4 + 8], 0
mov ecx, dword [0x5c86d4]
mov dword [ecx + esi*4], eax
mov eax, dword [0x5c86d4]
mov ecx, dword [eax + esi*4 + 8]
test ecx, ecx
je 0x4c1105
call fcn.0042ffcc
mov edi, eax
call ebx
mov ecx, dword [0x5c86d4]
mov edx, dword [ecx + esi*4 + 8]
push edx
push edi
call fcn.004b6550
xor ecx, ecx
cmp eax, 0x32
setge cl
neg ecx
test cx, cx
je 0x4c1152
call fcn.0042ffcc
mov edi, eax
call ebx
mov edx, dword [0x5c86d4]
mov eax, esi
add eax, 0x114
jo 0x4c11b2
mov dword [edx + esi*4 + 8], edi
mov dword [esp + esi*4 + 0x20], eax
jmp 0x4c1152
call fcn.0042ffcc
mov edi, eax
call ebx
mov ecx, dword [0x5c86d4]
mov dword [ecx + esi*4 + 8], edi
mov ecx, dword [0x5c86d4]
mov eax, dword [ecx + esi*4 + 8]
cmp eax, 0x7fffffcd
jge 0x4c1152
add eax, 0x32
jo 0x4c11b2
mov dword [ecx + esi*4 + 8], eax
jmp 0x4c1152
mov edx, dword [0x5c86d4]
mov dword [edx + esi*4], 0
mov eax, dword [0x5c86d4]
mov dword [eax + esi*4 + 8], 0
add esi, 1
jo 0x4c11b2
cmp esi, 1
jle 0x4c0ff5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
or eax, ecx
pop ebp
je 0x4c11a9
push 0
call fcn.004c0e60
mov edi, dword [0x401180]
xor esi, esi
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + esi*4 + 0x1c]
test eax, eax
je 0x4c1198
mov ecx, dword [0x5c86d4]
push 0
mov edx, dword [ecx + esi*4]
push edx
push eax
push ebx
call edi
add esi, 1
jo 0x4c11b2
cmp esi, 1
jle 0x4c1180
push 0xffffffffffffffff
call fcn.004c0e60
pop edi
pop esi
pop ebx
add esp, 0x64
ret 0x10
call dword [fcn.004014f8]
nop
nop
nop
nop
nop
nop
nop
nop