Function at 0x140124d00
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1401dc478]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebp, ebp
movzx r9d, dx
mov r14d, r8d
mov dword [rsp + 0x54], ebp
mov r15, rcx
mov qword [rsp + 0x28], 8
xorps xmm0, xmm0
lea r8, [0x140192c0c]
xorps xmm1, xmm1
lea edx, [rbp + 8]
mov edi, 1
lea rcx, [rsp + 0x58]
movdqu xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x30], edi
movdqu xmmword [rsp + 0x44], xmm1
call fcn.14001ed50
cmp byte [r15], 0x5b
jne 0x140124dda
movzx eax, byte [r15 + 1]
lea rbx, [r15 + 1]
test al, al
je 0x140124dc6
mov esi, ebp
cmp al, 0x5d
je 0x140124dc6
cmp rsi, 0x40
jge 0x140124dc6
movsxd rcx, edi
lea rdx, [0x140192614]
add rcx, r15
mov byte [rsp + rsi + 0x60], al
mov r8d, 3
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140124db4
add edi, 2
add rbx, 2
movzx eax, byte [rbx + 1]
inc rbx
inc ebp
inc rsi
inc edi
test al, al
jne 0x140124d82
movsxd rax, ebp
cmp rax, 0x41
jae 0x140124f5d
mov byte [rsp + rax + 0x60], 0
jmp 0x140124dee
mov r8d, 0x40
lea rcx, [rsp + 0x60]
mov rdx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea r9, [rsp + 0x20]
mov byte [rsp + 0xa0], 0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test eax, eax
je 0x140124e3f
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, esi
lea rdx, str.getaddrinfo___error_:__d_n
mov rcx, rax
call fcn.140034970
mov rax, 0xffffffffffffffff
jmp 0x140124f36
mov rbx, qword [rsp + 0x20]
mov rdi, 0xffffffffffffffff
test rbx, rbx
je 0x140124eb3
cmp rdi, 0xffffffffffffffff
je 0x140124e5f
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov r8d, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov ecx, dword [rbx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140124ea5
mov rax, qword [rbx + 0x20]
mov rdx, rax
cmp word [rax], 0x17
jne 0x140124e92
test r14d, r14d
je 0x140124e92
mov dword [rax + 0x18], r14d
mov rdx, qword [rbx + 0x20]
mov r8d, dword [rbx + 0x10]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
test eax, eax
jns 0x140124eae
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140124e50
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp rdi, 0xffffffffffffffff
jne 0x140124ef1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [rdi + 3]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.socket
mov rcx, rax
lea rdx, str.Socket_error:__s___d_n
call fcn.140034970
mov rax, rdi
jmp 0x140124f36
test esi, esi
jns 0x140124f33
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, ebx
lea r8, str.connect
mov rcx, rax
lea rdx, str.Socket_error:__s___d_n
call fcn.140034970
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, 0xffffffffffffffff
jmp 0x140124f36
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401623e0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1401628cc
int3