Function at 0x1012a610
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 0x10184430
push eax
mov dword fs:[0], esp
mov edx, dword [0x102f6e50]
mov eax, dword [0x102f6e4c]
push ebx
sub esp, 0xb8
push esi
push edi
cmp eax, edx
je 0x1012ab13
mov ecx, dword [ebx + 8]
cmp ecx, dword [ebx + 0xc]
jge 0x1012ab13
xorps xmm0, xmm0
xor esi, esi
mov edi, 0xf
mov dword [ebp - 0x54], esi
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0xa4], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], esi
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x34], 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 - 0x44], edx
cmp ecx, edx
jge 0x1012a881
lea edx, [ecx + ecx*2]
shl edx, 2
sub dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [0x102f6e4c]
add eax, edx
mov dword [ebp - 0x3c], eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp eax, ecx
je 0x1012a871
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, esi
ja 0x1012a742
cmp edi, 0x10
mov dword [ebp - 0x54], ecx
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
mov byte [eax + ecx], 0
jmp 0x1012a74e
push ecx
sub ecx, esi
push ecx
lea ecx, [ebp - 0x64]
call fcn.10085160
mov ecx, dword [ebp - 0x3c]
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 0x1012a7b3
xor edi, edi
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
lea edi, [edi + 0xc]
cmovae eax, dword [ebp - 0x64]
mov cl, byte [edi + edx - 0xc]
mov byte [eax + esi], cl
inc esi
mov ecx, dword [ebp - 0x3c]
mov dword [edi + edx - 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 0x1012a771
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
mov esi, dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
mov edi, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], edi
lea ecx, [esi + eax]
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
je 0x1012a86b
nop word [eax + eax]
mov eax, dword [0x102f7014]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1012a81c
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x40]
push edx
lea edx, [ebp - 0x38]
push edx
push ecx
push edi
call eax
add esp, 0x14
test al, al
jne 0x1012a91f
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x102f702c]
mov esi, dword [0x102f7028]
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x1012a859
nop
push edi
push ecx
lea eax, [ebp - 0xa8]
mov edx, ecx
push esi
push eax
mov ecx, edi
call fcn.1012e740
add esp, 0x10
test al, al
jne 0x1012a908
mov ecx, dword [ebp - 0x1c]
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x1012a830
inc edi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], edi
cmp edi, ecx
jne 0x1012a7e0
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
add edx, 0xc
sub dword [ebp - 0x44], 1
mov dword [ebp - 0x4c], edx
jne 0x1012a702
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1012a8b3
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1012a8a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1012a902
push ecx
push edx
call fcn.1017dc57
add esp, 8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.10089a70
mov ecx, dword [ebp - 0x50]
cmp ecx, 0x10
jb 0x1012ab13
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012ab09
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1012ab09
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
sub edi, eax
cmp dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
jne 0x1012aade
push edi
push eax
lea ecx, [ebp - 0x34]
call fcn.10062990
cmp byte [0x102f7024], 0
mov edi, dword [ebp - 0x24]
jne 0x1012a98d
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
cmovae eax, ecx
lea esi, [ebp - 0x34]
cmovae edx, ecx
add eax, edi
cmp dword [ebp - 0x20], 0x10
mov dword [ebp - 0x70], eax
cmovae esi, ecx
cmp esi, eax
je 0x1012a98d
sub edx, esi
mov edi, edx
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 - 0x70]
jne 0x1012a974
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x48]
lea esi, [ebp - 0x34]
sub eax, dword [ebp - 0x68]
mov edx, 0x811c9dc5
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test byte [eax + ecx*4 + 8], 4
jne 0x1012aa99
cmp dword [ebp - 0x20], 0x10
cmovae esi, dword [ebp - 0x34]
xor ecx, ecx
test edi, edi
je 0x1012a9d1
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1012a9c0
push edx
lea eax, [ebp - 0x34]
mov ecx, 0x102f6f68
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1006c790
cmp dword [eax + 4], 0
je 0x1012a9f9
mov dword [ebp - 0x14], 1
jmp 0x1012aadb
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x34]
xor ecx, ecx
test edi, edi
je 0x1012aa21
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1012aa10
push edx
lea eax, [ebp - 0x34]
mov ecx, 0x102f6f88
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.1006c790
cmp dword [eax + 4], 0
je 0x1012aa49
mov dword [ebp - 0x14], 8
jmp 0x1012aadb
cmp dword [ebp - 0x20], 0x10
lea esi, [ebp - 0x34]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x34]
xor ecx, ecx
test edi, edi
je 0x1012aa71
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1012aa60
push edx
lea eax, [ebp - 0x34]
mov ecx, 0x102f6fa8
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1006c790
mov edi, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x1012aade
mov dword [ebp - 0x14], 9
jmp 0x1012aade
cmp dword [ebp - 0x20], 0x10
cmovae esi, dword [ebp - 0x34]
xor ecx, ecx
test edi, edi
je 0x1012aab8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1012aaa7
push edx
lea eax, [ebp - 0x34]
mov ecx, 0x102f6fa8
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.1006c790
cmp dword [eax + 4], 0
je 0x1012aadb
mov dword [ebp - 0x14], 9
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x1012ab01
mov esi, dword [ebp - 0x68]
neg esi
mov eax, dword [ebp - 0x38]
add eax, esi
inc esi
lea edx, [eax + eax*2]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 4], eax
sub edi, 1
jne 0x1012aae7
mov edi, dword [ebp - 0x40]
jmp 0x1012a85a
push ecx
push edx
call fcn.1017dc57
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