Function at 0x14006b200
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
mov edi, dword [rcx + 0x18]
lea r15, [rcx + 0x40]
and dword [rsp + 0x28], 0
lea r12, [0x14012da68]
mov rdx, r12
cmp qword [rcx + 0x10], 0
cmovne rdx, qword [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.140024c20
nop
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rsp + 0x68]
call qword [sym.imp.msvcrt.dll_memset]
mov eax, 2
mov word [rsp + 0x68], ax
lea r14, [0x14010ea73]
mov rcx, r14
mov rbx, qword [rsp + 0x30]
test rbx, rbx
cmovne rcx, rbx
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x20], eax
cmp eax, 0xffffffff
je 0x14006b2b6
mov r8d, 4
lea rdx, [rsp + 0x20]
jmp 0x14006b2d7
mov rcx, r14
test rbx, rbx
cmovne rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14006b31b
movsx r8, word [rax + 0x12]
mov rdx, qword [rax + 0x18]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.msvcrt.dll_memcpy]
movzx ecx, di
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x6a], ax
xor r8d, r8d
lea edi, [r8 + 1]
mov edx, edi
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [r15], rax
lea r8d, [rdi + 0xf]
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x14006b330
test rbx, rbx
je 0x14006b329
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor al, al
jmp 0x14006b4a3
test rbx, rbx
je 0x14006b33e
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, r15
call fcn.14006cef0
test eax, eax
js 0x14006b329
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rdi
and qword [rsp + 0x58], 0
lea rax, vtable.micro::utils::QBuffer.0
mov qword [rsp + 0x38], rax
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.DLL_Sleep]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14006bc4c
mov edx, gethostbyname
mov ecx, 0x320
call qword [sym.imp.KERNEL32.DLL_Beep]
and dword [rsp + 0x28], 0
mov rdx, r12
cmp qword [rsi + 0x28], 0
cmovne rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0x28]
call fcn.140024c20
nop
and dword [rsp + 0x68], 0
cmp qword [rsi + 0x38], 0
cmovne r12, qword [rsi + 0x38]
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.140024c20
nop
mov r8, r14
mov r12, qword [rsp + 0x30]
test r12, r12
cmovne r8, r12
lea rdx, str.user__s_r_n
lea rcx, [rbp - 0x80]
call fcn.14006d2c8
lea rcx, [rbp - 0x80]
call qword [sym.imp.msvcrt.dll_strlen]
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.14006c1f0
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14006bc4c
mov rbx, qword [rsp + 0x70]
test al, al
je 0x14006b46f
test rbx, rbx
cmovne r14, rbx
mov r8, r14
lea rdx, str.pass__s_r_n
lea rcx, [rbp - 0x80]
call fcn.14006d2c8
lea rcx, [rbp - 0x80]
call qword [sym.imp.msvcrt.dll_strlen]
mov r8, rax
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.14006c1f0
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14006bc4c
test al, al
je 0x14006b46f
mov byte [rsi], dil
jmp 0x14006b472
xor dil, dil
test rbx, rbx
je 0x14006b481
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
test r12, r12
je 0x14006b490
mov rcx, r12
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006b4a0
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov al, dil
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140001010
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret