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

Disassembly:
sub esp, 0x7c
push ebx
push esi
push edi
push ebp
mov eax, dword [esp + 0x90]
mov ebx, 0xc
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov eax, dword [eax]
mov esi, dword [esp + 0xa4]
mov edx, dword [edx]
mov ecx, dword [ecx]
lea ebx, [ebx + eax*4]
mov esi, dword [esi]
mov dword [esp + 0x14], ebx
mov ebx, edx
add ebx, 3
mov ebp, dword [esp + 0xa8]
imul ebx, dword [esp + 0x14]
mov ebp, dword [ebp]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], 0x16
mov dword [esp + 0x18], ebx
mov ebx, ecx
add ebx, 3
imul ebx, dword [esp + 0x18]
add edx, 3
add ecx, 2
imul edx, ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov ebx, ebp
dec edx
add eax, 3
imul eax, edx
mov edx, ebp
shl eax, 2
sub eax, 4
shl ecx, 4
mov dword [esp + 0x20], eax
add ecx, 0x10
inc edx
mov dword [esp + 0x24], ecx
mov ecx, esi
imul edx, dword [esp + 0x24]
inc ecx
inc ebx
mov eax, dword [edi + 0x40]
mov dword [esp + 0x38], eax
imul ebx, ecx
mov ecx, dword [edi + 0xc4]
mov dword [esp + 0x28], edx
mov dword [0x591588], ecx
mov ecx, dword [edi + 0xc0]
mov dword [0x59158c], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x34], ecx
mov edx, 2
shl ebx, 4
add ebx, 4
add ecx, ecx
add ecx, dword [esp + 0x10]
add eax, eax
mov dword [esp + 0x10], 0x16
add eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb0]
cmp dword [eax], 0
jle 0x4e8dd0
mov edx, 1
mov eax, 3
mov dword [esp + 0x44], edx
sub eax, edx
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4e9034
lea ecx, [edi + ecx*4]
mov dword [esp + 0x10], edi
dec esi
mov edi, dword [esp + 0x3c]
dec ebp
shl edi, 2
lea edx, [edx*4 + 0x591584]
add edi, dword [esp + 0x10]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, dword [edx]
mov dword [esp + 0x3c], esi
mov dword [ebp*4 + 0x591590], eax
test esi, esi
mov dword [esp + 0x58], 1
jle 0x4e900f
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [esp + 0x60], ebp
sub esi, dword [esp + 0x60]
mov dword [esp + 0x5c], 0x10
mov dword [esp + 0x64], esi
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
xor ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x68], 1
mov edi, dword [esp + 0x44]
sar ecx, 0x1f
xor edx, ecx
sub edx, ecx
mov ecx, dword [esp + 0x34]
add edx, dword [esp + 0x60]
mov dword [ecx*4 + 0x591590], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
jle 0x4e8fea
mov eax, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x70], eax
sub ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x6c], edx
mov ebp, dword [ebp]
mov dword [esp + 0x78], ebp
mov ebp, dword [esp + 0xb4]
sub ebp, dword [esp + 0x2c]
shl edi, 2
add edi, dword [esp + 0x5c]
add edi, ebp
xor eax, eax
cmp dword [esp + 0x78], 8
mov dword [esp + 0x7c], edi
setle al
mov dword [esp + 0x80], eax
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x68]
xor ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
sar ebp, 0x1f
xor eax, ebp
sub eax, ebp
mov ebp, dword [esp + 0x38]
add eax, dword [esp + 0x70]
mov dword [ebp*4 + 0x591590], eax
mov ebp, dword [esp + 0x78]
test ebp, ebp
jle 0x4e8fcc
mov eax, dword [esp + 0x6c]
mov edi, dword [0x591594]
add eax, dword [esp + 0x28]
add eax, dword [esp + 0x7c]
sub ebx, dword [esp + 0x20]
shl edi, 2
imul edx, dword [0x591598]
imul esi, dword [0x59159c]
add esi, dword [esp + 0x1c]
add esi, edx
mov edx, dword [esp + 0x1c]
add esi, edi
mov edi, dword [esp + 0x28]
add ebx, esi
cmp dword [esp + 0x80], 0
jne 0x4e8fbf
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
sub ebp, 9
cmp ebp, 8
jg 0x4e8f6b
test ebp, ebp
jle 0x4e8fcc
mov esi, dword [eax]
add eax, edi
mov dword [ebx], esi
add ebx, edx
dec ebp
test ebp, ebp
jg 0x4e8fbf
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x24]
inc esi
add edi, dword [esp + 0x6c]
dec ecx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], edi
test ecx, ecx
jg 0x4e8eeb
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
inc edx
mov edi, dword [esp + 0x3c]
add esi, 0x10
dec edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x3c], edi
test edi, edi
jg 0x4e8e5c
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
inc ecx
mov esi, dword [esp + 0x40]
add ebp, 4
dec esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x40], esi
test esi, esi
jg 0x4e8e16
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x28