Function at 0x1003e210
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005017d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1006a89c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov edi, dword [ebp + 8]
cmovae ecx, edi
mov dword [ebp - 4], 0
setae dl
mov byte [ebp - 0x1e], dl
mov al, byte [ecx]
test al, al
je 0x1003e27d
movsx eax, al
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
push eax
lea eax, [ecx + 1]
push eax
call fcn.10040eb0
mov dl, byte [ebp - 0x1e]
add esp, 8
jmp 0x1003e282
mov eax, 0x811c9dc5
cmp dword [0x100a1c54], eax
jne 0x1003e299
cmp byte [0x100a1b88], 0
je 0x1003e299
mov byte [ebp - 0x1d], 1
jmp 0x1003e29e
xor al, al
mov byte [ebp - 0x1d], al
test dl, dl
lea ecx, [ebp + 8]
cmovne ecx, edi
mov al, byte [ecx]
test al, al
je 0x1003e2cc
movsx eax, al
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
push eax
lea eax, [ecx + 1]
push eax
call fcn.10040eb0
mov dl, byte [ebp - 0x1e]
add esp, 8
jmp 0x1003e2d1
mov eax, 0x811c9dc5
cmp dword [0x100a2234], eax
lea ecx, [ebp + 8]
sete byte [ebp - 0x1f]
test dl, dl
cmovne ecx, edi
mov al, byte [ecx]
test al, al
je 0x1003e306
movsx eax, al
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
push eax
lea eax, [ecx + 1]
push eax
call fcn.10040eb0
add esp, 8
jmp 0x1003e30b
mov eax, 0x811c9dc5
cmp dword [0x100a2238], eax
mov edx, 1
movd xmm0, dword [ebp + 0x24]
movss xmm2, dword [0x1006a4f0]
sete byte [ebp - 0x20]
mov cl, byte [ebp - 0x1d]
movss xmm4, dword [0x1005bf00]
test cl, cl
movzx eax, byte [0x100a1c5c]
cvtdq2ps xmm0, xmm0
cmovne eax, edx
mov dword [ebp - 0x18], eax
mov byte [0x100a1c5c], al
subss xmm2, xmm0
movss xmm0, dword [0x1006a4f4]
subss xmm0, xmm4
movss dword [0x1006a4f0], xmm2
cvttss2si eax, xmm0
movaps xmm0, xmm2
movss xmm2, dword [0x1006a500]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1006a580]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [0x1006a504]
subss xmm0, dword [0x1005bf1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1003e47a
mov edx, dword [ebp - 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1003e47a
add eax, 0x14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1003e47a
lea eax, [edx + 0xa]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1003e47a
cmp byte [ebp - 0x18], 0
jne 0x1003e47a
test cl, cl
jne 0x1003e482
cmp byte [0x100a2021], cl
je 0x1003e716
cmp byte [0x100a2121], cl
jne 0x1003e716
cmp byte [ebp - 0x1e], cl
lea eax, [ebp + 8]
push 0x811c9dc5
cmovne eax, edi
mov dword [0x100a1c60], 7
push eax
call fcn.10040eb0
movss xmm3, dword [0x1006a4f0]
add esp, 8
movss xmm0, dword [0x1006a4f4]
movss xmm1, dword [0x1006a504]
movss xmm2, dword [0x1006a500]
movss xmm4, dword [0x1005bf00]
mov cl, byte [ebp - 0x1d]
mov dword [0x100a1c54], eax
movss dword [0x1006a51c], xmm3
movss dword [0x1006a520], xmm0
jmp 0x1003e71e
test cl, cl
je 0x1003e716
cmp byte [0x100a1b88], 0
je 0x1003e716
movss xmm0, dword [esi + 8]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.10012f90
fstp dword [0x100a1fe8]
movss xmm2, dword [esi + 4]
lea eax, [ebp - 0x18]
movss xmm1, dword [esi + 8]
lea ecx, [ebp - 0x1c]
movss xmm3, dword [esi]
add esp, 0xc
comiss xmm1, xmm2
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm1
cmovbe eax, ecx
movss xmm0, dword [eax]
comiss xmm0, xmm3
ja 0x1003e4f2
movss xmm4, xmm3
jmp 0x1003e4f6
movss xmm4, xmm0
lea eax, [ebp - 0x18]
comiss xmm2, xmm1
xorps xmm1, xmm1
cmovbe eax, ecx
ucomiss xmm4, xmm1
movss xmm0, dword [eax]
lahf
test ah, 0x44
jp 0x1003e514
xorps xmm2, xmm2
jmp 0x1003e53c
comiss xmm3, xmm0
ja 0x1003e51f
movss xmm0, xmm3
jmp 0x1003e523
movss xmm0, xmm0
movaps xmm2, xmm4
subss xmm2, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1003e538
xorps xmm2, xmm2
jmp 0x1003e53c
divss xmm2, xmm4
movss dword [0x100a1fec], xmm2
lea eax, [ebp - 0x1c]
movss xmm0, dword [esi + 8]
lea ecx, [ebp - 0x18]
movss xmm1, dword [esi + 4]
movss xmm2, dword [esi]
comiss xmm0, xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x1c], xmm0
cmovbe eax, ecx
movss xmm0, dword [eax]
comiss xmm0, xmm2
ja 0x1003e577
movss xmm0, xmm2
jmp 0x1003e57b
movss xmm0, xmm0
sub esp, 0x14
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
movss dword [0x100a1ff0], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.10012f90
add esp, 8
lea eax, [ebp - 0x30]
fstp dword [esp]
push eax
call fcn.10040b10
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [0x100a1ff8], xmm0
movss xmm0, dword [esi + 8]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.10012f90
movss xmm3, dword [0x1005666c]
add esp, 0xc
cmp byte [ebp - 0x1f], 0
fstp dword [0x100a1fe4]
movss xmm0, dword [esi]
movss xmm1, dword [esi + 4]
movss xmm2, dword [esi + 8]
mulss xmm0, xmm3
mov dword [0x1006a648], 0xff
mulss xmm1, xmm3
cvttss2si eax, xmm0
mulss xmm2, xmm3
mov dword [0x1006a64c], eax
cvttss2si eax, xmm1
mov dword [0x1006a650], eax
cvttss2si eax, xmm2
mov dword [0x1006a654], eax
jne 0x1003eb9c
cmp byte [ebp - 0x20], 0
jne 0x1003ea4a
movss xmm1, dword [ebp - 0x14]
movss xmm0, dword [0x1006a4f4]
addss xmm0, dword [0x10055c40]
addss xmm1, dword [0x1006a4f0]
push 0xc0
push 0xa
cvttss2si eax, xmm0
movaps xmm0, xmm1
movss dword [ebp - 0x14], xmm1
subss xmm0, dword [0x1005bf00]
push eax
addss xmm0, dword [0x10056650]
subss xmm0, dword [0x10055c5c]
subss xmm0, dword [0x100574f4]
addss xmm0, dword [0x1005bf04]
cvttss2si eax, xmm0
push eax
call fcn.100420e0
add esp, 0x10
test al, al
je 0x1003e9d8
push 1
call fcn.10041f10
add esp, 4
test al, al
je 0x1003e9d8
cmp byte [ebp - 0x1e], 0
lea eax, [ebp + 8]
push 0x811c9dc5
cmovne eax, edi
push eax
call fcn.10040eb0
mov dword [0x100a2234], eax
add esp, 8
movss xmm1, dword [0x1006a504]
movss xmm2, dword [0x1006a500]
movss xmm4, dword [0x1005bf00]
mov cl, byte [ebp - 0x1d]
movss xmm3, dword [0x1006a4f0]
cmp byte [0x100a2021], 0
je 0x1003e7d8
cmp byte [0x100a2121], 0
jne 0x1003e7d8
test cl, cl
je 0x1003e7d8
mov eax, dword [0x1006a580]
movss xmm0, dword [0x1006a520]
subss xmm0, dword [0x10055c58]
cdq
sub eax, edx
sar eax, 1
cvttss2si ecx, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006a51c]
subss xmm0, xmm4
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x1003e7b0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1003e7b0
add eax, 0xe5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1003e7b0
lea eax, [ecx + 0xc8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x1003e7d8
mov dword [0x100a1c54], 0
mov dword [0x100a2234], 0
mov dword [0x100a1c60], 0
mov dword [0x100a2238], 0
cvttss2si eax, dword [0x100a1c58]
sub esp, 0x10
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [0x100a22d4]
mov dword [ebp - 0x30], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x30]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, dword [0x1006a580]
movss xmm0, dword [0x1006a4f4]
subss xmm0, dword [0x1005bf00]
cdq
sub eax, edx
mov dword [esp + 0xc], 0x41200000
sar eax, 1
mov dword [esp + 8], 0x41a00000
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm3
subss xmm0, dword [0x1005bf1c]
movss dword [esp], xmm0
call fcn.10049790
movss xmm1, dword [0x1005666c]
sub esp, 0x10
movss xmm0, dword [esi]
mulss xmm0, xmm1
mov ecx, dword [0x100a22d4]
cvttss2si eax, xmm0
movss xmm0, dword [esi + 4]
mulss xmm0, xmm1
mov dword [ebp - 0x2c], eax
cvttss2si eax, xmm0
movss xmm0, dword [esi + 8]
mulss xmm0, xmm1
mov dword [ebp - 0x28], eax
cvttss2si eax, xmm0
mov dword [ebp - 0x24], eax
cvttss2si eax, dword [0x100a1c58]
mov dword [ebp - 0x30], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x30]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, dword [0x1006a580]
movss xmm0, dword [0x1006a4f4]
subss xmm0, dword [0x1005bf00]
cdq
sub eax, edx
mov dword [esp + 0xc], 0x41200000
sar eax, 1
mov dword [esp + 8], 0x41a00000
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006a4f0]
subss xmm0, dword [0x1005bf1c]
movss dword [esp], xmm0
call fcn.10049790
cvttss2si eax, dword [0x100a1c58]
sub esp, 0x10
mov dword [ebp - 0x2c], 0x2d
mov dword [ebp - 0x28], 0x2d
mov dword [ebp - 0x24], 0x2d
mov dword [ebp - 0x30], eax
mov eax, esp
movups xmm0, xmmword [ebp - 0x30]
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, dword [0x1006a580]
movss xmm0, dword [0x1006a4f4]
subss xmm0, dword [0x1005bf00]
cdq
mov dword [esp + 0xc], 0x41200000
sub eax, edx
mov dword [esp + 8], 0x41a00000
sar eax, 1
movss dword [esp + 4], xmm0
mov ecx, dword [0x100a22d4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006a4f0]
subss xmm0, dword [0x1005bf1c]
movss dword [esp], xmm0
call fcn.10049880
movd xmm0, dword [ebp + 0x24]
mov edx, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x1006a4f0]
movss dword [0x1006a4f0], xmm0
cmp edx, 0x10
jb 0x1003ecd9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003eccf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003eccf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
movss xmm0, dword [0x1006a520]
addss xmm0, dword [0x10055c40]
push 0xc0
push 0xbf
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [0x1005bef4]
push eax
cvttss2si eax, xmm0
push eax
call fcn.100420e0
add esp, 0x10
test al, al
je 0x1003e6fb
push 1
call fcn.10041f10
add esp, 4
test al, al
je 0x1003e6fb
cmp byte [ebp - 0x1e], 0
lea eax, [ebp + 8]
push 0x811c9dc5
cmovne eax, edi
push eax
call fcn.10040eb0
mov dword [0x100a2238], eax
jmp 0x1003e6f8
cmp byte [0x100a2021], 0
je 0x1003eb8f
movss xmm0, dword [esi + 8]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi]
movss dword [esp], xmm0
call fcn.10012f90
movss xmm1, dword [ebp - 0x14]
add esp, 0xc
addss xmm1, dword [0x1006a4f0]
movss xmm0, dword [0x1006a500]
movss xmm2, dword [0x10055c40]
fstp dword [ebp - 0x18]
subss xmm1, dword [0x1005bef4]
subss xmm0, xmm1
divss xmm0, dword [0x1005bf2c]
comiss xmm0, xmm2
jbe 0x1003eac4
movaps xmm3, xmm2
movss dword [ebp - 0x14], xmm3
jmp 0x1003eade
movss xmm3, dword [0x1005beec]
comiss xmm3, xmm0
movss dword [ebp - 0x14], xmm3
ja 0x1003eade
movaps xmm3, xmm0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [0x1006a504]
subss xmm0, dword [0x1006a520]
movss xmm1, dword [0x1005bef0]
divss xmm0, dword [0x1005bf30]
comiss xmm0, xmm1
ja 0x1003eb0e
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x1003eb0e
movaps xmm1, xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm2, xmm1
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm3
movss dword [ebp - 0x1c], xmm2
movss dword [esp], xmm0
call fcn.10040de0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
fstp dword [esi]
movss dword [esp], xmm0
call fcn.10040d10
movss xmm0, dword [ebp - 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x18]
fstp dword [esi + 4]
movss dword [esp], xmm0
call fcn.10040c30
fstp dword [esi + 8]
add esp, 0xc
jmp 0x1003e6fb
movss xmm3, dword [0x1006a4f0]
jmp 0x1003e7ce
cmp byte [0x100a2021], 0
je 0x1003ecb8
movss xmm1, dword [esi + 8]
sub esp, 0xc
movss xmm0, dword [esi + 4]
movss xmm2, dword [esi]
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.100428c0
movss xmm0, dword [esi + 4]
lea eax, [ebp - 0x1c]
movss xmm1, dword [esi + 8]
lea ecx, [ebp - 0x14]
add esp, 0xc
movss dword [ebp - 0x1c], xmm1
comiss xmm1, xmm0
movss xmm1, dword [esi]
movss dword [ebp - 0x14], xmm0
cmovbe eax, ecx
fstp dword [ebp - 0x18]
movss xmm0, dword [eax]
comiss xmm0, xmm1
ja 0x1003ec09
movss xmm2, xmm1
jmp 0x1003ec0d
movss xmm2, xmm0
movss xmm0, dword [0x1006a504]
subss xmm0, dword [0x1006a520]
movss xmm1, dword [0x1005bef0]
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x14], xmm1
divss xmm0, dword [0x1005bf30]
comiss xmm0, xmm1
ja 0x1003ec53
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1003ec4b
movss dword [ebp - 0x14], xmm1
jmp 0x1003ec53
movaps xmm1, xmm0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x18]
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.10040de0
movss xmm0, dword [ebp - 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
fstp dword [esi]
movss dword [esp], xmm0
call fcn.10040d10
movss xmm0, dword [ebp - 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x18]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x14]
jmp 0x1003eb77
movss xmm3, dword [0x1006a4f0]
mov dword [0x100a2234], 0
jmp 0x1003e7d8
push edx
push ecx
call fcn.1004b1e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b719
mov esp, ebp
pop ebp
ret