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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x174
cmp byte [0x101cf0ea], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm0
je 0x1004388f
cmp dword [edi + 4], 1
jne 0x1004388f
mov eax, dword [edi]
mov ecx, 0x101d3c14
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10028e20
mov eax, dword [eax]
cmp dword [eax + 0x1c], 0
je 0x1004387f
lea eax, [esp + 0x10]
mov ecx, 0x101d3c14
push eax
lea eax, [esp + 0x38]
push eax
call fcn.10028e20
mov edx, dword [eax]
add edx, 0xc
mov dword [esp + 0x34], edx
je 0x1004387f
mov ebx, dword [edx + 0xc]
mov eax, dword [edx + 0x10]
add eax, ebx
mov dword [esp + 0x20], eax
cmp ebx, eax
je 0x1004387f
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
dec ecx
and ecx, ebx
mov esi, dword [eax + ecx*4]
push esi
mov dword [esp + 0x1c], esi
call fcn.10026fd0
test al, al
je 0x10043870
mov ecx, dword [edi]
lea eax, [esi + 0x10]
push eax
push 1
lea eax, [esp + 0x124]
push eax
call fcn.10026da0
mov ecx, dword [ebp + 8]
movss xmm0, dword [eax]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x128]
push eax
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x48], xmm0
call fcn.10026c60
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [esp + 0x134]
push eax
call fcn.10021c70
movss xmm0, dword [esi]
mov edx, dword [edi]
addss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
mov ecx, esi
push eax
movss dword [esp + 0x5c], xmm0
call fcn.10025390
add esp, 8
test al, al
je 0x10043870
mov eax, dword [esp + 0x18]
mov ecx, esi
mov eax, dword [eax]
mov dword [edi + 0x38], eax
lea eax, [esp + 0x58]
push eax
call fcn.10026c60
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [esp + 0x64]
push eax
call fcn.10021c70
movss xmm0, dword [esi + 8]
sub esp, 8
movss xmm3, dword [esi]
movss xmm2, dword [esi + 4]
addss xmm0, dword [eax + 8]
addss xmm3, dword [eax]
addss xmm2, dword [eax + 4]
subss xmm0, dword [esp + 0x38]
subss xmm3, dword [esp + 0x34]
subss xmm2, dword [esp + 0x30]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm3
movss dword [esp + 0x18], xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100269c0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fdivr dword [esp + 0x14]
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x101beaf0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x24]
divss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_atan_precise
cvtsd2ss xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x101beaf0]
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x10]
comiss xmm0, dword [0x101be910]
jb 0x10043834
addss xmm1, dword [0x101bec0c]
movss xmm0, dword [esp + 0x18]
movss dword [edi + 0x14], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [edi + 8], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [edi + 0xc], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [edi + 0x18], xmm1
mov dword [edi + 0x1c], 0
movss dword [edi + 0x10], xmm0
mov byte [edi + 0x34], 1
mov edx, dword [esp + 0x34]
inc ebx
cmp ebx, dword [esp + 0x20]
jne 0x10043661
push dword [edi]
call fcn.100271a0
test al, al
jne 0x1004388f
cmp byte [edi + 0x34], al
je 0x100438c2
cmp byte [0x10289993], 0
je 0x100438cd
cmp byte [edi + 0x34], 0
jne 0x100438d7
mov ecx, dword [edi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
push eax
lea eax, [edi + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10041e00
test al, al
jne 0x10043c82
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 0x34], 0
je 0x10043c8d
mov ebx, dword [ebp + 8]
mov esi, dword [0x101d5e48]
push ebx
call fcn.10034160
test al, al
je 0x10043915
cmp byte [0x10289990], 0
je 0x10043915
mov ecx, ebx
call fcn.10014740
test al, al
je 0x10043915
movd xmm0, dword [0x101d5f3c]
mov eax, dword [0x101d5e48]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x1c]
jmp 0x10043918
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x140]
push eax
movss dword [esp + 0x14], xmm0
call fcn.1003d3f0
movss xmm1, dword [esi + 0x1c]
push dword [0x101d3580]
movss xmm0, dword [eax + 0x38]
subss xmm0, dword [esp + 0x14]
maxss xmm1, xmm0
movss dword [esp + 0x38], xmm1
call fcn.100156e0
test al, al
je 0x10043c82
mov eax, dword [0x101d5e48]
mov ecx, ebx
movss xmm1, dword [esp + 0x34]
movss xmm0, dword [eax + 0x1c]
lea eax, [esp + 0x64]
divss xmm1, xmm0
push eax
mulss xmm0, dword [0x101be9bc]
addss xmm1, xmm0
cvttss2si edi, xmm1
call fcn.10026c60
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x58]
push eax
call fcn.10021c70
mov ecx, ebx
movss xmm0, dword [esi]
movss dword [esp + 0x34], xmm0
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [eax + 8]
mov eax, dword [ebx]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esi + 8]
mov eax, dword [eax + 0x24]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x10], xmm1
call eax
movss xmm0, dword [esp + 0x24]
mov ecx, ebx
addss xmm0, dword [esp + 0x34]
subss xmm0, dword [eax]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0x18]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [esp + 0x14]
subss xmm0, dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
movss dword [esp + 0x10], xmm0
mov eax, dword [eax + 0x71c]
call eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0xbc], 0
mulss xmm0, dword [0x101bea88]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc8], 0
movss dword [esp + 0x34], xmm0
xorps xmm0, xmm0
movq qword [esp + 0x70], xmm0
movups xmmword [esp + 0x94], xmm0
mov dword [esp + 0xc4], 0
movups xmmword [esp + 0xa4], xmm0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf8], 0
xorps xmm1, xmm1
mov dword [esp + 0xf4], 0
movq qword [esp + 0x100], xmm0
mov dword [esp + 0x108], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x10c], 0
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x3c], xmm0
test edi, edi
jle 0x10043c0d
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10016770
sub edi, 1
jne 0x10043bd5
movss xmm0, dword [esp + 0x44]
movss xmm1, dword [esp + 0x40]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x14], xmm1
movss dword [esp + 0x18], xmm0
call fcn.10015e30
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x18]
addss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x48]
addss xmm3, dword [esp + 0x10]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
subss xmm1, xmm3
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10011780
movss xmm1, dword [esp + 0x34]
comiss xmm1, xmm0
seta al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
call fcn.10026c60
mov esi, eax
mov ecx, ebx
lea eax, [esp + 0x58]
push eax
call fcn.10021c70
movss xmm0, dword [esi]
mov ecx, ebx
mov edx, dword [edi]
addss xmm0, dword [eax]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, dword [eax + 4]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esi + 8]
addss xmm0, dword [eax + 8]
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x5c], xmm0
call fcn.10025390
add esp, 8
test al, al
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc