Function at 0x180004aa0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rdi, rcx
lea rdx, str.WSAStartup
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
lea rsi, [0x1800048e4]
test rax, rax
jne 0x180004adf
mov qword [rdi + 0x40], rsi
lea rdx, str.WSACleanup
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x180004afd
mov qword [rdi + 0x48], rsi
mov ecx, 0x202
lea rdx, [rsp + 0x70]
call qword [rdi + 0x40]
test eax, eax
jne 0x180005295
movzx eax, word [rsp + 0x70]
cmp al, 1
jb 0x18000526f
jne 0x180004b2d
shr ax, 8
cmp al, 1
jb 0x18000526f
lea rdx, str.WSASetLastError
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x50], rax
test rax, rax
jne 0x180004b4b
mov qword [rdi + 0x50], rsi
lea rdx, str.WSAGetLastError
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x180004b69
mov qword [rdi + 0x58], rsi
lea rdx, str.WSAAsyncGetServByName
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x60], rax
test rax, rax
jne 0x180004b87
mov qword [rdi + 0x60], rsi
lea rdx, str.WSAAsyncGetServByPort
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x68], rax
test rax, rax
jne 0x180004ba5
mov qword [rdi + 0x68], rsi
lea rdx, str.WSAAsyncGetProtoByName
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x70], rax
test rax, rax
jne 0x180004bc3
mov qword [rdi + 0x70], rsi
lea rdx, str.WSAAsyncGetProtoByNumber
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x78], rax
test rax, rax
jne 0x180004be1
mov qword [rdi + 0x78], rsi
lea rdx, str.WSAAsyncGetHostByName
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x80], rax
test rax, rax
jne 0x180004c05
mov qword [rdi + 0x80], rsi
lea rdx, str.WSAAsyncGetHostByAddr
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x88], rax
test rax, rax
jne 0x180004c29
mov qword [rdi + 0x88], rsi
lea rdx, str.WSACancelAsyncRequest
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x90], rax
test rax, rax
jne 0x180004c4d
mov qword [rdi + 0x90], rsi
lea rdx, str.WSAAsyncSelect
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x98], rax
test rax, rax
jne 0x180004c71
mov qword [rdi + 0x98], rsi
lea rdx, str.accept
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa0], rax
test rax, rax
jne 0x180004c95
mov qword [rdi + 0xa0], rsi
lea rdx, str.bind
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa8], rax
test rax, rax
jne 0x180004cb9
mov qword [rdi + 0xa8], rsi
lea rdx, str.closesocket
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb0], rax
test rax, rax
jne 0x180004cdd
mov qword [rdi + 0xb0], rsi
lea rdx, str.connect
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb8], rax
test rax, rax
jne 0x180004d01
mov qword [rdi + 0xb8], rsi
lea rdx, str.ioctlsocket
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc0], rax
test rax, rax
jne 0x180004d25
mov qword [rdi + 0xc0], rsi
lea rdx, str.getpeername
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xc8], rax
test rax, rax
jne 0x180004d49
mov qword [rdi + 0xc8], rsi
lea rdx, str.getsockname
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xd0], rax
test rax, rax
jne 0x180004d6d
mov qword [rdi + 0xd0], rsi
lea rdx, str.getsockopt
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xd8], rax
test rax, rax
jne 0x180004d91
mov qword [rdi + 0xd8], rsi
lea rdx, str.htonl
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xe0], rax
test rax, rax
jne 0x180004db5
mov qword [rdi + 0xe0], rsi
lea rdx, str.htons
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xe8], rax
test rax, rax
jne 0x180004dd9
mov qword [rdi + 0xe8], rsi
lea rdx, str.inet_addr
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xf0], rax
test rax, rax
jne 0x180004dfd
mov qword [rdi + 0xf0], rsi
lea rdx, str.inet_ntoa
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xf8], rax
test rax, rax
jne 0x180004e21
mov qword [rdi + 0xf8], rsi
lea rdx, str.listen
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x100], rax
test rax, rax
jne 0x180004e45
mov qword [rdi + 0x100], rsi
lea rdx, str.ntohl
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x108], rax
test rax, rax
jne 0x180004e69
mov qword [rdi + 0x108], rsi
lea rdx, str.ntohs
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x110], rax
test rax, rax
jne 0x180004e8d
mov qword [rdi + 0x110], rsi
lea rdx, str.recv
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x118], rax
test rax, rax
jne 0x180004eb1
mov qword [rdi + 0x118], rsi
lea rdx, str.recvfrom
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x120], rax
test rax, rax
jne 0x180004ed5
mov qword [rdi + 0x120], rsi
lea rdx, str.select
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x128], rax
test rax, rax
jne 0x180004ef9
mov qword [rdi + 0x128], rsi
lea rdx, str.send
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x130], rax
test rax, rax
jne 0x180004f1d
mov qword [rdi + 0x130], rsi
lea rdx, str.sendto
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x138], rax
test rax, rax
jne 0x180004f41
mov qword [rdi + 0x138], rsi
lea rdx, str.setsockopt
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x140], rax
test rax, rax
jne 0x180004f65
mov qword [rdi + 0x140], rsi
lea rdx, str.shutdown
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x148], rax
test rax, rax
jne 0x180004f89
mov qword [rdi + 0x148], rsi
lea rdx, str.socket
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x150], rax
test rax, rax
jne 0x180004fad
mov qword [rdi + 0x150], rsi
lea rdx, str.gethostbyaddr
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x158], rax
test rax, rax
jne 0x180004fd1
mov qword [rdi + 0x158], rsi
lea rdx, str.gethostbyname
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x160], rax
test rax, rax
jne 0x180004ff5
mov qword [rdi + 0x160], rsi
lea rdx, str.gethostname
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x168], rax
test rax, rax
jne 0x180005019
mov qword [rdi + 0x168], rsi
lea rdx, str.getservbyport
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x170], rax
test rax, rax
jne 0x18000503d
mov qword [rdi + 0x170], rsi
lea rdx, str.getservbyname
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x178], rax
test rax, rax
jne 0x180005061
mov qword [rdi + 0x178], rsi
lea rdx, str.getprotobynumber
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x180], rax
test rax, rax
jne 0x180005085
mov qword [rdi + 0x180], rsi
lea rdx, str.getprotobyname
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x188], rax
test rax, rax
jne 0x1800050a9
mov qword [rdi + 0x188], rsi
lea rdx, str.WSCEnumProtocols
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x190], rax
test rax, rax
jne 0x1800050cd
mov qword [rdi + 0x190], rsi
lea rdx, str.WSCDeinstallProvider
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x198], rax
test rax, rax
jne 0x1800050f1
mov qword [rdi + 0x198], rsi
lea rdx, str.WSCInstallProvider
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1a0], rax
test rax, rax
jne 0x180005115
mov qword [rdi + 0x1a0], rsi
lea rdx, str.WSCGetProviderPath
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1a8], rax
test rax, rax
jne 0x180005139
mov qword [rdi + 0x1a8], rsi
lea rdx, str.WSCInstallNameSpace
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1b0], rax
test rax, rax
jne 0x18000515d
mov qword [rdi + 0x1b0], rsi
lea rdx, str.WSCUnInstallNameSpace
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1b8], rax
test rax, rax
jne 0x180005181
mov qword [rdi + 0x1b8], rsi
lea rdx, str.WSCEnableNSProvider
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1c0], rax
test rax, rax
jne 0x1800051a5
mov qword [rdi + 0x1c0], rsi
lea rdx, str.WSCWriteProviderOrder
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1c8], rax
test rax, rax
jne 0x18000525a
mov rbx, qword [0x18010ce90]
test rbx, rbx
jne 0x180005220
lea ecx, [rax + 0x10]
call fcn.18009d1b8
mov rbx, rax
mov qword [rsp + 0x228], rax
lea rdx, str.SPORDER.DLL
mov rcx, rax
call fcn.18000f16c
lea rax, vtable.SpOrderLib.0
mov qword [rbx], rax
mov rcx, qword [0x18010ce90]
cmp rbx, rcx
je 0x180005219
test rcx, rcx
je 0x180005219
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x18010ce90], rbx
lea rdx, str.WSCWriteProviderOrder
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x1c8], rax
jmp 0x180005249
cmp qword [rdi + 0x1c8], 0
jne 0x18000525a
mov qword [rdi + 0x1c8], rsi
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [rdi + 0x48]
lea rdx, str.Win32INet::WinSock::Startup__:_Required_version_not_found.
lea rcx, [rsp + 0x20]
call fcn.180007a30
lea rdx, [0x1800fe548]
lea rcx, [rsp + 0x20]
call fcn.18009edd8
int3
mov r8d, eax
lea rdx, str.Win32INet::WinSock::Startup__:
lea rcx, [rsp + 0x40]
call fcn.180006ca4
lea rdx, [0x1800fe528]
lea rcx, [rsp + 0x40]
call fcn.18009edd8
int3