Function at 0x180231ccd
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1c0
mov esi, ecx
xor ebx, ebx
mov dword [0x180604250], ebx
mov dword [0x180604254], ebx
mov byte [0x180604260], 0
lea rdi, [0x180604260]
lea rdx, str.WIN32
mov rcx, rdi
call fcn.18027ab74
lea rdx, str.WIN64
mov rcx, rdi
call fcn.18027ab74
lea rdx, str.OEF_NET_ALLOW_IPV6
mov rcx, rdi
call fcn.18027ab74
mov dword [0x180604250], ebx
mov dword [0x180604254], ebx
lea rcx, str.WS2_32.DLL
call fcn.1802a00fc
mov qword [0x180604d20], rax
mov edi, 0xffffffff
test rax, rax
je 0x180232299
lea rdx, [0x18058b91c]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604360], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.WSACleanup
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604368], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b932]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604390], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b939]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043e8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b940]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604400], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b947]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043e0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b950]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043d8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b955]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043d0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b95a]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604380], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b95f]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043b0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.shutdown
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043f0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b974]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043f8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b980]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604398], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.getsockopt
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043c0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b996]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d28], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b9a2]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d30], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.WSASetLastError
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d38], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b9c2]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043a8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.accept
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043c8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.listen
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604388], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.getpeername
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043b8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.getprotobyname
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d40], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b9f3]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d48], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058b9ff]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d50], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba0d]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d58], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba1b]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d60], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba29]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d68], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba33]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d70], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba3d]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d78], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba43]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604370], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba49]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d80], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba4f]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604378], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, [0x18058ba55]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604408], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.WSAStringToAddressA
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806043a0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180604d20]
lea rdx, str.WSAAddressToStringA
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d18], rax
test rax, rax
je 0x18023227d
mov dword [0x180604250], 1
test sil, 2
je 0x180232268
mov rcx, qword [0x180604d20]
lea rdx, str.getaddrinfo
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d88], rax
test rax, rax
je 0x180232268
mov rcx, qword [0x180604d20]
lea rdx, str.freeaddrinfo
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180604d90], rax
test rax, rax
je 0x180232268
mov dword [0x180604254], 1
lea rdx, [rsp + 0x28]
mov cx, 2
call qword [0x180604360]
neg eax
sbb edi, edi
jmp 0x180232299
mov rcx, qword [0x180604d20]
test rcx, rcx
je 0x180232299
call sub.KERNEL32.dll_FreeLibrary
mov qword [0x180604d20], 0
mov eax, edi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
ret