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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185035
mov eax, dword fs:[0]
push eax
sub esp, 0x764
mov eax, dword [0x101f8008]
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 0x10132838
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
jmp 0x10132d5c
push edx
lea ecx, [ebp - 0x6bc]
call fcn.100084d0
mov edx, 0x101a8578
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6bc]
call fcn.100e2490
mov edx, 0x101b4c28
lea ecx, [ebp - 0x6bc]
call fcn.100e2490
cmp dword [ebp - 0x6a8], 8
lea ecx, [ebp - 0x6bc]
push 0xa
cmovae ecx, dword [ebp - 0x6bc]
mov edx, str.SystemRoot
call fcn.100e2200
add esp, 4
test eax, eax
jne 0x101329a2
lea ecx, [ebp - 0x6d4]
call fcn.10006310
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 0x10132981
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 0x101328f0
sub ecx, edx
lea eax, [ebp - 0x2a4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x6d4]
call fcn.10006790
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.100e2360
lea eax, [ebp - 0x6bc]
add esp, 4
cmp esi, eax
je 0x10132960
cmp dword [ebp - 0x6a8], 8
mov ecx, esi
push dword [ebp - 0x6ac]
cmovae eax, dword [ebp - 0x6bc]
push eax
call fcn.10006790
mov dword [edi], 0
lea ecx, [ebp - 0x6d4]
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
call fcn.100062d0
jmp 0x10132d4a
mov dword [edi], 0xffffffff
lea ecx, [ebp - 0x6d4]
mov dword [edi + 4], 0xffffffff
mov byte [ebp - 4], 0
call fcn.100062d0
jmp 0x10132d4a
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 0x10132d3d
cmp word [ebp - 0x6a4], 0
mov dword [ebp - 0x764], 0
je 0x10132d3d
lea esi, [ebp - 0x6a4]
mov dword [ebp - 0x768], 0
mov dword [ebp - 0x758], esi
push 0x101b4c08
lea ecx, [ebp - 0x704]
call fcn.10008480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6ec]
or ebx, 1
push esi
mov dword [ebp - 0x754], ebx
call fcn.10008480
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.100e2200
add esp, 4
test eax, eax
je 0x10132b4f
push 0x101b4c00
lea ecx, [ebp - 0x71c]
call fcn.10008480
push dword [ebp - 0x758]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x74c]
or ebx, 4
mov dword [ebp - 0x754], ebx
call fcn.10008480
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.100e2200
add esp, 4
mov byte [ebp - 0x74d], 0
test eax, eax
jne 0x10132b56
mov byte [ebp - 0x74d], 1
mov dword [ebp - 4], 4
test bl, 8
je 0x10132b76
and ebx, 0xfffffff7
lea ecx, [ebp - 0x74c]
mov dword [ebp - 0x754], ebx
call fcn.100062d0
mov dword [ebp - 4], 3
test bl, 4
je 0x10132b96
and ebx, 0xfffffffb
lea ecx, [ebp - 0x71c]
mov dword [ebp - 0x754], ebx
call fcn.100062d0
mov esi, ebx
mov dword [ebp - 4], 2
and ebx, 0xfffffffd
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x754], ebx
call fcn.100062d0
mov ebx, esi
mov dword [ebp - 4], 0
and ebx, 0xfffffffc
lea ecx, [ebp - 0x704]
mov dword [ebp - 0x754], ebx
call fcn.100062d0
cmp byte [ebp - 0x74d], 0
jne 0x10132d0e
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 0x10132d0e
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.10008480
mov edx, 0x101a8578
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6d4]
call fcn.100e2490
mov edx, 0x101b4c28
lea ecx, [ebp - 0x6d4]
call fcn.100e2490
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.100e2200
add esp, 4
test eax, eax
jne 0x10132cff
mov eax, dword [ebp - 0x6ac]
lea edx, [ebp - 0x6bc]
sub eax, esi
lea ecx, [ebp - 0x734]
push eax
call fcn.100e2720
add esp, 4
mov byte [ebp - 4], 7
cmp dword [ebp - 0x724], 0
je 0x10132d7a
cmp dword [ebp - 0x720], 8
lea eax, [ebp - 0x734]
cmovae eax, dword [ebp - 0x734]
cmp word [eax], 0x5c
je 0x10132d7a
lea ecx, [ebp - 0x734]
mov byte [ebp - 4], 6
call fcn.100062d0
lea ecx, [ebp - 0x6d4]
mov byte [ebp - 4], 0
call fcn.100062d0
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 0x10132a00
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
lea ecx, [ebp - 0x6bc]
mov dword [ebp - 4], 0xffffffff
call fcn.100062d0
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.10146054
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x6bc]
lea ecx, [ebp - 0x6ec]
call fcn.100e27b0
add esp, 8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x704]
call fcn.10008480
lea eax, [ebp - 0x6ec]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x704]
lea ecx, [ebp - 0x71c]
call fcn.100e0d70
add esp, 4
mov ecx, dword [ebp - 0x770]
push eax
mov byte [ebp - 4], 0xa
call fcn.10008dc0
lea ecx, [ebp - 0x71c]
mov byte [ebp - 4], 9
call fcn.100062d0
lea ecx, [ebp - 0x704]
mov byte [ebp - 4], 8
call fcn.100062d0
mov dword [edi], 0
lea ecx, [ebp - 0x6ec]
mov dword [edi + 4], 0
mov byte [ebp - 4], 7
call fcn.100062d0
lea ecx, [ebp - 0x734]
mov byte [ebp - 4], 6
call fcn.100062d0
lea ecx, [ebp - 0x6d4]
mov byte [ebp - 4], 0
call fcn.100062d0
jmp 0x10132d4a