Function at 0x140028610
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x1a0
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x1a8], rbx
mov qword [rbp + 0x1b0], rsi
mov rax, qword [0x140093088]
xor rax, rbp
mov qword [rbp + 0x160], rax
mov r14, rcx
mov qword [rbp + 0xb8], rcx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
lea r12, vtable.ATL::CAccessToken.0
mov qword [rbp + 0xc0], r12
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r15
xor eax, eax
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rax
lea rcx, [rbp + 0xe0]
call fcn.140027c50
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0xb8]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400287d5
lea rcx, [rbp + 0xc0]
mov rax, qword [rbp + 0xc0]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0xb8]
mov qword [rbp + 0xc8], rcx
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400287d5
mov ebx, r15d
mov qword [rbp + 8], rbx
mov eax, dword [rbp + 0xb0]
cmp eax, 0x400
ja 0x140028787
mov ecx, eax
call fcn.140028580
test al, al
je 0x140028781
mov eax, dword [rbp + 0xb0]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14002876b
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140073970
sub rsp, rcx
lea rdi, [rsp + 0x30]
jmp 0x1400287ab
mov eax, dword [rbp + 0xb0]
mov ecx, eax
add rcx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
jne 0x14002879d
mov rdi, r15
jmp 0x1400287ab
mov qword [rax], r15
mov rbx, rax
mov qword [rbp + 8], rax
lea rdi, [rax + 0x10]
test rdi, rdi
jne 0x14002894b
test rbx, rbx
je 0x1400287d5
nop dword [rax]
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x1400287c0
mov qword [rbp + 8], rbx
mov dword [rbp], 0x5c565858
mov word [rbp + 4], 0x100
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx + 0x36]
xor byte [rbp + rcx], al
inc rcx
cmp rcx, 4
jb 0x1400287f0
mov byte [rbp + 5], 0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
lea rax, [rbp]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140028821
lea rdx, [rbp]
mov rcx, r14
call fcn.1400032a0
nop
lea rax, vtable.ATL::CSid.0
mov qword [rbp + 0xe0], rax
mov rdx, qword [rbp + 0x150]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028866
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp + 0x148]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028886
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp + 0x140]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400288a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbp + 0x138]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400288c5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0xd0]
test rdx, rdx
mov rcx, qword [rbp + 0xc8]
mov qword [rbp + 0xc0], r12
je 0x1400288f8
test rcx, rcx
je 0x1400288f1
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
mov rcx, qword [rbp + 0xc8]
mov qword [rbp + 0xd0], r15
test rcx, rcx
je 0x14002890a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0xc8], r15
mov edx, 8
mov rcx, qword [rbp + 0xd8]
call fcn.1400731ac
mov rax, r14
mov rcx, qword [rbp + 0x160]
xor rcx, rbp
call fcn.140073150
mov rbx, qword [rbp + 0x1a8]
mov rsi, qword [rbp + 0x1b0]
lea rsp, [rbp + 0x170]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rax, [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xb0]
mov r8, rdi
mov edx, 1
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140028996
test rbx, rbx
je 0x1400287d5
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x140028980
jmp 0x1400287d1
mov rdx, qword [rdi]
lea rcx, [rbp + 0xe0]
call fcn.140027e70
nop
test rbx, rbx
je 0x1400289c1
nop dword [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
jne 0x1400289b0
lea rcx, [rbp + 0xe0]
call fcn.1400284e0
mov rdi, rax
lea rax, [rbp + 0x28]
mov qword [rbp + 0x20], rax
mov rbx, 0xffffffffffffffff
test rdi, rdi
jne 0x1400289ed
mov rax, r15
mov qword [rbp + 0x20], rax
jmp 0x140028a48
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x1400289f0
add eax, 1
js 0x140028a94
movsxd rsi, eax
cmp eax, 0x80
jle 0x140028a28
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov qword [rbp + 0x20], rax
mov rcx, rax
test rax, rax
je 0x140028a9f
jmp 0x140028a34
lea rax, [rbp + 0x28]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x28]
test rsi, rsi
je 0x140028a48
mov r8, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], r15
inc rbx
cmp byte [rax + rbx], 0
jne 0x140028a57
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.1400032a0
nop
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
cmp rcx, rax
je 0x140028a83
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0xe0]
call fcn.140027dd0
jmp 0x1400288c5
mov ecx, 0x80070057
call fcn.1400190a0
int3
mov ecx, 0x8007000e
call fcn.1400190a0
int3