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 [0x180600430], ebx
mov dword [0x180600434], ebx
mov byte [0x180600440], 0
lea rdi, [0x180600440]
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 [0x180600430], ebx
mov dword [0x180600434], ebx
lea rcx, str.WS2_32.DLL
call fcn.1802a00fc
mov qword [0x180600f00], rax
mov edi, 0xffffffff
test rax, rax
je 0x180232299
lea rdx, [0x180588c8c]
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600540], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.WSACleanup
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600548], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588ca2]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600570], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588ca9]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005c8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cb0]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005e0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cb7]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005c0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cc0]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005b8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cc5]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005b0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cca]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600560], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588ccf]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600590], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.shutdown
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005d0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588ce4]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005d8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588cf0]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600578], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.getsockopt
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005a0], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d06]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f08], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d12]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f10], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.WSASetLastError
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f18], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d32]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600588], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.accept
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005a8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.listen
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600568], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.getpeername
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600598], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.getprotobyname
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f20], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d63]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f28], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d6f]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f30], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d7d]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f38], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d8b]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f40], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588d99]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f48], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588da3]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f50], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588dad]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f58], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588db3]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600550], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588db9]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f60], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588dbf]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600558], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, [0x180588dc5]
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x1806005e8], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.WSAStringToAddressA
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600580], rax
test rax, rax
je 0x18023227d
mov rcx, qword [0x180600f00]
lea rdx, str.WSAAddressToStringA
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600ef8], rax
test rax, rax
je 0x18023227d
mov dword [0x180600430], 1
test sil, 2
je 0x180232268
mov rcx, qword [0x180600f00]
lea rdx, str.getaddrinfo
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f68], rax
test rax, rax
je 0x180232268
mov rcx, qword [0x180600f00]
lea rdx, str.freeaddrinfo
call sub.KERNEL32.dll_GetProcAddress
mov qword [0x180600f70], rax
test rax, rax
je 0x180232268
mov dword [0x180600434], 1
lea rdx, [rsp + 0x28]
mov cx, 2
call qword [0x180600540]
neg eax
sbb edi, edi
jmp 0x180232299
mov rcx, qword [0x180600f00]
test rcx, rcx
je 0x180232299
call sub.KERNEL32.dll_FreeLibrary
mov qword [0x180600f00], 0
mov eax, edi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
ret