Function at 0x444310
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x45c4c4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x824], ecx
lea eax, [ebp - 0x11c]
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x170]
call fcn.00402c90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x174]
movsx edx, byte [ebp + ecx - 0x11c]
test edx, edx
je 0x444431
mov eax, dword [ebp - 0x174]
lea ecx, [ebp + eax - 0x11c]
mov dword [ebp - 0x178], ecx
mov edx, dword [ebp - 0x178]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x44441d
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x44441d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x128]
jb 0x44441d
ja 0x4443f9
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x12c]
jbe 0x44441d
mov eax, dword [ebp - 0x178]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402ac0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x174]
add eax, 4
mov dword [ebp - 0x174], eax
jmp 0x444383
lea ecx, [ebp - 0x170]
call fcn.00401290
movzx ecx, al
test ecx, ecx
je 0x444453
push 0x4518d0
lea ecx, [ebp - 0x170]
call fcn.00402ac0
mov edx, dword [ebp - 0x824]
mov eax, dword [edx + 4]
and eax, 1
je 0x444581
mov byte [ebp - 0x284], 0
push 0x103
push 0
lea ecx, [ebp - 0x283]
push ecx
call fcn.00423520
add esp, 0xc
push 0x104
lea edx, [ebp - 0x284]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x288]
call fcn.004023a0
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x288]
call fcn.00401030
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0xffffffff
je 0x44456d
mov ecx, dword [ebp - 0x17c]
add ecx, 1
push ecx
push 0
lea edx, [ebp - 0x7e4]
push edx
lea ecx, [ebp - 0x288]
call fcn.00401080
mov dword [ebp - 0x828], eax
mov eax, dword [ebp - 0x828]
mov dword [ebp - 0x82c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x82c]
call fcn.00401e50
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x24
call fcn.00402ac0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7e4]
call fcn.00401a60
lea ecx, [ebp - 0x288]
call fcn.00401e50
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00402ac0
push str..upp
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.004011a0
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401a40
push eax
call fcn.0044095f
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x288]
call fcn.00401a60
jmp 0x444801
mov ecx, dword [ebp - 0x824]
mov edx, dword [ecx + 4]
and edx, 2
je 0x444801
push 0x45171e
lea ecx, [ebp - 0x2a4]
call fcn.00401a00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c4]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x4445d4
lea ecx, [ebp - 0x4c4]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.00402ac0
jmp 0x444627
mov byte [ebp - 0x5cc], 0
push 0x103
push 0
lea edx, [ebp - 0x5cb]
push edx
call fcn.00423520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x5cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 3
lea ecx, [ebp - 0x5cc]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.004011c0
push str.ProgramData
lea ecx, [ebp - 0x2a4]
call fcn.004011a0
lea edx, [ebp - 0x2a4]
push edx
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401160
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401a40
push eax
call fcn.0044095f
add esp, 4
push 0x4518e8
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.004011a0
mov eax, dword [ebp - 0x824]
add eax, 8
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401180
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401a40
push eax
call fcn.0044095f
add esp, 4
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
push ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0x5c
call fcn.00401160
push 0x4518ec
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.004011a0
lea edx, [ebp - 0x800]
push edx
mov ecx, dword [ebp - 0x824]
call fcn.00444200
mov dword [ebp - 0x830], eax
mov eax, dword [ebp - 0x830]
mov dword [ebp - 0x834], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x834]
push ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x800]
call fcn.00402ae0
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401a40
push eax
call fcn.0044095f
add esp, 4
mov byte [ebp - 0x3b4], 0
push 0x103
push 0
lea edx, [ebp - 0x3b3]
push edx
call fcn.00423520
add esp, 0xc
push 0x104
lea eax, [ebp - 0x3b4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x3b4]
push ecx
lea ecx, [ebp - 0x3b8]
call fcn.004023a0
mov byte [ebp - 4], 5
push 0x5c
lea ecx, [ebp - 0x3b8]
call fcn.00401030
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0xffffffff
je 0x4447e3
mov edx, dword [ebp - 0x2a8]
add edx, 1
push edx
push 0
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x3b8]
call fcn.00401080
mov dword [ebp - 0x838], eax
mov ecx, dword [ebp - 0x838]
mov dword [ebp - 0x83c], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x83c]
call fcn.00401e50
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x24
call fcn.00402ac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x804]
call fcn.00401a60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3b8]
call fcn.00401a60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a4]
call fcn.00402ae0
mov ecx, dword [ebp - 0x824]
add ecx, 0x24
call fcn.00401290
movzx edx, al
test edx, edx
je 0x444903
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x24
call fcn.00401160
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401160
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x7d8], eax
mov byte [ebp - 0x7d4], 0
push 0x1ff
push 0
lea edx, [ebp - 0x7d3]
push edx
call fcn.00423520
add esp, 0xc
lea eax, [ebp - 0x7d8]
mov dword [ebp - 0x5d0], eax
mov ecx, dword [ebp - 0x5d0]
mov byte [ecx + 3], 0
mov edx, 1
test edx, edx
je 0x444903
mov eax, dword [ebp - 0x7d8]
push eax
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00401a40
push eax
push str._sVz_.6x
lea ecx, [ebp - 0x7d4]
push ecx
call fcn.0042141e
add esp, 0x10
push 0
lea edx, [ebp - 0x7d4]
push edx
call fcn.00421563
add esp, 8
cmp eax, 0xffffffff
jne 0x4448f2
lea eax, [ebp - 0x7d4]
push eax
call fcn.0044095f
add esp, 4
lea ecx, [ebp - 0x7d4]
push ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0x40
call fcn.00402ac0
jmp 0x444903
mov edx, dword [ebp - 0x7d8]
add edx, 1
mov dword [ebp - 0x7d8], edx
jmp 0x444883
cmp dword [0x45fbf8], 1
jle 0x44491c
mov eax, dword [ebp - 0x824]
mov dword [eax + 0xcc], 1
lea ecx, [ebp - 0x148]
call fcn.00402c90
mov byte [ebp - 4], 7
mov dword [ebp - 0x7dc], 1
jmp 0x444946
mov ecx, dword [ebp - 0x7dc]
add ecx, 1
mov dword [ebp - 0x7dc], ecx
mov edx, dword [ebp - 0x7dc]
cmp edx, dword [0x45fbf8]
jge 0x444a6e
mov eax, dword [ebp - 0x7dc]
mov ecx, dword [0x45fbfc]
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [ebp - 0x148]
call fcn.00402ac0
push 0
push str._auto
lea ecx, [ebp - 0x148]
call fcn.004012b0
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0xffffffff
je 0x444a22
lea ecx, [ebp - 0x148]
call fcn.00403970
sub eax, dword [ebp - 0x7e0]
sub eax, 6
push eax
mov eax, dword [ebp - 0x7e0]
add eax, 6
push eax
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x148]
call fcn.004012e0
mov dword [ebp - 0x840], eax
mov edx, dword [ebp - 0x840]
mov dword [ebp - 0x844], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x844]
push eax
lea ecx, [ebp - 0x148]
call fcn.00401160
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x820]
call fcn.00402ae0
lea ecx, [ebp - 0x148]
call fcn.00401a40
push eax
call fcn.004218c9
add esp, 4
mov ecx, dword [ebp - 0x824]
mov dword [ecx + 0xcc], eax
jmp 0x444a42
mov edx, dword [ebp - 0x7dc]
mov eax, dword [0x45fbfc]
mov ecx, dword [eax + edx*4]
push ecx
mov ecx, dword [ebp - 0x824]
add ecx, 0x94
call fcn.004011a0
mov edx, dword [0x45fbf8]
sub edx, 1
cmp dword [ebp - 0x7dc], edx
je 0x444a69
push 0x451904
mov ecx, dword [ebp - 0x824]
add ecx, 0x94
call fcn.004011a0
jmp 0x444937
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00402ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00402ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00421147
mov esp, ebp
pop ebp
ret