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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ad2d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], edx
mov esi, ecx
mov dword [ebp - 0x54], esi
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10038bf0
test al, al
jne 0x10039445
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10039422
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x10039418
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push ecx
push esi
call fcn.10098145
add esp, 8
mov esi, dword [ebp - 0x54]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10097cc9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], edx
cmp edi, edx
je 0x1003979f
mov eax, dword [ebp - 0x58]
nop dword [eax]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], cx
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
jne 0x100394ab
mov byte [ebp - 4], cl
mov esi, 0x811c9dc5
jmp 0x10039787
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
call fcn.1003f550
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x1003950c
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10039502
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push edx
push ecx
call fcn.10098145
add esp, 8
movups xmm1, xmmword [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x70]
movq xmm0, qword [ebp - 0x70]
movd edx, xmm1
movups xmmword [ebp - 0x50], xmm1
cmovae ecx, edx
movq qword [ebp - 0x40], xmm0
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x50]
cmovae ecx, edx
push ecx
push eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.1003f6f0
mov esi, eax
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x100395b7
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x10039583
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10039579
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push edx
push ecx
call fcn.10098145
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x9c]
cmp edx, 0x10
jb 0x100395f1
mov ecx, dword [ebp - 0xb0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100395e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push edx
push ecx
call fcn.10098145
add esp, 8
cmp dword [ebp - 0x24], 0x10
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
cmovae eax, edx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x64], eax
lea esi, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, edx
add eax, ecx
mov dword [ebp - 0x9c], 0xf
cmp dword [ebp - 0x24], 0x10
mov byte [ebp - 0xb0], 0
cmovae esi, edx
mov dword [ebp - 0x68], eax
cmp esi, eax
je 0x10039656
mov edi, dword [ebp - 0x64]
sub edi, esi
nop dword [eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x68]
jne 0x10039640
movups xmm0, xmmword [ebp - 0x38]
mov eax, 0xf
mov byte [ebp - 0x38], 0
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [ebp - 0x28]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
cmp edx, 8
jb 0x100396c2
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100396b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push edx
push ecx
call fcn.10098145
mov eax, dword [ebp - 0x24]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], cx
mov byte [ebp - 4], cl
cmp eax, 0x10
jb 0x1003970c
mov ecx, dword [ebp - 0x38]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x10039702
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push edx
push ecx
call fcn.10098145
add esp, 8
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x98]
mov edi, dword [ebp - 0x98]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae edx, edi
xor ecx, ecx
cmp dword [ebp - 0x88], ecx
jbe 0x1003974e
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebp - 0x88]
jb 0x10039733
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x1003977e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10039774
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100397f0
push ecx
push edi
call fcn.10098145
add esp, 8
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
cmp esi, eax
je 0x100397f6
add edi, 0xc
mov dword [ebp - 0x5c], edi
cmp edi, edx
jne 0x10039460
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x54]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x10039425
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x10039819
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039819
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x54]
movq xmm0, qword [edi]
mov esi, dword [ebp - 0x20]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
test esi, esi
jne 0x100393df
mov esi, ecx
jmp 0x10039425
push ecx
push edi
call fcn.10098145
add esp, 8
jmp 0x10039425