Function at 0x1400828e0
Capabilities:
Connect socket

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x140150068]
xor rax, rsp
mov qword [rbp + 0x100], rax
movsxd r12, r9d
mov rax, r8
mov r13, rdx
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x40]
mov r14, rcx
xor esi, esi
or qword [rdx + r12*8 + 0x170], 0xffffffffffffffff
mov rdx, rax
call fcn.1400820cc
mov ebx, eax
test eax, eax
jne 0x140082b7e
mov edx, dword [rsp + 0x4c]
lea r9, [rsp + 0x24]
lea r8, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14008149c
mov r15, qword [rsp + 0x28]
test al, al
jne 0x14008299a
call fcn.1400ad258
mov ebx, dword [rax]
call fcn.1400ad258
mov r8d, 0x100
lea rdx, [rbp]
mov ecx, ebx
mov rdi, rax
call fcn.140093854
mov r8d, dword [rdi]
lea rdx, str.sa_addr_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, r14
call fcn.140080af0
jmp 0x140082a32
cmp dword [rsp + 0x40], 2
je 0x1400829a8
cmp dword [rsp + 0x40], 0x17
jne 0x1400829c8
cmp dword [rsp + 0x44], 1
jne 0x1400829c8
mov dil, 1
cmp byte [r14 + 0x984], sil
je 0x1400829cb
mov rdx, r15
mov rcx, r14
call fcn.140082c88
jmp 0x1400829cb
mov dil, sil
mov rcx, r15
call fcn.140082010
test dil, dil
je 0x1400829ec
cmp byte [r14 + 0x98b], sil
je 0x1400829ec
mov rdx, r15
mov rcx, r14
call fcn.140082ba4
cmp qword [r14 + 0x270], rsi
je 0x140082a47
mov dl, 1
mov rcx, r14
call fcn.1400772b0
mov rcx, qword [r14 + 0x278]
xor r8d, r8d
mov rdx, r15
call qword [r14 + 0x270]
xor edx, edx
mov rcx, r14
mov edi, eax
call fcn.1400772b0
cmp edi, 2
jne 0x140082a29
mov dil, 1
jmp 0x140082a4a
test edi, edi
je 0x140082a47
mov esi, 0x2a
mov r8, r15
mov rdx, r13
mov rcx, r14
call fcn.14008154c
mov eax, esi
jmp 0x140082b7e
mov dil, sil
cmp dword [rsp + 0x40], 2
je 0x140082a58
cmp dword [rsp + 0x40], 0x17
jne 0x140082a9b
lea rcx, [rsp + 0x50]
call fcn.140094c88
mov r8d, dword [rsp + 0x40]
mov r9d, eax
mov rdx, r15
mov rcx, r14
call fcn.140082408
mov ebx, eax
test eax, eax
je 0x140082a9b
mov r8, r15
mov rdx, r13
mov rcx, r14
call fcn.14008154c
cmp ebx, 1
mov eax, 7
cmove ebx, eax
mov eax, ebx
jmp 0x140082b7e
mov edx, 1
mov rcx, r15
call fcn.140094d0c
lea rcx, [rsp + 0x28]
call fcn.140085b10
cmp dword [r13 + 0x5e8], 1
movups xmm0, xmmword [rax]
movdqu xmmword [r13 + 0x2a8], xmm0
jle 0x140082af2
mov rdx, qword [r13 + 0x2b8]
mov r8d, 3
mov rcx, r14
call fcn.140076db4
mov rdx, qword [r13 + 0x2c0]
mov r8d, 4
mov rcx, r14
call fcn.140076db4
test dil, dil
jne 0x140082b74
cmp byte [r13 + 0x601], 4
je 0x140082b74
cmp byte [r13 + 0x2a0], sil
jne 0x140082b2c
mov r8d, dword [rsp + 0x4c]
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140082b2c
test ebx, ebx
jne 0x140082a94
jmp 0x140082b67
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
sub edx, 0xb
je 0x140082b65
sub edx, 0x2728
je 0x140082b65
cmp edx, 1
je 0x140082b65
mov r8, r15
mov dword [r14 + 0xc1c], eax
mov rdx, r13
mov rcx, r14
call fcn.14008154c
mov ebx, 7
jmp 0x140082a94
mov ebx, esi
mov qword [r13 + r12*8 + 0x170], r15
jmp 0x140082a94
mov qword [r13 + r12*8 + 0x170], r15
xor eax, eax
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14009caf0
add rsp, 0x218
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret