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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov esi, esp
mov eax, dword [0x40f3c0]
xor eax, ebp
mov dword [esi + 0x98], eax
cmp dword [0x40f630], 0xa
jl 0x4026ff
mov eax, dword [0x40f634]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x402972
push eax
sub esp, 0xc
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x20], eax
mov esp, eax
mov eax, dword [ebp + 8]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov ebx, dword [ebp + 0xc]
movss xmm2, dword [ebx + 4]
mulss xmm2, xmm1
movss xmm3, dword [ebx]
mulss xmm3, xmm0
addss xmm3, xmm2
movss dword [esi + 0x10], xmm3
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.004018e3
add esp, 4
fstp dword [esi + 0x3c]
movss xmm0, dword [esi + 0x3c]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebx]
movss xmm1, dword [ebx + 4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.004018e3
add esp, 4
fstp dword [esi + 0x38]
movss xmm0, dword [esi + 0xc]
mulss xmm0, dword [esi + 0x38]
mulss xmm0, dword [esi + 0x10]
sub esp, 4
movss dword [esp], xmm0
call fcn.00401cb3
add esp, 4
fstp dword [esi + 0x34]
mov eax, dword [0x40f638]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x40f63c], 0xa
movss xmm0, dword [esi + 0x34]
setl al
or al, cl
cmp al, 1
jne 0x402880
mov ecx, 0x3bc7b0fc
mov ebx, 0x81c58703
mov edx, 0x81c58703
mov dword [edi + 4], edx
mov dword [edi], ecx
mov ecx, 0x67aa1bc6
mov edx, 0xd00513a6
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
test al, al
je 0x402880
movaps xmmword [esi + 0x60], xmm0
mov eax, 0x3bf788cd
mov dword [esi + 0x14], edx
xor edx, edx
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x1c], ebx
lea edx, [esi + 0x70]
mov dword [edx + 4], ebx
mov dword [esi + 0x18], eax
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0xc], eax
movaps xmm0, xmmword [edi]
xorps xmm0, xmmword [ecx]
movaps xmmword [edi], xmm0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
add esp, 8
fstp qword [esi + 0x58]
mov eax, dword [0x40f640]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x40f644], 0xa
movsd xmm0, qword [esi + 0x58]
movsd qword [esi + 0x40], xmm0
setl cl
or cl, al
mov byte [esi + 0x10], cl
cmp cl, 1
je 0x4028a4
jmp 0x402a50
mov ecx, 0x3bc7b0fc
mov edx, 0x81c58703
mov dword [edi + 4], edx
mov dword [edi], ecx
mov ecx, 0x67aa1bc6
mov edx, 0xd00513a6
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
jmp 0x4027de
mov eax, 0xfc6a6fe
mov ecx, 0xb3fcb232
mov ebx, dword [esi + 0x20]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov eax, 0x52992ef0
mov ecx, 0xe9322a9e
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
mov ecx, 0x8890b04f
mov edx, 0x794315b9
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], ecx
mov edi, 0x7725cdd8
mov eax, 0xbabf2484
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], edi
cmp byte [esi + 0x10], 0
je 0x402a50
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x70], ebx
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x74], ebx
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x78], ebx
mov ebx, dword [esi + 0x14]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], eax
xor eax, eax
lea ecx, [esi + 0x70]
mov eax, dword [esi + 0x20]
movaps xmm0, xmmword [eax]
movaps xmm1, xmmword [eax + 0x10]
xorps xmm0, xmmword [ecx]
movaps xmmword [eax], xmm0
xorps xmm1, xmmword [ecx + 0x10]
movaps xmmword [eax + 0x10], xmm1
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
add esp, 8
fstp qword [esi + 0x50]
movsd xmm0, qword [esi + 0x50]
cmp dword [0x40f630], 0xa
jl 0x402a97
mov eax, dword [0x40f634]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x402a97
push eax
sub esp, 0xc
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push eax
sub esp, 0x1c
mov eax, esp
and eax, 0xfffffff0
mov dword [esi + 0x20], eax
mov esp, eax
mov eax, dword [ebp + 8]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov ebx, dword [ebp + 0xc]
movss xmm2, dword [ebx + 4]
mulss xmm2, xmm1
movss xmm3, dword [ebx]
mulss xmm3, xmm0
addss xmm3, xmm2
movss dword [esi + 0x10], xmm3
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.004018e3
add esp, 4
fstp dword [esi + 0x30]
movss xmm0, dword [esi + 0x30]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebx]
movss xmm1, dword [ebx + 4]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
sub esp, 4
movss dword [esp], xmm0
call fcn.004018e3
add esp, 4
fstp dword [esi + 0x2c]
movss xmm0, dword [esi + 0xc]
mulss xmm0, dword [esi + 0x2c]
mulss xmm0, dword [esi + 0x10]
sub esp, 4
movss dword [esp], xmm0
call fcn.00401cb3
fstp st(0)
add esp, 4
mov eax, dword [0x40f638]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x40f63c], 0xa
setl al
or al, cl
cmp al, 1
je 0x402ad6
jmp 0x402b69
mov eax, 0xfc6a6fe
mov ecx, 0xb3fcb232
mov edx, dword [esi + 0x20]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov eax, 0x52992ef0
mov ecx, 0xe9322a9e
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov eax, 0x8890b04f
mov ecx, 0x794315b9
mov dword [edx + 0x14], ecx
mov dword [edx + 0x10], eax
mov eax, 0x7725cdd8
mov ecx, 0xbabf2484
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x18], eax
jmp 0x4028a4
movaps xmm1, xmmword [esi + 0x60]
andps xmm1, xmmword [0x40c080]
cvtss2sd xmm1, xmm1
movsd xmm2, qword [esi + 0x40]
mulsd xmm2, xmm1
divsd xmm2, xmm0
movsd qword [esi + 0x48], xmm2
fld qword [esi + 0x48]
fstp xword [esi + 0x20]
mov ecx, dword [esi + 0x98]
xor ecx, ebp
call fcn.0040a7a1
fld xword [esi + 0x20]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x3bc7b0fc
mov ebx, 0x81c58703
mov edx, 0x81c58703
mov dword [edi + 4], edx
mov dword [edi], ecx
mov ecx, 0x67aa1bc6
mov edx, 0xd00513a6
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
test al, al
je 0x402b69
mov eax, 0x3bf788cd
mov dword [esi + 0x14], edx
xor edx, edx
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x70]
mov dword [esi + 0x1c], ebx
lea edx, [esi + 0x70]
mov dword [edx + 4], ebx
mov dword [esi + 0x18], eax
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0xc], eax
movaps xmm0, xmmword [edi]
xorps xmm0, xmmword [ecx]
movaps xmmword [edi], xmm0
push 0
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
fstp st(0)
add esp, 8
mov eax, dword [0x40f640]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete al
cmp dword [0x40f644], 0xa
setl cl
or cl, al
mov byte [esi + 0x10], cl
cmp cl, 1
je 0x402b8d
jmp 0x402c35
mov ecx, 0x3bc7b0fc
mov edx, 0x81c58703
mov dword [edi + 4], edx
mov dword [edi], ecx
mov ecx, 0x67aa1bc6
mov edx, 0xd00513a6
mov dword [edi + 0xc], edx
mov dword [edi + 8], ecx
jmp 0x402ad6
mov eax, 0xfc6a6fe
mov ecx, 0xb3fcb232
mov ebx, dword [esi + 0x20]
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov eax, 0x52992ef0
mov ecx, 0xe9322a9e
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
mov ecx, 0x8890b04f
mov edx, 0x794315b9
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x10], ecx
mov edi, 0x7725cdd8
mov eax, 0xbabf2484
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], edi
cmp byte [esi + 0x10], 0
je 0x402c35
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x70], ebx
mov ebx, dword [esi + 0x1c]
mov dword [esi + 0x74], ebx
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x78], ebx
mov ebx, dword [esi + 0x14]
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], eax
xor eax, eax
lea ecx, [esi + 0x70]
mov eax, dword [esi + 0x20]
movaps xmm0, xmmword [eax]
movaps xmm1, xmmword [eax + 0x10]
xorps xmm0, xmmword [ecx]
movaps xmmword [eax], xmm0
xorps xmm1, xmmword [ecx + 0x10]
movaps xmmword [eax + 0x10], xmm1
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtod]
fstp st(0)
add esp, 8
jmp 0x4026ff
mov eax, 0xfc6a6fe
mov ecx, 0xb3fcb232
mov edx, dword [esi + 0x20]
mov dword [edx + 4], ecx
mov dword [edx], eax
mov eax, 0x52992ef0
mov ecx, 0xe9322a9e
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov eax, 0x8890b04f
mov ecx, 0x794315b9
mov dword [edx + 0x14], ecx
mov dword [edx + 0x10], eax
mov eax, 0x7725cdd8
mov ecx, 0xbabf2484
mov dword [edx + 0x1c], ecx
mov dword [edx + 0x18], eax
jmp 0x402b8d