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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x75aa5c]
xor eax, ebp
mov dword [ebp - 0x28], eax
push esi
mov dword [ebp - 0x274], ecx
call fcn.00488410
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0
push 0xea60
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.005b0aa0
mov dword [ebp - 0x130], eax
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0x274]
add ecx, 0x290
call fcn.00568720
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x274]
add ecx, 0x290
call fcn.00568750
push eax
lea ecx, [ebp - 8]
call fcn.0056adf0
movzx ecx, al
test ecx, ecx
je 0x562410
lea ecx, [ebp - 8]
call fcn.0056ad90
mov edx, dword [eax]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x5060]
cmp dword [ecx + 0x10], 0
je 0x5623da
mov byte [ebp - 0x148], 0
xor edx, edx
mov dword [ebp - 0x147], edx
mov dword [ebp - 0x143], edx
mov dword [ebp - 0x13f], edx
mov word [ebp - 0x13b], dx
mov byte [ebp - 0x139], dl
push 4
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x5060]
push ecx
lea edx, [ebp - 0x140]
push edx
call fcn.005a7f00
add esp, 0xc
mov eax, dword [ebp - 0x138]
cmp dword [eax + 0x504d], 0
je 0x5623da
mov byte [ebp - 0x248], 0
push 0xff
push 0
lea ecx, [ebp - 0x247]
push ecx
call fcn.005a7100
add esp, 0xc
push 0
call fcn.00562550
add esp, 4
push eax
call fcn.005ad74c
add esp, 4
call fcn.005ad75e
push eax
call fcn.005ad75e
push eax
push str.DROP_08x_08x
lea edx, [ebp - 0x248]
push edx
call fcn.005acf32
add esp, 0x10
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x2a8]
push ecx
call fcn.00617310
add esp, 4
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x504d]
call fcn.0057a870
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x2a8]
push edx
call fcn.00617330
add esp, 4
mov eax, dword [ebp - 0x274]
mov eax, dword [eax + 4]
xor edx, edx
mov ecx, 0xea60
div ecx
add eax, 1
push eax
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0xc]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
mov ecx, 0x3c
div ecx
mov edx, dword [ebp - 0x130]
sub edx, eax
push edx
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x138]
mov ecx, dword [ecx + 0x504d]
call fcn.0057f270
cmp dword [ebp - 0x24c], 0
jne 0x5623da
lea ecx, [ebp - 0x260]
call fcn.00515660
mov edx, dword [ebp - 0x138]
mov eax, dword [edx + 0x5060]
mov ecx, dword [eax]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x2a8]
push eax
call fcn.00617310
add esp, 4
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x138]
mov ecx, dword [edx + 0x504d]
call fcn.0057a970
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x274]
mov ecx, dword [eax + 0x2a8]
push ecx
call fcn.00617330
add esp, 4
cmp dword [ebp - 0x24c], 0
je 0x5623c1
lea edx, [ebp - 0x260]
push edx
push 1
push 0x80010304
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
jmp 0x5623da
lea eax, [ebp - 0x260]
push eax
push 0
push 0x80010304
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
mov ecx, dword [ebp - 0x274]
cmp dword [ecx + 0x23c], 1
je 0x5623f8
mov edx, dword [ebp - 0x274]
cmp dword [edx + 0x254], 1
jne 0x5623fa
jmp 0x562410
push 0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 8]
call fcn.0056adb0
jmp 0x562194
lea ecx, [ebp - 0x128]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x134]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x134]
mul ecx
mov ecx, dword [ebp - 0x12c]
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.005b0b10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x274]
mov eax, dword [edx + 0x12c]
xor ecx, ecx
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x278]
jb 0x5624c3
ja 0x562499
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x27c]
jbe 0x5624c3
push 0
push 0
push 0x80010301
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
push 0
push 0
push 0x80010300
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
jmp 0x562533
cmp dword [ebp - 0x1c], 0
ja 0x5624cf
cmp dword [ebp - 0x20], 0
jbe 0x562517
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x12c]
xor eax, eax
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x280]
ja 0x562517
jb 0x562501
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x284]
jae 0x562517
push 0
push 1
push 0x80010301
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
jmp 0x562533
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x1c]
jne 0x562533
push 0
push 1
push 0x80010300
mov ecx, dword [ebp - 0x274]
call fcn.005618f0
pop esi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.005a6f18
mov esp, ebp
pop ebp
ret