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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d9a0
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x100ba364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov eax, dword [edx]
test eax, eax
je 0x1003fb43
mov ebx, dword [eax + 0x18]
mov dword [ebp - 0x7c], ebx
test ebx, ebx
je 0x1003fb43
mov eax, dword [edx + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1003fb43
mov ecx, ebx
add eax, ebx
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x80], ecx
je 0x1003fb43
test ebx, ebx
je 0x1003fb43
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x1c]
add eax, ebx
mov esi, dword [ecx + 0x24]
add edx, ebx
add esi, ebx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], esi
test eax, eax
je 0x1003fb43
test edx, edx
je 0x1003fb43
test esi, esi
je 0x1003fb43
xor edx, edx
mov dword [ebp - 0x78], edx
cmp dword [ecx + 0x18], edx
jbe 0x1003fb23
mov edx, dword [eax + edx*4]
add edx, ebx
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f760
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.10020270
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1003f7b0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov esi, dword [ebp - 0x58]
mov edx, 0x811c9dc5
cmovae eax, esi
xor ecx, ecx
test ebx, ebx
je 0x1003f7ab
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1003f794
mov edi, dword [ebp - 0x88]
cmp edx, dword [ebp + 8]
je 0x1003f7ce
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x80]
inc edx
mov dword [ebp - 0x78], edx
cmp edx, dword [eax + 0x18]
jae 0x1003fb23
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x8c]
jmp 0x1003f754
mov ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x78]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
cmp edx, ecx
jb 0x1003fb1c
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x7c]
add eax, ecx
cmp edx, eax
jae 0x1003fb1c
xor eax, eax
test edx, edx
cmove edx, eax
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003f810
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10020270
sub esp, 8
lea ecx, [ebp - 0x40]
call fcn.100456d0
lea ebx, [eax + 1]
cmp ebx, 0xffffffff
jne 0x1003f8c6
mov dword [edi], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x1003f876
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f86c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003f86c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10099636
add esp, 8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x1003fb49
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1003f8b7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003f8b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.10099636
add esp, 8
jmp 0x1003fb49
push ebx
push 0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x40]
call fcn.1003ea90
push eax
lea ecx, [ebp - 0x28]
call fcn.10037900
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x1003f91d
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003f913
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003f913
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10099636
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x1003f93f
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], 0x64
jmp 0x1003f951
push 0x64
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10020bc0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x1003f973
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], 0x6c
jmp 0x1003f985
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10020bc0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x1003f9a7
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + ecx], 0x6c
jmp 0x1003f9b9
push 0x6c
mov byte [ebp - 0x74], 0
push dword [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10020bc0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x40]
call fcn.1003ea90
push eax
lea ecx, [ebp - 0x70]
call fcn.10037900
mov edx, dword [ebp - 0x98]
cmp edx, 0x10
jb 0x1003fa10
mov ecx, dword [ebp - 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fa06
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003fa06
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10099636
add esp, 8
lea eax, [ebp - 0x70]
push eax
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.10025f60
lea ecx, [ebp - 0xa0]
call fcn.1003ec70
add esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, eax
call fcn.1003fb70
mov edx, dword [ebp - 0x5c]
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x1003faba
mov dword [edi], eax
cmp edx, 0x10
jb 0x1003fa7b
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fa71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003fa71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10099636
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1003f840
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003faab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003faab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10099636
add esp, 8
jmp 0x1003f840
mov dword [edi], eax
cmp edx, 0x10
jb 0x1003faed
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003fae3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003f866
push edx
push ecx
call fcn.10099636
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1003f840
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003faab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003faab
jmp 0x1003f866
mov dword [edi], edx
jmp 0x1003f840
lea ecx, [ebp - 0x28]
mov dword [edi], 0
call fcn.1001f7a0
lea ecx, [ebp - 0x40]
call fcn.1001f7a0
lea ecx, [ebp - 0x58]
call fcn.1001f7a0
jmp 0x1003fb49
mov dword [edi], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100990c9
mov esp, ebp
pop ebp
ret