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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013ed05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push esi
push edi
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
call fcn.10063ca0
push 0x28
mov esi, eax
mov dword [ebp - 0x28], 0
push 0x10195b7c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x18]
cmovae esi, edi
xor ecx, ecx
test ebx, ebx
je 0x1006dc61
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1006dc50
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.10064540
mov eax, dword [eax + 4]
test eax, eax
je 0x1006dc91
cmp eax, dword [esi + 4]
je 0x1006dc91
mov ebx, dword [eax + 0x20]
lea eax, [esi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
jmp 0x1006dc9f
lea eax, [esi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006dcd9
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006dccf
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e067
push ecx
push edi
call fcn.1013b151
add esp, 8
test ebx, ebx
jne 0x1006dcf5
mov eax, 0xc0000138
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.10063ca0
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
cmp dword [eax + 0x14], 8
jb 0x1006dd10
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
push 0x14
push 0x10195b64
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100485f0
mov dword [ebp - 4], 1
call fcn.1007a8b0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae ebx, edi
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1006dd75
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x1006dd63
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10064540
mov ecx, dword [ebp - 0x30]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1006ddad
cmp ebx, dword [ecx + 4]
je 0x1006ddad
mov ebx, dword [ebx + 0x20]
lea eax, [ecx + 0x20]
push eax
call esi
test ebx, ebx
je 0x1006ddb3
push dword [ebp - 0x2c]
lea eax, [ebp - 0x54]
push eax
call ebx
jmp 0x1006ddb3
lea eax, [ecx + 0x20]
push eax
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006dded
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006dde3
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e067
push ecx
push edi
call fcn.1013b151
add esp, 8
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], 0x1fe0000
cmp edi, 0xffffffff
je 0x1006de10
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
call fcn.10063ca0
push 0x28
mov ebx, eax
mov dword [ebp - 0x28], 0
push 0x10195bc0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100485f0
mov dword [ebp - 4], 2
call fcn.1007a8b0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae eax, ebx
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1006de85
mov edi, eax
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x1006de70
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10064540
mov ecx, dword [ebp - 0x30]
mov eax, dword [eax + 4]
test eax, eax
je 0x1006ded9
cmp eax, dword [ecx + 4]
je 0x1006ded9
mov eax, dword [eax + 0x20]
mov dword [ebp + 0x10], eax
lea eax, [ecx + 0x20]
push eax
call esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1006dedf
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push 0
lea ecx, [ebp - 0x54]
push ecx
push 1
call eax
mov dword [ebp - 0x30], eax
jmp 0x1006dee6
lea eax, [ecx + 0x20]
push eax
call esi
mov dword [ebp - 0x30], 0xc0000138
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006df20
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x1006df16
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e067
push ecx
push ebx
call fcn.1013b151
add esp, 8
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1006df35
cmp edi, 0xffffffff
je 0x1006df35
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp dword [ebp - 0x30], 0
jne 0x1006df8e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
cmp byte [eax + 0xf], 0
je 0x1006df5f
mov eax, 0xc015001d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 4]
mov edx, esi
lea edi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x1006df70
mov ecx, dword [ebp + 8]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.10050370
jmp 0x1006e077
cmp dword [ebp - 0x48], 0
je 0x1006e077
call fcn.10063ca0
push 0x14
mov ebx, eax
mov dword [ebp - 0x28], 0
push 0x10195ba8
lea ecx, [ebp - 0x28]
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100485f0
mov dword [ebp - 4], 3
call fcn.1007a8b0
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae ebx, edi
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x1006e007
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x1006dff5
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10064540
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1006e03c
cmp ebx, dword [ecx + 4]
je 0x1006e03c
mov ebx, dword [ebx + 0x20]
lea eax, [ecx + 0x20]
push eax
call esi
test ebx, ebx
je 0x1006e042
lea eax, [ebp - 0x4c]
push eax
call ebx
jmp 0x1006e042
lea eax, [ecx + 0x20]
push eax
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006e077
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1006e06d
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006e06d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.1013b151
add esp, 8
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc