Function at 0x10016a00
Capabilities:
Encode data using xor

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
push 0xffffffffffffffff
push 0x1007e83e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea edi, [esi + 0x40]
mov dword [esi], 0x1008cf28
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea eax, [ebx + 0xc]
mov byte [ebp - 4], 3
mov dword [esi + 0x58], 0x41200000
cmp ecx, eax
je 0x10016ac9
cmp dword [ebx + 0x20], 0x10
push dword [ebx + 0x1c]
cmovae eax, dword [ebx + 0xc]
push eax
call fcn.100109d0
movups xmm0, xmmword [ebx + 0x24]
lea eax, [ebx + 0x34]
movups xmmword [esi + 0x1c], xmm0
cmp edi, eax
je 0x10016aeb
cmp dword [ebx + 0x48], 0x10
mov ecx, edi
push dword [ebx + 0x44]
cmovae eax, dword [ebx + 0x34]
push eax
call fcn.100109d0
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp eax, 1
jb 0x10016cce
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebx + 0x48], 0x10
lea eax, [ebx + 0x34]
cmovae eax, dword [ebx + 0x34]
push ecx
inc eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.100109d0
mov byte [ebp - 4], 4
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x34], eax
add eax, 2
call fcn.1007cdb0
mov eax, dword [ebp - 0x34]
mov edx, esp
xor edi, edi
mov dword [ebp - 0x30], edx
test eax, eax
je 0x10016b7f
cmp dword [ebx + 0x48], 0x10
lea esi, [ebx + 0x34]
mov edx, dword [ebp - 0x30]
lea ecx, [ebx + 0x34]
cmovae esi, dword [ebx + 0x34]
cmovae ecx, dword [ebx + 0x34]
mov al, byte [esi + edi + 1]
xor al, byte [ecx]
mov byte [edi + edx], al
inc edi
mov eax, dword [ebx + 0x44]
cmp edi, eax
jb 0x10016b56
mov esi, dword [ebp - 0x38]
mov ecx, edx
mov dword [ebp - 0x50], 0
mov byte [eax + edx - 2], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016ba2
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100109d0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
call fcn.100179b0
xorps xmm0, xmm0
mov eax, dword [eax]
movsd qword [eax], xmm0
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x10016c01
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016bf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016bf7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10016c31
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016c27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016c99
push edx
push ecx
call fcn.1007be73
add esp, 8
mov edx, dword [ebx + 0x20]
cmp edx, 0x10
jb 0x10016c61
mov ecx, dword [ebx + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016c99
push edx
push ecx
call fcn.1007be73
add esp, 8
mov edx, dword [ebx + 0x48]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0xf
mov byte [ebx + 0xc], 0
cmp edx, 0x10
jb 0x10016ca9
mov ecx, dword [ebx + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016c9f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016c9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007be73
add esp, 8
mov eax, esi
lea esp, [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x44
call fcn.100122c0
int3