Function at 0x14006ff58
Capabilities:
Connect socket
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x248
mov rax, qword [0x1400dc020]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x21], 0
movsxd rax, dword [rsp + 0x268]
mov rcx, qword [rsp + 0x258]
lea rax, [rcx + rax*8 + 0x200]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rax], 0xffffffffffffffff
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x250]
call fcn.14006f8c4
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14006fff6
mov eax, dword [rsp + 0x24]
jmp 0x1400703b7
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x100]
mov edx, dword [rsp + 0x7c]
lea rcx, [rsp + 0x80]
call fcn.140070b58
movzx eax, al
test eax, eax
jne 0x14007007f
call fcn.140032640
mov r8d, 0x100
lea rdx, [rsp + 0x130]
mov ecx, dword [rax]
call fcn.1400a399c
mov qword [rsp + 0x58], rax
call fcn.140032640
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 + 0x250]
call fcn.14006f3b4
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.14006faf4
xor eax, eax
jmp 0x1400703b7
xor eax, eax
test eax, eax
jne 0x14007007f
cmp dword [rsp + 0x70], 2
jne 0x14007009d
cmp dword [rsp + 0x74], 1
jne 0x14007009d
mov dword [rsp + 0x40], 1
jmp 0x1400700a5
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jne 0x1400700b6
mov dword [rsp + 0x44], 0
jmp 0x1400700be
mov dword [rsp + 0x44], 1
mov al, byte [rsp + 0x44]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400700f4
mov rax, qword [rsp + 0x250]
movzx eax, byte [rax + 0xa7b]
test eax, eax
je 0x1400700f4
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
call fcn.1400704ac
xor eax, eax
test eax, eax
jne 0x1400700f4
mov rcx, qword [rsp + 0x30]
call fcn.1400703d8
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140070132
mov rax, qword [rsp + 0x250]
movzx eax, byte [rax + 0xa83]
test eax, eax
je 0x140070132
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
call fcn.140071548
mov rax, qword [rsp + 0x250]
cmp qword [rax + 0x280], 0
je 0x1400701c8
mov dl, 1
mov rcx, qword [rsp + 0x250]
call fcn.140068248
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x250]
mov rcx, qword [rax + 0x288]
mov rax, qword [rsp + 0x250]
call qword [rax + 0x280]
mov dword [rsp + 0x28], eax
xor edx, edx
mov rcx, qword [rsp + 0x250]
call fcn.140068248
cmp dword [rsp + 0x28], 2
jne 0x14007019d
mov byte [rsp + 0x21], 1
jmp 0x1400701c8
cmp dword [rsp + 0x28], 0
je 0x1400701c8
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.14006faf4
mov eax, 0x2a
jmp 0x1400703b7
cmp dword [rsp + 0x70], 2
jne 0x140070228
xor r9d, r9d
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x250]
call fcn.140070fa8
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140070228
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.14006faf4
cmp dword [rsp + 0x24], 1
jne 0x14007021f
mov eax, 7
jmp 0x1400703b7
mov eax, dword [rsp + 0x24]
jmp 0x1400703b7
mov edx, 1
mov rcx, qword [rsp + 0x30]
call fcn.1400a44b8
lea rcx, [rsp + 0x60]
call fcn.1400a3344
mov rcx, qword [rsp + 0x258]
movups xmm0, xmmword [rax]
movdqu xmmword [rcx + 0x3e8], xmm0
mov rax, qword [rsp + 0x258]
cmp dword [rax + 0x3e4], 1
jle 0x1400702bd
mov eax, 8
imul rax, rax, 0
mov r8d, 3
mov rcx, qword [rsp + 0x258]
mov rdx, qword [rcx + rax + 0x3f8]
mov rcx, qword [rsp + 0x250]
call fcn.14006cc88
mov eax, 8
imul rax, rax, 1
mov r8d, 4
mov rcx, qword [rsp + 0x258]
mov rdx, qword [rcx + rax + 0x3f8]
mov rcx, qword [rsp + 0x250]
call fcn.14006cc88
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14007031b
mov rax, qword [rsp + 0x258]
cmp dword [rax + 0x88], 4
je 0x14007031b
mov rax, qword [rsp + 0x258]
movzx eax, byte [rax + 0x3d9]
test eax, eax
je 0x1400702ec
jmp 0x140070308
mov r8d, dword [rsp + 0x7c]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_connect]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x140070319
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x28], eax
jmp 0x14007032f
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
jmp 0x1400703b7
cmp dword [rsp + 0x38], 0xffffffff
jne 0x14007039f
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0xb
je 0x14007035b
cmp dword [rsp + 0x3c], 0x2733
je 0x14007035b
cmp dword [rsp + 0x3c], 0x2734
je 0x14007035b
jmp 0x140070365
mov dword [rsp + 0x24], 0
jmp 0x14007039f
xor eax, eax
test eax, eax
jne 0x140070365
mov rax, qword [rsp + 0x250]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0xd34], ecx
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.14006faf4
mov dword [rsp + 0x24], 7
cmp dword [rsp + 0x24], 0
jne 0x1400703b3
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140026bb0
add rsp, 0x248
ret