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

Disassembly:
sub esp, 0x84
push ebx
push esi
push edi
push ebp
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x10], 0xc
mov ecx, dword [esp + 0xa0]
mov esi, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ebp, edx
shl edi, 2
mov dword [esp + 0x14], esi
add edi, dword [esp + 0x10]
add ebp, 3
mov eax, 0xfffffffc
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov ecx, dword [ecx]
imul ebp, dword [esp + 0x1c]
add esi, 3
sub eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0xffffffff
imul esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xffffffff
shl esi, 2
sub esi, 4
dec eax
mov dword [esp + 0x28], eax
mov eax, edx
dec eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
mov eax, ecx
dec eax
mov dword [esp + 0x34], eax
mov eax, ecx
add eax, 2
mov dword [esp + 0x58], eax
mov eax, edx
add eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x60], eax
xor eax, eax
cmp dword [esp + 0x34], 0
setle al
mov dword [esp + 0x64], eax
xor eax, eax
cmp dword [esp + 0x2c], 7
setle al
mov dword [esp + 0x68], eax
xor eax, eax
cmp dword [esp + 0x28], 7
setle al
mov dword [esp + 0x6c], eax
fild dword [esp + 0x3c]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
fstp st(1)
cmp dword [eax], 0
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
jne 0x417c14
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], esi
jmp 0x417c43
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x70], esi
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
test ecx, ecx
mov ebx, dword [esp + 0xa4]
jne 0x417d84
sub ebx, dword [esp + 0x24]
mov esi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
shl ebx, 2
mov dword [esp + 0x84], ecx
add ebx, dword [esp + 0x10]
sub esi, dword [esp + 0x24]
mov dword [esp + 0x70], ebx
lea esi, [esi + eax*4]
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x84]
test ebp, ebp
jle 0x417d69
add eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x1c]
add eax, dword [esp + 0x70]
add edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x88], ecx
add edx, dword [esp + 0x10]
test ecx, ecx
jne 0x417d56
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
sub ebp, 8
cmp ebp, 7
jg 0x417cda
test ebp, ebp
jle 0x417d69
fld st(0)
fmul dword [eax]
mov ecx, dword [edx]
mov dword [eax], ecx
add eax, esi
fstp dword [edx]
add edx, ebx
dec ebp
test ebp, ebp
jg 0x417d56
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x84]
dec edi
test edi, edi
mov dword [esp + 0x84], ecx
jg 0x417c95
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
test eax, eax
jne 0x417e8e
imul edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x34]
add edx, dword [esp + 0x20]
imul ebp, dword [esp + 0x1c]
add ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0xa4]
test ebx, ebx
jle 0x417e77
mov eax, dword [esp + 0xa4]
sub edi, dword [esp + 0x24]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
lea edi, [edi + edx + 4]
lea eax, [eax + ebp + 4]
jne 0x417e62
fld st(0)
sub ebx, 8
fmul dword [edi]
mov ecx, dword [eax]
cmp ebx, 7
mov dword [edi], ecx
lea edi, [edi + 0x20]
fstp dword [eax]
lea eax, [eax + 0x20]
fld st(0)
fmul dword [edi - 0x1c]
mov ecx, dword [eax - 0x1c]
mov dword [edi - 0x1c], ecx
fstp dword [eax - 0x1c]
fld st(0)
fmul dword [edi - 0x18]
mov ecx, dword [eax - 0x18]
mov dword [edi - 0x18], ecx
fstp dword [eax - 0x18]
fld st(0)
fmul dword [edi - 0x14]
mov ecx, dword [eax - 0x14]
mov dword [edi - 0x14], ecx
fstp dword [eax - 0x14]
fld st(0)
fmul dword [edi - 0x10]
mov ecx, dword [eax - 0x10]
mov dword [edi - 0x10], ecx
fstp dword [eax - 0x10]
fld st(0)
fmul dword [edi - 0xc]
mov ecx, dword [eax - 0xc]
mov dword [edi - 0xc], ecx
fstp dword [eax - 0xc]
fld st(0)
fmul dword [edi - 8]
mov ecx, dword [eax - 8]
mov dword [edi - 8], ecx
fstp dword [eax - 8]
fld st(0)
fmul dword [edi - 4]
mov ecx, dword [eax - 4]
mov dword [edi - 4], ecx
fstp dword [eax - 4]
jg 0x417de4
test ebx, ebx
jle 0x417e77
fld st(0)
dec ebx
fmul dword [edi]
mov ecx, dword [eax]
test ebx, ebx
mov dword [edi], ecx
lea edi, [edi + 4]
fstp dword [eax]
lea eax, [eax + 4]
jg 0x417e62
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
add edx, ecx
add ebx, ebp
dec esi
mov ebp, ebx
test esi, esi
jg 0x417dae
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
test eax, eax
jle 0x417fa1
imul ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
add ecx, dword [esp + 0x1c]
imul ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0xa4]
mov edi, ebp
test ebp, ebp
mov ebp, dword [esp + 0xa4]
jle 0x417f8a
sub ebp, dword [esp + 0x24]
sub esi, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
test edx, edx
lea ebp, [ebp + ecx + 4]
lea esi, [esi + ebx + 4]
jne 0x417f73
fld st(0)
sub edi, 8
fmul dword [ebp]
mov edx, dword [esi]
cmp edi, 7
mov dword [ebp], edx
lea ebp, [ebp + 0x20]
fstp dword [esi]
lea esi, [esi + 0x20]
fld st(0)
fmul dword [ebp - 0x1c]
mov edx, dword [esi - 0x1c]
mov dword [ebp - 0x1c], edx
fstp dword [esi - 0x1c]
fld st(0)
fmul dword [ebp - 0x18]
mov edx, dword [esi - 0x18]
mov dword [ebp - 0x18], edx
fstp dword [esi - 0x18]
fld st(0)
fmul dword [ebp - 0x14]
mov edx, dword [esi - 0x14]
mov dword [ebp - 0x14], edx
fstp dword [esi - 0x14]
fld st(0)
fmul dword [ebp - 0x10]
mov edx, dword [esi - 0x10]
mov dword [ebp - 0x10], edx
fstp dword [esi - 0x10]
fld st(0)
fmul dword [ebp - 0xc]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0xc], edx
fstp dword [esi - 0xc]
fld st(0)
fmul dword [ebp - 8]
mov edx, dword [esi - 8]
mov dword [ebp - 8], edx
fstp dword [esi - 8]
fld st(0)
fmul dword [ebp - 4]
mov edx, dword [esi - 4]
mov dword [ebp - 4], edx
fstp dword [esi - 4]
jg 0x417eef
test edi, edi
jle 0x417f8a
fld st(0)
dec edi
fmul dword [ebp]
mov edx, dword [esi]
test edi, edi
mov dword [ebp], edx
lea ebp, [ebp + 4]
fstp dword [esi]
lea esi, [esi + 4]
jg 0x417f73
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
add edx, ecx
add ebx, esi
dec eax
mov ecx, edx
test eax, eax
jg 0x417eb7
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub edi, 2
mov ebx, dword [esp + 0x44]
add edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
add ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x4c]
add ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x50]
add ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x3c], edi
add esi, dword [esp + 0x30]
add eax, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
dec edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], edi
test edi, edi
jg 0x417bd1
ffree st(0)
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x84
ret 0x14