Function at 0x1002b600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059a2a
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x1006f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
cmp byte [esi + 0x13c], 0
movzx eax, word [esi + 0x140]
movzx ecx, word [esi + 0x136]
push eax
mov word [esi + 0x13e], cx
push ecx
je 0x1002b6e7
movaps xmm0, xmmword [0x10066f80]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x763b7a77
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x13
jb 0x1002b670
sub esp, 0x18
mov byte [ebp - 0x24], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002b69e
mov eax, dword [edx]
jmp 0x1002b6a0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x1002b6ad
xor ecx, ecx
jmp 0x1002b6bc
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b6b3
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100054b0
lea eax, [ebp - 0x80]
push eax
call fcn.10009da0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x1002b790
mov byte [ebp - 0x20], 0x7b
mov al, 0x5e
mov dh, al
mov byte [ebp - 0x17], 0
xor al, byte [ebp - 0x20]
mov dl, 0x5b
mov byte [ebp - 0x1f], al
mov ch, dl
mov al, byte [ebp - 0x20]
mov cl, 0x1f
xor dl, al
mov byte [ebp - 0x17], 0
xor dh, al
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x19], dh
sub esp, 0x18
mov edx, esp
mov bh, cl
mov bl, 0x14
mov ah, 0x1d
xor cl, al
xor bl, al
xor ah, al
mov byte [ebp - 0x1e], cl
xor ch, al
mov byte [ebp - 0x1c], bl
xor bh, al
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x1a], ch
mov byte [ebp - 0x18], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1002b74c
mov eax, dword [edx]
jmp 0x1002b74e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1002b75b
xor ecx, ecx
jmp 0x1002b76a
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b761
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100054b0
lea eax, [ebp - 0x68]
push eax
call fcn.10009da0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 1
mov ebx, 2
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x10], ebx
jb 0x1002b79b
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x1002b7b6
xor ecx, ecx
jmp 0x1002b7c9
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002b7c0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100054b0
mov dword [ebp - 4], 2
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1002b7fa
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b7fa
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x100655b8]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1002b80c
inc eax
push eax
push dword [ebp - 0x50]
call fcn.10005380
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
test bl, 2
je 0x1002b84a
mov eax, dword [ebp - 0x54]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x1002b838
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10005380
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
test bl, 1
je 0x1002b861
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x1002b861
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10005380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret