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

Disassembly:
sub esp, 0x7c
push ebx
push esi
push edi
push ebp
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x98]
mov esi, dword [esi]
mov eax, dword [eax]
mov dword [esp + 0x14], esi
mov edx, dword [edx]
shl esi, 5
mov ecx, dword [ecx]
add esi, 0x20
mov edi, dword [esp + 0xac]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov esi, dword [esi]
inc esi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x18]
imul esi, dword [esp + 0x1c]
mov dword [esp + 0x44], 2
mov dword [esp + 0x4c], 8
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x14]
inc esi
imul esi, dword [esp + 0x1c]
shl esi, 5
add esi, 8
mov dword [esp + 0x24], esi
mov esi, 0x18
lea esi, [esi + eax*8]
mov dword [esp + 0x28], esi
mov esi, edx
add esi, 3
imul esi, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov esi, ecx
add esi, 3
imul esi, dword [esp + 0x2c]
add edx, 3
add ecx, 2
imul edx, ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x30], esi
lea esi, [0x598210]
mov ecx, dword [ecx]
mov dword [esp + 0x48], esi
mov dword [0x598210], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x40]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x3c], ecx
lea ecx, [edi + ecx*8]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x50], ecx
dec edx
add eax, 3
imul eax, edx
mov edx, dword [esp + 0xb4]
mov edx, dword [edx]
mov dword [0x598214], edx
shl eax, 3
sub eax, 8
shl edi, 3
mov dword [esp + 0x34], eax
add edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x48]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x58], 0
mov edi, dword [esp + 0x50]
mov ecx, dword [esi]
mov eax, dword [esp + 0x50]
mov dword [ebp*4 + 0x598218], ecx
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x54], ecx
test ecx, ecx
jle 0x4e8543
mov edi, dword [edi + 0x58]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x60], edi
sub eax, dword [esp + 0x60]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x58]
xor eax, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x5c]
sar eax, 0x1f
xor edx, eax
sub edx, eax
mov eax, dword [esp + 0x3c]
add edx, dword [esp + 0x60]
mov dword [eax*4 + 0x598218], edx
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x4e851e
mov edi, dword [edi + 0x58]
mov ecx, dword [ecx + 0x5c]
mov dword [esp + 0x70], edi
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xb8]
sub ecx, dword [esp + 0x24]
add esi, dword [esp + 0x4c]
add esi, ecx
xor ecx, ecx
cmp dword [esp + 0x78], 8
mov dword [esp + 0x7c], esi
setle cl
mov dword [esp + 0x80], ecx
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
xor esi, dword [esp + 0x74]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
sar esi, 0x1f
xor ecx, esi
sub ecx, esi
mov esi, dword [esp + 0x40]
add ecx, dword [esp + 0x70]
mov dword [esi*4 + 0x598218], ecx
mov ecx, dword [esp + 0x78]
test ecx, ecx
jle 0x4e8500
mov esi, dword [esp + 0x9c]
mov ebp, dword [0x59821c]
sub esi, dword [esp + 0x34]
shl ebp, 3
imul edi, dword [0x598220]
imul eax, dword [0x598224]
add eax, dword [esp + 0x30]
add edi, eax
mov eax, dword [esp + 0x6c]
add edi, ebp
mov ebp, dword [esp + 0x20]
add esi, edi
add eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add eax, dword [esp + 0x7c]
cmp dword [esp + 0x80], 0
jne 0x4e84f3
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
sub ecx, 9
cmp ecx, 8
jg 0x4e849f
test ecx, ecx
jle 0x4e8500
fld qword [esi]
add esi, edi
fstp qword [eax]
add eax, ebp
dec ecx
test ecx, ecx
jg 0x4e84f3
mov ebx, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
inc ebx
add edi, dword [esp + 0x6c]
dec edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edi
test edx, edx
jg 0x4e841f
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
inc ecx
mov edi, dword [esp + 0x54]
add ebx, 0x20
dec edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x54], edi
test edi, edi
jg 0x4e8390
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
add ecx, 8
add edx, 4
dec ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ebx
test ebx, ebx
jg 0x4e8344
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x2c