Function at 0x1400c70b0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1f0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rdi, [rcx + 8]
mov qword [rsp + 0x28], rdi
lea rcx, [rdi + 0x10]
xor edx, edx
call fcn.1400a3e30
nop
lea rcx, [rdi + 0x38]
xor edx, edx
call fcn.1400a3e30
nop
lea rcx, [rdi + 0x60]
xor edx, edx
call fcn.1400a3e30
nop
lea rcx, [rdi + 0x88]
xor edx, edx
call fcn.1400a3e30
nop
xor ebp, ebp
cmp qword [0x1402c2480], rbp
jne 0x1400c7312
lea rcx, str.wsock32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400c7312
mov qword [0x1402c2480], rbp
mov qword [0x1402c2478], rbp
mov qword [0x1402c2470], rbp
mov qword [0x1402c2468], rbp
mov qword [0x1402c2460], rbp
mov qword [0x1402c2458], rbp
mov qword [0x1402c2450], rbp
mov qword [0x1402c2448], rbp
mov qword [0x1402c2440], rbp
mov qword [0x1402c2438], rbp
mov qword [0x1402c2430], rbp
mov qword [0x1402c2428], rbp
mov qword [0x1402c2420], rbp
mov qword [0x1402c2418], rbp
mov qword [0x1402c2410], rbp
lea rdx, str.closesocket
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2480], rax
lea rdx, str.connect
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2478], rax
lea rdx, str.gethostbyname
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2470], rax
lea rdx, str.gethostname
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2468], rax
lea rdx, str.htons
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2460], rax
lea rdx, str.inet_addr
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2458], rax
lea rdx, str.inet_ntoa
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2450], rax
lea rdx, str.recv
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2448], rax
lea rdx, str.recvfrom
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2440], rax
lea rdx, str.select
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2438], rax
lea rdx, str.send
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2430], rax
lea rdx, str.sendto
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2428], rax
lea rdx, str.socket
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2420], rax
lea rdx, str.WSACleanup
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2418], rax
lea rdx, str.WSAStartup
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402c2410], rax
jmp 0x1400c7319
mov rax, qword [0x1402c2410]
test rax, rax
je 0x1400c732a
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call rax
mov qword [rbx + 0x3518], rbp
mov qword [rbx + 0x3520], rbp
mov dword [rbx + 0xb8], 3
mov dword [rbx + 0xbc], 3
mov rcx, rbx
call fcn.1400c6690
xor r11d, r11d
mov qword [rdi], r11
mov dword [rdi + 8], r11d
lea rcx, [rbx + 0x18]
lea edx, [r11 + 1]
call fcn.1400a4230
lea rcx, [rbx + 0x40]
mov edx, 1
call fcn.1400a4230
lea rcx, [rbx + 0x68]
mov edx, 1
call fcn.1400a4230
lea rcx, [rbx + 0x90]
mov edx, 1
call fcn.1400a4230
mov rcx, rbx
call fcn.1400c6810
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret