Function at 0x18005bad0
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.WS2_32.dll
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bc19
lea rdx, str.WSAIoctl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WSASocketA
mov rcx, rbx
mov qword [0x1801dede0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.closesocket
mov rcx, rbx
mov qword [0x1801dede8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.getpeername
mov rcx, rbx
mov qword [0x1801dedf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.htonl
mov rcx, rbx
mov qword [0x1801dedf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.inet_addr
mov rcx, rbx
mov qword [0x1801dee00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.inet_ntoa
mov rcx, rbx
mov qword [0x1801dee08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ntohs
mov rcx, rbx
mov qword [0x1801dee10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gethostbyname
mov rcx, rbx
mov qword [0x1801dee18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.gethostname
mov rcx, rbx
mov qword [0x1801dee20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WSAStartup
mov rcx, rbx
mov qword [0x1801dee28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WSACleanup
mov rcx, rbx
mov qword [0x1801dee30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.getsockname
mov rcx, rbx
mov qword [0x1801dee38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801dee40], rax
lea rcx, str.psapi.dll
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bc72
lea rdx, str.EnumProcessModules
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetModuleFileNameExA
mov rcx, rbx
mov qword [0x1801dee48], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetProcessImageFileNameA
mov rcx, rbx
mov qword [0x1801dee50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801dee58], rax
lea rcx, str.winspool.drv
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bccb
lea rdx, str.ClosePrinter
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetJobW
mov rcx, rbx
mov qword [0x1801dee60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetPrinterA
mov rcx, rbx
mov qword [0x1801dee68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801dee70], rax
lea rcx, [0x180152e40]
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bd6d
lea rdx, str.CoCreateInstance
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoInitializeEx
mov rcx, rbx
mov qword [0x1801dee78], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoInitialize
mov rcx, rbx
mov qword [0x1801dee80], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoUninitialize
mov rcx, rbx
mov qword [0x1801dee88], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ReleaseStgMedium
mov rcx, rbx
mov qword [0x1801dee90], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CoTaskMemFree
mov rcx, rbx
mov qword [0x1801dee98], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801deea0], rax
lea rcx, str.shell32.dll
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bdf4
lea rdx, str.DragFinish
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.DragQueryFileA
mov rcx, rbx
mov qword [0x1801deea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SHGetMalloc
mov rcx, rbx
mov qword [0x1801deeb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SHGetPathFromIDListA
mov rcx, rbx
mov qword [0x1801deeb8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rbx
mov qword [0x1801deec0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801deec8], rax
lea rcx, str.setupapi.dll
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005be96
lea rdx, str.CM_Get_Device_IDA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CM_Get_Parent
mov rcx, rbx
mov qword [0x1801deed0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetupDiDestroyDeviceInfoList
mov rcx, rbx
mov qword [0x1801deed8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetupDiEnumDeviceInterfaces
mov rcx, rbx
mov qword [0x1801deee0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetupDiGetClassDevsA
mov rcx, rbx
mov qword [0x1801deee8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.SetupDiGetDeviceInterfaceDetailA
mov rcx, rbx
mov qword [0x1801deef0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801deef8], rax
lea rcx, str.rpcrt4.dll
call fcn.18005baa0
test rax, rax
je 0x18005bebe
lea rdx, str.UuidFromStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def00], rax
lea rcx, str.Wtsapi32.dll
call fcn.18005baa0
mov rbx, rax
test rax, rax
je 0x18005bf00
lea rdx, str.WTSQuerySessionInformationA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSFreeMemory
mov rcx, rbx
mov qword [0x1801def10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def18], rax
lea rcx, str.comctl32.dll
call fcn.18005baa0
test rax, rax
je 0x18005bf28
lea rdx, str.InitCommonControls
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def20], rax
lea rcx, str.shlwapi.dll
call fcn.18005baa0
test rax, rax
je 0x18005bf50
lea rdx, str.PathFindFileNameA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def28], rax
lea rcx, str.setupapi.dll
call fcn.18005baa0
test rax, rax
je 0x18005bf78
lea rdx, str.SetupDiGetDeviceRegistryPropertyA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def30], rax
lea rcx, str.wininet.dll
call fcn.18005baa0
test rax, rax
je 0x18005bfa0
lea rdx, str.InternetSetOptionA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1801def38], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret