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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
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 rdi, rcx
cmp byte [rax + 0x31f], bpl
jne 0x140019c1a
cmp qword [rcx + 0x12d8], rbp
jne 0x140019c1a
mov rcx, qword [rcx + 0x12f8]
test rcx, rcx
je 0x140019bdc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x30]
mov qword [rdi + 0x12f8], rbp
mov qword [rsp + 0x28], rax
lea r8, [0x1400279e0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x12f8], rax
test rax, rax
je 0x140019c1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rdi + 0x748]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140019c31
call qword [sym.imp.WS2_32.dll_closesocket]
xor r8d, r8d
mov r14d, 2
mov ecx, r14d
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rdi + 0x12d8]
mov qword [rdi + 0x748], rax
test rcx, rcx
je 0x140019c6c
lea r8, [0x1401baf30]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp qword [rdi + 0x748], 0xffffffffffffffff
mov rcx, qword [rdi + 0x12d8]
je 0x140019ee9
mov qword [rsp + 0x98], rsi
test rcx, rcx
je 0x140019cad
lea r8, [0x1401bdb00]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x12d8]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rcx, [rdi + 0xa9]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [rsp + 0x5c], eax
cmp eax, 0xffffffff
jne 0x140019ce6
lea rcx, [rdi + 0xa9]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140019f26
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rdi + 0x12d8]
test rcx, rcx
je 0x140019d3f
lea r8, [0x1401bdf00]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x12d8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x12d8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov r8d, dword [rdi + 0xa0]
xor r9d, r9d
mov rcx, qword [rdi + 0x12d8]
mov edx, 0x3fb
call qword [sym.imp.USER32.dll_SetDlgItemInt]
movzx ecx, word [rdi + 0xa0]
mov word [rsp + 0x58], r14w
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rdi + 0xd690]
mov word [rsp + 0x5a], ax
test rcx, rcx
je 0x140019d89
mov edx, 0x1388
mov byte [0x1401ba684], bpl
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi + 0xd690]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0xd690], rbp
lea rax, [rsp + 0x34]
xor edx, edx
mov qword [rsp + 0x28], rax
lea r9, [rdi + 0x748]
lea r8, [0x140019b30]
mov dword [rsp + 0x20], ebp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rdi + 0x748]
lea rdx, [rsp + 0x58]
mov r8d, reloc.WS2_32.dll_recv
mov qword [rdi + 0xd690], rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140019e47
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r8, str.socket_error__i_n
xor edx, edx
mov r9d, eax
lea rcx, vtable.Log.0
mov ebx, eax
call fcn.1400155a0
cmp ebx, 6
jne 0x140019e03
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rdi + 0x12d8]
test rcx, rcx
je 0x140019e21
lea r8, [0x1401be340]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rdx, [0x1401be340]
cmp byte [rdi + 0xd68c], bpl
jne 0x140019f9c
jmp 0x140019f7a
mov eax, dword [rdi + 0xa0]
lea r9, [rdi + 0xa9]
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 [rdi + 0x12d8]
test rcx, rcx
je 0x140019ec3
lea r8, [0x1401bda40]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x12d8]
lea r8, [rdi + 0xa9]
mov edx, 0x3fc
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rdi + 0x12d8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x12d8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rsi, 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 rdi
pop rbp
ret
test rcx, rcx
je 0x140019f00
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 [rdi + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rdi + 0x12d8]
test rcx, rcx
je 0x140019f51
lea r8, [0x1401bd900]
mov edx, 0x40c
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov r8d, 0xc411
lea rdx, [0x1401bd900]
lea rcx, [rsp + 0x38]
call fcn.14003d730
lea rdx, [0x1401b2f78]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3
mov r8d, 0xc413
lea rcx, [rsp + 0x38]
call fcn.14003d730
lea rdx, [0x1401b2f78]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3
lea rcx, [rsp + 0x38]
call fcn.14003d690
lea rdx, [0x1401b3040]
lea rcx, [rsp + 0x38]
call fcn.140121974
int3