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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cfc0
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], 0
cmp dword [ebp + 0xc], 2
jne 0x4d1575
push 0x10
push 0
mov eax, dword [ebp + 8]
push eax
push 0
lea ecx, [ebp - 0x230]
push ecx
call fcn.0043a450
add esp, 8
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x25c]
call fcn.00415f60
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004d5f50
add esp, 8
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x264]
call fcn.00415e80
mov edx, dword [ebp - 0x254]
or edx, 1
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00415e20
mov eax, dword [ebp + 8]
jmp 0x4d1870
cmp dword [ebp + 0xc], 0
jne 0x4d1623
push 0x10
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.004d12c0
add esp, 4
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x26c]
call fcn.00415f60
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004d5f50
add esp, 8
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x274]
call fcn.00415e80
mov edx, dword [ebp - 0x254]
or edx, 1
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x23c]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00415e20
mov eax, dword [ebp + 8]
jmp 0x4d1870
cmp dword [ebp + 0xc], 3
jne 0x4d174b
push 0x10
push 0
mov eax, dword [ebp + 8]
push eax
push 1
lea ecx, [ebp - 0x240]
push ecx
call fcn.004d1490
add esp, 8
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x27c]
push eax
push 0
lea ecx, [ebp - 0x244]
push ecx
call fcn.004d1490
add esp, 8
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.0043b320
add esp, 0xc
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x28c]
call fcn.00415f60
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004d5f50
add esp, 8
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x294]
call fcn.00415e80
mov edx, dword [ebp - 0x254]
or edx, 1
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24c]
call fcn.00415e20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x248]
call fcn.00415e20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.00415e20
mov eax, dword [ebp + 8]
jmp 0x4d1870
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.005281f0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x14]
call fcn.00415d60
mov dword [ebp - 4], 8
movzx eax, word [ebp - 0x22c]
push eax
push 0x58d46c
lea ecx, [ebp - 0x14]
push ecx
call fcn.004171c0
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00415f60
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [ebp - 0x10], eax
push 0x58d478
lea ecx, [ebp - 0x18]
call fcn.00415da0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x1c]
push eax
push 0x58d47c
lea ecx, [ebp - 0x18]
push ecx
call fcn.004171c0
add esp, 0xc
push 0x10
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
call fcn.00415f60
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004d5f50
add esp, 8
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x29c]
call fcn.00415e80
mov edx, dword [ebp - 0x254]
or edx, 1
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x250]
call fcn.00415e20
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00415e20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret