Function at 0x140027990
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
cmp qword [rcx + 0x7d0], 0
jne 0x140027aa5
cmp byte [0x140173b48], 0
jne 0x1400279ec
cmp byte [0x14017bbb1], 0
je 0x140027f3c
lea rbx, [0x140102478]
mov qword [rbp - 0x70], rbx
lea rsi, [0x1401025f8]
mov qword [rbp - 0x30], rsi
xor r9d, r9d
lea rdx, str.SetupEngine.cpp
lea rcx, [rbp - 0x70]
call fcn.140006ab0
nop
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x80], rsi
xor r9d, r9d
lea rdx, str.No_ARP_information_provided_in_setup.xml__skipping_register_unregister_ARP_info
lea rcx, [rsp + 0x40]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140027a5d
cmp byte [0x14017bbb1], 0
jne 0x140027a4f
call fcn.140099320
test al, al
je 0x140027a56
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x140027a91
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8d, 0x9e1
call fcn.140099810
nop
lea rcx, [rsp + 0x40]
call fcn.140004280
nop
lea rcx, [rbp - 0x70]
jmp 0x140027f37
lea rbx, [0x140102478]
lea rsi, [0x1401025f8]
lea r12, str.SetupEngine.cpp
movzx r8d, byte [0x140173b48]
test r8b, r8b
jne 0x140027ad8
movzx r9d, byte [0x14017bbb1]
test r9b, r9b
je 0x140027b8f
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x80], rsi
xor r9d, r9d
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140006ab0
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x30], rsi
xor r9d, r9d
lea rdx, str.Engine:_registering_unregistering_ARP_entry__will_use_maintenance_mode_detection_from_setup.xml
lea rcx, [rbp - 0x70]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140027b37
cmp byte [0x14017bbb1], 0
jne 0x140027b29
call fcn.140099320
test al, al
je 0x140027b30
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x140027b6b
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov r8d, 0x9e5
call fcn.140099810
nop
lea rcx, [rbp - 0x70]
call fcn.140004280
nop
lea rcx, [rsp + 0x40]
call fcn.140004280
movzx r8d, byte [0x140173b48]
movzx r9d, byte [0x14017bbb1]
mov rcx, qword [rdi + 0x5a0]
mov rax, qword [rcx + 0x70]
cmp rax, qword [rcx + 0x78]
je 0x140027e87
mov rcx, qword [rcx + 0x78]
nop dword [rax + rax]
mov rdx, qword [rax + 8]
cmp dword [rdx + 8], 1
je 0x140027bc8
add rax, 0x10
cmp rax, rcx
jne 0x140027bb0
jmp 0x140027e87
mov byte [rsp + 0x20], 0
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x140027be1
mov rax, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [rax + 0x38]
lea rsi, [0x140102478]
mov qword [rbp - 0x20], rsi
lea r15, [0x1401025f8]
mov qword [rbp + 0x20], r15
xor r8d, r8d
lea rdx, [rdi + 0x6c0]
lea rcx, [rbp - 0x20]
call fcn.140006eb0
nop
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rdi + 0x6c0]
call fcn.14003b6d0
nop
lea rcx, [rax + 8]
cmp qword [rcx + 0x18], 8
jb 0x140027c2d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
lea rcx, [rbp - 0x70]
call fcn.1400048d0
xor r14d, r14d
test bl, bl
je 0x140027d97
mov dword [rsp + 0x24], 0x208
mov qword [rsp + 0x40], rsi
mov qword [rbp - 0x80], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x78], eax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r14
mov word [rsp + 0x48], r14w
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov ecx, dword [rbp + rcx - 0x80]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov ecx, dword [rsp + 0x24]
call fcn.1400b321c
mov r15, rax
mov rbx, rax
mov qword [rsp + 0x28], rax
lea rsi, [rdi + 0x6c8]
cmp qword [rsi + 0x18], 8
jb 0x140027cce
mov rcx, qword [rsi]
jmp 0x140027cd1
mov rcx, rsi
lea r9, [rsp + 0x24]
mov r8, r15
mov edx, 1
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
cmp eax, 0xea
jne 0x140027d37
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
mov ecx, eax
call fcn.1400b321c
mov rbx, rax
mov qword [rsp + 0x28], rax
test r15, r15
je 0x140027d17
mov edx, 8
mov rcx, r15
call fcn.1400b3214
cmp qword [rsi + 0x18], 8
jb 0x140027d21
mov rsi, qword [rsi]
lea r9, [rsp + 0x24]
mov r8, rbx
mov edx, 1
mov rcx, rsi
call qword [sym.imp.MPR.dll_WNetGetUniversalNameW]
test eax, eax
jne 0x140027d7a
mov rax, qword [rbx]
lea rdx, [0x1400fc414]
mov rcx, rdx
test rax, rax
cmovne rcx, rax
test rcx, rcx
cmovne rdx, rcx
cmp word [rdx], 0
jne 0x140027d61
mov r8, r14
jmp 0x140027d70
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140027d65
lea rcx, [rbp - 0x18]
call fcn.140004400
nop
test rbx, rbx
je 0x140027d8d
mov edx, 8
mov rcx, rbx
call fcn.1400b3214
nop
lea rcx, [rsp + 0x40]
call fcn.1400048d0
mov rcx, qword [rdi + 0x7d0]
add rcx, 0x398
lea rax, [rbp - 0x18]
cmp rcx, rax
je 0x140027dbe
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x18]
call fcn.140004680
mov rax, qword [rdi]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rdi + 0x7d0]
test rax, rax
je 0x140027ddc
lea r14, [rax + 8]
add rcx, 0x28
cmp rcx, r14
je 0x140027df5
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r14
call fcn.140004680
nop
lea rcx, [rbp - 0x70]
call fcn.1400048d0
mov rcx, qword [rdi + 0x7d0]
movzx eax, word [rdi + 0x784]
mov dword [rcx + 0x528], eax
cmp byte [rdi + 0x7ab], 0
je 0x140027e29
mov rax, qword [rdi + 0x7d0]
or dword [rax + 0x530], 4
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x30], 0xa20
lea rax, str.registering
lea r8, str.unregistering
cmp byte [rsp + 0x20], 0
cmovne r8, rax
lea rdx, str.Engine:__s_ARP_entry
lea rcx, [rsp + 0x28]
call fcn.14000b8a0
mov rcx, qword [rdi + 0x7d0]
cmp byte [rsp + 0x20], 0
je 0x140027e73
call fcn.140080d30
jmp 0x140027e79
call fcn.1400818c0
nop
lea rcx, [rbp - 0x20]
call fcn.1400048d0
jmp 0x140027f3c
test r8b, r8b
jne 0x140027e95
test r9b, r9b
je 0x140027f3c
mov qword [rsp + 0x40], rbx
mov qword [rbp - 0x80], rsi
xor r9d, r9d
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.140006ab0
nop
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x30], rsi
xor r9d, r9d
lea rdx, str.No_maintenance_mode_detection_condition_in_setup.xml__skipping_register_unregister_ARP_info
lea rcx, [rbp - 0x70]
call fcn.140006ab0
nop
cmp byte [0x140173b48], 0
je 0x140027ef4
cmp byte [0x14017bbb1], 0
jne 0x140027ee6
call fcn.140099320
test al, al
je 0x140027eed
mov byte [0x14017bbb1], 1
mov byte [0x140173b48], 0
cmp byte [0x14017bbb1], 0
je 0x140027f28
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov r8d, 0x9fb
call fcn.140099810
nop
lea rcx, [rbp - 0x70]
call fcn.140004280
nop
lea rcx, [rsp + 0x40]
call fcn.140004280
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400b31f0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret