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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ce4eb
mov eax, dword fs:[0]
push eax
sub esp, 0xe74
mov eax, dword [0x101120a8]
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 dword [ebp - 0xe80], ecx
push 0x208
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x63c]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x844]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.1008da10
add esp, 0x30
lea edi, [ebp - 0x20]
mov eax, 1
mov ecx, eax
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0x434]
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push 0x100ee798
push eax
call fcn.10001810
add esp, 0x10
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xc58], 0
lea ecx, [ebp - 0xe70]
mov dword [ebp - 4], 0
call fcn.100038c0
mov esi, dword [ebp - 0xc60]
test eax, eax
jle 0x10001c7f
mov ecx, dword [ebp - 0xc5c]
mov eax, 0x4bda12f7
sub ecx, esi
imul ecx
xor eax, eax
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ecx, ecx
jle 0x10001c7f
mov edi, esi
cmp ecx, eax
jbe 0x10001fb8
cmp dword [edi + 0x1a8], 2
je 0x10001cc9
inc eax
add edi, 0x1b0
cmp ecx, eax
jg 0x10001c65
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10001d05
mov ecx, dword [ebp - 0xc58]
mov eax, 0x4bda12f7
sub ecx, esi
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax, 0x1b0
mov eax, esi
cmp ecx, 0x1000
jb 0x10001cfb
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001fb3
jmp 0x10001cfb
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add edi, 0xa8
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call esi
push eax
lea eax, [ebp - 0x63c]
push eax
push 0xffffffffffffffff
push edi
push 1
push 0
call esi
mov esi, dword [ebp - 0xc60]
jmp 0x10001c7f
push ecx
push esi
call fcn.1008bfe4
add esp, 8
lea eax, [ebp - 0x844]
push eax
call fcn.10001860
push 0x208
lea eax, [ebp - 0xa4c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.1008da10
add esp, 0xc
lea eax, [ebp - 0xa4c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 3
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10096969
push 0x208
lea eax, [ebp - 0xe5c]
push 0
push eax
call fcn.1008da10
push 0x208
lea eax, [ebp - 0xc54]
push 0
push eax
call fcn.1008da10
add esp, 0x24
mov dword [ebp - 0xe7c], 0
lea eax, [ebp - 0xc54]
mov dword [ebp - 0xe78], 0
mov dword [ebp - 0xe74], 0
push 0x104
push eax
lea eax, [ebp - 0xe74]
push eax
lea eax, [ebp - 0xe78]
push eax
lea eax, [ebp - 0xe7c]
push eax
push 0x104
lea eax, [ebp - 0xe5c]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x10001df7
push dword [ebp - 0xe7c]
lea eax, [ebp - 0x22c]
push str._08X
push eax
call fcn.10001810
add esp, 0xc
jmp 0x10001e00
xor eax, eax
mov word [ebp - 0x22c], ax
lea ecx, [ebp - 0x434]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10001e10
sub ecx, edx
lea esi, [ebp - 0x63c]
sar ecx, 1
lea edx, [esi + 2]
mov dword [ebp - 0xe74], ecx
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10001e30
sub esi, edx
lea edi, [ebp - 0x844]
sar esi, 1
lea edx, [edi + 2]
nop dword [eax + eax]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10001e50
sub edi, edx
lea edx, [ebp - 0x22c]
lea eax, [edx + 2]
sar edi, 1
mov dword [ebp - 0xe78], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10001e70
sub edx, dword [ebp - 0xe78]
mov eax, dword [ebp - 0xe80]
mov ecx, dword [ebp + 8]
sar edx, 1
cmp dword [ebp - 0xe74], 0
mov dword [eax], ecx
jne 0x10001ea8
test edx, edx
jne 0x10001ea8
test esi, esi
jne 0x10001ea8
test edi, edi
jne 0x10001ea8
lea eax, [edx + 1]
jmp 0x10001eaa
xor eax, eax
mov esi, dword [ebp - 0xe80]
mov dword [ecx + 0x820], eax
mov ecx, dword [esi]
cmp dword [ecx + 0x820], 0
jne 0x10001f37
lea edx, [ebp - 0x434]
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001ec7
mov ecx, dword [esi]
lea edx, [ebp - 0x63c]
add ecx, 0x208
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001ee6
mov ecx, dword [esi]
lea edx, [ebp - 0x844]
add ecx, 0x410
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001f05
mov ecx, dword [esi]
lea edx, [ebp - 0x22c]
add ecx, 0x618
movzx eax, word [edx]
lea edx, [edx + 2]
mov word [ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10001f24
jmp 0x10001f95
mov ecx, esi
call fcn.10001fc0
test eax, eax
jne 0x10001f95
mov ecx, esi
call fcn.100022d0
test eax, eax
jne 0x10001f95
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]
mov ecx, esi
movups xmmword [esi + 4], xmm0
movups xmm0, xmmword [0x100ee7e8]
movups xmmword [esi + 0x14], xmm0
movups xmm0, xmmword [0x100ee7f8]
movups xmmword [esi + 0x24], xmm0
movups xmm0, xmmword [0x100ee808]
movups xmmword [esi + 0x34], xmm0
movq xmm0, qword [0x100ee818]
movq qword [esi + 0x44], xmm0
mov eax, dword [0x100ee820]
mov dword [esi + 0x4c], eax
call fcn.100025d0
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.1008bffe
mov esp, ebp
pop ebp
ret 4
call fcn.10092486
call fcn.10002b60
int3