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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100beced
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10123fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call fcn.10048cf0
add esp, 4
test al, al
je 0x100494a5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x18]
je 0x100494a5
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
mov ecx, dword [eax]
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x1004923e
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], edi
mov byte [ebp - 0x90], dl
mov byte [ebp - 4], dl
jmp 0x1004941f
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
call fcn.100480b0
lea ecx, [ebp - 0x4c]
call fcn.1002e770
movups xmm1, xmmword [ebp - 0x78]
cmp dword [ebp - 0x64], 7
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x68]
movq xmm0, qword [ebp - 0x68]
seta byte [ebp - 0x4d]
movd ecx, xmm1
movups xmmword [ebp - 0x4c], xmm1
cmova edx, ecx
movq qword [ebp - 0x3c], xmm0
cmp byte [ebp - 0x4d], 0
lea eax, [edx + eax*2]
lea edx, [ebp - 0x4c]
cmovne edx, ecx
lea ecx, [ebp - 0x4d]
push ecx
push eax
push edx
lea ecx, [ebp - 0x78]
call fcn.10047ff0
mov esi, eax
lea eax, [ebp - 0x34]
cmp eax, esi
je 0x100492de
mov ecx, eax
call fcn.1002a580
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x10049312
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10049308
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100494de
push ecx
push edx
call fcn.100bb2c8
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
seta cl
cmova edi, esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
test cl, cl
je 0x10049342
add eax, esi
jmp 0x10049347
add eax, edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x54], eax
cmp esi, eax
je 0x10049366
sub edi, esi
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 - 0x54]
jne 0x10049350
movups xmm0, xmmword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov eax, 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
cmp ecx, 7
jbe 0x100493cf
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100493c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100494de
push ecx
push edx
call fcn.100bb2c8
mov eax, dword [ebp - 0x20]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], cl
cmp eax, 0xf
jbe 0x10049419
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004940f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100494de
push ecx
push edx
call fcn.100bb2c8
add esp, 8
mov edx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x90]
cmp edi, 0xf
mov dword [ebp - 0x54], ecx
mov esi, 0x811c9dc5
cmova eax, ecx
xor ecx, ecx
mov dword [ebp - 0x60], eax
test edx, edx
je 0x10049458
mov edi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10049444
mov edi, dword [ebp - 0x7c]
cmp edi, 0xf
jbe 0x1004948b
mov eax, dword [ebp - 0x54]
inc edi
mov ecx, eax
cmp edi, 0x1000
jb 0x10049481
mov eax, dword [ecx - 4]
add edi, 0x23
sub ecx, eax
mov dword [ebp - 0x54], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x100494de
mov eax, dword [ebp - 0x54]
push edi
push eax
call fcn.100bb2c8
add esp, 8
cmp esi, dword [ebp + 0xc]
je 0x100494e4
mov eax, dword [ebp - 0x58]
add eax, 0xc
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x18]
jne 0x100491e1
mov esi, dword [ebp - 0x5c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x1c]
call fcn.10048930
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.100bb5fe
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
movq xmm0, qword [ecx]
movq qword [esi], xmm0
mov ecx, dword [ecx + 8]
mov dword [esi + 8], ecx
jmp 0x100494b9