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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4583b0
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x47305c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, 1
mov dword [ebp - 4], esi
jne 0x41beda
push 0x206
lea eax, [ebp - 0x242]
push esi
push eax
mov word [ebp - 0x244], si
call fcn.00439b80
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [ebp - 0x244]
push edx
mov word [ebp - 0x240], si
call fcn.0041b7d0
add esp, 4
cmp eax, 2
jne 0x41be96
push 1
lea eax, [ebp - 0x244]
push eax
jmp 0x41bea3
cmp eax, 1
jne 0x41beb9
push esi
lea ecx, [ebp - 0x244]
push ecx
mov word [ebp - 0x242], si
mov word [ebp - 0x240], si
call fcn.0041bbe0
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439b33
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x41beb9
push 0x206
lea edx, [ebp - 0x44a]
push esi
push edx
mov word [ebp - 0x44c], si
call fcn.00439b80
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor eax, eax
lea ebx, [ebp - 0x44c]
mov edi, ebx
mov word [ebp - 0x3c], si
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
lea ebx, [ebx]
cmp word [ebx], si
jne 0x41bf52
cmp word [ebx + 2], si
jne 0x41bf57
xor eax, eax
jmp 0x41bebe
add ebx, 2
jmp 0x41bfd3
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41bfce
mov ecx, edi
lea edx, [ebp - 0x3c]
jmp 0x41bf70
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x41bf70
lea eax, [ebp - 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41bf87
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push ecx
mov word [ebp + eax*2 - 0x3e], si
call fcn.0041b7d0
add esp, 4
cmp eax, 2
jne 0x41bfb4
push 1
lea edx, [ebp - 0x3c]
push edx
jmp 0x41bfbe
cmp eax, 1
jne 0x41bfce
push esi
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x3a], si
mov word [ebp - 0x38], si
call fcn.0041bbe0
add esp, 8
add ebx, 2
mov edi, ebx
cmp word [ebx], si
jne 0x41bf52
cmp word [ebx + 2], si
jne 0x41bf40
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x41bf40
mov ecx, edi
lea edx, [ebp - 0x3c]
jmp 0x41c000
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, si
jne 0x41c000
lea eax, [ebp - 0x3c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x41c017
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push ecx
mov word [ebp + eax*2 - 0x3e], si
call fcn.0041b7d0
add esp, 4
cmp eax, 2
jne 0x41c057
lea edx, [ebp - 0x3c]
push 1
push edx
mov word [ebp - 0x3a], si
mov word [ebp - 0x38], si
call fcn.0041bbe0
add esp, 8
jmp 0x41bf40
cmp eax, 1
jne 0x41bf40
lea eax, [ebp - 0x3c]
push esi
push eax
mov word [ebp - 0x3a], si
mov word [ebp - 0x38], si
call fcn.0041bbe0
add esp, 8
jmp 0x41bf40