Function at 0x10070560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091b9d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x100a4008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10070dc5
cmp dword [0x100a455c], 0
je 0x10070dc5
mov edi, dword [eax + 8]
mov eax, dword [0x100cd050]
test al, 1
jne 0x10070606
or eax, 1
mov dword [0x100cd050], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10034d70
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100cd054
call fcn.100351e0
add esp, 4
push 0x100930e0
call fcn.100890ee
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100cd054]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10070680
test esi, esi
je 0x10070680
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10070680
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10070669
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10070642
xor edx, edx
test ecx, ecx
je 0x10070669
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10070650
cmp edi, 0x11ab48ff
je 0x1007067b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10070680
mov esi, dword [ebp - 0x18]
jmp 0x10070624
mov ecx, dword [ebp - 0x1c]
jmp 0x10070682
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10070690.2
jmp dword [eax*4 + 0x10070ddc]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
jmp 0x10070713
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov edx, eax
jmp 0x10070713
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x1009a294]
movaps xmm0, xmm4
movss xmm2, dword [0x1009a28c]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movss xmm2, dword [0x1009a158]
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x10070713
xor edx, edx
jmp 0x10070713
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x100c7d98]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x100c7d98]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x10070dc5
mov edi, dword [ebp - 0x14]
mov eax, dword [0x100cd050]
mov edi, dword [edi + 8]
test al, 1
jne 0x1007078d
or eax, 1
mov dword [0x100cd050], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.10034d70
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100cd054
call fcn.100351e0
add esp, 4
push 0x100930e0
call fcn.100890ee
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100cd054]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x10070810
test esi, esi
je 0x10070810
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10070810
nop dword [eax + eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x100707f9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x100707d0
xor edx, edx
test ecx, ecx
je 0x100707f9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100707e0
cmp edi, 0xfd0c5087
je 0x1007080b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x10070810
mov esi, dword [ebp - 0x18]
jmp 0x100707b0
mov ecx, dword [ebp - 0x1c]
jmp 0x10070812
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007081c.4
jmp dword [eax*4 + 0x10070df8]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x10070876
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
jmp 0x10070876
movss xmm0, dword [ecx + 0xc]
jmp 0x10070876
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x10070876
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1008a0b0
cvtsd2ss xmm0, xmm0
jmp 0x10070876
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x100cd050]
test al, 1
jne 0x100708ce
or eax, 1
mov dword [0x100cd050], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10034d70
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100cd054
call fcn.100351e0
add esp, 4
push 0x100930e0
call fcn.100890ee
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100cd054]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x10070950
test esi, esi
je 0x10070950
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10070950
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10070939
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10070910
xor edx, edx
test ecx, ecx
je 0x10070939
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10070920
cmp edi, 0xfc0c4ef4
je 0x1007094b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10070950
mov esi, dword [ebp - 0x20]
jmp 0x100708f0
mov ecx, dword [ebp - 0x18]
jmp 0x10070952
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007095c.4
jmp dword [eax*4 + 0x10070e14]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x100709b6
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
add esp, 4
jmp 0x100709b6
movss xmm0, dword [ecx + 0xc]
jmp 0x100709b6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x100709b6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1008a0b0
cvtsd2ss xmm0, xmm0
jmp 0x100709b6
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x100cd050]
test al, 1
jne 0x10070a0e
or eax, 1
mov dword [0x100cd050], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.10034d70
push 0xda7d68cb
mov edx, eax
mov ecx, 0x100cd054
call fcn.100351e0
add esp, 4
push 0x100930e0
call fcn.100890ee
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x100cd054]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x10070a90
test esi, esi
je 0x10070a90
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10070a90
nop dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov eax, dword [ecx]
mov ecx, esi
and eax, 0xffffff
push eax
call edx
mov esi, eax
test esi, esi
je 0x10070a79
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + esi], 0
jne 0x10070a50
xor edx, edx
test ecx, ecx
je 0x10070a79
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10070a60
cmp edi, 0xff0c53ad
je 0x10070a8b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x10070a90
mov esi, dword [ebp - 0x20]
jmp 0x10070a30
mov ecx, dword [ebp - 0x14]
jmp 0x10070a92
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x10070a9c.4
jmp dword [eax*4 + 0x10070e30]
push dword [ecx + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x10070af6
push dword [ecx + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtof]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
add esp, 4
jmp 0x10070af6
movss xmm0, dword [ecx + 0xc]
jmp 0x10070af6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x10070af6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1008a0b0
cvtsd2ss xmm0, xmm0
jmp 0x10070af6
xorps xmm0, xmm0
mov eax, dword [0x100c7fec]
mov esi, dword [0x100a455c]
add eax, 0xffffffc2
xor eax, 0x5adf9147
movss dword [ebp - 0x14], xmm0
cmp byte [0x100a9f34], 0
movd xmm0, dword [eax + esi]
mov eax, dword [0x100c7df4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
movss dword [ebp - 0x30], xmm0
je 0x10070d24
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [esi + 0x39e1], 0
je 0x10070ca2
mov eax, dword [0x100c7f48]
mov edi, dword [esi + eax]
test edi, edi
je 0x10070ca2
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x10070ca2
cmp byte [edi + 0x109], 0
xorps xmm4, xmm4
jne 0x10070bd3
mov eax, dword [0x100c7ff4]
add eax, 0xffffffc0
xor eax, 0x5adf9149
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x10070bd3
mov eax, dword [0x100c8068]
add eax, 0xffffffa3
xor eax, 0x5adf9166
mov eax, dword [eax + ecx]
mov ecx, dword [0x100c7d9c]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x10070ca2
xorps xmm4, xmm4
mov ecx, dword [0x100c805c]
mov eax, dword [edi + 0x60]
add ecx, 0xffffffa6
xor ecx, 0x5adf9163
mov eax, dword [ecx + eax]
test eax, eax
je 0x10070ca2
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x1009a180]
comisd xmm0, xmm3
movsd qword [ebp - 0x40], xmm3
jbe 0x10070ca2
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x1009a1a4]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1009a178]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x10070c69
sub esp, 8
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movss xmm2, dword [ebp - 0x24]
add esp, 8
movsd xmm3, qword [ebp - 0x40]
fstp dword [ebp - 0x20]
movss xmm4, dword [ebp - 0x20]
movaps xmm1, xmm4
mulss xmm1, xmm4
cvtps2pd xmm2, xmm2
movaps xmm0, xmm1
addss xmm1, xmm1
mulss xmm0, dword [0x1009a190]
subsd xmm3, xmm2
mulss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm3
addsd xmm0, xmm2
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
mov ecx, dword [0x100c7fec]
mov eax, dword [ebp - 0x24]
add ecx, 0xffffffc2
movss xmm5, dword [ebp - 0x1c]
xor ecx, 0x5adf9147
movss xmm4, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [0x100a455c]
movss dword [ebp - 0x60], xmm5
movss dword [ebp - 0x5c], xmm4
movss dword [ebp - 0x58], xmm3
mov eax, dword [ecx + eax]
mov dword [ebp - 0x48], eax
mov eax, dword [0x100c8a08]
movq qword [ebp - 0x54], xmm0
mov word [ebp - 0x44], 0
cmp eax, dword [0x100c8a0c]
je 0x10070d15
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [eax + 0x10], xmm0
add dword [0x100c8a08], 0x20
jmp 0x10070d29
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, 0x100c8a04
call fcn.100730c0
movss xmm5, dword [ebp - 0x1c]
mov eax, dword [0x100c8a00]
test eax, eax
je 0x10070dc5
mov ecx, dword [0x100c89fc]
xor edx, edx
movss xmm2, dword [0x1009a290]
lea esi, [eax + ecx]
mov dword [ebp - 0x20], esi
cmp ecx, esi
je 0x10070dc5
mov edi, dword [0x100c89f8]
movss xmm3, dword [ebp - 0x30]
movss xmm4, dword [0x1009a158]
mov esi, dword [0x100c89f4]
lea eax, [edi - 1]
and eax, ecx
mov eax, dword [esi + eax*4]
mov esi, dword [ebp - 0x20]
cmp byte [eax + 0x32], 0
jne 0x10070d9f
movss xmm1, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm1, dword [eax + 8]
subss xmm0, xmm1
call fcn.10021510
comiss xmm0, xmm4
ja 0x10070d9f
comiss xmm2, xmm0
jbe 0x10070d9f
movaps xmm2, xmm0
mov edx, eax
inc ecx
cmp ecx, esi
jne 0x10070d63
movss xmm3, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x18]
test edx, edx
je 0x10070dc5
mov byte [edx + 0x32], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm4
movss dword [edx + 0x2c], xmm3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4