Function at 0x14001b8a0
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 [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov r13, qword [rsp + 0xc0]
mov r12d, 1
mov dword [rsp + 0x28], r12d
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x20], rax
lea rdx, str.AgentSettings.FTPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.GnutellaPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.HTTPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.HTTPSPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.IMAPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.IRCPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.MSNPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.OSCARPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.POPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.SMTPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.XMPPPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.YPagerPorts
mov rcx, rbx
call fcn.14010d534
test eax, eax
je 0x14001bb1f
lea rdx, str.AgentSettings.Drives
mov rcx, rbx
call fcn.14010d534
test eax, eax
jne 0x14001bb11
lea rdx, str._array_name_
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, str.__type_DriveInfo__size_27__
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov dword [rsp + 0x2c], 0x5c3a43
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x20]
cmp rbx, 0x1b
jae 0x14001bbc6
lea rdx, str._struct_
call fcn.1400ca830
mov rax, qword [rdi]
mov r9d, dword [r13 + rbx*8]
lea r8, str.Capture
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x120]
mov r11, qword [rdi]
mov r9d, dword [r13 + rbx*8 + 4]
lea r8, [0x1401edec0]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r11 + 0x120]
mov eax, r12d
cmp rbx, 0x1a
jae 0x14001badc
movsx eax, bl
add eax, 0x41
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov r10, qword [rdi]
mov r9d, eax
lea r8, [0x1401edeb4]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [r10 + 0x120]
lea rdx, str.__struct_
lea rcx, [rsp + 0x20]
call fcn.1400ca830
inc rbx
jmp 0x14001ba63
xor ebx, ebx
mov r12d, ebx
mov dword [rsp + 0x28], ebx
jmp 0x14001bbd2
mov rsi, qword [rsp + 0xc8]
shr rsi, 2
mov r8, rsi
lea rdx, [0x1401eb2e0]
lea rcx, [rsp + 0x48]
call fcn.14010d754
lea rdx, str._array_name_
lea rcx, [rsp + 0x20]
call fcn.1400ca830
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, str.__type_DWORD__size_
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
lea rdx, [0x1401ede8c]
lea rcx, [rsp + 0x20]
call fcn.1400ca830
xor ebx, ebx
mov qword [rsp + 0x30], rbx
cmp rbx, rsi
jae 0x14001bbc1
mov r9d, dword [r13 + rbx*4]
test r9d, r9d
je 0x14001bbbc
mov rax, qword [rdi]
lea r8, [0x14024d112]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [rax + 0x120]
inc rbx
jmp 0x14001bb90
lea rcx, [rsp + 0x20]
lea rdx, str.__array_
call fcn.1400ca830
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.1400ca8a0
nop
jmp 0x14001bbe7
lea rcx, [rsp + 0x20]
call fcn.1400ca400
nop
lea rcx, [rsp + 0x38]
call fcn.1400ca400
mov eax, r12d
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret