Function at 0x140068b30
Capabilities:
Connect socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x140148de8]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x21], 0
movsxd rax, dword [rsp + 0x288]
mov rcx, qword [rsp + 0x278]
lea rax, [rcx + rax*8 + 0x1e0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0xffffffffffffffff
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
call fcn.140068520
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140068bd3
mov eax, dword [rsp + 0x24]
jmp 0x140068ff5
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x110]
mov edx, dword [rsp + 0x8c]
lea rcx, [rsp + 0x90]
call fcn.140067cc0
movzx eax, al
test eax, eax
jne 0x140068c5f
call fcn.1400bd570
mov r8d, 0x100
lea rdx, [rsp + 0x140]
mov ecx, dword [rax]
call fcn.140096020
mov qword [rsp + 0x58], rax
call fcn.1400bd570
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 + 0x270]
call fcn.1400659d0
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140068440
xor eax, eax
jmp 0x140068ff5
cmp dword [rsp + 0x80], 0x17
jne 0x140068c77
lea rax, str.__Trying___s_:_d...
mov qword [rsp + 0x60], rax
jmp 0x140068c83
lea rax, str.__Trying__s:_d...
mov qword [rsp + 0x60], rax
xor eax, eax
test eax, eax
jne 0x140068c83
cmp dword [rsp + 0x80], 2
je 0x140068c9d
cmp dword [rsp + 0x80], 0x17
jne 0x140068cb1
cmp dword [rsp + 0x84], 1
jne 0x140068cb1
mov dword [rsp + 0x40], 1
jmp 0x140068cb9
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jne 0x140068cca
mov dword [rsp + 0x44], 0
jmp 0x140068cd2
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140068d09
mov rax, qword [rsp + 0x270]
movzx eax, byte [rax + 0xa7c]
test eax, eax
je 0x140068d09
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.140069cd0
xor eax, eax
test eax, eax
jne 0x140068d09
mov rcx, qword [rsp + 0x30]
call fcn.140067f10
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140068d47
mov rax, qword [rsp + 0x270]
movzx eax, byte [rax + 0xa83]
test eax, eax
je 0x140068d47
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.1400689e0
mov rax, qword [rsp + 0x270]
cmp qword [rax + 0x280], 0
je 0x140068ddd
mov dl, 1
mov rcx, qword [rsp + 0x270]
call fcn.14004d5b0
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x270]
mov rcx, qword [rax + 0x288]
mov rax, qword [rsp + 0x270]
call qword [rax + 0x280]
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, qword [rsp + 0x270]
call fcn.14004d5b0
cmp dword [rsp + 0x28], 2
jne 0x140068db2
mov byte [rsp + 0x21], 1
jmp 0x140068ddd
cmp dword [rsp + 0x28], 0
je 0x140068ddd
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140068440
mov eax, 0x2a
jmp 0x140068ff5
cmp dword [rsp + 0x80], 2
je 0x140068df1
cmp dword [rsp + 0x80], 0x17
jne 0x140068e5a
lea rcx, [rsp + 0x90]
call fcn.140099150
mov r9d, eax
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x270]
call fcn.140069020
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140068e5a
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140068440
cmp dword [rsp + 0x24], 1
jne 0x140068e51
mov eax, 7
jmp 0x140068ff5
mov eax, dword [rsp + 0x24]
jmp 0x140068ff5
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.140099390
lea rcx, [rsp + 0x68]
call fcn.140073e50
mov rcx, qword [rsp + 0x278]
lea rdi, [rcx + 0x3c0]
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x278]
cmp dword [rax + 0x700], 1
jle 0x140068ef5
mov eax, 8
imul rax, rax, 0
mov r8d, 3
mov rcx, qword [rsp + 0x278]
mov rdx, qword [rcx + rax + 0x3d0]
mov rcx, qword [rsp + 0x270]
call fcn.14004cdd0
mov eax, 8
imul rax, rax, 1
mov r8d, 4
mov rcx, qword [rsp + 0x278]
mov rdx, qword [rcx + rax + 0x3d0]
mov rcx, qword [rsp + 0x270]
call fcn.14004cdd0
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140068f59
mov rax, qword [rsp + 0x278]
movzx eax, byte [rax + 0x719]
cmp eax, 4
je 0x140068f59
mov rax, qword [rsp + 0x278]
movzx eax, byte [rax + 0x3b9]
test eax, eax
je 0x140068f27
jmp 0x140068f46
mov r8d, dword [rsp + 0x8c]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x140068f57
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
jmp 0x140068f6d
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
jmp 0x140068ff5
cmp dword [rsp + 0x38], 0xffffffff
jne 0x140068fdd
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0xb
je 0x140068f99
cmp dword [rsp + 0x3c], 0x2733
je 0x140068f99
cmp dword [rsp + 0x3c], 0x2734
je 0x140068f99
jmp 0x140068fa3
mov dword [rsp + 0x24], 0
jmp 0x140068fdd
xor eax, eax
test eax, eax
jne 0x140068fa3
mov rax, qword [rsp + 0x270]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0xd2c], ecx
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.140068440
mov dword [rsp + 0x24], 7
cmp dword [rsp + 0x24], 0
jne 0x140068ff1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ad4d0
add rsp, 0x258
pop rdi
pop rsi
ret