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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a8532
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x10223008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x280], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], esi
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x1000c2fd
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x284], 1
jmp 0x1000c9ee
lea ecx, [ebp - 0x234]
cmp ecx, edx
je 0x1000c31c
cmp dword [edx + 0x14], 8
jb 0x1000c30f
mov edx, dword [edx]
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.10004a60
mov edx, 0x101e3f18
lea ecx, [ebp - 0x234]
call fcn.100a0ef0
mov edx, 0x101e3f18
lea ecx, [ebp - 0x234]
call fcn.100a0f80
lea ecx, [ebp - 0x234]
call fcn.100a10b0
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
push ecx
cmovae edx, dword [ebp - 0x234]
mov ecx, 0x101e3f1c
call fcn.100a15e0
add esp, 4
test al, al
je 0x1000c385
push 0x101e1e90
mov edx, 0x101e3f28
lea ecx, [ebp - 0x234]
call fcn.100a0dc0
add esp, 4
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
push ecx
cmovae edx, dword [ebp - 0x234]
mov ecx, str._systemroot
call fcn.100a15e0
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 4
test al, al
je 0x1000c4e6
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 2
push 0x20c
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1000c452
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c430
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10004a60
push 0x101e1e90
mov edx, 0x101e3f50
lea ecx, [ebp - 0x234]
call fcn.100a0dc0
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x264]
call fcn.10099c10
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x234]
cmp eax, esi
je 0x1000c4c3
mov ecx, eax
call fcn.100049f0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.100049f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100049f0
jmp 0x1000c8d7
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
push ecx
cmovae edx, dword [ebp - 0x234]
mov ecx, str._systemroot_
call fcn.100a15e0
add esp, 4
lea edx, [ebp - 0x234]
test al, al
je 0x1000c541
lea ecx, [ebp - 0x264]
call fcn.100a2810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x234]
push eax
call fcn.100047b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.100049f0
jmp 0x1000c8dd
cmp dword [ebp - 0x220], 8
push ecx
cmovae edx, dword [ebp - 0x234]
mov ecx, 0x101e3f8c
call fcn.100a15e0
add esp, 4
test al, al
je 0x1000c665
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 5
push 0x20c
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x1000c602
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c5e0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.10004a60
push 0x101e1e90
mov edx, str.system32
lea ecx, [ebp - 0x234]
call fcn.100a0dc0
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x264]
call fcn.10099c10
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
push eax
call fcn.100047b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x264]
call fcn.100049f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100049f0
jmp 0x1000c8dd
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
push ecx
cmovae edx, dword [ebp - 0x234]
mov ecx, str.deviceharddiskvolume
call fcn.100a15e0
add esp, 4
test al, al
je 0x1000c8dd
mov eax, dword [0x10229ffc]
test al, 1
jne 0x1000c6e2
or eax, 1
mov dword [0x10229ffc], eax
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movlpd qword [0x10229ff4], xmm0
mov dword [0x10229ff4], 0
mov dword [0x10229ff8], 0
call fcn.1000ef00
mov dword [0x10229ff4], eax
mov byte [ebp - 4], 7
push 0x101c4700
call fcn.1018d96a
add esp, 4
mov byte [ebp - 4], 1
cmp dword [0x10229ff8], 0
jne 0x1000c81b
mov esi, 0x61
lea edi, [esi - 0x48]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 0xa
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x24c]
push 0x101e3fec
push eax
call fcn.100a1430
add esp, 0x18
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push 0x103
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000c7f0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c790
sub ecx, edx
sar ecx, 1
je 0x1000c7f0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.10004820
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x264]
call fcn.100a10b0
lea eax, [ebp - 0x24c]
mov ecx, 0x10229ff4
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1000ed30
mov ecx, eax
call fcn.10005e70
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
call fcn.100049f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.100049f0
inc esi
sub edi, 1
jne 0x1000c700
cmp dword [0x10229ff8], edi
je 0x1000c8d7
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov edx, dword [0x10229ff4]
mov esi, dword [edx]
cmp esi, edx
je 0x1000c8d7
nop dword [eax + eax]
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x1000c83b
mov eax, dword [eax]
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
jb 0x1000c854
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x1000c869
test eax, eax
je 0x1000c869
push eax
push ecx
call edi
add esp, 8
test eax, eax
jne 0x1000c8b2
mov edx, dword [0x10229ff4]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1000c894
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000c890
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x1000c890
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000c880
mov esi, eax
jmp 0x1000c8ac
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000c8ac
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1000c8a0
cmp esi, edx
jne 0x1000c830
jmp 0x1000c8d7
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x1000c8bd
mov eax, dword [eax]
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x1000c8c8
mov edx, dword [edx]
push eax
lea ecx, [ebp - 0x234]
call fcn.100a0dc0
add esp, 4
mov esi, dword [ebp - 0x280]
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x27c]
call fcn.100a40f0
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x27c]
cmp dword [ebp - 0x268], 8
jb 0x1000c90f
mov eax, dword [ebp - 0x27c]
test eax, eax
je 0x1000c993
push 0x101e3ff4
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
add esp, 8
test eax, eax
je 0x1000c993
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.100050f0
mov byte [ebp - 4], 0xd
mov edx, 0x101e3ff4
push 0x101e3ff8
lea ecx, [ebp - 0x24c]
call fcn.100a0dc0
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x27c]
cmovae eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x268], 8
push eax
cmovae edx, dword [ebp - 0x27c]
call fcn.100a0dc0
add esp, 8
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24c]
call fcn.100049f0
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x284], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.100049f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100049f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1018d5a4
mov esp, ebp
pop ebp
ret