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

Disassembly:
sub esp, 0x7c
push ebx
push esi
push edi
push ebp
fld qword [0x574a20]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
fstp st(1)
mov esi, dword [eax]
mov edx, dword [edx]
mov edi, esi
mov ebp, edx
shl edi, 3
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x18
add edi, dword [esp + 0x10]
add ebp, 3
mov eax, 0xfffffffc
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edx
imul ebp, dword [esp + 0x1c]
add esi, 3
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x38], 2
mov ecx, dword [ecx]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x44], 0
imul esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xffffffff
shl esi, 3
sub esi, 8
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 + 0x54], eax
mov eax, edx
add eax, 2
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x5c], eax
xor eax, eax
cmp dword [esp + 0x34], 0
setle al
mov dword [esp + 0x60], eax
xor eax, eax
cmp dword [esp + 0x2c], 7
setle al
mov dword [esp + 0x64], eax
xor eax, eax
cmp dword [esp + 0x28], 7
setle al
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
cmp dword [eax], 0
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
jne 0x4183d6
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], esi
jmp 0x418402
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], edi
mov edx, dword [esp + 0x60]
mov dword [esp + 0x80], edx
test edx, edx
mov ebx, dword [esp + 0x9c]
jne 0x41857d
sub ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x9c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x6c]
shl ebx, 3
mov dword [esp + 0x80], edx
add ebx, dword [esp + 0x10]
sub esi, dword [esp + 0x24]
mov dword [esp + 0x6c], ebx
lea esi, [esi + eax*8]
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x80]
test ecx, ecx
jle 0x418562
add eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x80]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x1c]
add eax, dword [esp + 0x6c]
add ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x84], edx
add ebp, dword [esp + 0x10]
test edx, edx
jne 0x418549
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
sub ecx, 8
cmp ecx, 7
jg 0x418499
test ecx, ecx
jle 0x418562
fld st(0)
fmul qword [eax]
fstp st(2)
fld qword [ebp]
fstp qword [eax]
add eax, esi
fld st(1)
fstp qword [ebp]
add ebp, ebx
dec ecx
test ecx, ecx
jg 0x418549
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x80]
dec edi
test edi, edi
mov dword [esp + 0x80], edx
jg 0x418454
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x74]
test eax, eax
jne 0x4186b7
imul ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x34]
add ecx, dword [esp + 0x20]
imul ebp, dword [esp + 0x1c]
add ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x9c]
test ebx, ebx
jle 0x41869e
mov eax, dword [esp + 0x9c]
sub edi, dword [esp + 0x24]
sub eax, dword [esp + 0x24]
mov edx, dword [esp + 0x68]
test edx, edx
lea edi, [edi + ecx + 8]
lea eax, [eax + ebp + 8]
jne 0x418682
fld st(0)
sub ebx, 8
fmul qword [edi]
cmp ebx, 7
lea edi, [edi + 0x40]
lea eax, [eax + 0x40]
fstp st(2)
fld qword [eax - 0x40]
fstp qword [edi - 0x40]
fld st(1)
fstp qword [eax - 0x40]
fld st(0)
fmul qword [edi - 0x38]
fstp st(2)
fld qword [eax - 0x38]
fstp qword [edi - 0x38]
fld st(1)
fstp qword [eax - 0x38]
fld st(0)
fmul qword [edi - 0x30]
fstp st(2)
fld qword [eax - 0x30]
fstp qword [edi - 0x30]
fld st(1)
fstp qword [eax - 0x30]
fld st(0)
fmul qword [edi - 0x28]
fstp st(2)
fld qword [eax - 0x28]
fstp qword [edi - 0x28]
fld st(1)
fstp qword [eax - 0x28]
fld st(0)
fmul qword [edi - 0x20]
fstp st(2)
fld qword [eax - 0x20]
fstp qword [edi - 0x20]
fld st(1)
fstp qword [eax - 0x20]
fld st(0)
fmul qword [edi - 0x18]
fstp st(2)
fld qword [eax - 0x18]
fstp qword [edi - 0x18]
fld st(1)
fstp qword [eax - 0x18]
fld st(0)
fmul qword [edi - 0x10]
fstp st(2)
fld qword [eax - 0x10]
fstp qword [edi - 0x10]
fld st(1)
fstp qword [eax - 0x10]
fld st(0)
fmul qword [edi - 8]
fstp st(2)
fld qword [eax - 8]
fstp qword [edi - 8]
fld st(1)
fstp qword [eax - 8]
jg 0x4185dd
test ebx, ebx
jle 0x41869e
fld st(0)
dec ebx
fmul qword [edi]
test ebx, ebx
lea edi, [edi + 8]
lea eax, [eax + 8]
fstp st(2)
fld qword [eax - 8]
fstp qword [edi - 8]
fld st(1)
fstp qword [eax - 8]
jg 0x418682
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x20]
add edx, ecx
add ebx, ebp
dec esi
mov ecx, edx
mov ebp, ebx
test esi, esi
jg 0x4185a7
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x7c]
test eax, eax
jle 0x4187ed
imul edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x78]
add edx, dword [esp + 0x1c]
imul ebx, dword [esp + 0x20]
add ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x9c]
mov edi, ebp
test ebp, ebp
mov ebp, dword [esp + 0x9c]
jle 0x4187d8
sub ebp, dword [esp + 0x24]
sub esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x68]
test ecx, ecx
lea ebp, [ebp + edx + 8]
lea esi, [esi + ebx + 8]
jne 0x4187bb
fld st(0)
sub edi, 8
lea esi, [esi + 0x40]
fmul qword [ebp]
add ebp, 0x40
cmp edi, 7
fstp st(2)
fld qword [esi - 0x40]
fstp qword [ebp - 0x40]
fld st(1)
fstp qword [esi - 0x40]
fld st(0)
fmul qword [ebp - 0x38]
fstp st(2)
fld qword [esi - 0x38]
fstp qword [ebp - 0x38]
fld st(1)
fstp qword [esi - 0x38]
fld st(0)
fmul qword [ebp - 0x30]
fstp st(2)
fld qword [esi - 0x30]
fstp qword [ebp - 0x30]
fld st(1)
fstp qword [esi - 0x30]
fld st(0)
fmul qword [ebp - 0x28]
fstp st(2)
fld qword [esi - 0x28]
fstp qword [ebp - 0x28]
fld st(1)
fstp qword [esi - 0x28]
fld st(0)
fmul qword [ebp - 0x20]
fstp st(2)
fld qword [esi - 0x20]
fstp qword [ebp - 0x20]
fld st(1)
fstp qword [esi - 0x20]
fld st(0)
fmul qword [ebp - 0x18]
fstp st(2)
fld qword [esi - 0x18]
fstp qword [ebp - 0x18]
fld st(1)
fstp qword [esi - 0x18]
fld st(0)
fmul qword [ebp - 0x10]
fstp st(2)
fld qword [esi - 0x10]
fstp qword [ebp - 0x10]
fld st(1)
fstp qword [esi - 0x10]
fld st(0)
fmul qword [ebp - 8]
fstp st(2)
fld qword [esi - 8]
fstp qword [ebp - 8]
fld st(1)
fstp qword [esi - 8]
jg 0x418715
test edi, edi
jle 0x4187d8
fld st(0)
dec edi
fmul qword [ebp]
lea ebp, [ebp + 8]
test edi, edi
lea esi, [esi + 8]
fstp st(2)
fld qword [esi - 8]
fstp qword [ebp - 8]
fld st(1)
fstp qword [esi - 8]
jg 0x4187bb
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
add edx, ecx
add ebx, esi
dec eax
test eax, eax
jg 0x4186dd
fsub qword [0x574a18]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
add ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
add edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x50]
add ecx, dword [esp + 0x30]
add ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebp
dec edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], edx
test edx, edx
jg 0x41839c
pop ebp
ffree st(1)
ffree st(0)
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x14