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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005724c
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x10072f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x310], edi
xor eax, eax
lea edx, [ebp - 0x2a4]
mov dword [ebp - 0x32c], eax
movups xmm0, xmmword [0x1005dd30]
mov ecx, dword [edi + 0x250]
push 0x12
mov dword [ebp - 0x318], eax
movups xmmword [ebp - 0x2a4], xmm0
mov eax, dword [ecx]
push 0
push 0
push edx
mov eax, dword [eax + 0x18]
call eax
mov edx, eax
mov dword [ebp - 0x330], edx
cmp edx, 0xffffffff
jne 0x1001ed32
mov eax, 0x80004005
jmp 0x1001f735
mov ecx, dword [edi + 0x250]
xor esi, esi
mov dword [ebp - 0x31c], esi
lea esi, [ebp - 0x2d8]
push esi
push 0
mov dword [ebp - 0x2d8], 0x1c
lea esi, [ebp - 0x2a4]
mov eax, dword [ecx]
push esi
push 0
push edx
mov eax, dword [eax + 0x1c]
call eax
mov esi, 0
test eax, eax
je 0x1001f733
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov dword [ebp - 0x334], eax
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswdigit]
mov dword [ebp - 0x338], eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [ebp - 0x33c], eax
mov eax, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov dword [ebp - 0x328], eax
nop dword [eax]
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x30c]
push edx
mov dword [ebp - 0x30c], 0x1c
push esi
mov eax, dword [ecx]
mov esi, dword [ebp - 0x330]
push esi
call dword [eax + 0x20]
push 0x20a
push 0
push 0x1007497c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [0x10074978], 6
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x2d8]
push 0
mov eax, dword [ecx]
push 0
push 0x20e
push 0x10074978
mov eax, dword [eax + 0x24]
push edx
push esi
call eax
test eax, eax
je 0x1001f6e3
lea ecx, [ebp - 0x27c]
call fcn.10013dc0
mov dword [ebp - 4], 0
mov ecx, 0x1007497c
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
movups xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x214], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ee45
sub ecx, edx
sar ecx, 1
push ecx
push 0x1007497c
lea ecx, [ebp - 0x228]
call fcn.10001e10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x228]
mov edx, dword [ebp - 0x214]
lea edi, [ebp - 0x228]
mov esi, dword [ebp - 0x218]
lea ecx, [ebp - 0x228]
cmp edx, 8
cmovae eax, dword [ebp - 0x228]
cmovae edi, dword [ebp - 0x228]
cmovae ecx, dword [ebp - 0x228]
lea esi, [eax + esi*2]
cmp edi, esi
je 0x1001eed4
sub ecx, edi
mov dword [ebp - 0x314], ecx
nop
movzx eax, word [edi]
push eax
call dword [ebp - 0x334]
mov ecx, dword [ebp - 0x314]
add esp, 4
mov word [ecx + edi], ax
add edi, 2
cmp edi, esi
jne 0x1001eeb0
mov edx, dword [ebp - 0x214]
push 3
push 0x1005f58c
cmp edx, 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push dword [ebp - 0x218]
push eax
call fcn.1000bb00
add esp, 0x14
cmp eax, 0xffffffff
je 0x1001f658
push 4
add eax, 3
lea ecx, [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10039b10
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x230]
test esi, esi
je 0x1001f58e
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
mov ecx, dword [ebp - 0x240]
cmovae eax, ecx
lea edi, [eax + esi*2]
lea eax, [ebp - 0x240]
mov dword [ebp - 0x320], edi
cmovae eax, ecx
lea esi, [eax + esi*2]
lea eax, [ebp - 0x240]
cmovae eax, ecx
cmp eax, esi
je 0x1001ef9a
mov edi, eax
nop dword [eax]
movzx eax, word [edi]
push eax
call dword [ebp - 0x338]
add esp, 4
test eax, eax
je 0x1001ef88
add edi, 2
cmp edi, esi
jne 0x1001ef70
mov dword [ebp - 0x314], edi
mov edi, dword [ebp - 0x320]
mov eax, dword [ebp - 0x314]
cmp eax, edi
jne 0x1001f58e
call dword [ebp - 0x33c]
cmp dword [ebp - 0x22c], 8
lea esi, [ebp - 0x240]
mov edi, eax
lea eax, [ebp - 0x340]
cmovae esi, dword [ebp - 0x240]
push 0x10
push eax
push esi
mov dword [edi], 0
call dword [ebp - 0x328]
add esp, 0xc
mov edx, eax
cmp esi, dword [ebp - 0x340]
je 0x1001f765
cmp dword [edi], 0x22
je 0x1001f75b
shr eax, 8
movzx ecx, al
movzx eax, dl
xor eax, 0x811c9dc5
mov edi, dword [ebp - 0x310]
imul eax, eax, 0x1000193
mov dword [ebp - 0x324], edx
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0xe8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.1000b050
mov eax, dword [eax + 4]
test eax, eax
jne 0x1001f058
mov eax, dword [edi + 0xec]
cmp eax, dword [edi + 0xec]
je 0x1001f4a4
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x37c]
push eax
lea ecx, [edi + 0xe8]
call fcn.1000bba0
cmp dword [ebp - 0x214], 8
push 3
push 0x1005f594
mov eax, dword [eax]
push 0
push dword [ebp - 0x218]
movzx edi, word [eax + 0xc]
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
mov dword [ebp - 0x320], edi
mov word [ebp - 0x24c], di
call fcn.1000bb00
add esp, 0x14
lea edx, [eax + 3]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
movups xmmword [ebp - 0x2bc], xmm0
cmp eax, edx
jb 0x1001f756
sub eax, edx
mov ecx, 0x10
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
lea ecx, [ebp - 0x2bc]
lea eax, [eax + edx*2]
push eax
call fcn.10001e10
mov eax, dword [ebp - 0x318]
lea ecx, [ebp - 0x36c]
or eax, 2
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.100121a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x36c]
cmp dword [ebp - 0x358], 8
push 0x10
cmovae eax, dword [ebp - 0x36c]
push 0
push eax
call dword [ebp - 0x328]
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x36c]
call fcn.10002cb0
mov eax, dword [ebp - 0x318]
and eax, 0xfffffffd
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.10002cb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
cmp ecx, 8
jb 0x1001f1e5
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f1db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov word [ebp - 0x240], ax
movzx eax, di
push eax
mov dword [ebp - 0x314], eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x22c], 7
call fcn.1003a320
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2f0]
push esi
push eax
call fcn.1003a3e0
add esp, 0x10
mov byte [ebp - 4], 0xc
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x1001f23a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x294]
call fcn.100330b0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2f0]
call fcn.10002cb0
mov eax, dword [ebp - 0x284]
lea edx, [ebp - 0x294]
cmp dword [ebp - 0x280], 8
mov edi, 0x811c9dc5
cmovae edx, dword [ebp - 0x294]
xor ecx, ecx
lea esi, [eax + eax]
test esi, esi
je 0x1001f291
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x1001f280
mov ecx, 0x1007497c
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f2a0
sub ecx, edx
sar ecx, 1
push ecx
push 0x1007497c
lea ecx, [ebp - 0x27c]
call fcn.10033320
mov esi, dword [ebp - 0x310]
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x320]
mov ecx, esi
push 0x1532
call fcn.10026260
test eax, eax
je 0x1001f312
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001f2f0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.10033320
lea eax, [ebp - 0x348]
mov dword [ebp - 0x248], 5
push eax
lea ecx, [esi + 0xa8]
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x344], 0
call fcn.10018880
mov esi, eax
lea eax, [ebp - 0x27c]
cmp esi, eax
je 0x1001f368
cmp dword [ebp - 0x268], 8
mov ecx, eax
push dword [ebp - 0x26c]
cmovae ecx, dword [ebp - 0x27c]
push ecx
mov ecx, esi
call fcn.10033320
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x264]
cmp ecx, eax
je 0x1001f38f
cmp dword [ebp - 0x250], 8
push dword [ebp - 0x254]
cmovae eax, dword [ebp - 0x264]
push eax
call fcn.10033320
mov ax, word [ebp - 0x24c]
mov word [esi + 0x30], ax
mov eax, dword [ebp - 0x248]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x244]
mov dword [esi + 0x38], eax
mov esi, dword [ebp - 0x310]
add esi, 0x2c4
push esi
mov dword [ebp - 0x354], esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x1001f750
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x34c], eax
lea eax, [ebp - 0x350]
push eax
mov dword [ebp - 0x350], edi
lea ecx, [ecx + 0x38]
call fcn.10018770
mov ecx, dword [ebp - 0x314]
mov dword [eax], 0x1532
mov dword [eax + 4], ecx
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 0xb
push esi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x294]
call fcn.10002cb0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x1001f47b
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], 0xe
jmp 0x1001f6c0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
cmp ecx, 8
jb 0x1001f4e8
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f4de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x1001f548
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f53e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.10002cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10002cb0
jmp 0x1001f6e3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x22c]
cmp ecx, 8
jb 0x1001f5d2
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f5c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x1001f632
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f628
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], 7
jmp 0x1001f6c0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x214]
cmp ecx, 8
jb 0x1001f69c
mov edx, dword [ebp - 0x228]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001f692
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f72d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x264]
call fcn.10002cb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10002cb0
mov edi, dword [ebp - 0x310]
mov edx, dword [ebp - 0x31c]
lea esi, [ebp - 0x2d8]
mov ecx, dword [edi + 0x250]
inc edx
push esi
push edx
mov dword [ebp - 0x31c], edx
lea edx, [ebp - 0x2a4]
mov dword [ebp - 0x2d8], 0x1c
mov eax, dword [ecx]
push edx
push 0
push dword [ebp - 0x330]
mov eax, dword [eax + 0x1c]
call eax
test eax, eax
je 0x1001f733
mov esi, dword [ebp - 0x31c]
jmp 0x1001eda0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xor eax, eax
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.1005078e
mov esp, ebp
pop ebp
ret
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
call fcn.10032cc0
push str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
push str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__
int3