Function at 0x140001c90
Capabilities:
Connect socket
Convert ip address from string
Execute command
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x1400dd0c0]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov edi, edx
mov rsi, rcx
test edx, edx
jne 0x140001cf3
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Mapper_Fail
lea rdx, str.Mapper_fail
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rbp + 0xf0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, ntohl
lea rdx, str.colbotm.exe
lea rcx, [rsp + 0x70]
call fcn.1400033e0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_30
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140001d66
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400033e0
nop
lea r9, [rsp + 0x70]
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140003670
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140001dd5
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001e11
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400021e2
call fcn.1400b1f70
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, ntohl
lea rdx, str.colbotd.sys
lea rcx, [rsp + 0x50]
call fcn.1400033e0
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_30
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001e70
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.1400033e0
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140003670
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140001ee4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ede
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ede
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001f35
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001f1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
lea rcx, [rsp + 0x48]
call fcn.1400019f0
mov rax, qword [rsp + 0x48]
jmp 0x140001f49
lea rcx, [rsp + 0x48]
call fcn.1400019f0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
movabs rdx, 0x7fffffffc46535ff
mov ebx, 1
movabs r15, 0x7fffffffffffffff
mov r12d, 0xff
cmp rax, rdx
je 0x140001f84
mov ecx, ebx
cmovl ecx, r12d
test cl, cl
jns 0x140001f84
add rax, 0x3b9aca00
mov qword [rsp + 0x48], rax
jmp 0x140001f89
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0x48]
call fcn.1400039a0
mov r14d, 2
mov word [rbp - 0x50], r14w
mov ecx, 0x1a0a
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x4e], ax
lea r8, [rbp - 0x4c]
lea rdx, str.127.0.0.1
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, ebx
je 0x140001fe6
mov r9d, Ordinal_50
xor r8d, r8d
lea rdx, str.error_405
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x50]
mov rcx, qword [rsi]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400021b0
mov rax, r15
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, rbx
jb 0x140002258
lea r9, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova r9, qword [rbp - 0x40]
mov qword [rsp + 0x30], rbx
lea rax, [0x1400c54f4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x40]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140003860
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400032a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400020dc
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400020d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400020d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
movdqa xmm0, xmmword [0x1400cb650]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
jbe 0x140002117
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x48]
call fcn.1400019f0
mov rax, qword [rsp + 0x48]
jmp 0x140002131
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x48]
call fcn.1400019f0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
movabs rcx, 0x7fffffff88ca6bff
cmp rax, rcx
je 0x140002155
cmovl ebx, r12d
test bl, bl
jns 0x140002155
add rax, 0x77359400
mov qword [rsp + 0x48], rax
jmp 0x14000215a
mov qword [rsp + 0x48], r15
lea rcx, [rsp + 0x48]
call fcn.1400039a0
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.140001c90
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400021b0
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400021ef
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000222d
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002228
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002228
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b1f70
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.1400b1f50
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001c70
nop
int3