Function at 0x1001b222
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
xor ebx, ebx
mov dword [esp + 8], 0x19033577
mov esi, ecx
mov dword [esp + 0xc], 0x71e2128
push edi
mov cl, 0x77
mov dword [esp + 0x14], 0x1b021621
mov word [esp + 0x18], 3
mov eax, ebx
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 0xc
jae 0x1001b265
mov cl, byte [esp + 0xc]
jmp 0x1001b255
lea eax, [esp + 0xd]
mov byte [esp + 0x19], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 4], eax
call fcn.10001e1f
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push dword [esi + 4]
call edi
test eax, eax
je 0x1001b2a5
mov dword [esi + 4], ebx
mov cl, 0x6a
mov dword [esp + 0xc], 0x190b086a
mov dword [esp + 0x10], 0x509350f
mov eax, ebx
mov word [esp + 0x14], 0x19
xor byte [esp + eax + 0xd], cl
inc eax
cmp eax, 8
jae 0x1001b2d0
mov cl, byte [esp + 0xc]
jmp 0x1001b2c0
lea eax, [esp + 0xd]
mov byte [esp + 0x15], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 8], eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008e940]
mov ecx, ebx
movups xmmword [esp + 0xc], xmm0
mov byte [esp + 0x1c], bl
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0xf
jb 0x1001b30e
lea eax, [esp + 0xd]
mov byte [esp + 0x1c], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 0xc], eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008f190]
mov ecx, ebx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x4153
mov byte [esp + 0x1e], bl
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x11
jb 0x1001b361
lea eax, [esp + 0xd]
mov byte [esp + 0x1e], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 0x10], eax
call fcn.10001e1f
movaps xmm0, xmmword [0x1008e560]
mov ecx, ebx
movups xmmword [esp + 0xc], xmm0
mov word [esp + 0x1c], 0x1a08
mov byte [esp + 0x1e], bl
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x11
jb 0x1001b3b4
lea eax, [esp + 0xd]
mov byte [esp + 0x1e], bl
push eax
lea ecx, [esp + 0x24]
call fcn.10001f6a
mov ecx, dword [esi]
lea edx, [esp + 0x20]
call fcn.10010042
push ebx
push 1
lea ecx, [esp + 0x28]
mov dword [esi + 0x14], eax
call fcn.10001e1f
push 4
push dword [esi + 8]
call edi
test eax, eax
je 0x1001b3fc
mov dword [esi + 8], ebx
push 4
push dword [esi + 0xc]
call edi
test eax, eax
je 0x1001b40a
mov dword [esi + 0xc], ebx
push 4
push dword [esi + 0x10]
call edi
test eax, eax
je 0x1001b418
mov dword [esi + 0x10], ebx
push 4
push dword [esi + 0x14]
call edi
test eax, eax
je 0x1001b426
mov dword [esi + 0x14], ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1001b43e
mov dl, 3
cmp dword [0x1009bd8c], ebx
jne 0x1001b439
dec dl
call fcn.1001034a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1001b456
mov dl, 3
cmp dword [0x1009bd90], ebx
jne 0x1001b451
dec dl
call fcn.1001034a
cmp dword [esi + 0x14], ebx
je 0x1001b485
cmp dword [0x1009bd94], ebx
mov eax, 0xeb
push 0x74
pop ecx
cmovne eax, ecx
mov dl, 3
mov byte [0x427dcd], al
mov ecx, dword [esi + 0x14]
cmp dword [0x1009bd94], ebx
jne 0x1001b480
dec dl
call fcn.1001034a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret