Function at 0x44af80
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x470], ecx
xor eax, eax
mov word [ebp - 0x438], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x436]
push ecx
call fcn.004f8090
add esp, 0xc
push 0x200
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov cl, byte [ebp - 0x438]
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x2c], 3
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
jne 0x44b00a
mov dword [ebp - 0x474], 0
jmp 0x44b0c4
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x44b032
mov dword [ebp - 0x478], 0
jmp 0x44b0b8
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004f86f0
mov dword [ebp - 0x45c], esp
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x478], ecx
cmp dword [ebp - 0x45c], 0
je 0x44b05d
cmp dword [ebp - 0x30], 0
jne 0x44b069
mov dword [ebp - 0x478], 0
jmp 0x44b0b8
xor edx, edx
mov eax, dword [ebp - 0x45c]
mov word [eax], dx
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x45c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x30]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x44b0ac
mov dword [ebp - 0x478], 0
jmp 0x44b0b8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x478], edx
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x474], eax
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 0x34]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0xc]
je 0x44b0fc
xor eax, eax
jmp 0x44b41a
mov ecx, dword [ebp - 0x470]
mov edx, dword [ebp - 0x470]
mov eax, dword [ecx + 0x10]
imul eax, dword [edx + 0x20]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov cl, byte [ebp - 0x438]
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x17], 0x3a
mov byte [ebp - 0x16], 0
mov edx, dword [ebp - 0x28]
push edx
call fcn.004b304f
add esp, 4
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44b15b
xor eax, eax
jmp 0x44b41a
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x44b176
mov dword [ebp - 0x47c], 0
jmp 0x44b230
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x44b19e
mov dword [ebp - 0x480], 0
jmp 0x44b224
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004f86f0
mov dword [ebp - 0x468], esp
mov eax, dword [ebp - 0x46c]
mov dword [ebp - 0x480], eax
cmp dword [ebp - 0x468], 0
je 0x44b1c9
cmp dword [ebp - 0x30], 0
jne 0x44b1d5
mov dword [ebp - 0x480], 0
jmp 0x44b224
xor ecx, ecx
mov edx, dword [ebp - 0x468]
mov word [edx], cx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x468]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0
jne 0x44b218
mov dword [ebp - 0x480], 0
jmp 0x44b224
mov ecx, dword [ebp - 0x468]
mov dword [ebp - 0x480], ecx
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x47c], edx
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x47c]
push eax
push 3
mov ecx, dword [ebp - 0x470]
call fcn.0044a6e0
test eax, eax
jne 0x44b298
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x440], ecx
mov edx, dword [ebp - 0x440]
push edx
call fcn.004b3044
add esp, 4
mov dword [ebp - 0x24], 0
xor eax, eax
jmp 0x44b41a
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x470]
call fcn.00449d50
test eax, eax
jne 0x44b2d5
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0x444]
push eax
call fcn.004b3044
add esp, 4
mov dword [ebp - 0x24], 0
xor eax, eax
jmp 0x44b41a
mov ecx, dword [ebp - 0x470]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x470]
cmp dword [ecx + 4], 0
je 0x44b31b
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 4]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x448]
push ecx
call fcn.004b305a
add esp, 4
mov edx, dword [ebp - 0x470]
mov dword [edx + 4], 0
xor ecx, ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 8]
mov edx, 0xc
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b304f
add esp, 4
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x44c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x470]
cmp dword [edx + 4], 0
jne 0x44b39b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.004b3044
add esp, 4
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x470]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x470]
mov dword [eax + 0xc], 0
xor eax, eax
jmp 0x44b41a
mov ecx, dword [ebp - 0x470]
mov edx, dword [ecx + 8]
imul edx, edx, 0xc
push edx
push 0
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax + 4]
push ecx
call fcn.004f8090
add esp, 0xc
mov dword [ebp - 0x20], 0xc
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 8]
imul eax, eax, 0xc
push eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x470]
mov eax, dword [edx + 4]
push eax
call fcn.004f8140
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0x454]
push edx
call fcn.004b3044
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x470]
mov dword [eax + 0xc], 1
mov eax, 1
lea esp, [ebp - 0x480]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret