Function at 0x1013bc40
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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101991bb
push eax
mov dword fs:[0], esp
mov edx, dword [0x1031a278]
mov eax, dword [0x1031a274]
push ebx
sub esp, 0x140
push esi
push edi
cmp eax, edx
je 0x1013c18d
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0xc]
jge 0x1013c18d
xorps xmm0, xmm0
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x58], esi
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 0xa8], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], esi
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x78], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x38], 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 - 0x48], edx
cmp ecx, edx
jge 0x1013c108
lea edx, [ecx + ecx*2]
shl edx, 2
sub dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edx
mov eax, dword [0x1031a274]
add eax, edx
mov dword [ebp - 0x40], eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1013c0f8
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
ja 0x1013bd75
cmp edi, 0xf
mov dword [ebp - 0x58], ecx
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
mov byte [eax + ecx], 0
jmp 0x1013bd81
push ecx
sub ecx, esi
push ecx
lea ecx, [ebp - 0x68]
call fcn.100933a0
mov ecx, dword [ebp - 0x40]
xor esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1013bde6
xor edi, edi
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 0x1c]
lea edi, [edi + 0xc]
cmova eax, dword [ebp - 0x68]
mov cl, byte [edx + edi - 0xc]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [ebp - 0x40]
mov dword [edx + edi - 8], 0
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1013bda4
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
mov esi, dword [ebp - 0x58]
cmova eax, dword [ebp - 0x68]
mov edi, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x4c], edi
lea ecx, [esi + eax]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1013c0f2
nop word [eax + eax]
mov eax, dword [0x1031a43c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x1013be4c
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x44]
push edx
lea edx, [ebp - 0x3c]
push edx
push ecx
push edi
call eax
add esp, 0x14
test al, al
jne 0x1013beff
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x1031a454]
mov esi, dword [0x1031a450]
mov dword [ebp - 0x20], eax
cmp esi, eax
je 0x1013c0e0
mov eax, dword [esi]
test eax, eax
je 0x1013bed4
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.10097630
push 0
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x150]
call fcn.10097eb0
test al, al
je 0x1013bebf
cmp edi, dword [ebp - 0x94]
mov byte [ebp - 0x11], 1
mov dword [ebp - 0xac], edi
setne byte [ebp - 0x90]
mov dword [ebp - 0x98], edi
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.10097550
cmp byte [ebp - 0x11], 0
jne 0x1013bee8
add esi, 0x18
cmp esi, dword [ebp - 0x20]
je 0x1013c0e0
mov ecx, dword [ebp - 0x1c]
jmp 0x1013be62
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
cmp dword [ebp - 0x18], 7
mov dword [ebp - 0x70], eax
jne 0x1013c0b5
push eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.1006dae0
cmp byte [0x1031a44c], 0
mov edx, dword [ebp - 0x28]
jne 0x1013bf7c
cmp dword [ebp - 0x24], 0xf
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
lea esi, [ebp - 0x38]
cmova eax, ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
cmova eax, ecx
add eax, edx
cmp dword [ebp - 0x24], 0xf
mov dword [ebp - 0x74], eax
cmova esi, ecx
cmp esi, eax
je 0x1013bf7c
sub dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x20]
nop dword [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 - 0x74]
jne 0x1013bf60
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x40]
sub edi, dword [ebp - 0x6c]
mov eax, dword [eax]
lea ecx, [edi + edi*2]
lea edi, [ebp - 0x38]
test byte [eax + ecx*4 + 8], 4
jne 0x1013c06e
cmp dword [ebp - 0x24], 0xf
mov edx, 0x811c9dc5
mov esi, dword [ebp - 0x28]
cmova edi, dword [ebp - 0x38]
xor ecx, ecx
test esi, esi
je 0x1013bfc1
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1013bfb0
push edx
lea eax, [ebp - 0x38]
mov ecx, 0x1031a390
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.10077b20
cmp dword [eax + 4], 0
je 0x1013bfe9
mov dword [ebp - 0x18], 1
jmp 0x1013c0b5
cmp dword [ebp - 0x24], 0xf
lea edi, [ebp - 0x38]
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x38]
xor ecx, ecx
test esi, esi
je 0x1013c011
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1013c000
push edx
lea eax, [ebp - 0x38]
mov ecx, 0x1031a3b0
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10077b20
cmp dword [eax + 4], 0
je 0x1013c036
mov dword [ebp - 0x18], 8
jmp 0x1013c0b5
cmp dword [ebp - 0x24], 0xf
lea edi, [ebp - 0x38]
mov edx, 0x811c9dc5
cmova edi, dword [ebp - 0x38]
xor ecx, ecx
test esi, esi
je 0x1013c061
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1013c050
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0xc4]
jmp 0x1013c09d
cmp dword [ebp - 0x24], 0xf
mov esi, 0x811c9dc5
cmova edi, dword [ebp - 0x38]
xor ecx, ecx
test edx, edx
je 0x1013c092
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1013c081
lea eax, [ebp - 0x38]
push esi
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, 0x1031a3d0
call fcn.10077b20
cmp dword [eax + 4], 0
je 0x1013c0b5
mov dword [ebp - 0x18], 9
mov edi, dword [ebp - 0x70]
test edi, edi
je 0x1013c0db
mov esi, dword [ebp - 0x6c]
neg esi
mov eax, dword [ebp - 0x3c]
add eax, esi
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4 + 4], eax
sub edi, 1
jne 0x1013c0c1
mov edi, dword [ebp - 0x44]
jmp 0x1013c0e1
inc edi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], edi
cmp edi, ecx
jne 0x1013be10
mov esi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
add edx, 0xc
sub dword [ebp - 0x48], 1
mov dword [ebp - 0x50], edx
jne 0x1013bd35
mov eax, dword [ebp - 0x24]
cmp eax, 0xf
jbe 0x1013c13a
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1013c130
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1013c17d
push ecx
push edx
call fcn.1019280b
add esp, 8
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.10096ae0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1013c18d
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1013c183
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1013c183
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1019280b
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