Function at 0x140017910
Capabilities:
Get disk information

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov r12, r8
mov r13, rdx
mov rdi, rcx
mov r15, qword [rsp + 0xc0]
mov r14d, 1
mov dword [rsp + 0x2c], r14d
mov rax, qword [0x1400cdfc0]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1400cdfc0]
mov qword [rsp + 0x20], rax
lea rdx, str.AgentSettings.FTPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.GnutellaPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.HTTPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.HTTPSPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.IMAPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.IRCPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.MSNPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.OSCARPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.POPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.SMTPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.XMPPPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.YPagerPorts
mov rcx, rbx
call fcn.14002f08c
test eax, eax
je 0x140017b8a
lea rdx, str.AgentSettings.Drives
mov rcx, rbx
call fcn.14002f08c
test eax, eax
jne 0x140017b7c
lea rdx, str._array_name_
lea rcx, [rsp + 0x20]
call fcn.140054d20
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.140054d20
lea rdx, str.__type_DriveInfo__size_27__
lea rcx, [rsp + 0x20]
call fcn.140054d20
mov dword [rsp + 0x28], 0x5c3a43
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
cmp rbx, 0x1b
jae 0x140017c30
lea rdx, str._struct_
call fcn.140054d20
mov rax, qword [rdi]
mov r9d, dword [r15 + rbx*8]
lea r8, str.Capture
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x128]
mov rax, qword [rdi]
mov r9d, dword [r15 + rbx*8 + 4]
lea r8, [0x140083088]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x128]
mov eax, r14d
cmp rbx, 0x1a
jae 0x140017b47
lea eax, [rbx + 0x41]
mov byte [rsp + 0x28], al
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov r10, qword [rdi]
mov r9d, eax
lea r8, [0x140087088]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r10 + 0x128]
lea rdx, str.__struct_
lea rcx, [rsp + 0x20]
call fcn.140054d20
inc rbx
jmp 0x140017ad3
xor ebx, ebx
mov r14d, ebx
mov dword [rsp + 0x2c], ebx
jmp 0x140017c3c
mov rsi, qword [rsp + 0xc8]
shr rsi, 2
mov r8, rsi
lea rdx, [0x14008702c]
lea rcx, [rsp + 0x48]
call fcn.140015ee0
lea rdx, str._array_name_
lea rcx, [rsp + 0x20]
call fcn.140054d20
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.140054d20
lea rdx, str.__type_DWORD__size_
lea rcx, [rsp + 0x20]
call fcn.140054d20
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.140054d20
lea rdx, [0x140086004]
lea rcx, [rsp + 0x20]
call fcn.140054d20
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp rbx, rsi
jae 0x140017c2b
mov r9d, dword [r15 + rbx*4]
test r9d, r9d
je 0x140017c26
mov rax, qword [rdi]
lea r8, [0x1400b1988]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x128]
inc rbx
jmp 0x140017bfb
lea rcx, [rsp + 0x20]
lea rdx, str.__array_
call fcn.140054d20
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140054cc0
nop
jmp 0x140017c51
lea rcx, [rsp + 0x20]
call fcn.140054a40
nop
lea rcx, [rsp + 0x38]
call fcn.140054a40
mov eax, r14d
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140026f00
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret