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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fe4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10115364]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], edx
mov esi, ecx
mov dword [ebp - 0x50], esi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10043c10
test al, al
jne 0x1004ce1a
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1004cdfa
mov ecx, dword [ebp - 0x14]
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 0x1004cdf0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d156
push ecx
push esi
call fcn.100f8cec
add esp, 8
mov esi, dword [ebp - 0x50]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f8871
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x7c], eax
cmp edi, eax
je 0x1004d105
nop
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
jne 0x1004ceb8
lea ecx, [ebp - 0x4c]
call fcn.1004b650
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1004ceae
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004cea4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d156
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov esi, 0x811c9dc5
jmp 0x1004d0eb
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
call fcn.1004b6d0
lea ecx, [ebp - 0x4c]
call fcn.1004b650
movups xmm0, xmmword [ebp - 0x70]
xor eax, eax
lea ecx, [ebp - 0x70]
mov word [ebp - 0x70], ax
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
call fcn.1004b650
cmp dword [ebp - 0x38], 8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
lea edi, [ebp - 0x4c]
cmovae edx, dword [ebp - 0x4c]
lea ecx, [ebp - 0x70]
cmovae edi, dword [ebp - 0x4c]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x60], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x5c], 0xf
mov esi, eax
sub eax, edi
sar eax, 1
push eax
call fcn.1003ea00
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
cmp edi, esi
je 0x1004cf73
nop
movzx eax, byte [edi]
lea ecx, [ebp - 0x70]
push eax
call fcn.10028ca0
add edi, 2
cmp edi, esi
jne 0x1004cf60
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.10037f90
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x1004cfb7
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004cfad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d156
push edx
push ecx
call fcn.100f8cec
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmovae eax, edx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x58], eax
lea esi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmovae ecx, edx
add eax, ecx
mov dword [ebp - 0x5c], 0xf
cmp dword [ebp - 0x20], 0x10
mov byte [ebp - 0x70], 0
cmovae esi, edx
mov dword [ebp - 0x74], eax
cmp esi, eax
je 0x1004d016
mov edi, dword [ebp - 0x58]
sub edi, esi
nop word [eax + 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 - 0x74]
jne 0x1004d000
movups xmm0, xmmword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x84], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
call fcn.1004b650
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1004d080
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004d076
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d156
push edx
push ecx
call fcn.100f8cec
add esp, 8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x94]
mov edi, dword [ebp - 0x94]
cmp eax, 0x10
mov esi, 0x811c9dc5
cmovae edx, edi
xor ecx, ecx
cmp dword [ebp - 0x84], ecx
jbe 0x1004d0bc
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [ebp - 0x84]
jb 0x1004d0a4
mov eax, dword [ebp - 0x80]
cmp eax, 0x10
jb 0x1004d0e8
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1004d0de
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004d156
push ecx
push edi
call fcn.100f8cec
add esp, 8
mov edi, dword [ebp - 0x54]
cmp esi, dword [ebp - 0x78]
je 0x1004d15c
add edi, 0xc
mov dword [ebp - 0x54], edi
cmp edi, dword [ebp - 0x7c]
jne 0x1004ce30
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x50]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x1004cdfd
mov ecx, dword [ebp - 0x14]
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 0x1004d17f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004d17f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x50]
movq xmm0, qword [edi]
mov esi, dword [ebp - 0x1c]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
test esi, esi
jne 0x1004cdb7
mov esi, ecx
jmp 0x1004cdfd
push ecx
push edi
call fcn.100f8cec
add esp, 8
jmp 0x1004cdfd