Function at 0x1007d9dc
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 0x100a40bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
push esi
push edi
mov eax, dword [0x100b9040]
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 0x1007e150
cmp dword [0x10136d60], 0
je 0x1007e150
mov edi, dword [eax + 8]
mov eax, dword [0x1013bf08]
test al, 1
jne 0x1007d8d6
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1003f460
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f8b0
add esp, 4
push 0x100a5dd0
call fcn.1009b311
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1013bf0c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007d950
test esi, esi
je 0x1007d950
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007d950
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 0x1007d939
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007d912
xor edx, edx
test ecx, ecx
je 0x1007d939
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007d920
cmp edi, 0x11ab48ff
je 0x1007d94b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007d950
mov esi, dword [ebp - 0x18]
jmp 0x1007d8f4
mov ecx, dword [ebp - 0x1c]
jmp 0x1007d952
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm5, dword [0x100af0e0]
dec eax
cmp eax, 6
ja case.0x1007d968.2
jmp dword [eax*4 + 0x1007e168]
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 0x1007d9e3
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 0x1007d9e3
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100af2e8]
movaps xmm0, xmm4
movss xmm2, dword [0x100af2d4]
andps xmm3, xmm4
xorps xmm0, xmm3
movaps xmm1, xmm4
cmpltss xmm0, xmm2
andps xmm2, xmm0
orps xmm2, xmm3
addss xmm1, xmm2
subss xmm1, xmm2
movaps xmm0, xmm1
subss xmm0, xmm4
cmpnless xmm0, xmm3
andps xmm0, xmm5
subss xmm1, xmm0
cvttss2si edx, xmm1
jmp 0x1007d9e3
xor edx, edx
jmp 0x1007d9e3
mov edx, dword [ecx + 0xc]
mov ecx, dword [0x10131664]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, dword [0x10131664]
mov edi, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
cmp edi, eax
jne 0x1007e150
mov edi, dword [ebp - 0x14]
mov eax, dword [0x1013bf08]
mov edi, dword [edi + 8]
test al, 1
jne 0x1007da5d
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.1003f460
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f8b0
add esp, 4
push 0x100a5dd0
call fcn.1009b311
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1013bf0c]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1007dae0
test esi, esi
je 0x1007dae0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007dae0
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 0x1007dac9
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007daa0
xor edx, edx
test ecx, ecx
je 0x1007dac9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007dab0
cmp edi, 0xfd0c5087
je 0x1007dadb
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007dae0
mov esi, dword [ebp - 0x18]
jmp 0x1007da80
mov ecx, dword [ebp - 0x1c]
jmp 0x1007dae2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007daec.4
jmp dword [eax*4 + 0x1007e184]
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 0x1007db42
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 0x1007db42
movss xmm0, dword [ecx + 0xc]
jmp 0x1007db42
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007db42
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c410
jmp 0x1007db42
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1013bf08]
test al, 1
jne 0x1007db9a
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.1003f460
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f8b0
add esp, 4
push 0x100a5dd0
call fcn.1009b311
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1013bf0c]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1007dc13
test esi, esi
je 0x1007dc13
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007dc13
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 0x1007dbfc
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007dbd6
xor edx, edx
test ecx, ecx
je 0x1007dbfc
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007dbe3
cmp edi, 0xfc0c4ef4
je 0x1007dc0e
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007dc13
mov esi, dword [ebp - 0x20]
jmp 0x1007dbb8
mov ecx, dword [ebp - 0x18]
jmp 0x1007dc15
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007dc1f.4
jmp dword [eax*4 + 0x1007e1a0]
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 0x1007dc75
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 0x1007dc75
movss xmm0, dword [ecx + 0xc]
jmp 0x1007dc75
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007dc75
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c410
jmp 0x1007dc75
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x18], xmm0
mov edi, dword [eax + 8]
mov eax, dword [0x1013bf08]
test al, 1
jne 0x1007dccd
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1003f460
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f8b0
add esp, 4
push 0x100a5dd0
call fcn.1009b311
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x1013bf0c]
call eax
mov esi, eax
mov dword [ebp - 0x20], esi
test edi, edi
je 0x1007dd50
test esi, esi
je 0x1007dd50
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007dd50
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 0x1007dd39
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007dd10
xor edx, edx
test ecx, ecx
je 0x1007dd39
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007dd20
cmp edi, 0xff0c53ad
je 0x1007dd4b
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007dd50
mov esi, dword [ebp - 0x20]
jmp 0x1007dcf0
mov ecx, dword [ebp - 0x14]
jmp 0x1007dd52
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007dd5c.4
jmp dword [eax*4 + 0x1007e1bc]
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 0x1007ddb2
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 0x1007ddb2
movss xmm0, dword [ecx + 0xc]
jmp 0x1007ddb2
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007ddb2
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c410
jmp 0x1007ddb2
xorps xmm0, xmm0
cmp byte [0x10125bc8], 0
movss dword [ebp - 0x14], xmm0
je 0x1007e0be
mov edi, dword [0x10136d60]
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10131664]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
cmp esi, eax
jne 0x1007decc
mov eax, dword [0x101318a8]
mov ecx, dword [0x10131684]
add eax, 0xffffffdb
xor eax, 0xe9f5e00c
push 1
movq xmm0, qword [eax + edi]
movq qword [ebp - 0x2c], xmm0
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10131684]
push 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx]
movq qword [ebp - 0x48], xmm0
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [0x10131684]
push 1
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ecx]
movq qword [ebp - 0x74], xmm0
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x10131684]
push 0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ecx]
movq qword [ebp - 0x80], xmm0
mov eax, dword [eax + 0x20]
call eax
movss xmm2, dword [ebp - 0x78]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
mov eax, dword [0x1013193c]
add eax, 0xffffffb6
xor eax, 0xe9f5e031
subss xmm2, xmm0
movss xmm0, dword [0x100af0e0]
subss xmm0, dword [eax + edi]
mulss xmm2, dword [eax + edi]
mulss xmm0, dword [ebp - 0x30]
addss xmm2, xmm0
addss xmm2, dword [ebp - 0x24]
movss dword [ebp - 0x24], xmm2
jmp 0x1007e03c
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x28c]
call eax
cmp dword [edi + 0x39e1], 0
je 0x1007e03c
mov eax, dword [0x1013184c]
mov edi, dword [edi + eax]
test edi, edi
je 0x1007e03c
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1007e03c
cmp byte [edi + 0x1a8], 0
xorps xmm4, xmm4
jne 0x1007df6d
mov eax, dword [0x1013193c]
add eax, 0xffffffb6
xor eax, 0xe9f5e031
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007df6d
mov eax, dword [0x101319b4]
add eax, 0xffffff98
xor eax, 0xe9f5e04f
mov eax, dword [eax + ecx]
mov ecx, dword [0x10131668]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
jne 0x1007e03c
xorps xmm4, xmm4
mov ecx, dword [0x101319a8]
mov eax, dword [edi + 0x60]
add ecx, 0xffffff9b
xor ecx, 0xe9f5e04c
mov eax, dword [ecx + eax]
test eax, eax
je 0x1007e03c
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100af120]
comisd xmm0, xmm3
movsd qword [ebp - 0x48], xmm3
jbe 0x1007e03c
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100af18c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100af108]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x1007e003
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 - 0x48]
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 [0x100af168]
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 [0x10131934]
mov eax, dword [ebp - 0x24]
add ecx, 0xffffffb8
movss xmm5, dword [ebp - 0x1c]
xor ecx, 0xe9f5e02f
movss xmm3, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
movq xmm0, qword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [0x10136d60]
movss dword [ebp - 0x68], xmm5
movss dword [ebp - 0x64], xmm3
movss dword [ebp - 0x60], xmm2
mov eax, dword [ecx + eax]
mov dword [ebp - 0x50], eax
mov eax, dword [0x1013252c]
movq qword [ebp - 0x5c], xmm0
mov word [ebp - 0x4c], 0
cmp eax, dword [0x10132530]
je 0x1007e0af
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x10], xmm0
add dword [0x1013252c], 0x20
jmp 0x1007e0cd
lea ecx, [ebp - 0x68]
push ecx
push eax
mov ecx, 0x10132528
call fcn.100805c0
movss xmm5, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
mov eax, dword [0x10132524]
test eax, eax
je 0x1007e150
mov ecx, dword [0x10132520]
xor edx, edx
movss xmm1, dword [0x100af2d8]
lea esi, [eax + ecx]
cmp ecx, esi
je 0x1007e150
mov eax, dword [0x1013251c]
mov edi, dword [0x10132518]
dec eax
movss xmm4, dword [0x100af3b0]
mov dword [ebp - 0x20], eax
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x4a], 0
jne 0x1007e131
mov edi, dword [0x101316c0]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
mov edi, dword [0x10132518]
andps xmm0, xmm4
comiss xmm1, xmm0
jb 0x1007e131
movaps xmm1, xmm0
mov edx, eax
mov eax, dword [ebp - 0x20]
inc ecx
cmp ecx, esi
jne 0x1007e104
test edx, edx
je 0x1007e150
mov byte [edx + 0x4a], 1
movss dword [edx + 0x24], xmm5
movss dword [edx + 0x28], xmm3
movss dword [edx + 0x2c], xmm2
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