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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov dword [esp + 0xc], edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [0x102a2000]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [ecx + 4], 0
jle 0x10007598
mov edi, dword [esp + 0x40]
xor eax, eax
jmp 0x10007373
mov edi, 0xba3cc8f2
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100202c0
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x44]
cmp eax, dword [ecx + 4]
mov edi, dword [esp + 0x40]
jge 0x10007598
mov ecx, dword [ecx]
mov dword [esp + 0x10], eax
imul eax, eax, 0x3c
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [ecx + eax + 0x28]
test eax, eax
je 0x100073b3
cmp dword [eax + 4], 0
jle 0x100073b3
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov esi, dword [ecx + edx + 0x2c]
add esi, dword [esp + 0x48]
mov ecx, dword [esp + 0xc]
mov edx, ecx
push esi
push eax
push edi
call fcn.10007310
add esp, 0xc
mov eax, dword [esp]
mov ebp, dword [eax]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 0x14]
cmp eax, ebx
jae 0x100073f0
sub esp, 0xc
movzx eax, byte [esp + 0x2c]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
mov ecx, ebp
call fcn.1001f2b0
jmp 0x1000740c
mov esi, ebp
cmp eax, 0x10
jb 0x100073fa
mov esi, dword [ebp]
mov dword [ebp + 0x10], ebx
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + ebx], 0
mov eax, dword [esp]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov esi, edx
sub esi, eax
cmp esi, 2
jae 0x10007450
sub esp, 0x10
movzx eax, byte [esp + 0x30]
mov byte [esp + 4], al
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x1016d9c1
mov dword [esp], 2
call fcn.10019310
jmp 0x10007468
lea esi, [eax + 2]
mov dword [ecx + 0x10], esi
cmp edx, 0x10
jb 0x1000745d
mov ecx, dword [ecx]
mov word [ecx + eax], 0x3e2d
mov byte [ecx + eax + 2], 0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea ebp, [eax + ecx]
mov edi, dword [ebp]
mov eax, dword [esp]
mov ebx, dword [eax]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov esi, edx
sub esi, ecx
cmp esi, eax
jae 0x100074c0
sub esp, 0x10
movzx ecx, byte [esp + 0x30]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], eax
mov ecx, ebx
call fcn.10019310
jmp 0x100074df
mov esi, eax
add esi, ecx
mov dword [ebx + 0x10], esi
cmp edx, 0x10
jb 0x100074ce
mov ebx, dword [ebx]
add ecx, ebx
push eax
push edi
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [ebx + esi], 0
mov edx, dword [esp]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 8]
mov esi, dword [esp + 4]
mov eax, dword [eax + esi + 0x2c]
add eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x1000750a
mov eax, dword [eax]
test edx, edx
je 0x10007340
cmp edx, 4
jae 0x10007520
mov edi, 0x45c3370d
xor ebx, ebx
jmp 0x1000756a
mov ebp, edx
and ebp, 0xfffffffc
mov edi, 0x45c3370d
xor ebx, ebx
nop dword [eax]
movsx esi, byte [eax + ebx]
xor esi, edi
imul esi, esi, 0x1000193
movsx edi, byte [eax + ebx + 1]
xor edi, esi
imul esi, edi, 0x1000193
movsx edi, byte [eax + ebx + 2]
xor edi, esi
imul esi, edi, 0x1000193
movsx edi, byte [eax + ebx + 3]
xor edi, esi
imul edi, edi, 0x1000193
add ebx, 4
cmp ebp, ebx
jne 0x10007530
and edx, 3
je 0x10007591
add eax, ebx
xor esi, esi
nop word cs:[eax + eax]
movsx ebx, byte [eax + esi]
xor ebx, edi
imul edi, ebx, 0x1000193
inc esi
cmp edx, esi
jne 0x10007580
not edi
jmp 0x10007345
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ea0d3
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret