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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
cmp eax, 0x18
ja 0x4eaeab
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push eax
call fcn.004cd070
mov ecx, dword [esi + 0x8c]
mov edi, eax
push ecx
push 0
push edi
lea ebx, [ecx + edi]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
call fcn.004a64e0
mov eax, dword [esi + 0x78]
add esp, 0xc
mov dword [edi], eax
mov ecx, esi
mov eax, dword [esi + 0x78]
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x7c]
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x80]
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x84]
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x88]
add dword [esi + 0x98], eax
call fcn.004eb430
mov dword [edi + 8], eax
test eax, eax
jle 0x4eb0ec
add dword [esi + 0x98], eax
xor edx, edx
mov ecx, dword [esi + 0x1c]
lea eax, [edi + 0x18]
sub ecx, dword [esi + 0x18]
xor edi, edi
mov dword [ebp - 4], edx
test ecx, 0xffffffe0
jle 0x4eaffd
mov ecx, dword [esi + 0xa0]
sub ecx, dword [esi + 0x9c]
sar ecx, 2
cmp edx, ecx
jge 0x4eb0ec
mov ecx, dword [esi + 0x9c]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
je 0x4eb0ec
mov ecx, dword [ecx + 4]
lea edi, [edi + ecx*8]
cmp eax, ebx
jae 0x4eb0ec
mov dword [eax], edi
add eax, 4
add dword [esi + 0x98], edi
cmp eax, ebx
jae 0x4eb0ec
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
add eax, 4
mov ecx, dword [esi + 0x30]
mov ecx, dword [ecx + edx*4]
add dword [esi + 0x98], ecx
cmp eax, ebx
jae 0x4eb0ec
mov ebx, dword [ebp - 4]
mov dword [eax], 0
add eax, 4
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x30]
mov ecx, dword [ecx + ebx*4]
imul ecx, dword [edx + ebx*4]
mov edx, ebx
mov ebx, dword [ebp - 8]
inc edx
mov dword [ebp - 4], edx
add edi, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
sar ecx, 5
cmp edx, ecx
jl 0x4eaf60
mov ecx, dword [esi + 0x28]
xor edx, edx
sub ecx, dword [esi + 0x24]
mov dword [ebp - 4], edx
test ecx, 0xfffffff0
jle 0x4eb07b
cmp eax, ebx
jae 0x4eb0ec
mov dword [eax], edi
add eax, 4
add dword [esi + 0x98], edi
cmp eax, ebx
jae 0x4eb0ec
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
add eax, 4
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + edx*4]
add dword [esi + 0x98], ecx
cmp eax, ebx
jae 0x4eb0ec
mov ebx, dword [ebp - 4]
mov dword [eax], 0
add eax, 4
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x54]
mov ecx, dword [ecx + ebx*4]
imul ecx, dword [edx + ebx*4]
mov edx, ebx
mov ebx, dword [ebp - 8]
inc edx
mov dword [ebp - 4], edx
add edi, ecx
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x24]
sar ecx, 4
cmp edx, ecx
jl 0x4eb010
mov ecx, dword [esi + 0x40]
xor edx, edx
sub ecx, dword [esi + 0x3c]
test ecx, 0xfffffffc
jle 0x4eb0db
nop dword [eax + eax]
cmp eax, ebx
jae 0x4eb0ec
mov dword [eax], edi
add eax, 4
add dword [esi + 0x98], edi
cmp eax, ebx
jae 0x4eb0ec
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + edx*4]
mov dword [eax], ecx
add eax, 4
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + edx*4]
add dword [esi + 0x98], ecx
cmp eax, ebx
jae 0x4eb0ec
mov dword [eax], 0
add eax, 4
mov ecx, dword [esi + 0x3c]
add edi, dword [ecx + edx*4]
inc edx
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
sar ecx, 2
cmp edx, ecx
jl 0x4eb090
xor ecx, ecx
cmp eax, ebx
mov eax, dword [ebp - 0xc]
pop edi
pop ebx
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret