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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
lea esi, [eax + 0xc0]
push edi
fld qword [0x409a60]
lea edi, [esi + 0x40]
lea ebp, [eax + 0x38]
lea ebx, [esi + 0x38]
lea ecx, [edi + 0x40]
mov edx, ebx
mov dword [esp + 0x20], ecx
add ecx, 0x400
mov dword [esp + 0x34], ecx
add ecx, 0x200
mov dword [esp + 0x28], ecx
add ecx, 0x400
mov dword [esp + 0x18], ecx
add ecx, 0x400
mov dword [esp + 0x1c], ecx
lea ecx, [eax + 0x78]
add eax, 0xb8
sub edx, esi
mov esi, eax
mov eax, dword [esp + 0x4c]
add edx, edi
sub ebx, ecx
sub esi, ecx
mov edi, 8
fld qword [eax]
fld st(0)
fmul st(1)
add eax, 8
sub edx, 8
add eax, 8
sub ecx, 8
faddp st(2)
add eax, 8
sub ebp, 8
add eax, 8
fstp st(0)
fst qword [edx + 8]
fld qword [eax - 0x18]
fld st(0)
fmul st(1)
add eax, 8
dec edi
faddp st(2)
fstp st(0)
fst qword [ebx + ecx + 8]
fld qword [eax - 0x18]
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
fst qword [esi + ecx + 8]
fld qword [eax - 0x10]
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
fst qword [ecx + 8]
fld qword [eax - 8]
fld st(0)
fmul st(1)
faddp st(2)
fstp st(0)
fst qword [ebp + 8]
jne 0x4060ec
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add eax, 8
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov ebp, 1
lea ebx, [ecx + 0x1f8]
lea edx, [eax + 0x1f0]
add eax, 0x200
sub eax, edi
sub edi, ecx
fstp st(0)
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
jmp 0x40619f
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
fld qword [0x409a60]
mov ecx, dword [esp + 0x50]
add edi, ebx
cmp ebp, 8
mov edx, ebx
lea esi, [edi + eax]
mov eax, dword [esp + 0x4c]
jge 0x406236
mov ebp, dword [esp + 0x14]
sub ebp, ebx
mov ebx, 8
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x10]
sub ebx, ebp
mov ebp, dword [esp + 0x38]
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
fld qword [ecx - 8]
fmul qword [eax - 8]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
add eax, 8
add ecx, 8
sub esi, 0x48
sub edi, 0x48
fst qword [edx]
fld qword [ecx - 0x18]
fmul qword [eax - 0x18]
sub edx, 0x48
dec ebx
faddp st(1)
fst qword [esi + 0x48]
fld qword [ecx - 0x10]
fmul qword [eax - 0x10]
faddp st(1)
fst qword [edi + 0x48]
fld qword [ecx - 8]
fmul qword [eax - 8]
faddp st(1)
fst qword [edx + ebp + 0x48]
jne 0x4061d2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
fld qword [ecx - 8]
fmul qword [eax - 8]
sub ebx, 0x40
mov dword [esp + 0x24], ebx
faddp st(1)
fst qword [edx]
fld qword [ecx]
fmul qword [eax]
faddp st(1)
fst qword [esi]
fld qword [ecx + 8]
fmul qword [eax + 8]
mov esi, dword [esp + 0x50]
add esi, 0x28
fadd st(1)
mov dword [esp + 0x50], esi
fstp qword [edi]
mov edi, dword [esp + 0x14]
sub edi, 8
inc ebp
fstp st(0)
lea eax, [ebp - 1]
mov dword [esp + 0x14], edi
cmp eax, 8
mov dword [esp + 0x10], ebp
jl 0x406197
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add ecx, 0x10
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x20]
add eax, 0x200
mov edx, 1
lea ebp, [ecx + 0x200]
sub edi, eax
lea ebx, [eax + 0x1f8]
sub ebp, eax
mov dword [esp + 0x10], 0x3f
mov dword [esp + 0x14], 0x3e
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
jmp 0x4062ef
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
fld qword [0x409a60]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
add edi, ebx
add ebp, ebx
cmp edx, 8
mov esi, ebx
mov dword [esp + 0x40], ebp
jge 0x4063cc
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
sub edx, ebp
mov ebp, dword [esp + 0x1c]
shl edx, 3
add ebp, 0x200
sub edx, ebp
mov ebp, dword [esp + 0x34]
add edx, ebx
mov ebx, dword [esp + 0x18]
add ebx, 0x200
add edx, ebp
sub ebx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x44], ebx
mov ebx, 8
sub ebx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x2c], ebx
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
add ecx, 8
add eax, 8
mov ebx, dword [esp + 0x44]
add ecx, 8
fst qword [esi]
fld qword [ecx - 0x18]
fmul qword [eax - 0x10]
add eax, 8
add ecx, 8
add eax, 8
sub esi, 0x48
faddp st(1)
sub edx, 0x48
sub edi, 0x48
sub ebp, 0x48
fst qword [edi + 0x48]
fld qword [ecx - 0x18]
fmul qword [eax - 0x18]
faddp st(1)
fst qword [ebp + 0x48]
fld qword [ecx - 0x10]
fmul qword [eax - 0x10]
faddp st(1)
fld st(0)
fstp qword [ebx + edx + 0x48]
fld qword [ecx - 8]
fmul qword [eax - 8]
mov ebx, dword [esp + 0x2c]
dec ebx
faddp st(1)
mov dword [esp + 0x2c], ebx
fst qword [edx + 0x48]
jne 0x406354
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
sub ebx, 0x40
faddp st(1)
mov dword [esp + 0x30], ebx
fst qword [esi]
fld qword [ecx]
fmul qword [eax]
faddp st(1)
fst qword [edi]
fld qword [ecx + 8]
fmul qword [eax + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
sub ecx, 8
add edi, 0x28
fadd st(1)
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], edi
fstp qword [ebp]
mov ebp, dword [esp + 0x14]
dec ebp
inc edx
fstp st(0)
lea eax, [edx - 1]
mov dword [esp + 0x14], ebp
cmp eax, 8
mov dword [esp + 0x24], edx
jl 0x4062e7
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x34]
add eax, 0x200
lea ecx, [ebp + 0x18]
mov edx, 1
lea esi, [eax + 0x1f8]
sub ebx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], 0x3f
mov dword [esp + 0x14], 0x3e
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x44], ebx
jmp 0x40646d
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
add ebx, esi
fld qword [0x409a60]
cmp edx, 8
mov edi, esi
mov eax, ebp
jge 0x40654a
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
sub edx, ebp
mov ebp, dword [esp + 0x18]
shl edx, 3
add ebp, 0x200
sub edx, ebp
mov ebp, dword [esp + 0x1c]
add edx, esi
mov esi, dword [esp + 0x18]
add ebp, 0x200
add edx, esi
sub ebp, esi
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x20]
add ebp, 0x200
sub ebp, esi
mov esi, 8
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x24]
sub esi, ebp
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
mov ebp, dword [esp + 0x40]
add ecx, 8
add eax, 8
add ecx, 8
fst qword [edi]
fld qword [ecx - 0x18]
fmul qword [eax - 0x10]
add eax, 8
add ecx, 8
add eax, 8
sub edi, 0x48
faddp st(1)
sub edx, 0x48
sub ebx, 0x48
dec esi
fst qword [ebx + 0x48]
fld qword [ecx - 0x18]
fmul qword [eax - 0x18]
faddp st(1)
fld st(0)
fstp qword [edx + ebp + 0x48]
fld qword [ecx - 0x10]
fmul qword [eax - 0x10]
mov ebp, dword [esp + 0x3c]
faddp st(1)
fst qword [edx + 0x48]
fld qword [ecx - 8]
fmul qword [eax - 8]
faddp st(1)
fld st(0)
fstp qword [edx + ebp + 0x48]
jne 0x4064d2
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x4c]
fld qword [ecx]
fmul qword [eax]
sub esi, 0x40
mov dword [esp + 0x30], esi
faddp st(1)
fst qword [edi]
fld qword [ecx + 8]
fmul qword [eax + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x50]
sub ecx, 8
add edi, 0x28
fadd st(1)
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], edi
fstp qword [ebx]
mov ebx, dword [esp + 0x14]
dec ebx
inc edx
fstp st(0)
lea ecx, [edx - 1]
mov dword [esp + 0x14], ebx
cmp ecx, 8
mov dword [esp + 0x24], edx
jl 0x406469
mov esi, dword [esp + 0x28]
lea edx, [ebp + 0x20]
mov dword [esp + 0x50], edx
mov edx, 1
lea ebx, [esi + 0x1f8]
mov dword [esp + 0x10], 0x3f
mov dword [esp + 0x14], 0x3e
mov dword [esp + 0x24], edx
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x50]
cmp edx, 8
fld qword [0x409a60]
mov edi, ebx
mov eax, ebp
jge 0x40667c
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
sub edx, ebp
mov ebp, dword [esp + 0x20]
shl edx, 3
sub edx, esi
add esi, 0x200
add edx, ebx
mov ebx, dword [esp + 0x1c]
sub ebp, esi
add edx, esi
sub ebx, esi
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x24]
mov esi, 8
sub esi, ebp
mov ebp, dword [esp + 0x44]
fld qword [ecx]
fmul qword [eax]
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
faddp st(1)
add ecx, 8
add eax, 8
add ecx, 8
add eax, 8
fst qword [edi]
fld qword [ecx - 0x18]
fmul qword [eax - 0x18]
add eax, 8
add ecx, 8
sub edi, 0x48
sub edx, 0x48
faddp st(1)
fld qword [ecx - 0x18]
fmul qword [eax - 0x18]
dec esi
faddp st(1)
fst qword [ebx + edx + 0x48]
fld qword [ecx - 0x10]
fmul qword [eax - 0x10]
faddp st(1)
fst qword [edx + 0x48]
fld qword [ecx - 8]
fmul qword [eax - 8]
faddp st(1)
fst qword [edx + ebp + 0x48]
jne 0x406612
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
fld qword [ecx]
fmul qword [eax]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, 8
sub ebx, 0x40
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
fadd st(1)
dec ecx
add eax, 0x28
inc edx
mov dword [esp + 0x50], eax
fstp qword [edi]
lea eax, [edx - 1]
mov dword [esp + 0x34], ebx
cmp eax, 8
mov dword [esp + 0x14], ecx
fstp st(0)
mov dword [esp + 0x24], edx
jl 0x4065c3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret