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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x190
mov esi, esp
mov dword [esi + 0x178], ebp
mov ebx, ecx
mov dword [esi + 0x17c], esp
mov dword [esi + 0x188], 0xffffffff
lea eax, [esi + 0x180]
mov dword [esi + 0x184], 0x10043980
mov ecx, dword fs:[0]
mov dword [esi + 0x180], ecx
mov dword fs:[0], eax
mov ecx, dword [0x10356820]
mov eax, dword [ecx]
call dword [eax + 0x68]
test al, al
je 0x10040d94
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x10040d94
mov edx, dword [eax + 0x128]
cmp byte [edx + ecx], 0
je 0x10040da8
mov eax, dword [esi + 0x180]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [eax + 0x1c]
cmp dword [eax + ecx], 0
jle 0x10040d94
xorps xmm0, xmm0
movaps xmmword [esi + 0xc0], xmm0
movaps xmmword [esi + 0xb0], xmm0
movaps xmmword [esi + 0xa0], xmm0
movaps xmmword [esi + 0x90], xmm0
movaps xmmword [esi + 0x80], xmm0
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x20], xmm0
mov dword [esi + 0xd1], 0
mov dword [esi + 0xcd], 0
movups xmmword [esi + 0xd8], xmm0
movups xmmword [esi + 0xe8], xmm0
movups xmmword [esi + 0xf8], xmm0
movups xmmword [esi + 0x108], xmm0
movups xmmword [esi + 0x118], xmm0
movups xmmword [esi + 0x128], xmm0
movups xmmword [esi + 0x138], xmm0
movups xmmword [esi + 0x148], xmm0
mov dword [esi + 0x15a], 0
mov dword [esi + 0x156], 0
movaps xmmword [esi + 0x160], xmm0
mov byte [esi + 0x170], 0
mov edi, dword [0x10356820]
mov eax, dword [ecx + 8]
add ecx, 8
call dword [eax + 0x28]
mov edx, dword [edi]
mov ecx, edi
lea edi, [esi + 0x20]
push edi
push eax
call dword [edx + 0x20]
test al, al
je 0x10040d94
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x28]
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movlps qword [esi + 0x20], xmm0
mov dword [esi + 0x28], 0
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov eax, dword [eax + edx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov dword [esi + 0x188], 0
push eax
call edx
test eax, eax
je 0x100414b9
mov eax, dword [0x1035678c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x11c]
mov edx, dword [ecx]
mov ecx, dword [0x10356824]
mov edi, dword [ecx]
push dword [eax + edx]
call dword [edi + 0x10]
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 0xb0]
mov edi, dword [ecx]
movzx eax, word [edx + eax]
push eax
call dword [edi + 8]
test eax, eax
je 0x100414b9
mov dword [esi], 0
jmp 0x10040f12
inc dword [esi]
mov ecx, dword [0x10356824]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [esi]
cmp edx, eax
jge 0x100411a5
mov ecx, dword [0x10356824]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x10040f10
mov ecx, eax
add ecx, 8
mov edx, dword [eax + 8]
mov dword [esi + 4], eax
call dword [edx + 8]
mov edi, dword [esi + 4]
test eax, eax
je 0x10040f10
cmp dword [eax + 0x14], 0x76
jne 0x1004108a
mov ecx, dword [0x10356824]
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0x1d4]
mov edx, dword [ecx]
push dword [eax + edi]
call dword [edx + 0x10]
test eax, eax
je 0x10040f10
mov edx, dword [0x1035678c]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 0xb0]
mov edx, dword [ecx]
movzx edi, word [edi + eax]
push edi
mov dword [esi + 8], eax
call dword [edx + 8]
mov edi, dword [esi + 8]
test eax, eax
je 0x10040f10
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edi, dword [esi + 8]
cmp dword [eax + 0xc8], 0
jne 0x10040f10
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0xb0]
cmp word [ecx + edi], 0x1f
je 0x10040f10
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
dec ecx
cmp ecx, 5
ja 0x10040f10
mov ecx, dword [eax + 0xd0]
mov edx, dword [esi + 0x10]
cmp dword [ecx + edi], edx
jne 0x10040f10
mov ecx, dword [0x10356824]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx]
push dword [eax + edi]
call dword [edx + 0x10]
test eax, eax
je 0x10040f10
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
lea edx, [ecx - 1]
xor eax, eax
cmp edx, 5
ja 0x10041030
mov eax, dword [ecx*4 + 0x1015630c]
mov ecx, dword [0x1035683c]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov edx, dword [esi + 4]
mov ecx, dword [0x1035678c]
mov ecx, dword [ecx + 0x17c]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
lea edx, [ecx - 1]
xor eax, eax
cmp edx, 5
ja 0x10041065
mov eax, dword [ecx*4 + 0x101562e8]
mov ecx, dword [0x1035683c]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov edx, dword [esi + 8]
mov ecx, dword [0x1035678c]
mov ecx, dword [ecx + 0x17c]
mov dword [ecx + edx], eax
inc dword [esi]
jmp 0x10040f12
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x280]
mov edi, dword [esi + 4]
test al, al
je 0x10040f10
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edi, dword [esi + 4]
test eax, eax
je 0x10040f10
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 0xd0]
mov edx, dword [esi + 0x10]
cmp dword [ecx + edi], edx
jne 0x10040f10
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edi, dword [esi + 4]
cmp dword [eax + 0xc8], 0
jne 0x1004116b
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0xb0]
cmp word [eax + edi], 0x1f
je 0x1004116b
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
lea edx, [ecx - 1]
cmp edx, 5
ja 0x1004116b
movzx ecx, word [ecx + ecx + 0x10156302]
mov word [edi + eax], cx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 8]
lea edx, [ecx - 1]
xor eax, eax
cmp edx, 5
ja 0x1004113b
mov eax, dword [ecx*4 + 0x1015630c]
mov ecx, dword [0x1035683c]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov edi, dword [esi + 4]
mov ecx, dword [0x1035678c]
mov ecx, dword [ecx + 0x17c]
mov dword [ecx + edi], eax
mov eax, dword [0x1035678c]
mov eax, dword [eax + 0xb8]
mov dword [eax + edi], 3
mov eax, dword [0x1035678c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xb0]
mov edx, dword [ecx]
movzx eax, word [eax + edi]
push eax
call dword [edx + 8]
mov edx, dword [esi + 4]
cmp dword [eax + 0xc8], 0
je 0x10040f10
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x20]
push eax
push edx
call fcn.100409e0
jmp 0x10040f10
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x8d4], 0
je 0x100414b9
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
mov eax, dword [esi + 0xc]
ucomiss xmm0, dword [eax + 0x8d0]
jb 0x100414b9
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x18], ecx
jmp 0x10041203
xor ecx, ecx
push 0
mov eax, dword [esi + 8]
push dword [eax]
push 0
call dword [0x1035688c]
mov eax, dword [esi + 8]
add eax, 4
cmp eax, dword [esi + 0x18]
je 0x10041483
mov dword [esi + 8], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x100411fd
mov eax, dword [ecx]
mov eax, dword [eax + 0x280]
mov dword [esi + 0x188], 0
call eax
test al, al
je 0x100411fd
mov eax, dword [0x103567a8]
bswap eax
mov edx, dword [0x103567ac]
add edx, eax
mov ecx, dword [0x103567b0]
ror edx, cl
cmp dword [edx + 0x174], 0xffffffff
je 0x100411fd
mov edi, dword [esi + 8]
mov eax, dword [edi]
mov ecx, dword [0x1035678c]
mov ecx, dword [ecx + 0xc0]
cmp dword [ecx + eax], 0
setle byte [eax + 0x32dd]
mov eax, dword [edi]
mov ecx, dword [0x1035678c]
mov edx, dword [ecx + 0xe0]
mov dword [eax + edx + 0x20], 0
mov eax, dword [edi]
mov dword [eax + 0x9e8], 0
mov eax, dword [edi]
mov ecx, dword [ecx + 0xe0]
mov edx, dword [eax + ecx + 0x22c]
xor ebx, ebx
mov dword [esi + 0x14], edx
jmp 0x100412b8
mov dword [edi + ebx*4], 0
inc ebx
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov ecx, dword [0x1035678c]
mov ecx, dword [ecx + 0xe0]
cmp ebx, edx
jae 0x1004131b
mov edi, dword [eax + ecx + 0x220]
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x100412b7
lock dec dword [eax + 4]
jne 0x100412b0
mov ecx, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x188], 0
mov dword [esi + 4], edi
mov dword [esi], ebx
mov dword [esi + 0x10], ecx
call eax
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov edx, dword [esi + 0x14]
test al, al
je 0x100412b0
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov edx, dword [esi + 0x14]
jmp 0x100412b0
mov dword [eax + ecx + 0x22c], 0
mov eax, dword [esi + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x188], 0
mov dword [esi], ecx
push 0
call eax
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0
call dword [eax + 0x14]
mov eax, dword [0x10356884]
mov dword [esi + 0x14], eax
mov eax, dword [eax + 0x28]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100411ec
xor ecx, ecx
jmp 0x1004138a
cmp dword [esi], 0x802b0f6
je 0x10041468
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x188], 0
cmp ecx, dword [esi + 0x1c]
je 0x100411ec
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x30]
xor edx, edx
mov edi, 1
nop word cs:[eax + eax]
mov ecx, edi
cmp byte [eax + edx + 1], 0
lea edx, [edx + 1]
lea edi, [edi + 1]
jne 0x100413b0
mov ebx, edx
sub ebx, 1
jb 0x10041373
mov edi, eax
cmp ebx, 3
jae 0x100413d9
mov dword [esi], 0x45c3370d
xor ebx, ebx
mov eax, edi
jmp 0x10041433
mov eax, ecx
and eax, 0xfffffffc
mov dword [esi + 4], eax
mov dword [esi], 0x45c3370d
xor ebx, ebx
mov eax, edi
nop dword [eax + eax]
movsx edi, byte [eax + ebx]
xor edi, dword [esi]
imul edi, edi, 0x1000193
mov dword [esi], edi
movsx edi, byte [eax + ebx + 1]
xor edi, dword [esi]
imul edi, edi, 0x1000193
mov dword [esi], edi
movsx edi, byte [eax + ebx + 2]
xor edi, dword [esi]
imul edi, edi, 0x1000193
mov dword [esi], edi
movsx edi, byte [eax + ebx + 3]
xor edi, dword [esi]
imul edi, edi, 0x1000193
mov dword [esi], edi
add ebx, 4
cmp dword [esi + 4], ebx
jne 0x100413f0
test dl, 3
je 0x10041367
add eax, ebx
and ecx, 3
xor edx, edx
nop word cs:[eax + eax]
movsx edi, byte [eax + edx]
xor edi, dword [esi]
imul edi, edi, 0x1000193
mov dword [esi], edi
inc edx
cmp ecx, edx
jne 0x10041450
jmp 0x10041367
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esi + 0x10]
mov ecx, dword [eax + ecx*4]
mov dword [esi + 0x188], 0
jmp 0x100411ee
mov edi, dword [esi + 0xc]
mov byte [edi + 0x8d4], 0
mov eax, dword [0x1035679c]
bswap eax
mov edx, dword [0x103567a0]
add edx, eax
mov ecx, dword [0x103567a4]
ror edx, cl
movss xmm0, dword [edx + 0x10]
addss xmm0, dword [0x10154df4]
movss dword [edi + 0x8d0], xmm0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10040d94
mov eax, dword [esi + 0x28]
sub eax, ecx
cmp eax, 0x1000
jb 0x100414e2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100414f1
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100f6c02
add esp, 8
jmp 0x10040d94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop word [eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x18c]
mov ebp, dword [esi + 0x178]
lea ecx, [esi + 0x20]
call fcn.10016b90
add esp, 0xc
pop ebp
ret