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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056ea0
mov eax, dword fs:[0]
push eax
mov eax, 0x2970
call fcn.100507a0
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 - 0x2934], edi
mov dword [ebp - 0x2914], 0
lea edx, [ebp - 0x28bc]
movups xmm0, xmmword [ebp + 8]
mov ecx, dword [edi + 0x250]
push 0x12
movups xmmword [ebp - 0x28bc], xmm0
push 0
mov eax, dword [ecx]
push 0
push edx
mov eax, dword [eax + 0x18]
call eax
mov esi, eax
mov dword [ebp - 0x291c], esi
cmp esi, 0xffffffff
jne 0x1001cf2f
mov eax, 0x80004005
jmp 0x1001d8f0
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x28f4]
push edx
push 0
mov dword [ebp - 0x28f4], 0x1c
lea edx, [ebp - 0x28bc]
mov dword [ebp - 0x2910], 0x1c
mov eax, dword [ecx]
push edx
push 0
push esi
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2930], 0
call eax
test eax, eax
je 0x1001d8e2
nop word [eax + eax]
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x28d8]
push edx
push dword [ebp - 0x2930]
mov dword [ebp - 0x28d8], 0x1c
mov eax, dword [ecx]
push esi
call dword [eax + 0x20]
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x2924]
push 0
push edx
push 0
mov dword [ebp - 0x2924], 0
lea edx, [ebp - 0x28f4]
mov eax, dword [ecx]
push 0
push edx
push esi
mov eax, dword [eax + 0x24]
call eax
test eax, eax
jne 0x1001d8a8
mov ecx, dword [edi + 0x250]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, 0x103
je 0x1001d8e2
push dword [ebp - 0x2924]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, eax
lea esi, [ebp - 0x2910]
push esi
lea esi, [ebp - 0x2924]
mov dword [ebp - 0x2944], edx
push esi
mov esi, dword [ebp - 0x291c]
mov dword [edx], 6
mov ecx, dword [edi + 0x250]
push dword [ebp - 0x2924]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x28f4]
push edx
push esi
mov eax, dword [eax + 0x24]
call eax
test eax, eax
je 0x1001d8e2
mov esi, dword [ebp - 0x2944]
xorps xmm0, xmm0
add esi, 4
mov dword [ebp - 0x293c], 0
mov ecx, esi
mov dword [ebp - 0x292c], 0
mov dword [ebp - 0x2940], esi
movups xmmword [ebp - 0x2828], xmm0
mov dword [ebp - 0x2818], 0
mov dword [ebp - 0x2814], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d090
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2828]
call fcn.10001e10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2828]
mov edx, dword [ebp - 0x2814]
lea edi, [ebp - 0x2828]
mov esi, dword [ebp - 0x2818]
lea ecx, [ebp - 0x2828]
cmp edx, 8
cmovae eax, dword [ebp - 0x2828]
cmovae edi, dword [ebp - 0x2828]
cmovae ecx, dword [ebp - 0x2828]
lea esi, [eax + esi*2]
cmp edi, esi
je 0x1001d124
sub ecx, edi
mov dword [ebp - 0x2918], ecx
nop dword [eax + eax]
movzx eax, word [edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov ecx, dword [ebp - 0x2918]
add esp, 4
mov word [ecx + edi], ax
add edi, 2
cmp edi, esi
jne 0x1001d100
mov edx, dword [ebp - 0x2814]
mov esi, dword [ebp - 0x2828]
lea eax, [ebp - 0x2828]
push 4
push str._vid
cmp edx, 8
push 0
push dword [ebp - 0x2818]
cmovae eax, esi
push eax
call fcn.1000bb00
add esp, 0x14
cmp eax, 0xffffffff
je 0x1001d289
lea edx, [eax + 7]
mov byte [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2818]
mov dword [ebp - 0x2830], 0
mov dword [ebp - 0x282c], 0
movups xmmword [ebp - 0x2840], xmm0
cmp eax, edx
jb 0x1001d913
sub eax, edx
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2814], 8
lea eax, [ebp - 0x2828]
cmovae eax, dword [ebp - 0x2828]
push ecx
lea ecx, [ebp - 0x2840]
lea eax, [eax + edx*2]
push eax
call fcn.10001e10
or dword [ebp - 0x2914], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x282c], 8
lea esi, [ebp - 0x2840]
mov edi, eax
lea eax, [ebp - 0x2948]
cmovae esi, dword [ebp - 0x2840]
push 0x10
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov dword [ebp - 0x293c], eax
cmp esi, dword [ebp - 0x2948]
je 0x1001d922
cmp dword [edi], 0x22
je 0x1001d918
mov edi, dword [ebp - 0x2914]
and edi, 0xfffffffe
mov dword [ebp - 0x2914], edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x282c]
cmp ecx, 8
jb 0x1001d264
mov edx, dword [ebp - 0x2840]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d25a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d90d
push ecx
push edx
call fcn.1005024f
add esp, 8
mov esi, dword [ebp - 0x2828]
xor eax, eax
mov dword [ebp - 0x2830], 0
mov dword [ebp - 0x282c], 7
mov word [ebp - 0x2840], ax
jmp 0x1001d28f
mov edi, dword [ebp - 0x2914]
cmp dword [ebp - 0x2814], 8
lea eax, [ebp - 0x2828]
push 4
push str._pid
push 0
push dword [ebp - 0x2818]
cmovae eax, esi
push eax
call fcn.1000bb00
add esp, 0x14
cmp eax, 0xffffffff
je 0x1001d392
lea edx, [eax + 5]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2818]
mov dword [ebp - 0x289c], 0
mov dword [ebp - 0x2898], 0
movups xmmword [ebp - 0x28ac], xmm0
cmp eax, edx
jb 0x1001d913
sub eax, edx
mov ecx, 4
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2814], 8
lea eax, [ebp - 0x2828]
cmovae eax, dword [ebp - 0x2828]
push ecx
lea ecx, [ebp - 0x28ac]
lea eax, [eax + edx*2]
push eax
call fcn.10001e10
or edi, 2
mov dword [ebp - 0x2914], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp - 0x2898], 8
lea esi, [ebp - 0x28ac]
mov edi, eax
lea eax, [ebp - 0x294c]
cmovae esi, dword [ebp - 0x28ac]
push 0x10
push eax
push esi
mov dword [edi], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov dword [ebp - 0x292c], eax
cmp esi, dword [ebp - 0x294c]
je 0x1001d922
cmp dword [edi], 0x22
je 0x1001d918
and dword [ebp - 0x2914], 0xfffffffd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28ac]
call fcn.10002cb0
xor esi, esi
lea eax, [ebp - 0x810]
push 0x800
push esi
push eax
mov dword [ebp - 0x2928], esi
call sub.VCRUNTIME140.dll_memset
push 0x2000
lea eax, [ebp - 0x2810]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0x2934]
lea edx, [ebp - 0x2918]
add esp, 0x18
mov dword [ebp - 0x2918], esi
mov ecx, dword [edi + 0x250]
push esi
push edx
push 0x800
mov eax, dword [ecx]
lea edx, [ebp - 0x810]
push edx
lea edx, [ebp - 0x2928]
push edx
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x28d8]
push 0x10061a28
push edx
push dword [ebp - 0x291c]
call eax
test eax, eax
je 0x1001d51d
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x2810]
push 0x1000
push edx
lea edx, [ebp - 0x810]
mov eax, dword [ecx]
push edx
call dword [eax + 0x4c]
xorps xmm0, xmm0
mov dword [ebp - 0x2848], esi
lea ecx, [ebp - 0x2810]
mov dword [ebp - 0x2844], esi
movups xmmword [ebp - 0x2858], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d450
sub ecx, edx
lea eax, [ebp - 0x2810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2858]
call fcn.10001e10
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2858]
cmp dword [ebp - 0x2844], 8
mov esi, 0x811c9dc5
mov eax, dword [ebp - 0x2858]
cmovae edx, eax
mov dword [ebp - 0x2920], eax
mov eax, dword [ebp - 0x2848]
xor ecx, ecx
add eax, eax
je 0x1001d4bc
mov edi, eax
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x1001d4a5
mov edi, dword [ebp - 0x2934]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2844]
cmp eax, 8
jb 0x1001d500
mov edx, dword [ebp - 0x2920]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d4f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d90d
push ecx
push edx
call fcn.1005024f
add esp, 8
xor eax, eax
mov dword [ebp - 0x2848], 0
mov dword [ebp - 0x2844], 7
mov word [ebp - 0x2858], ax
lea ecx, [ebp - 0x2894]
call fcn.10013dc0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2928]
mov ecx, dword [edi + 0x250]
mov dword [ebp - 0x2928], 0
push 0
push dword [ebp - 0x28c4]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x2c]
call eax
test eax, eax
mov dword [ebp - 0x2954], 0
push 0
mov ecx, 1
mov dword [ebp - 0x2950], 0x208
lea edx, [ebp - 0x2950]
mov eax, 0
push edx
cmovne eax, ecx
lea edx, [ebp - 0x218]
mov ecx, dword [edi + 0x250]
push edx
mov dword [ebp - 0x2920], eax
lea edx, [ebp - 0x2954]
push edx
mov eax, dword [ecx]
push 0x10061a00
push dword [ebp - 0x2928]
mov eax, dword [eax + 0x30]
call eax
test eax, eax
jne 0x1001d5e6
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d5b7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x287c]
call fcn.10033320
cmp dword [ebp - 0x2920], 0
je 0x1001d6a4
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x2918]
push 0
push edx
push 0x208
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2918], 0
push edx
lea edx, [ebp - 0x2920]
mov dword [ebp - 0x2920], 0
mov eax, dword [ecx]
push edx
push 0x10061a3c
lea edx, [ebp - 0x28d8]
mov eax, dword [eax + 0x28]
push edx
push dword [ebp - 0x291c]
call eax
test eax, eax
jne 0x1001d6a4
mov ecx, dword [edi + 0x250]
lea edx, [ebp - 0x2918]
push edx
push 0x208
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2938], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x2938]
push edx
mov eax, dword [eax + 0x34]
lea edx, [ebp - 0x28d8]
push 0
push edx
push dword [ebp - 0x291c]
call eax
test eax, eax
je 0x1001d6a4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d682
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x287c]
call fcn.10033320
push 0
push esi
mov ecx, edi
call fcn.10026d20
test al, al
jne 0x1001d6d2
push 0
push esi
mov ecx, edi
call fcn.10026a50
test al, al
jne 0x1001d6d2
push 0
push esi
mov ecx, edi
call fcn.100267b0
test al, al
je 0x1001d80f
mov eax, dword [ebp - 0x292c]
lea ecx, [edi + 0x38]
mov dword [ebp - 0x2978], eax
mov eax, dword [ebp - 0x293c]
mov dword [ebp - 0x297c], eax
xor eax, eax
mov dword [ebp - 0x2968], eax
mov dword [ebp - 0x2958], eax
lea eax, [ebp - 0x295c]
push eax
mov dword [ebp - 0x2970], 0
mov dword [ebp - 0x296c], esi
mov dword [ebp - 0x2974], 0xffffffff
mov dword [ebp - 0x295c], esi
call fcn.10018770
movups xmm0, xmmword [ebp - 0x297c]
mov ecx, dword [ebp - 0x2940]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x296c]
lea edx, [ecx + 2]
movq qword [eax + 0x10], xmm0
mov eax, dword [ebp - 0x292c]
mov word [ebp - 0x2864], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d754
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x2940]
lea ecx, [ebp - 0x2894]
call fcn.10033320
lea eax, [ebp - 0x2964]
mov dword [ebp - 0x2860], 2
push eax
lea ecx, [edi + 0xa8]
mov dword [ebp - 0x2964], esi
mov dword [ebp - 0x2960], 0
call fcn.10018880
mov esi, eax
lea eax, [ebp - 0x2894]
cmp esi, eax
je 0x1001d7cb
cmp dword [ebp - 0x2880], 8
mov ecx, eax
push dword [ebp - 0x2884]
cmovae ecx, dword [ebp - 0x2894]
push ecx
mov ecx, esi
call fcn.10033320
lea ecx, [esi + 0x18]
lea eax, [ebp - 0x287c]
cmp ecx, eax
je 0x1001d7f2
cmp dword [ebp - 0x2868], 8
push dword [ebp - 0x286c]
cmovae eax, dword [ebp - 0x287c]
push eax
call fcn.10033320
mov ax, word [ebp - 0x2864]
mov word [esi + 0x30], ax
mov eax, dword [ebp - 0x2860]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x285c]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x250]
push dword [ebp - 0x2944]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x287c]
call fcn.10002cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2894]
call fcn.10002cb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2814]
cmp ecx, 8
jb 0x1001d885
mov edx, dword [ebp - 0x2828]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001d87b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d90d
push ecx
push edx
call fcn.1005024f
add esp, 8
mov esi, dword [ebp - 0x291c]
xor eax, eax
mov dword [ebp - 0x2818], 0
mov dword [ebp - 0x2814], 7
mov word [ebp - 0x2828], ax
mov ecx, dword [edi + 0x250]
lea edi, [ebp - 0x28f4]
mov edx, dword [ebp - 0x2930]
push edi
inc edx
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x2930], edx
lea edx, [ebp - 0x28bc]
push edx
mov eax, dword [eax + 0x1c]
push 0
push esi
call eax
mov edi, dword [ebp - 0x2934]
test eax, eax
jne 0x1001cf80
mov ecx, dword [edi + 0x250]
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
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 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.10032cc0
push str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
push str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__
int3