Function at 0x1001aeb0
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 0x1005e3c3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x1007a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x84], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1001b615
test cx, cx
je 0x1001b615
cmp dword [edi + 0x2c], 0
ja 0x1001b615
cmp dword [ebx + 0x2c], 0xf
lea edx, [ebx + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x18]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001af61
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10004850
mov byte [ebp - 4], 2
mov esi, dword [edi + 4]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x68], eax
test esi, esi
je 0x1001af9c
push 4
push esi
call eax
test eax, eax
jne 0x1001af9c
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1001afd4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001afca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6ab
push ecx
push edx
call fcn.1003bf86
add esp, 8
cmp dword [ebx + 0x44], 0xf
lea edx, [ebx + 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmova edx, dword [ebx + 0x30]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b000
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10004850
mov byte [ebp - 4], 3
mov esi, dword [edi + 8]
test esi, esi
je 0x1001b034
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b034
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x100725a4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1001b06c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b062
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6b0
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1001b086
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b086
push eax
mov ecx, esi
call dword [0x100725a8]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1001b0a0
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b0a0
push eax
mov ecx, esi
call dword [0x100725a8]
cmp word [ebp - 0x48], 0xffff
je 0x1001b5fa
cmp word [ebp - 0x80], 0xffff
je 0x1001b5fa
mov byte [ebp - 0x74], 0x3a
mov al, 0x49
xor al, byte [ebp - 0x74]
mov cl, 0x43
mov byte [ebp - 0x73], al
mov dl, 0x57
mov al, byte [ebp - 0x74]
mov ch, 0x55
mov dh, 0x56
mov byte [ebp - 0x49], 0x66
xor cl, al
mov byte [ebp - 0x6c], 0
xor dl, al
mov byte [ebp - 0x72], cl
xor ch, al
mov byte [ebp - 0x71], dl
xor dh, al
mov byte [ebp - 0x6f], ch
mov ah, 0x58
mov byte [ebp - 0x6e], dh
mov edx, dword [0x1007bef8]
lea ecx, [ebp - 0x73]
xor ah, al
mov byte [ebp - 0x6c], 0
mov al, byte [ebp - 0x49]
lea esi, [ecx + 1]
xor al, byte [ebp - 0x74]
mov byte [ebp - 0x70], ah
mov byte [ebp - 0x6d], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b110
mov eax, 0x7fffffff
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x1001b6b5
cmp dword [0x1007befc], 0xf
mov eax, 0x1007bee8
push ecx
cmova eax, dword [0x1007bee8]
lea ecx, [ebp - 0x73]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x2c]
call fcn.100100c0
mov dword [ebp - 0x78], 0x10
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 4
test ax, ax
jne 0x1001b1df
movaps xmm0, xmmword [0x10073a80]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x3c76332a
mov word [ebp - 0x50], 0x2c20
mov byte [ebp - 0x4e], al
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x1001b181
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b1b6
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.10004850
lea ecx, [ebp - 0x9c]
mov eax, 0x11
jmp 0x1001b262
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x10073e60]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x48]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x76
xor ecx, ecx
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x1001b207
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b237
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xb4]
push eax
call fcn.100043f0
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 4], 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
test al, 2
je 0x1001b30b
mov ecx, dword [ebp - 0xa0]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x1001b2f0
mov edx, dword [ebp - 0xb4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b2e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6ba
push ecx
push edx
call fcn.1003bf86
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 7
test al, 1
je 0x1001b356
mov ecx, dword [ebp - 0x88]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x78], eax
cmp ecx, 0xf
jbe 0x1001b356
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b34c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6ba
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0x14]
test esi, esi
je 0x1001b373
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b373
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10072584]
mov ecx, dword [edi + 0x14]
sub esp, 0x1c
call fcn.10012920
mov eax, dword [ebp - 0x7c]
add esp, 0x1c
test ax, ax
jne 0x1001b411
movaps xmm0, xmmword [0x10073e30]
xor ecx, ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0x72387d64
mov word [ebp - 0x50], 0x626e
mov byte [ebp - 0x4e], al
nop word [eax + eax]
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0x15
jb 0x1001b3b0
xorps xmm0, xmm0
mov byte [ebp - 0x4e], 0
lea ecx, [ebp - 0x63]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b3e5
sub ecx, edx
lea eax, [ebp - 0x63]
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.10004850
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
or dword [ebp - 0x48], 4
jmp 0x1001b49a
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
movaps xmm0, xmmword [0x10073ba0]
cmova ecx, dword [ebp - 0x2c]
cwde
push eax
mov eax, dword [ebp - 0x80]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x50], 0x47
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x10
jb 0x1001b440
sub esp, 0x18
mov byte [ebp - 0x4f], 0
mov edx, esp
lea ecx, [ebp - 0x5f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b470
sub ecx, esi
lea eax, [ebp - 0x5f]
push ecx
push eax
mov ecx, edx
call fcn.10004850
lea eax, [ebp - 0xcc]
push eax
call fcn.100043f0
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x44]
call fcn.10009940
mov eax, dword [ebp - 0x48]
test al, 8
je 0x1001b508
mov ecx, dword [ebp - 0xb8]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x1001b4ed
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b4e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6bf
push ecx
push edx
call fcn.1003bf86
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov dword [ebp - 4], 7
test al, 4
je 0x1001b54d
mov ecx, dword [ebp - 0x88]
cmp ecx, 0xf
jbe 0x1001b54d
mov edx, dword [ebp - 0x9c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b543
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6bf
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1001b56a
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b56a
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x10072584]
mov ecx, dword [edi + 0x18]
sub esp, 0x1c
call fcn.10012920
mov byte [ebp - 4], 4
add esp, 0x1c
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1001b5b0
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b5a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6c4
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x1001b5fa
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b5f0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6c4
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov esi, dword [edi + 0x34]
test esi, esi
je 0x1001b615
push 4
push esi
call dword [ebp - 0x68]
test eax, eax
jne 0x1001b615
push 1
mov ecx, esi
call dword [0x10072578]
mov ecx, dword [ebx + 0x2c]
cmp ecx, 0xf
jbe 0x1001b649
mov edx, dword [ebx + 0x18]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b63f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6c9
push ecx
push edx
call fcn.1003bf86
add esp, 8
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
cmp ecx, 0xf
jbe 0x1001b68b
mov edx, dword [ebx + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b6c9
push ecx
push edx
call fcn.1003bf86
add esp, 8
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.1003bf25
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x40
call fcn.10041254
call fcn.10041254
call fcn.100046f0
call fcn.10041254
call fcn.10041254
call fcn.10041254
call fcn.10041254
int3