Function at 0x1002a530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100a8080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x74]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0x55c
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x1c], xmm0
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
sar eax, 2
xor edx, edx
mov dword [ebp - 0x70], 0
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x1002a606
push eax
lea ecx, [ebp - 0x1c]
call fcn.100218b0
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x74]
push eax
push edi
mov dword [ebp - 0x38], edi
call fcn.10069130
mov eax, dword [ebp - 0x3c]
mov edx, edi
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], edi
lea ecx, [edi + eax*4]
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, esp
sub ecx, edx
mov dword [ebp - 0x3c], ecx
sar ecx, 2
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1002a675
push ecx
mov ecx, eax
call fcn.100218b0
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov edi, dword [eax]
push edi
call fcn.10069130
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
call fcn.10011520
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x1002a75b
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
push 4
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002a758
mov edi, dword [ebp - 0x20]
xor ecx, ecx
movaps xmm0, xmmword [0x100a0450]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x6278546e
mov dword [edi + 4], eax
mov dword [ebp - 0x58], 0x7f6a7e7f
mov dword [ebp - 0x54], 0x656462
nop
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1a
jb 0x1002a6d0
sub esp, 0x18
mov byte [ebp - 0x51], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002a703
sub ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10005240
mov ecx, dword [edi]
call fcn.10011100
mov ecx, dword [ebp - 0x38]
add esp, 0x18
mov dword [edi + 4], eax
test ecx, ecx
je 0x1002a794
sub esi, ecx
mov eax, ecx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x1002a74c
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a7b1
push esi
push ecx
call fcn.100675d1
add esp, 8
jmp 0x1002a794
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0
mov dword [eax], 0
je 0x1002a791
sub esi, dword [ebp - 0x38]
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x1002a787
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x1002a7b1
mov edi, ecx
push esi
push edi
call fcn.100675d1
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, edi
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.10067570
mov esp, ebp
pop ebp
ret
call fcn.1006cd3b
int3