Function at 0x180034130
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1800a47d0]
lea rdx, str.ws2_32.dll
lea rcx, [0x1800a47d0]
call qword [rax + htons]
xor ebx, ebx
test eax, eax
je 0x180034709
mov rcx, qword [0x1800a47d8]
lea rdx, str.inet_ntop
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1800a47d8]
lea rdx, str.gethostbyname
mov qword [0x1800a4340], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x18003419b
mov ecx, ebx
jmp 0x1800341b5
lea rdx, [0x1800347d0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4298], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSAAsyncGetHostByName
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800341de
mov rcx, rbx
jmp 0x1800341f8
lea rdx, [0x180034810]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42a0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.getaddrinfo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034221
mov rcx, rbx
jmp 0x18003423b
lea rdx, [0x180034850]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42a8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.GetAddrInfoW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034264
mov rcx, rbx
jmp 0x18003427e
lea rdx, [0x180034890]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42b0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.GetAddrInfoExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800342a7
mov rcx, rbx
jmp 0x1800342c1
lea rdx, [0x1800348d0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42b8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.GetAddrInfoExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800342ea
mov rcx, rbx
jmp 0x180034304
lea rdx, [0x180034960]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42c0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.connect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x18003432d
mov rcx, rbx
jmp 0x180034347
lea rdx, [0x1800349f0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42c8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSAConnect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034370
mov rcx, rbx
jmp 0x18003438a
lea rdx, [0x180034a30]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42d0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSAAsyncSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800343b3
mov rcx, rbx
jmp 0x1800343cd
lea rdx, [0x180034a90]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42d8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSAEventSelect
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800343f6
mov rcx, rbx
jmp 0x180034410
lea rdx, [0x180034ad0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42e0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.select
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034439
mov rcx, rbx
jmp 0x180034453
lea rdx, [0x180034b10]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42e8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.closesocket
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x18003447c
mov rcx, rbx
jmp 0x180034496
lea rdx, [0x180034b50]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4318], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSAIoctl
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800344bf
mov rcx, rbx
jmp 0x1800344d9
lea rdx, [0x180034b90]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42f0], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.sendto
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034502
mov rcx, rbx
jmp 0x18003451c
lea rdx, [0x180034cd0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a42f8], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSASendTo
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034545
mov rcx, rbx
jmp 0x18003455f
lea rdx, [0x180034d20]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4300], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.recvfrom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034588
mov rcx, rbx
jmp 0x1800345a2
lea rdx, [0x180034da0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4308], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSARecvFrom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800345cb
mov rcx, rbx
jmp 0x1800345e5
lea rdx, [0x180034df0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4310], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.recv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x18003460e
mov rcx, rbx
jmp 0x180034628
lea rdx, [0x180034e70]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4320], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSARecv
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034651
mov rcx, rbx
jmp 0x18003466b
lea rdx, [0x180034eb0]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4328], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.send
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x180034694
mov rcx, rbx
jmp 0x1800346ae
lea rdx, [0x180034f10]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4330], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.WSASend
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x1800346d7
mov rcx, rbx
jmp 0x1800346f1
lea rdx, [0x180034f50]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov rax, qword [0x1800a47d0]
mov qword [0x1800a4338], rcx
lea rcx, [0x1800a47d0]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1800a47d0]
lea rdx, str.wsock32.dll
lea rcx, [0x1800a47d0]
call qword [rax + htons]
test eax, eax
je 0x1800347b8
mov rcx, qword [0x1800a47d8]
lea rdx, str.sendto
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
jne 0x18003474b
mov rcx, rbx
jmp 0x180034765
lea rdx, [0x180035010]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
mov rcx, rbx
test eax, eax
cmovne rcx, qword [rbp + 0x10]
mov qword [0x1800a4350], rcx
mov rcx, qword [0x1800a47d8]
lea rdx, str.recvfrom
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x1800347a0
lea rdx, [0x180035060]
lea rcx, [rbp + 0x10]
call fcn.18002f3d0
test eax, eax
cmovne rbx, qword [rbp + 0x10]
mov rax, qword [0x1800a47d0]
lea rcx, [0x1800a47d0]
mov qword [0x1800a4358], rbx
call qword [rax + reloc.WS2_32.dll_recv]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret