Function at 0x405780
Capabilities:
Enumerate device drivers on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push str.Start_collect_OS_Info_n
call fcn.00405140
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_net_config_Workstation
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0x10
mov esi, dword [ebp + 8]
test edi, edi
je 0x4057e9
push str.net_config_Workstation
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_systeminfo
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x40583d
push str.systeminfo
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_hostname
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405891
push str.hostname
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_net_users
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x4058e5
push str.net_users
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_ipconfig__all
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405939
push str.ipconfig__all
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_route_print
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x40598d
push str.route_print
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_arp__A
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x4059e1
push str.arp__A
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_netstat__ano
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405a35
push str.netstat__ano
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_netsh_firewall_show_state
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405a89
push str.netsh_firewall_show_state
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_netsh_firewall_show_config
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405add
push str.netsh_firewall_show_config
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_schtasks__query__fo_LIST__v
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405b31
push str.schtasks__query__fo_LIST__v
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_tasklist__SVC
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405b85
push str.tasklist__SVC
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_net_start
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405bd9
push str.net_start
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
push 0xea60
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push str.cmd.exe__c_DRIVERQUERY
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call fcn.004056c0
mov edi, dword [ebp - 0xc]
add esp, 0xc
test edi, edi
je 0x405c2d
push str.DRIVERQUERY
push str.Command:__s_n
call fcn.00405140
push dword [ebp - 8]
push edi
push esi
call fcn.004050c0
push edi
call fcn.004053a0
add esp, 0x18
pop edi
pop esi
mov esp, ebp
pop ebp
ret