Function at 0x140019fc0
Capabilities:
Connect socket
Create thread
Resolve dns
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x70
mov rax, qword [0x1401b7030]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0xd748]
xor ebp, ebp
mov rbx, rcx
cmp byte [rax + 0x31f], bpl
jne 0x14001a04a
cmp qword [rcx + 0x12d8], rbp
jne 0x14001a04a
mov rcx, qword [rcx + 0x12f8]
test rcx, rcx
je 0x14001a00c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x12f8], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x1400279e0]
mov r9, rbx
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x12f8], rax
test rax, rax
je 0x14001a04a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor r8d, r8d
mov r14d, 2
mov ecx, r14d
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rbx + 0x12d8]
mov qword [rbx + 0x748], rax
test rcx, rcx
je 0x14001a085
lea r8, [0x1401baf30]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp qword [rbx + 0x748], 0xffffffffffffffff
mov rcx, qword [rbx + 0x12d8]
je 0x14001a2b5
mov qword [rsp + 0x98], rdi
test rcx, rcx
je 0x14001a0cb
lea r8, [0x1401bdb00]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a0cb
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rbx + 0x1a3]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x14001a104
lea rcx, [rbx + 0x1a3]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14001a2f2
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a16c
lea r8, [0x1401bdf00]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a16c
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a16c
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a16c
mov r8d, dword [rbx + 0xa4]
xor r9d, r9d
mov edx, 0x3fb
call qword [sym.imp.USER32.dll_SetDlgItemInt]
movzx ecx, word [rbx + 0xa4]
mov word [rsp + 0x58], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rbx + 0xd690]
mov word [rsp + 0x5a], ax
test rcx, rcx
je 0x14001a1b6
mov edx, 0x1388
mov byte [0x1401ba684], bpl
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 0xd690]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xd690], rbp
lea rax, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [rbx + 0x748]
lea r8, [0x140019b30]
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x748]
lea rdx, [rsp + 0x58]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rbx + 0xd690], rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x14001a343
mov eax, dword [rbx + 0xa4]
lea r9, [rbx + 0x1a3]
lea r8, str.Connected_to__s_port__d_n
mov dword [rsp + 0x20], eax
xor edx, edx
lea rcx, vtable.Log.0
call fcn.1400155a0
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a28f
lea r8, [0x1401bda40]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a28f
lea r8, [rbx + 0x1a3]
mov edx, 0x3fc
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a28f
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a28f
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011c340
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rsi
pop rbp
ret
test rcx, rcx
je 0x14001a2cc
lea r8, [0x1401be640]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
xor r8d, r8d
lea rdx, [0x1401be640]
lea rcx, [rsp + 0x38]
call fcn.14003d730
lea rdx, [0x1401b2f78]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3
mov rcx, qword [rbx + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a31d
lea r8, [0x1401bd900]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
xor r8d, r8d
lea rdx, [0x1401bd900]
lea rcx, [rsp + 0x38]
call fcn.14003d730
lea rdx, [0x1401b2f78]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a361
lea r8, [0x1401be340]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov r8d, 0xc413
lea rdx, [0x1401be340]
lea rcx, [rsp + 0x38]
call fcn.14003d730
lea rdx, [0x1401b2f78]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3