Function at 0x1008f3d0
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 0x101730db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x140
mov eax, ecx
mov dword [ebp - 0x1c], eax
push esi
push edi
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
cmp eax, edx
je 0x1008f954
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0xc]
jge 0x1008f954
xorps xmm0, xmm0
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x60], esi
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0xb0], esi
mov byte [ebp - 0xac], 0
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x98], esi
mov byte [ebp - 0x94], 0
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x40], 0
sub edx, eax
mov byte [ebp - 4], 2
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebx + 0xc], eax
cmovl eax, dword [ebx + 0xc]
xor edx, edx
test eax, eax
cmovg edx, eax
mov dword [ebp - 0x50], edx
cmp ecx, edx
jge 0x1008f8cf
lea edx, [ecx + ecx*2]
shl edx, 2
sub dword [ebp - 0x50], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
add eax, edx
mov dword [ebp - 0x48], eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1008f8bf
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
ja 0x1008f509
cmp edi, 0xf
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
mov byte [eax + ecx], 0
jmp 0x1008f515
push ecx
sub ecx, esi
push ecx
lea ecx, [ebp - 0x70]
call fcn.1006bb40
mov ecx, dword [ebp - 0x48]
xor esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1008f582
xor edi, edi
nop dword [eax + eax]
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x24]
lea edi, [edi + 0xc]
cmova eax, dword [ebp - 0x70]
mov cl, byte [edx + edi - 0xc]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [ebp - 0x48]
mov dword [edx + edi - 8], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x24], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1008f540
cmp dword [ebp - 0x5c], 0xf
lea eax, [ebp - 0x70]
mov esi, dword [ebp - 0x60]
cmova eax, dword [ebp - 0x70]
mov edi, eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x54], edi
lea ecx, [esi + eax]
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x1008f8b9
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [esi + 0x1cc]
test eax, eax
je 0x1008f5e6
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x44]
push edx
push ecx
push edi
call eax
add esp, 0x14
test al, al
jne 0x1008f6a0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov esi, dword [esi + 0x1e0]
mov eax, dword [eax + 0x1e4]
mov dword [ebp - 0x28], eax
cmp esi, eax
je 0x1008f8a7
mov eax, dword [esi]
test eax, eax
je 0x1008f672
push 0x40
push dword [eax + 0x14]
mov byte [ebp - 0x11], 0
push dword [eax + 0x1c]
push eax
lea eax, [esi + 4]
push eax
push ecx
push edi
lea ecx, [ebp - 0x150]
call fcn.100957c0
push 0
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x150]
call fcn.10095dd0
test al, al
je 0x1008f65d
cmp edi, dword [ebp - 0x98]
mov byte [ebp - 0x11], 1
mov dword [ebp - 0xb0], edi
setne byte [ebp - 0x94]
mov dword [ebp - 0x9c], edi
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.10095670
cmp byte [ebp - 0x11], 0
jne 0x1008f686
add esi, 0x18
cmp esi, dword [ebp - 0x28]
je 0x1008f8a7
mov ecx, dword [ebp - 0x24]
jmp 0x1008f600
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x14]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
sub eax, ecx
cmp dword [ebp - 0x20], 7
mov dword [ebp - 0x78], eax
jne 0x1008f87c
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10091ab0
cmp byte [esi + 0x1dc], 0
mov edx, dword [ebp - 0x30]
jne 0x1008f71f
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
lea esi, [ebp - 0x40]
cmova eax, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
cmova eax, ecx
add eax, edx
cmp dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], eax
cmova esi, ecx
cmp esi, eax
je 0x1008f71c
sub dword [ebp - 0x28], esi
mov edi, dword [ebp - 0x28]
nop word [eax + eax]
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x18]
jne 0x1008f700
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x48]
sub edi, dword [ebp - 0x74]
mov eax, dword [eax]
lea ecx, [edi + edi*2]
lea edi, [ebp - 0x40]
test byte [eax + ecx*4 + 8], 4
mov ecx, 0x811c9dc5
jne 0x1008f831
cmp dword [ebp - 0x2c], 0xf
lea eax, [esi + 0x120]
mov esi, dword [ebp - 0x30]
cmova edi, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x18], eax
test esi, esi
je 0x1008f76b
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, esi
jb 0x1008f757
mov eax, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.100948e0
cmp dword [eax + 4], 0
je 0x1008f790
mov dword [ebp - 0x20], 1
jmp 0x1008f87c
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x40]
add eax, 0x140
mov ecx, 0x811c9dc5
cmp dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], eax
cmova edi, dword [ebp - 0x40]
xor edx, edx
test esi, esi
je 0x1008f7c5
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, esi
jb 0x1008f7b1
mov eax, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.100948e0
cmp dword [eax + 4], 0
je 0x1008f7ea
mov dword [ebp - 0x20], 8
jmp 0x1008f87c
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x40]
add eax, 0x160
mov ecx, 0x811c9dc5
cmp dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x18], eax
cmova edi, dword [ebp - 0x40]
xor edx, edx
test esi, esi
je 0x1008f824
nop dword [eax + eax]
movzx eax, byte [edi + edx]
inc edx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp edx, esi
jb 0x1008f810
mov eax, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xc8]
jmp 0x1008f867
cmp dword [ebp - 0x2c], 0xf
lea eax, [esi + 0x160]
mov dword [ebp - 0x18], eax
cmova edi, dword [ebp - 0x40]
xor esi, esi
test edx, edx
je 0x1008f85c
movzx eax, byte [edi + esi]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x1008f848
mov eax, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
call fcn.100948e0
cmp dword [eax + 4], 0
je 0x1008f87c
mov dword [ebp - 0x20], 9
mov edi, dword [ebp - 0x78]
test edi, edi
je 0x1008f8a2
mov esi, dword [ebp - 0x74]
neg esi
mov eax, dword [ebp - 0x44]
add eax, esi
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4 + 4], eax
sub edi, 1
jne 0x1008f888
mov edi, dword [ebp - 0x4c]
jmp 0x1008f8a8
inc edi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x54], edi
cmp edi, ecx
jne 0x1008f5a6
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
add edx, 0xc
sub dword [ebp - 0x50], 1
mov dword [ebp - 0x58], edx
jne 0x1008f4c8
mov eax, dword [ebp - 0x2c]
cmp eax, 0xf
jbe 0x1008f901
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f8f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008f944
push ecx
push edx
call fcn.101706c8
add esp, 8
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10090d50
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x1008f954
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f94a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008f94a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101706c8
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8