Function at 0x1007d780
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 0x100a3f6d
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 0x1007e0bc
cmp dword [0x10136d60], 0
je 0x1007e0bc
mov edi, dword [eax + 8]
mov eax, dword [0x1013bf08]
test al, 1
jne 0x1007d826
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1003f330
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f780
add esp, 4
push 0x100a5c90
call fcn.1009b1f1
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 0x1007d8a0
test esi, esi
je 0x1007d8a0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007d8a0
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 0x1007d889
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007d862
xor edx, edx
test ecx, ecx
je 0x1007d889
nop
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007d870
cmp edi, 0x11ab48ff
je 0x1007d89b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007d8a0
mov esi, dword [ebp - 0x18]
jmp 0x1007d844
mov ecx, dword [ebp - 0x1c]
jmp 0x1007d8a2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
movss xmm5, dword [0x100af0a0]
dec eax
cmp eax, 6
ja case.0x1007d8b8.2
jmp dword [eax*4 + 0x1007e0d4]
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 0x1007d933
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 0x1007d933
movss xmm4, dword [ecx + 0xc]
movss xmm3, dword [0x100af2a8]
movaps xmm0, xmm4
movss xmm2, dword [0x100af294]
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 0x1007d933
xor edx, edx
jmp 0x1007d933
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 0x1007e0bc
mov edi, dword [ebp - 0x14]
mov eax, dword [0x1013bf08]
mov edi, dword [edi + 8]
test al, 1
jne 0x1007d9ad
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.1003f330
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f780
add esp, 4
push 0x100a5c90
call fcn.1009b1f1
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 0x1007da30
test esi, esi
je 0x1007da30
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007da30
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 0x1007da19
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007d9f0
xor edx, edx
test ecx, ecx
je 0x1007da19
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007da00
cmp edi, 0xfd0c5087
je 0x1007da2b
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1007da30
mov esi, dword [ebp - 0x18]
jmp 0x1007d9d0
mov ecx, dword [ebp - 0x1c]
jmp 0x1007da32
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007da3c.4
jmp dword [eax*4 + 0x1007e0f0]
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 0x1007da96
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 0x1007da96
movss xmm0, dword [ecx + 0xc]
jmp 0x1007da96
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007da96
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c2f0
cvtsd2ss xmm0, xmm0
jmp 0x1007da96
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 0x1007daee
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.1003f330
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f780
add esp, 4
push 0x100a5c90
call fcn.1009b1f1
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 0x1007db70
test esi, esi
je 0x1007db70
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007db70
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 0x1007db59
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007db30
xor edx, edx
test ecx, ecx
je 0x1007db59
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007db40
cmp edi, 0xfc0c4ef4
je 0x1007db6b
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1007db70
mov esi, dword [ebp - 0x20]
jmp 0x1007db10
mov ecx, dword [ebp - 0x18]
jmp 0x1007db72
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007db7c.4
jmp dword [eax*4 + 0x1007e10c]
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 0x1007dbd6
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 0x1007dbd6
movss xmm0, dword [ecx + 0xc]
jmp 0x1007dbd6
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007dbd6
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c2f0
cvtsd2ss xmm0, xmm0
jmp 0x1007dbd6
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 0x1007dc2e
or eax, 1
mov dword [0x1013bf08], eax
mov edx, 0x990704d7
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1003f330
push 0xda7d68cb
mov edx, eax
mov ecx, 0x1013bf0c
call fcn.1003f780
add esp, 4
push 0x100a5c90
call fcn.1009b1f1
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 0x1007dcb0
test esi, esi
je 0x1007dcb0
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007dcb0
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 0x1007dc99
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x1007dc70
xor edx, edx
test ecx, ecx
je 0x1007dc99
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1007dc80
cmp edi, 0xff0c53ad
je 0x1007dcab
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1007dcb0
mov esi, dword [ebp - 0x20]
jmp 0x1007dc50
mov ecx, dword [ebp - 0x14]
jmp 0x1007dcb2
xor ecx, ecx
movsx eax, byte [ecx + 0x10]
dec eax
cmp eax, 6
ja case.0x1007dcbc.4
jmp dword [eax*4 + 0x1007e128]
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 0x1007dd16
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 0x1007dd16
movss xmm0, dword [ecx + 0xc]
jmp 0x1007dd16
movd xmm0, dword [ecx + 0xc]
cvtdq2ps xmm0, xmm0
jmp 0x1007dd16
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.1009c2f0
cvtsd2ss xmm0, xmm0
jmp 0x1007dd16
xorps xmm0, xmm0
cmp byte [0x10125bc8], 0
movss dword [ebp - 0x14], xmm0
je 0x1007e022
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 0x1007de30
mov eax, dword [0x101318a8]
mov ecx, dword [0x10131684]
add eax, 0xffffffdb
xor eax, 0x650ccad5
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, 0x650ccafa
subss xmm2, xmm0
movss xmm0, dword [0x100af0a0]
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 0x1007dfa0
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 0x1007dfa0
mov eax, dword [0x1013184c]
mov edi, dword [edi + eax]
test edi, edi
je 0x1007dfa0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x1007dfa0
cmp byte [edi + 0x1a8], 0
xorps xmm4, xmm4
jne 0x1007ded1
mov eax, dword [0x1013193c]
add eax, 0xffffffb6
xor eax, 0x650ccafa
movss xmm0, dword [eax + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007ded1
mov eax, dword [0x101319b4]
add eax, 0xffffff98
xor eax, 0x650ccb18
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 0x1007dfa0
xorps xmm4, xmm4
mov ecx, dword [0x101319a8]
mov eax, dword [edi + 0x60]
add ecx, 0xffffff9b
xor ecx, 0x650ccb15
mov eax, dword [ecx + eax]
test eax, eax
je 0x1007dfa0
movss xmm3, dword [eax + 0x1ac]
movss xmm2, dword [ebp - 0x24]
cvtps2pd xmm3, xmm3
cvtps2pd xmm0, xmm2
addsd xmm3, qword [0x100af0e0]
comisd xmm0, xmm3
movsd qword [ebp - 0x48], xmm3
jbe 0x1007dfa0
subsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
subss xmm0, dword [0x100af14c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100af0c8]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm4
jb 0x1007df67
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 [0x100af128]
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, 0x650ccaf8
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 0x1007e013
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x10], xmm0
add dword [0x1013252c], 0x20
jmp 0x1007e031
lea ecx, [ebp - 0x68]
push ecx
push eax
mov ecx, 0x10132528
call fcn.10080530
movss xmm5, dword [ebp - 0x1c]
movss xmm3, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x14]
mov eax, dword [0x10132524]
test eax, eax
je 0x1007e0bc
mov ecx, dword [0x10132520]
xor edx, edx
movss xmm1, dword [0x100af298]
lea esi, [eax + ecx]
cmp ecx, esi
je 0x1007e0bc
mov eax, dword [0x1013251c]
mov edi, dword [0x10132518]
dec eax
movss xmm4, dword [0x100af360]
mov dword [ebp - 0x20], eax
nop dword [eax]
and eax, ecx
mov eax, dword [edi + eax*4]
cmp byte [eax + 0x4a], 0
jne 0x1007e09d
mov edi, dword [0x101316c0]
movss xmm0, dword [edi]
subss xmm0, dword [eax + 8]
mov edi, dword [0x10132518]
andps xmm0, xmm4
comiss xmm1, xmm0
jb 0x1007e09d
movaps xmm1, xmm0
mov edx, eax
mov eax, dword [ebp - 0x20]
inc ecx
cmp ecx, esi
jne 0x1007e070
test edx, edx
je 0x1007e0bc
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