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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x10047940
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
movss xmm3, dword [edx]
mulss xmm3, dword [eax]
movss xmm4, dword [edx + 4]
mulss xmm4, dword [eax + 4]
movss xmm2, dword [edx + 8]
mulss xmm2, dword [eax + 8]
cmp byte [0x10356b30], 0
je 0x10046a0c
movss xmm0, dword [ebp + 0x10]
xorps xmm1, xmm1
addss xmm3, xmm1
addss xmm4, xmm3
addss xmm2, xmm4
movaps xmm3, xmm0
subss xmm3, xmm2
ucomiss xmm1, xmm3
jae 0x100469e9
mov dword [esi + 0x38], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov eax, dword [0x1035678c]
mov edx, dword [eax]
mov edx, dword [edx]
mov bl, 1
test cl, 4
movss dword [esi + 0x44], xmm2
movss dword [esi + 0x40], xmm3
jne 0x100465c1
mov edi, dword [eax + 0x28]
test byte [edi + edx], 2
jne 0x100465c1
mov bl, 1
mov dword [esi + 0x3c], ebx
xor ebx, ebx
test ecx, 0x20000
jne 0x100465d2
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x3c], 0
movss xmm1, dword [0x10156624]
maxss xmm1, xmm0
movss dword [esi + 0x48], xmm1
mov ecx, dword [0x10356824]
mov eax, dword [eax + 0x11c]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov dword [esi + 0x88], 0xffffffff
mov dword [esp], eax
call edx
sub esp, 4
test eax, eax
je 0x100467fd
mov edi, eax
mov ecx, dword [0x10356b2c]
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
je 0x100467fd
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0x110]
cmp dword [ecx + edi], 0
movss xmm5, dword [esi + 0x40]
movss xmm4, dword [esi + 0x48]
mov dword [esi + 0x4c], ebx
jle 0x10046818
mov eax, dword [eax + 0xb0]
movzx eax, word [eax + edi]
mov dword [esi + 0x10], 0x7d8ed949
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0xb626718e
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x10046739
mov dword [esi + 0x10], 0xcabdf66f
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0xdc094236
mov ecx, dword [esi + 0x10]
rol ecx, 7
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x10046739
mov dword [esi + 0x10], 0xc12827d7
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x29f8d73f
mov ecx, dword [esi + 0x10]
rol ecx, 0xb
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x10046739
mov dword [esi + 0x10], 0x6f6b72f3
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0xd8d9491
mov ecx, dword [esi + 0x10]
rol ecx, 0xb
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x10046739
mov dword [esi + 0x10], 0x3b1579
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x8711c500
mov ecx, dword [esi + 0x10]
rol ecx, 0x10
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x10046739
mov dword [esi + 0x10], 0x8e80dc7c
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x8325ff72
mov ecx, dword [esi + 0x10]
rol ecx, 0x14
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jne 0x10046818
mov ebx, dword [esi + 0x38]
movss xmm0, dword [ebx + 4]
mov dword [esi + 0x10], 0x7996b88d
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x14c76987
mov eax, dword [esi + 0x10]
rol eax, 0xd
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], 0xe106bf1c
mov eax, dword [esi + 0x10]
bswap eax
mov dword [esi + 0x10], eax
add dword [esi + 0x10], 0x1bc0f920
mov eax, dword [esi + 0x10]
rol eax, 0xd
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x10], 0xff963832
mov edx, dword [esi + 0x10]
bswap edx
mov dword [esi + 0x10], edx
add dword [esi + 0x10], 0x14c76987
mov edx, dword [esi + 0x10]
rol edx, 0xd
mov dword [esi + 0x10], edx
mov edx, dword [esi + 0x10]
movd xmm1, ecx
movd xmm2, edx
punpckldq xmm1, xmm2
cvtdq2ps xmm1, xmm1
mov dword [esi + 0x10], 0xe106bf1c
mov ecx, dword [esi + 0x10]
bswap ecx
mov dword [esi + 0x10], ecx
add dword [esi + 0x10], 0x1bc0f920
mov ecx, dword [esi + 0x10]
rol ecx, 0xd
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
movd xmm2, eax
movd xmm3, ecx
punpckldq xmm2, xmm3
cvtdq2ps xmm2, xmm2
divps xmm1, xmm2
mulss xmm0, xmm1
shufps xmm1, xmm1, 0x55
ucomiss xmm1, xmm0
seta al
mov edi, dword [ebp + 0x14]
jmp 0x10046820
xor eax, eax
movss xmm4, dword [esi + 0x48]
movaps xmm2, xmm4
mov edi, dword [ebp + 0x14]
movss xmm5, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
test al, al
jne 0x10046855
jmp 0x1004686c
xor eax, eax
mov edi, dword [ebp + 0x14]
mov ebx, dword [esi + 0x38]
movss xmm2, dword [ebx + 4]
divss xmm2, dword [0x10156624]
minss xmm2, dword [0x10154df4]
mulss xmm2, xmm4
test al, al
mov ecx, dword [esi + 0x3c]
je 0x10046843
movaps xmm4, xmm2
movaps xmm0, xmm4
test cl, cl
mov ebx, dword [esi + 0x4c]
je 0x1004685e
test bl, bl
je 0x10046865
test al, al
je 0x1004686c
movaps xmm1, xmm4
test bl, bl
je 0x1004687c
jmp 0x1004687f
movaps xmm0, xmm2
test bl, bl
jne 0x10046851
movaps xmm4, xmm0
test al, al
jne 0x10046855
movss xmm1, dword [0x10155fa8]
mulss xmm1, xmm4
test bl, bl
jne 0x1004687f
movaps xmm1, xmm4
movss xmm0, dword [ebp + 0x18]
test cl, cl
je 0x10046900
pxor xmm3, xmm3
test bl, bl
je 0x10046898
mulss xmm2, dword [0x10155fa8]
maxss xmm3, dword [esi + 0x44]
movss xmm4, dword [0x10155fac]
test al, al
mov ebx, dword [esi + 0x38]
jne 0x100468b0
mulss xmm1, xmm4
mulss xmm2, xmm4
movss xmm4, dword [0x1015663c]
addss xmm4, xmm2
ucomiss xmm4, xmm3
jbe 0x10046903
unpcklps xmm3, xmm2
shufps xmm4, xmm4, 0
subps xmm3, xmm4
xorps xmm4, xmm4
maxps xmm4, xmm3
movaps xmm2, xmm4
shufps xmm2, xmm4, 0x55
divss xmm4, xmm2
movss xmm2, dword [0x10154df4]
movaps xmm3, xmm2
subss xmm3, xmm4
xorps xmm4, xmm4
ucomiss xmm3, xmm4
jae 0x100469ff
xorps xmm0, xmm0
jmp 0x10046903
mov ebx, dword [esi + 0x38]
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
mulss xmm0, dword [edx + 0x20]
mulss xmm0, xmm1
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x170]
mov ecx, dword [ecx]
mulss xmm0, dword [eax + ecx]
minss xmm0, xmm5
mov eax, dword [ebp + 0xc]
movss xmm1, dword [eax + 8]
mulss xmm1, xmm0
movsd xmm2, qword [eax]
shufps xmm0, xmm0, 0
mulps xmm0, xmm2
movsd xmm2, qword [edi]
addps xmm2, xmm0
movlps qword [edi], xmm2
addss xmm1, dword [edi + 8]
movss dword [edi + 8], xmm1
movaps xmm0, xmm2
mulss xmm0, xmm2
xorps xmm3, xmm3
addss xmm0, xmm3
shufps xmm2, xmm2, 0x55
mulss xmm2, xmm2
addss xmm2, xmm0
mulss xmm1, xmm1
addss xmm1, xmm2
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jb 0x1004699e
sqrtsd xmm0, xmm0
jmp 0x100469b3
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm3, xmm3
fstp qword [esi + 0x70]
movsd xmm0, qword [esi + 0x70]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
ucomiss xmm1, xmm3
jne 0x100469c1
jnp 0x100469e9
movss xmm0, dword [ebx + 4]
ucomiss xmm1, xmm0
jbe 0x100469e9
divss xmm0, xmm1
movsd xmm1, qword [edi]
movaps xmm2, xmm0
unpcklps xmm2, xmm0
mulps xmm2, xmm1
movlps qword [edi], xmm2
mulss xmm0, dword [edi + 8]
movss dword [edi + 8], xmm0
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
minss xmm2, xmm3
mulss xmm0, xmm2
jmp 0x10046903
movss dword [esi + 0x40], xmm4
movss dword [esi + 0x3c], xmm3
movss dword [esi + 0x44], xmm2
mov dword [esi + 0x38], ecx
mov byte [0x10356b30], 1
mov ecx, dword [0x1035684c]
mov eax, 0x646b15d6
mov edx, 0x81a0df14
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], eax
mov eax, 0x959868db
mov edx, 0xe0ee0db7
mov dword [esi + 0x5c], edx
mov dword [esi + 0x58], eax
mov eax, 0x11622f02
mov edx, 0x3f25ff4
mov dword [esi + 0x64], edx
mov dword [esi + 0x60], eax
mov eax, 0x2e4a1917
mov edx, 0x6ce1cfcd
mov dword [esi + 0x6c], edx
mov dword [esi + 0x68], eax
mov eax, 0x53463a5
mov edx, 0xedc5bc77
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov eax, 0xe1f91abe
mov edx, 0x939b52d2
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov eax, 0x74157067
mov edx, 0x6d9d2f95
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
mov eax, 0x4b3a6a48
mov edx, 0x6ce1aba8
mov dword [esi + 0x2c], edx
mov dword [esi + 0x28], eax
lea eax, [esi + 0x10]
xor edx, edx
movaps xmm0, xmmword [esi + 0x50]
xorps xmm0, xmmword [eax]
movaps xmmword [esi + 0x50], xmm0
movaps xmm0, xmmword [esi + 0x60]
xorps xmm0, xmmword [eax + 0x10]
movaps xmmword [esi + 0x60], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
mov dword [esi + 0x88], 0
lea edx, [esi + 0x50]
mov dword [esp], edx
call eax
sub esp, 4
mov dword [0x10356b2c], eax
mov ecx, dword [esi + 0x38]
movss xmm2, dword [esi + 0x44]
movss xmm3, dword [esi + 0x3c]
movss xmm4, dword [esi + 0x40]
jmp 0x10046562