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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc98d
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100d0040]
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 edi, ecx
mov dword [ebp - 0x5c], edi
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.1003da00
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x10045827
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x1004580a
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 0x10045800
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push ecx
push esi
call fcn.100b8a97
add esp, 8
mov eax, edi
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.100b861c
mov esp, ebp
pop ebp
ret
mov eax, esi
mov dword [ebp - 0x54], esi
cmp eax, dword [ebp - 0x18]
je 0x10045af2
nop word [eax + eax]
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 byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
jne 0x10045897
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edi
mov byte [ebp - 0x74], dl
mov byte [ebp - 4], dl
jmp 0x10045a70
movzx eax, word [ecx + 0x2c]
shr eax, 1
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
mov dword [ebp - 0x7c], 0
call fcn.100442b0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10043e40
mov ecx, dword [ebp - 0x7c]
cmp ecx, 7
jbe 0x1004590d
mov edx, dword [ebp - 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045903
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push ecx
push edx
call fcn.100b8a97
add esp, 8
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
cmova ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x4c]
cmova ecx, dword [ebp - 0x4c]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.10043f70
push eax
lea ecx, [ebp - 0x34]
call fcn.100377c0
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x10045973
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045969
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push ecx
push edx
call fcn.100b8a97
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmova eax, edx
lea esi, [ebp - 0x34]
mov dword [ebp - 0x58], eax
cmova ecx, edx
mov eax, dword [ebp - 0x24]
add eax, ecx
cmp dword [ebp - 0x20], 0xf
mov dword [ebp - 0x50], eax
cmova esi, edx
cmp esi, eax
je 0x100459ba
mov edi, dword [ebp - 0x58]
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 [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x50]
jne 0x100459a4
movups xmm0, xmmword [ebp - 0x34]
mov eax, 0xf
mov byte [ebp - 0x34], 0
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [ebp - 0x24]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], eax
cmp ecx, 7
jbe 0x10045a20
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045a13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push ecx
push edx
call fcn.100b8a97
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 0x10045a6a
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10045a60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push ecx
push edx
call fcn.100b8a97
add esp, 8
mov edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x74]
cmp edi, 0xf
mov dword [ebp - 0x58], ecx
mov esi, 0x811c9dc5
cmova eax, ecx
xor ecx, ecx
mov dword [ebp - 0x50], eax
test edx, edx
je 0x10045aa4
mov edi, eax
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10045a90
mov edi, dword [ebp - 0x60]
cmp edi, 0xf
jbe 0x10045ad5
mov ecx, dword [ebp - 0x58]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x10045acb
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045b4b
push edi
push ecx
call fcn.100b8a97
add esp, 8
mov eax, dword [ebp - 0x54]
cmp esi, dword [ebp - 0x78]
je 0x10045b51
add eax, 0xc
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x18]
jne 0x10045840
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x5c]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test esi, esi
je 0x1004580a
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 0x10045800
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10045800
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x5c]
movq xmm0, qword [eax]
mov esi, dword [ebp - 0x1c]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x100457c3