Function at 0x140047240
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x340], rbx
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, r9
mov rsi, r8
mov rdi, rdx
mov qword [rsp + 0x70], r9
mov r12, qword [rbp + 0x260]
mov qword [rsp + 0x78], r12
mov r15, qword [rbp + 0x268]
mov r13, qword [rbp + 0x270]
mov qword [rbp - 0x80], r13
xor bl, bl
xor eax, eax
mov qword [rbp - 0x28], rax
lea rax, [0x14009fc30]
mov qword [rbp - 0x30], rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400472d1
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov byte [rbp - 0x28], 1
mov r8, rsi
mov rdx, rdi
call fcn.140046c20
xor edi, edi
test al, al
je 0x140047af7
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], di
xor r8d, r8d
lea rdx, [0x140077e2c]
lea rcx, [rbp - 0x50]
call fcn.14000fab0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140047340
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x50]
call fcn.14000fab0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov r9d, 2
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140010290
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x140047398
inc r8
mov rdx, qword [rbp - 0x50]
call fcn.1400107d0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x78], edi
mov rcx, qword [0x14009c8b8]
test rcx, rcx
je 0x140047ac4
mov ebx, 3
lea esi, [rbx + 0x13]
nop word [rax + rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], rdx
lea r9, [0x14009c8b0]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp - 0x78], 0
je 0x140047ac4
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
xor r8d, r8d
lea rdx, [0x140077e2c]
lea rcx, [rbp - 0x70]
call fcn.14000fab0
nop
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rcx, qword [0x14009c8b0]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.Name
call qword [rax + 0x20]
mov rdx, qword [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140047460
lea rcx, [rbp - 0x70]
call fcn.14000fab0
cmp qword [r14 + 0x18], 8
jb 0x140047480
mov r8, qword [r14]
jmp 0x140047483
mov r8, r14
cmp qword [r14 + 0x10], 0xd
jne 0x140047625
mov edx, 0xd
lea rax, str.Physical_Disk
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400474b6
add rcx, 2
sub rdx, 1
jne 0x1400474a0
jmp 0x1400474bf
test dil, dil
je 0x140047625
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r8, qword [rbp - 0x70]
cmp qword [rbp - 0x60], 6
jne 0x140047625
mov edx, 6
lea rax, str._Total
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140047506
add rcx, 2
sub rdx, 1
jne 0x1400474f0
jmp 0x14004750f
test dil, dil
je 0x140047625
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r10, qword [0x14009c8b0]
mov r11, qword [r10]
mov rcx, r12
call fcn.14000eb40
mov rdx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, r10
call qword [r11 + 0x20]
mov rax, qword [rsp + 0x58]
mov ecx, 8
cmp cx, ax
jne 0x140047599
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140047573
lea rcx, [rsp + 0x30]
call fcn.14000fab0
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047602
cmp bx, ax
jne 0x1400475bb
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bd40
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047602
cmp si, ax
jne 0x1400475dd
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047602
mov ecx, 0x15
cmp cx, ax
jne 0x14004761a
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14004761a
inc r8
mov rdx, qword [rsp + 0x30]
call fcn.1400107d0
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp qword [r14 + 0x18], 8
jb 0x140047631
mov r8, qword [r14]
jmp 0x140047634
mov r8, r14
cmp qword [r14 + 0x10], 0xc
jne 0x1400478d2
mov edx, 0xc
lea rax, str.Logical_Disk
mov rcx, rax
sub r8, rax
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140047667
add rcx, 2
sub rdx, 1
jne 0x140047651
jmp 0x140047670
test dil, dil
je 0x1400478d2
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x60]
call fcn.140013ab0
cmp rax, 0xffffffffffffffff
je 0x1400478d2
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r10, qword [0x14009c8b0]
mov r11, qword [r10]
mov rcx, r12
call fcn.14000eb40
mov rdx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, r10
call qword [r11 + 0x20]
mov rax, qword [rsp + 0x58]
mov ecx, 8
cmp cx, ax
jne 0x140047736
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140047710
lea rcx, [rsp + 0x30]
call fcn.14000fab0
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140010b70
nop
jmp 0x14004779f
cmp bx, ax
jne 0x140047758
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bd40
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x14004779f
cmp si, ax
jne 0x14004777a
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x14004779f
mov ecx, 0x15
cmp cx, ax
jne 0x1400477b7
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x1400477b7
inc r8
mov rdx, qword [rsp + 0x30]
call fcn.1400107d0
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r10, qword [0x14009c8b0]
mov r11, qword [r10]
mov rcx, r13
call fcn.14000eb40
mov rdx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, r10
call qword [r11 + 0x20]
mov rax, qword [rsp + 0x58]
mov ecx, 8
cmp cx, ax
jne 0x140047846
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x60]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140047820
lea rcx, [rsp + 0x30]
call fcn.14000fab0
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140010b70
nop
jmp 0x1400478af
cmp bx, ax
jne 0x140047868
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bd40
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x1400478af
cmp si, ax
jne 0x14004788a
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x1400478af
mov ecx, 0x15
cmp cx, ax
jne 0x1400478c7
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x1400478c7
inc r8
mov rdx, qword [rsp + 0x30]
call fcn.1400107d0
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp qword [r14 + 0x18], 8
jb 0x1400478de
mov r8, qword [r14]
jmp 0x1400478e1
mov r8, r14
cmp qword [r14 + 0x10], 0xe
jne 0x140047a85
mov edx, 0xe
lea rax, str.Processor_Data
mov rcx, rax
sub r8, rax
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140047916
add rcx, 2
sub rdx, 1
jne 0x140047900
jmp 0x14004791f
test dil, dil
je 0x140047a85
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r8, qword [rbp - 0x70]
cmp qword [rbp - 0x60], 6
jne 0x140047a85
mov edx, 6
lea rax, str._Total
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140047966
add rcx, 2
sub rdx, 1
jne 0x140047950
jmp 0x14004796f
test dil, dil
je 0x140047a85
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov r10, qword [0x14009c8b0]
mov r11, qword [r10]
mov rcx, r12
call fcn.14000eb40
mov rdx, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, r10
call qword [r11 + 0x20]
mov rax, qword [rsp + 0x58]
mov ecx, 8
cmp cx, ax
jne 0x1400479f9
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400479d3
lea rcx, [rsp + 0x30]
call fcn.14000fab0
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047a62
cmp bx, ax
jne 0x140047a1b
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bd40
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047a62
cmp si, ax
jne 0x140047a3d
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
jmp 0x140047a62
mov ecx, 0x15
cmp cx, ax
jne 0x140047a7a
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000bc50
nop
mov rdx, rax
mov rcx, r15
call fcn.140010b70
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140047a7a
inc r8
mov rdx, qword [rsp + 0x30]
call fcn.1400107d0
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [0x14009c8b0]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x140047ab4
inc r8
mov rdx, qword [rbp - 0x70]
call fcn.1400107d0
mov rcx, qword [0x14009c8b8]
test rcx, rcx
jne 0x1400473d0
mov rcx, qword [0x14009c8c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14009c8b8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov bl, 1
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x140047af7
inc r8
mov rdx, qword [rbp - 0x50]
call fcn.1400107d0
nop
lea rcx, [0x14009fc30]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x140047b11
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov r8, qword [r14 + 0x18]
cmp r8, 8
jb 0x140047b26
inc r8
mov rdx, qword [r14]
call fcn.1400107d0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 7
mov word [r14], di
mov r8, qword [r12 + 0x18]
cmp r8, 8
jb 0x140047b4d
inc r8
mov rdx, qword [r12]
call fcn.1400107d0
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 7
mov word [r12], di
mov r8, qword [r13 + 0x18]
cmp r8, 8
jb 0x140047b76
inc r8
mov rdx, qword [r13]
call fcn.1400107d0
mov qword [r13 + 0x10], rdi
mov qword [r13 + 0x18], 7
mov word [r13], di
movzx eax, bl
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140062800
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret