Function at 0x10131180
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 0x101caa78
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x10203360]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
cmp byte [0x102840b0], 0
je 0x101318fa
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x150]
mov eax, dword [0x102a233c]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x10131345
or eax, 1
mov dword [0x102a233c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1029b360]
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1029b364]
je 0x1013125c
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x1013124e
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10131225
xor edx, edx
test ecx, ecx
je 0x1013124e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10131232
cmp edi, 0xf2f193b3
je 0x10131272
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x20], eax
cmp eax, dword [0x1029b364]
jne 0x10131212
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x102a234c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013134a
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10131318
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x101312c4
cmp dword [ecx + 4], 0
jle 0x101312c4
push 0
mov edx, 0x8aaa98fc
call fcn.101146e0
add esp, 4
test eax, eax
je 0x101312c1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101312d0
xor edx, edx
test ecx, ecx
je 0x101312fc
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101312e0
cmp edi, 0x8aaa98fc
je 0x1013132b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x10131290
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x102a234c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013134a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x102a234c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1013134a
mov eax, dword [0x102a234c]
movss xmm0, dword [eax + ecx]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x101318fa
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 0x150]
mov eax, dword [0x102a2364]
mov dword [ebp - 0x2c], ecx
test al, 1
jne 0x101314d5
or eax, 1
mov dword [0x102a2364], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1029b360]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1029b364]
je 0x101313ed
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x101313df
mov esi, dword [ecx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x101313b6
xor edx, edx
test ecx, ecx
je 0x101313df
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101313c3
cmp edi, 0xf2f193b3
je 0x10131403
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1029b364]
jne 0x101313a3
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101314da
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x101314a8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10131454
cmp dword [ecx + 4], 0
jle 0x10131454
push 0
mov edx, 0xb643ff6c
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10131451
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10131460
xor edx, edx
test ecx, ecx
je 0x1013148c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10131470
cmp edi, 0xb643ff6c
je 0x101314bb
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10131420
mov ecx, dword [ebp - 0x2c]
mov eax, edi
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101314da
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x102a2340], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x101314da
mov eax, dword [0x102a2340]
movss xmm0, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
comiss xmm0, dword [eax + 0x40]
ja 0x101318fa
mov eax, dword [0x105cbfd4]
add eax, 0x56767485
mov byte [ebp - 0x11], 1
xor eax, 0xa3987d61
cmp byte [eax + 0x1c], 0
jne 0x1013151f
cmp byte [eax + 0x1d], 0
je 0x1013151f
cmp dword [eax + 0x20], 0
jg 0x1013151f
cmp dword [eax + 4], 0
jne 0x1013151f
cmp dword [eax + 0x44], 2
setg byte [ebp - 0x11]
mov ecx, dword [ebp - 0x34]
lea esi, [ebp - 0x88]
mov eax, dword [0x102b2d44]
mov dword [ebp - 0x48], ecx
add eax, 0xd9a9e20d
lea ecx, [ebp - 0x12]
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x44], ecx
xor eax, 0x859b69a4
movq xmm0, qword [ebp - 0x48]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x88], 0x101f061c
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 2
mov edx, dword [eax + 8]
mov edi, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x30], edi
cmp edi, edx
jne 0x101315ac
push 0
mov ecx, esi
call fcn.1013fb10
jmp 0x1013178c
mov edx, dword [0x1029e3b4]
mov eax, dword [ebp - 0x20]
mov edi, dword [edi + 8]
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x10131761
mov ecx, dword [0x105cbfb0]
add ecx, 0x4fd8cdb0
xor ecx, 0x91d5c6d7
mov eax, dword [ecx + 0x14c]
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x1013175e
test eax, eax
je 0x1013173f
mov ecx, dword [ecx + 0x19c]
mov eax, dword [ecx + 0x1c]
cmp dword [eax + 0x30], ecx
jne 0x1013173f
mov ecx, dword [0x1029e3e8]
test cl, 1
jne 0x10131699
or ecx, 1
mov dword [0x1029e3e8], ecx
mov byte [ebp - 4], 3
mov edi, dword [0x1029b360]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1029b364]
je 0x10131684
nop dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10131676
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
inc ecx
cmp byte [ecx + esi], 0
jne 0x10131643
xor edx, edx
test ecx, ecx
je 0x10131676
mov edi, eax
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10131652
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x1013190e
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1029b364]
jne 0x10131630
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
mov ecx, dword [0x1029e3e8]
mov dword [0x1029e3b4], edx
mov eax, dword [edi + edx]
mov dword [ebp - 0x38], eax
test cl, 1
jne 0x10131734
or ecx, 1
mov dword [0x1029e3e8], ecx
mov byte [ebp - 4], 4
mov edi, dword [0x1029b360]
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1029b364]
je 0x10131722
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10131714
mov esi, dword [eax + 0xc]
xor ecx, ecx
mov eax, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x101316e0
xor edx, edx
test ecx, ecx
je 0x10131714
mov edi, eax
nop
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x101316f0
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0x1eee87cc
mov edi, dword [ebp - 0x18]
je 0x101319cd
add edi, 4
mov dword [ebp - 0x18], edi
cmp edi, dword [0x1029b364]
jne 0x101316c6
xor edx, edx
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x2c]
mov dword [0x1029e3b4], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x64]
cmp eax, dword [ecx + edx]
je 0x1013175e
mov dword [ebp - 0x3c], edi
test esi, esi
je 0x10131a7b
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 8]
mov edx, dword [0x1029e3b4]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x30]
add edi, 0xc
mov dword [ebp - 0x30], edi
cmp edi, eax
jne 0x101315b5
test esi, esi
je 0x1013178c
mov edx, dword [esi]
lea eax, [ebp - 0x88]
cmp esi, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
cmp byte [ebp - 0x11], 0
je 0x101318fa
cmp dword [ebp - 0x4c], 0
je 0x101318fa
fld dword [ebp - 0x58]
fld dword [0x101f0ab4]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x101f0ab4]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x101f0a6c]
jbe 0x101317cb
subss xmm0, xmm1
movss xmm2, dword [0x101f0be0]
comiss xmm2, xmm0
jbe 0x101317dc
addss xmm0, xmm1
fld dword [ebp - 0x54]
fld dword [0x101f0ab4]
movss dword [ebp - 0x48], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x101f0ab4]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x101f0a6c]
jbe 0x1013180c
subss xmm0, xmm1
movss xmm2, dword [0x101f0be0]
comiss xmm2, xmm0
jbe 0x1013181d
addss xmm0, xmm1
fld dword [ebp - 0x50]
fld dword [0x101f0ab4]
movss dword [ebp - 0x44], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [0x101f0ab4]
fstp dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, dword [0x101f0a6c]
jbe 0x1013184d
subss xmm0, xmm1
movss xmm2, dword [0x101f0be0]
comiss xmm2, xmm0
jbe 0x1013185e
addss xmm0, xmm1
mov eax, dword [0x105cbfb0]
add eax, 0x4fd8cdb0
movss dword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x48]
xor eax, 0x91d5c6d7
mov ecx, dword [eax + 0x158]
mov eax, dword [ebp - 0x40]
movq qword [ecx + 0xc], xmm0
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x101318d1
mov edx, dword [0x105cbfb0]
add edx, 0x4fd8cdb0
xor edx, 0x91d5c6d7
cmp byte [edx + 5], 0
jne 0x101318d1
movss xmm0, dword [edx + 0x38]
addss xmm0, dword [ecx + 0x28]
mov eax, dword [edx + 0x108]
divss xmm0, dword [eax + 0x20]
mov eax, dword [edx + 0x158]
addss xmm0, dword [0x101f07bc]
cvttss2si ecx, xmm0
mov dword [eax + 8], ecx
mov eax, dword [0x105cbfb0]
mov edx, 0x800
add eax, 0x4fd8cdb0
xor eax, 0x91d5c6d7
cmp byte [ebp - 0x12], 0
mov ecx, dword [eax + 0x158]
mov eax, 1
cmovne eax, edx
or dword [ecx + 0x30], eax
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
mov edx, dword [ebp - 0x28]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x101319b8
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10131964
cmp dword [ecx + 4], 0
jle 0x10131964
push 0
mov edx, 0xa5bfefb3
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10131961
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10131970
xor edx, edx
test ecx, ecx
je 0x1013199c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10131980
cmp edi, 0xa5bfefb3
je 0x101319bf
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
inc eax
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
cmp eax, dword [edx + 4]
jl 0x10131930
mov edx, edi
jmp 0x10131686
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10131686
mov edx, dword [ebp - 0x24]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
cmp dword [edx + 4], eax
jle 0x10131a66
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov esi, dword [edx]
add esi, ecx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10131a1c
cmp dword [ecx + 4], 0
jle 0x10131a1c
push 0
mov edx, 0xa5bfefb3
call fcn.101146e0
add esp, 4
test eax, eax
je 0x10131a19
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi]
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + esi], 0
jne 0x10131a25
xor edx, edx
test ecx, ecx
je 0x10131a4e
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10131a32
cmp edi, 0xa5bfefb3
je 0x10131a6d
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
inc eax
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
cmp eax, dword [edx + 4]
jl 0x101319e8
mov edx, edi
jmp 0x10131724
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x2c]
add edx, dword [ebp - 0x18]
jmp 0x10131724
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3