Function at 0x140019d70
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 [0x1401b5030]
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 0x140019dfa
cmp qword [rcx + 0x12d8], rbp
jne 0x140019dfa
mov rcx, qword [rcx + 0x12f8]
test rcx, rcx
je 0x140019dbc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x12f8], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x1400275d0]
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 0x140019dfa
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 0x140019e35
lea r8, [0x1402bb6d0]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp qword [rbx + 0x748], 0xffffffffffffffff
mov rcx, qword [rbx + 0x12d8]
je 0x14001a065
mov qword [rsp + 0x98], rdi
test rcx, rcx
je 0x140019e7b
lea r8, [0x1402be550]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x140019e7b
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 0x140019eb4
lea rcx, [rbx + 0x1a3]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x14001a0a2
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 0x140019f1c
lea r8, [0x1402be950]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x140019f1c
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x140019f1c
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x140019f1c
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 0x140019f66
mov edx, 0x1388
mov byte [0x1402babec], 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, [0x1400198e0]
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 0x14001a0f3
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.1400153f0
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a03f
lea r8, [0x1402be490]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a03f
lea r8, [rbx + 0x1a3]
mov edx, 0x3fc
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a03f
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a03f
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r14
pop rsi
pop rbp
ret
test rcx, rcx
je 0x14001a07c
lea r8, [0x1402bf0d0]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
xor r8d, r8d
lea rdx, [0x1402bf0d0]
lea rcx, [rsp + 0x38]
call fcn.14003d4c0
lea rdx, [0x1401b14d8]
lea rcx, [rsp + 0x38]
call fcn.1401202c4
int3
mov rcx, qword [rbx + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a0cd
lea r8, [0x1402be350]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
xor r8d, r8d
lea rdx, [0x1402be350]
lea rcx, [rsp + 0x38]
call fcn.14003d4c0
lea rdx, [0x1401b14d8]
lea rcx, [rsp + 0x38]
call fcn.1401202c4
int3
mov rcx, qword [rbx + 0x12d8]
test rcx, rcx
je 0x14001a111
lea r8, [0x1402bedd0]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov r8d, 0xc413
lea rdx, [0x1402bedd0]
lea rcx, [rsp + 0x38]
call fcn.14003d4c0
lea rdx, [0x1401b14d8]
lea rcx, [rsp + 0x38]
call fcn.1401202c4
int3