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

Disassembly:
push 0x8c
mov eax, 0x100aa935
call fcn.100a845f
mov dword [ebp - 0x7c], edx
mov ebx, ecx
mov dword [ebp - 0x78], ebx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x20]
call fcn.1004646f
test al, al
jne 0x100467dc
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10046a0b
mov eax, dword [ebp - 0x18]
sub eax, ecx
push 0xc
cdq
pop esi
idiv esi
jmp 0x10046a03
mov esi, dword [ebp - 0x20]
mov ecx, esi
push 0xc
pop edi
jmp 0x100469df
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
xor edx, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], dl
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 2
mov edx, dword [ecx]
test edx, edx
jne 0x1004684c
lea edi, [ebp - 0x94]
xor ecx, ecx
stosd dword es:[edi], eax
push 0xf
mov byte [ebp - 4], cl
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
mov edx, edi
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
mov byte [ebp - 0x94], cl
jmp 0x10046980
movzx ecx, word [edx + 0x2c]
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
shr ecx, 1
push ecx
push dword [edx + 0x30]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x64], 0
and dword [ebp - 0x60], 0
call fcn.1004b050
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x50]
call fcn.1004acbb
mov edx, dword [ebp - 0x60]
cmp edx, 7
jbe 0x10046890
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
call fcn.1002d40a
cmp dword [ebp - 0x3c], 7
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
cmova ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x74]
cmova edx, dword [ebp - 0x50]
lea ecx, [ecx + eax*2]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
cmp edx, ecx
jne 0x100468c8
push 0xf
pop edi
mov dword [ebp - 0x60], edi
mov byte [ebp - 0x74], al
jmp 0x100468da
sub ecx, edx
sar ecx, 1
push ecx
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.1004b186
push 0xf
pop edi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x38]
call fcn.1002cfce
mov edx, dword [ebp - 0x60]
cmp edx, edi
jbe 0x100468f6
mov ecx, dword [ebp - 0x74]
inc edx
call fcn.1002d40a
cmp dword [ebp - 0x24], edi
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
cmova ecx, dword [ebp - 0x38]
cmova edx, dword [ebp - 0x38]
add eax, ecx
cmp dword [ebp - 0x24], edi
lea ecx, [ebp - 0x38]
push edx
cmova ecx, dword [ebp - 0x38]
mov edx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
push eax
push ecx
lea ecx, [ebp - 0x98]
call fcn.1004ad6e
add esp, 0xc
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
call fcn.10034691
mov edx, dword [ebp - 0x3c]
cmp edx, 7
jbe 0x10046953
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
call fcn.1002d40a
and dword [ebp - 0x40], 0
xor eax, eax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, edi
jbe 0x10046977
mov ecx, dword [ebp - 0x38]
inc edx
call fcn.1002d40a
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x80]
cmp edx, edi
mov dword [ebp - 0x54], 0x811c9dc5
lea eax, [ebp - 0x94]
cmova eax, dword [ebp - 0x94]
xor edi, edi
mov dword [ebp - 0x5c], eax
test ecx, ecx
je 0x100469be
mov esi, dword [ebp - 0x54]
mov ebx, eax
movzx eax, byte [ebx + edi]
xor eax, esi
imul esi, eax, 0x1000193
inc edi
cmp edi, ecx
jb 0x100469a4
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x20]
cmp edx, 0xf
jbe 0x100469cf
mov ecx, dword [ebp - 0x94]
inc edx
call fcn.1002d40a
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x54], eax
je 0x10046a13
mov ecx, dword [ebp - 0x58]
push 0xc
pop edi
add ecx, edi
mov dword [ebp - 0x58], ecx
cmp ecx, dword [ebp - 0x1c]
jne 0x100467e9
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
test esi, esi
je 0x10046a0b
mov eax, dword [ebp - 0x18]
mov ecx, esi
sub eax, esi
cdq
idiv edi
imul edx, eax, 0xc
call fcn.1002d40a
mov eax, ebx
call fcn.100a841d
ret
mov esi, dword [ebp - 0x58]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x100467c1