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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x49d874]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea edx, [ebp - 0x21c]
mov dword [ebp - 0x220], 0
mov ecx, 0x4478a0
mov dword [ebp - 0x21c], 0
call fcn.004477e0
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x66c], edi
test edi, edi
je 0x447d44
xorps xmm0, xmm0
xor ebx, ebx
push edi
push ebx
push 0x400
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x248], xmm0
movlpd qword [ebp - 0x240], xmm0
movlpd qword [ebp - 0x238], xmm0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x447ab5
push edi
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x447d44
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x447b46
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x447b42
mov ecx, dword [ebp - 0x224]
xor edi, edi
or edi, dword [ebp - 0x230]
xor edx, edx
or edx, dword [ebp - 0x228]
mov dword [ebp - 0x670], edi
mov edi, dword [ebp - 0x66c]
cmp dword [ebp - 0x22c], ecx
ja 0x447b42
jb 0x447b3d
cmp dword [ebp - 0x670], edx
jae 0x447b42
mov ebx, 1
test esi, esi
je 0x447b4d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x447d44
cmp dword [0x4a074c], 0
jne 0x447b99
push 0x486fb8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x447d44
push str.ProcessIdToSessionId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [0x4a074c], eax
test eax, eax
setne cl
test ecx, ecx
je 0x447d44
test eax, eax
je 0x447d44
lea eax, [ebp - 0x220]
push eax
push edi
call fcn.004477a0
call eax
test eax, eax
je 0x447d44
push 0x418
lea eax, [ebp - 0x664]
push 0
push eax
call fcn.00469380
mov eax, dword [ebp - 0x220]
add esp, 0xc
mov dword [ebp - 0x668], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp eax, 2
jb 0x447d44
cmp word [ebp - 0x216], 0x3a
jne 0x447d44
lea ecx, [eax + 0xd]
cmp ecx, 0x105
jae 0x447d44
add eax, eax
cmp eax, 0x20a
jae 0x447d57
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
lea eax, [ebp - 0x218]
push str.explorer.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x447c40
xor eax, eax
sub esi, ecx
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x660]
push 0x208
push eax
lea eax, [ebp - 0x218]
sar esi, 1
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x447d44
add eax, 0xfffffffe
add eax, esi
cmp eax, 0x209
jae 0x447d44
lea eax, [ebp - 0x212]
push eax
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x668]
mov ecx, 0x4478e0
call fcn.004477e0
mov eax, dword [ebp - 0x664]
test eax, eax
je 0x447d44
push eax
push 0
push 0x400
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x66c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x447d1c
lea eax, [ebp - 0x21c]
push eax
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x447d15
lea eax, [ebp - 0x66c]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x447d2d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x66c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00465436
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00465436
mov esp, ebp
pop ebp
ret
call fcn.0046582b
int3