Function at 0x100afd70
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 0x100bdb94
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d0
mov eax, dword [0x100cc008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100e5458], 0
je 0x100b0157
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor eax, eax
mov dword [ebp - 0x184], 0xc1c7d2d1
mov dword [ebp - 0x180], 0xcdd6c3d6
mov word [ebp - 0x17c], 0xd1d0
mov byte [ebp - 0x17a], 0xa2
xor byte [ebp + eax - 0x184], 0xa2
inc eax
cmp eax, 0xb
jb 0x100afdf3
lea ecx, [ebp - 0x184]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x1a8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100afe25
sub ecx, edx
lea eax, [ebp - 0x184]
push ecx
push eax
lea ecx, [ebp - 0x1a8]
call fcn.1001e170
mov dword [ebp - 4], 0
lea eax, [ebp - 0x190]
push dword [ebp - 0x190]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.1008e700
push fcn.1001d720
push 1
push 0x18
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 2
push eax
call fcn.100b5186
mov eax, dword [0x100efa2c]
mov edi, 1
mov dword [ebp - 0x190], eax
mov eax, dword [0x100ef734]
cmp dword [eax + 0x18], edi
jl 0x100b0099
mov ecx, dword [0x100ef6dc]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100b008a
mov ecx, dword [0x100ef868]
mov cl, byte [ecx + esi]
test cl, cl
jne 0x100b008a
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100b008a
mov eax, dword [0x100ef8c4]
add eax, 0xffffffcc
xor eax, 0xeb81ef21
cmp dword [eax + esi], 0
je 0x100b008a
mov ecx, dword [0x100ef6dc]
mov eax, dword [0x100ef960]
add eax, 0xffffffa5
xor eax, 0xeb81ef48
mov edx, dword [ecx]
push ecx
mov eax, dword [eax + esi]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
cmp eax, dword [0x100de5b8]
jne 0x100b008a
mov ecx, dword [0x100ef6d8]
lea edx, [ebp - 0x178]
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x100b008a
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1b0], 0
mov dword [ebp - 0x1ac], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x1c0], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100aff72
sub eax, edx
lea ecx, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.1001e170
push 0x18
push 0
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1c0]
call fcn.10036820
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ecx
je 0x100affe9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [ebp - 0x1c], 0x18
jmp 0x100afff3
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100b4700
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c8]
cmp edx, 0x10
jb 0x100b0031
mov ecx, dword [ebp - 0x1dc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0027
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0175
push edx
push ecx
call fcn.100b55ca
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x1c8], 0xf
mov byte [ebp - 0x1dc], 0
cmp edx, 0x10
jb 0x100b008a
mov ecx, dword [ebp - 0x1c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100b0080
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b0175
push edx
push ecx
call fcn.100b55ca
add esp, 8
mov eax, dword [0x100ef734]
inc edi
cmp edi, dword [eax + 0x18]
jle 0x100afeb0
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x190]
imul ecx
dec edi
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [ebp - 0x188], ecx
shr eax, 0x1f
add eax, edx
imul edi, eax
test eax, eax
je 0x100b014f
xor esi, esi
shr edi, 1
mov dword [ebp - 0x18c], esi
neg edi
nop word [eax + eax]
mov eax, dword [0x100de68c]
add esi, dword [ebp - 0x20]
mov ecx, dword [0x100de688]
cdq
add ecx, 0xffffffec
sub eax, edx
push 1
mov edx, eax
push esi
push ecx
sar edx, 1
mov eax, esp
add edx, edi
push edx
push ecx
mov ecx, 0x100efa24
mov dword [eax], 0xe1ffffff
call fcn.100abcc0
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x1c]
dec eax
sub ecx, dword [ebp - 0x20]
add edi, eax
mov esi, dword [ebp - 0x18c]
mov eax, 0x2aaaaaab
inc dword [ebp - 0x188]
add esi, 0x18
imul ecx
mov dword [ebp - 0x18c], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x188], eax
jb 0x100b00e0
lea ecx, [ebp - 0x20]
call fcn.1003c220
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.100b5137
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3