Function at 0x1400d43c0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1c8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x21], 0
mov rax, qword [rsp + 0x1e0]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rax], 0xffffffffffffffff
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d3d50
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400d444f
xor eax, eax
jmp 0x1400d47fe
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x80]
call fcn.1400d4c70
movzx eax, al
test eax, eax
jne 0x1400d44c9
call fcn.14007bf48
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x130]
mov ecx, dword [rax]
call fcn.1401031b0
mov qword [rsp + 0x58], rax
call fcn.14007bf48
mov rcx, qword [rsp + 0x58]
mov r9, rcx
mov r8d, dword [rax]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov rcx, qword [rsp + 0x30]
call fcn.1400d3540
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d3f30
xor eax, eax
jmp 0x1400d47fe
lea r8, [rsp + 0x100]
lea rdx, str.__Trying__s..._n
mov rcx, qword [rsp + 0x30]
call fcn.1400d2f70
cmp dword [rsp + 0x70], 2
jne 0x1400d44fa
cmp dword [rsp + 0x74], 1
jne 0x1400d44fa
mov dword [rsp + 0x48], 1
jmp 0x1400d4502
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
jne 0x1400d4513
mov dword [rsp + 0x4c], 0
jmp 0x1400d451b
mov dword [rsp + 0x4c], 1
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400d4554
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xe74]
shr eax, 3
and eax, 1
test eax, eax
je 0x1400d4554
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d48f0
xor eax, eax
test eax, eax
jne 0x1400d4554
mov rcx, qword [rsp + 0x38]
call fcn.1400d4820
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400d4591
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xe74]
shr eax, 0xd
and eax, 1
test eax, eax
je 0x1400d4591
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.1400d5660
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x738], 0
je 0x1400d460c
mov dl, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400cbbf0
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x740]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x738]
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400cbbf0
cmp dword [rsp + 0x28], 2
jne 0x1400d45e9
mov byte [rsp + 0x21], 1
jmp 0x1400d460c
cmp dword [rsp + 0x28], 0
je 0x1400d460c
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d3f30
mov eax, Ordinal_45
jmp 0x1400d47fe
cmp dword [rsp + 0x70], 2
jne 0x1400d4671
lea rcx, [rsp + 0x80]
call fcn.140103540
mov r9d, eax
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d5030
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400d4671
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d3f30
cmp dword [rsp + 0x24], 1
jne 0x1400d4668
mov eax, 7
jmp 0x1400d47fe
mov eax, dword [rsp + 0x24]
jmp 0x1400d47fe
mov edx, 1
mov rcx, qword [rsp + 0x38]
call fcn.1401036f0
lea rcx, [rsp + 0x60]
call fcn.140101640
mov rcx, qword [rsp + 0x1e0]
lea rdi, [rcx + 0x3c8]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1e0]
cmp dword [rax + 0x3d8], 1
jle 0x1400d46d3
mov r8d, 3
mov rax, qword [rsp + 0x1e0]
mov rdx, qword [rax + 0x3e0]
mov rcx, qword [rsp + 0x30]
call fcn.1400d0570
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1400d4736
mov rax, qword [rsp + 0x1e0]
cmp dword [rax + 0xbc], 1
jne 0x1400d4736
mov rax, qword [rsp + 0x1e0]
mov eax, dword [rax + 0x3c4]
shr eax, 0x1b
and eax, 1
test eax, eax
je 0x1400d4707
jmp 0x1400d4723
mov r8d, dword [rsp + 0x7c]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xffffffff
jne 0x1400d4734
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
jmp 0x1400d474d
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
xor eax, eax
jmp 0x1400d47fe
cmp dword [rsp + 0x40], 0xffffffff
jne 0x1400d47e3
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0xb
je 0x1400d477d
cmp dword [rsp + 0x44], 0x2732
jle 0x1400d4787
cmp dword [rsp + 0x44], 0x2734
jle 0x1400d477d
jmp 0x1400d4787
mov dword [rsp + 0x24], 0
jmp 0x1400d47e3
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x130]
mov ecx, dword [rsp + 0x28]
call fcn.1401031b0
mov r9, rax
lea r8, [rsp + 0x100]
lea rdx, str.Immediate_connect_fail_for__s:__s_n
mov rcx, qword [rsp + 0x30]
call fcn.1400d2f70
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x10e8], ecx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x1e0]
call fcn.1400d3f30
mov dword [rsp + 0x24], 7
cmp dword [rsp + 0x24], 0
jne 0x1400d47fa
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140051d60
add rsp, 0x1c8
pop rdi
pop rsi
ret