Function at 0x1002b410
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cc35
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10080040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x30], eax
mov esi, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1002b45d
push 4
push esi
call edi
test eax, eax
jne 0x1002b45d
push eax
mov ecx, esi
call dword [0x10077c24]
movaps xmm0, xmmword [0x10078e40]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0xe
jb 0x1002b470
xorps xmm0, xmm0
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x3f]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b4a0
sub ecx, edx
lea eax, [ebp - 0x3f]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2b]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0x3f
mov byte [ebp - 0x2b], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b4e2
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.10002130
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1002b51b
push 4
push esi
call edi
test eax, eax
jne 0x1002b51b
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call dword [0x10077c40]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1002b553
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b549
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b6e6
push ecx
push edx
call fcn.1004a076
add esp, 8
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
cmova edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b578
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.10002130
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
mov esi, dword [eax + 0x10]
test esi, esi
je 0x1002b5ae
push 4
push esi
call edi
test eax, eax
jne 0x1002b5ae
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call dword [0x10077c84]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x1002b5e6
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b5dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b6eb
push ecx
push edx
call fcn.1004a076
add esp, 8
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x1002b601
push 4
push esi
call edi
test eax, eax
jne 0x1002b601
mov ecx, esi
call dword [0x10077c48]
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0xe
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b626
sub ecx, edx
lea eax, [ebp - 0x2b]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.10002130
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1002b65f
push 4
push esi
call edi
test eax, eax
jne 0x1002b65f
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call dword [0x10077c88]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1002b693
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b6f0
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0x30]
call fcn.1002be10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1002b6cb
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b6c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b6f5
push ecx
push edx
call fcn.1004a076
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004a015
mov esp, ebp
pop ebp
ret
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
call fcn.1004f344
int3