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

Disassembly:
sub esp, 0x7c
mov eax, 4
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov edi, dword [edi]
mov ecx, dword [ecx]
mov dword [esp + 0x18], edi
mov edi, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
shl edi, 2
mov esi, dword [esp + 0x14]
sub edi, 4
dec ecx
mov dword [esp + 0x20], edi
mov edx, dword [edx]
imul ecx, dword [esp + 0x20]
dec esi
mov edi, 0xfffffffc
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x64], 0
imul esi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], ecx
lea esi, [eax + esi*4]
mov eax, edx
shl eax, 3
mov dword [esp + 0x28], esi
add eax, dword [esp + 0x10]
mov esi, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, 3
imul eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, edx
add eax, 3
sub edi, dword [esp + 0x14]
imul edi, eax
mov eax, edx
shl edi, 3
sub edi, 8
shl eax, 2
mov dword [esp + 0x34], edi
sub eax, 4
mov edi, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
dec eax
imul eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, edx
dec eax
imul eax, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x40], edi
imul eax, dword [esp + 0x38]
mov edi, 4
mov dword [esp + 0x44], eax
mov eax, edx
dec eax
imul eax, dword [esp + 0x14]
lea edi, [edi + eax*4]
mov eax, edx
dec eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
dec eax
shl esi, 3
xor edx, edx
test eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], esi
setle dl
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x5c]
cmp edx, 1
jge 0x4c5f69
mov edx, 1
mov esi, dword [esp + 0x54]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
test edx, edx
jne 0x4c604e
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
add edx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x30]
lea edi, [ecx + edi*8]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0xa4]
test ebp, ebp
jle 0x4c601f
sub eax, dword [esp + 0x28]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x70]
add eax, dword [esp + 0x7c]
add eax, 4
add edi, dword [esp + 0x2c]
add edi, dword [esp + 0x10]
add ecx, dword [esp + 0x2c]
lea ebx, [edx + ecx]
mov edx, dword [esp + 0x64]
add edx, ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax]
shl esi, 2
add esi, dword [esp + 0x94]
mov esi, dword [esi - 4]
sub esi, 0xa
cmp esi, 9
jbe 0x4c6011
fld qword [edi]
fstp qword [edx]
add edi, ecx
add edx, ebx
dec ebp
add eax, 4
test ebp, ebp
jg 0x4c5ff6
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add esi, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
dec edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], edx
test edx, edx
jg 0x4c5fab
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
add ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
add ebx, dword [esp + 0x24]
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], ebp
dec ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ecx
test ecx, ecx
jg 0x4c5f5b
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x10], 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jge 0x4c60be
mov ecx, 1
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4c617e
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add edx, dword [esp + 0x38]
add eax, dword [esp + 0x30]
imul ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
add ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xa8]
test esi, esi
jle 0x4c6155
sub ebx, dword [esp + 0x40]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
add ebx, dword [esp + 0x58]
add ebx, 4
sub edi, dword [esp + 0x34]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
lea edi, [edi + ecx + 8]
add eax, 8
mov edx, dword [ebx]
shl edx, 2
add edx, dword [esp + 0x94]
mov edx, dword [edx - 4]
sub edx, 0xa
cmp edx, 9
jbe 0x4c6147
fld qword [edi]
fstp qword [eax]
dec esi
lea ebx, [ebx + 4]
lea edi, [edi + 8]
lea eax, [eax + 8]
test esi, esi
jg 0x4c612c
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
add esi, dword [esp + 0x5c]
add eax, ecx
dec ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov ecx, eax
test ebp, ebp
jg 0x4c60ef
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
add edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esi, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
dec ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jg 0x4c60b0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
imul ecx, dword [esp + 0x30]
mov dword [esp + 0x10], 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x14]
cmp edx, 1
jge 0x4c61ee
mov edx, 1
mov ebp, dword [esp + 0x50]
mov ecx, ebp
test ebp, ebp
mov ebp, dword [esp + 0x1c]
jle 0x4c62ac
mov eax, dword [esp + 0x20]
add ebp, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
imul edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
add edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xac]
test esi, esi
jle 0x4c6283
mov edi, dword [esp + 0xb0]
sub ebx, dword [esp + 0x48]
sub edi, dword [esp + 0x34]
mov eax, dword [esp + 0xb0]
add edi, dword [esp + 0x3c]
lea ebx, [ebx + ebp + 4]
add edi, 8
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x28]
add eax, 8
mov edx, dword [ebx]
shl edx, 2
add edx, dword [esp + 0x94]
mov edx, dword [edx - 4]
sub edx, 0xa
cmp edx, 9
jbe 0x4c6275
fld qword [edi]
fstp qword [eax]
dec esi
lea ebx, [ebx + 4]
lea edi, [edi + 8]
lea eax, [eax + 8]
test esi, esi
jg 0x4c625a
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add edx, ebp
mov edi, dword [esp + 0x2c]
add ebx, dword [esp + 0x28]
add edi, dword [esp + 0x3c]
dec ecx
mov ebp, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edi
test ecx, ecx
jg 0x4c621d
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add esi, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jg 0x4c61e0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x24