Function at 0x10134780
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101872e5
mov eax, dword fs:[0]
push eax
sub esp, 0x764
mov eax, dword [0x101fb008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x754], ebx
mov dword [ebp - 0x770], esi
cmp dword [edx + 0x10], ebx
jne 0x101347d8
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x10134cfc
push edx
lea ecx, [ebp - 0x6bc]
call fcn.100085c0
mov edx, 0x101aa5b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6bc]
call fcn.100e30f0
mov edx, 0x101b71a0
lea ecx, [ebp - 0x6bc]
call fcn.100e30f0
cmp dword [ebp - 0x6a8], 8
lea ecx, [ebp - 0x6bc]
push 0xa
cmovae ecx, dword [ebp - 0x6bc]
mov edx, str.SystemRoot
call fcn.100e2e60
add esp, 4
test eax, eax
jne 0x10134942
lea ecx, [ebp - 0x6d4]
call fcn.100063f0
push 0x20c
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2a4]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x10134921
xor eax, eax
lea ecx, [ebp - 0x2a4]
mov word [ebp - 0x9a], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10134890
sub ecx, edx
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6d4]
call fcn.10006870
cmp dword [ebp - 0x6c0], 8
lea eax, [ebp - 0x6d4]
mov edx, str.SystemRoot
lea ecx, [ebp - 0x6bc]
cmovae eax, dword [ebp - 0x6d4]
push eax
call fcn.100e2fc0
lea eax, [ebp - 0x6bc]
add esp, 4
cmp esi, eax
je 0x10134900
cmp dword [ebp - 0x6a8], 8
mov ecx, esi
push dword [ebp - 0x6ac]
cmovae eax, dword [ebp - 0x6bc]
push eax
call fcn.10006870
mov dword [edi], 0
lea ecx, [ebp - 0x6d4]
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
call fcn.100063b0
jmp 0x10134cea
mov dword [edi], 0xffffffff
lea ecx, [ebp - 0x6d4]
mov dword [edi + 4], 0xffffffff
mov byte [ebp - 4], 0
call fcn.100063b0
jmp 0x10134cea
push 0x400
lea eax, [ebp - 0x6a4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6a4]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10134cdd
cmp word [ebp - 0x6a4], 0
mov dword [ebp - 0x764], 0
je 0x10134cdd
lea esi, [ebp - 0x6a4]
mov dword [ebp - 0x768], 0
mov dword [ebp - 0x758], esi
push 0x101b7178
lea ecx, [ebp - 0x704]
call fcn.10008570
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6ec]
or ebx, 1
push esi
mov dword [ebp - 0x754], ebx
call fcn.10008570
mov dword [ebp - 4], 3
lea edx, [ebp - 0x75c]
mov ecx, dword [ebp - 0x6f4]
lea esi, [ebp - 0x76c]
mov eax, dword [ebp - 0x6dc]
or ebx, 2
cmp eax, ecx
mov dword [ebp - 0x76c], ecx
mov dword [ebp - 0x75c], eax
lea ecx, [ebp - 0x6ec]
cmovae esi, edx
mov dword [ebp - 0x754], ebx
cmp dword [ebp - 0x6f0], 8
lea edx, [ebp - 0x704]
mov dword [ebp - 0x760], ebx
cmovae edx, dword [ebp - 0x704]
cmp dword [ebp - 0x6d8], 8
push dword [esi]
cmovae ecx, dword [ebp - 0x6ec]
call fcn.100e2e60
add esp, 4
test eax, eax
je 0x10134aef
push 0x101b7180
lea ecx, [ebp - 0x71c]
call fcn.10008570
push dword [ebp - 0x758]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x74c]
or ebx, 4
mov dword [ebp - 0x754], ebx
call fcn.10008570
mov dword [ebp - 4], 5
lea edx, [ebp - 0x75c]
mov ebx, dword [ebp - 0x760]
lea esi, [ebp - 0x760]
mov ecx, dword [ebp - 0x70c]
or ebx, 0xc
mov eax, dword [ebp - 0x73c]
cmp eax, ecx
mov dword [ebp - 0x760], ecx
lea ecx, [ebp - 0x74c]
cmovae esi, edx
mov dword [ebp - 0x75c], eax
cmp dword [ebp - 0x708], 8
lea edx, [ebp - 0x71c]
mov dword [ebp - 0x754], ebx
cmovae edx, dword [ebp - 0x71c]
cmp dword [ebp - 0x738], 8
push dword [esi]
cmovae ecx, dword [ebp - 0x74c]
call fcn.100e2e60
add esp, 4
mov byte [ebp - 0x74d], 0
test eax, eax
jne 0x10134af6
mov byte [ebp - 0x74d], 1
mov dword [ebp - 4], 4
test bl, 8
je 0x10134b16
and ebx, 0xfffffff7
lea ecx, [ebp - 0x74c]
mov dword [ebp - 0x754], ebx
call fcn.100063b0
mov dword [ebp - 4], 3
test bl, 4
je 0x10134b36
and ebx, 0xfffffffb
lea ecx, [ebp - 0x71c]
mov dword [ebp - 0x754], ebx
call fcn.100063b0
mov esi, ebx
mov dword [ebp - 4], 2
and ebx, 0xfffffffd
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x754], ebx
call fcn.100063b0
mov ebx, esi
mov dword [ebp - 4], 0
and ebx, 0xfffffffc
lea ecx, [ebp - 0x704]
mov dword [ebp - 0x754], ebx
call fcn.100063b0
cmp byte [ebp - 0x74d], 0
jne 0x10134cae
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x758]
add esp, 0xc
movzx eax, word [eax]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x768]
push 0x40
movzx eax, word [ebp + eax - 0x6a2]
mov word [ebp - 0x16], ax
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10134cae
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.10008570
mov edx, 0x101aa5b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6d4]
call fcn.100e30f0
mov edx, 0x101b71a0
lea ecx, [ebp - 0x6d4]
call fcn.100e30f0
cmp dword [ebp - 0x6c0], 8
lea edx, [ebp - 0x6d4]
mov esi, dword [ebp - 0x6c4]
lea ecx, [ebp - 0x6bc]
cmovae edx, dword [ebp - 0x6d4]
cmp dword [ebp - 0x6a8], 8
push esi
cmovae ecx, dword [ebp - 0x6bc]
call fcn.100e2e60
add esp, 4
test eax, eax
jne 0x10134c9f
mov eax, dword [ebp - 0x6ac]
lea edx, [ebp - 0x6bc]
sub eax, esi
lea ecx, [ebp - 0x734]
push eax
call fcn.100e3380
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x724], 0
je 0x10134d1a
cmp dword [ebp - 0x720], 8
lea eax, [ebp - 0x734]
cmovae eax, dword [ebp - 0x734]
cmp word [eax], 0x5c
je 0x10134d1a
lea ecx, [ebp - 0x734]
mov byte [ebp - 4], 6
call fcn.100063b0
lea ecx, [ebp - 0x6d4]
mov byte [ebp - 4], 0
call fcn.100063b0
mov eax, dword [ebp - 0x764]
lea esi, [ebp - 0x6a4]
add eax, 4
mov dword [ebp - 0x764], eax
add eax, eax
add esi, eax
mov dword [ebp - 0x768], eax
mov dword [ebp - 0x758], esi
cmp word [esi], 0
jne 0x101349a0
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
lea ecx, [ebp - 0x6bc]
mov dword [ebp - 4], 0xffffffff
call fcn.100063b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10147fe4
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x6bc]
lea ecx, [ebp - 0x6ec]
call fcn.100e3410
add esp, 8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x704]
call fcn.10008570
lea eax, [ebp - 0x6ec]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x704]
lea ecx, [ebp - 0x71c]
call fcn.100e42d0
add esp, 4
mov ecx, dword [ebp - 0x770]
push eax
mov byte [ebp - 4], 0xa
call fcn.1000ee50
lea ecx, [ebp - 0x71c]
mov byte [ebp - 4], 9
call fcn.100063b0
lea ecx, [ebp - 0x704]
mov byte [ebp - 4], 8
call fcn.100063b0
mov dword [edi], 0
lea ecx, [ebp - 0x6ec]
mov dword [edi + 4], 0
mov byte [ebp - 4], 7
call fcn.100063b0
lea ecx, [ebp - 0x734]
mov byte [ebp - 4], 6
call fcn.100063b0
lea ecx, [ebp - 0x6d4]
mov byte [ebp - 4], 0
call fcn.100063b0
jmp 0x10134cea