Function at 0x40a6c0
Capabilities:
Get disk information
Get disk size
Get file attributes
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5930fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3e4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00410b20
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00410ca0
test eax, eax
je 0x40a712
jmp 0x40a6fc
push 0xffffffffffffffff
push 0xc8
push 0
push 0x5a8e34
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570a53
push 0xffffffffffffffff
push 0x64
push 0
push 0x5a8e2c
push 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570a53
push 0xffffffffffffffff
push 0x64
push 0
push 0x5a8e24
push 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570a53
push 0xffffffffffffffff
push 0x73
push 0
push 0x5a8e18
push 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570a53
lea eax, [ebp - 0x110]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0
jmp 0x40a813
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x114]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40aab6
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00450460
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x238], eax
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x40a8f2
push 0
push 0x400
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.00451b20
push 0
push 0x400
push edx
push eax
call fcn.00451b20
mov dword [ebp - 0x22c], eax
push 0
push 0x400
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
call fcn.00451b20
push 0
push 0x400
push edx
push eax
call fcn.00451b20
mov dword [ebp - 0x230], eax
jmp 0x40a906
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
mov edx, dword [ebp - 0x114]
push edx
call fcn.0040a080
add esp, 8
push eax
mov eax, dword [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00410ae0
mov dword [ebp - 0x23c], eax
push 1
mov edx, dword [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00410aa0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40a9b1
push 0x410
push 0x160
lea ecx, [ebp - 0x39c]
push ecx
push 0x80
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x28c]
push eax
push 1
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570ba1
jmp 0x40a9cf
lea edx, [ebp - 0x218]
push edx
push 1
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570ba1
lea ecx, [ebp - 0x3a0]
call fcn.00401ba0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x3a8], ecx
mov dword [ebp - 0x3a4], 0
fild qword [ebp - 0x3a8]
fdiv dword [0x5a8e14]
sub esp, 8
fstp qword [esp]
push str._10.1f_GB
lea edx, [ebp - 0x3a0]
push edx
call fcn.0056fdd7
add esp, 0x10
lea ecx, [ebp - 0x3a0]
call fcn.00401bd0
push eax
push 2
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570ba1
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x3b0], ecx
mov dword [ebp - 0x3ac], 0
fild qword [ebp - 0x3b0]
fdiv dword [0x5a8e14]
sub esp, 8
fstp qword [esp]
push str._10.1f_GB
lea edx, [ebp - 0x3a0]
push edx
call fcn.0056fdd7
add esp, 0x10
lea ecx, [ebp - 0x3a0]
call fcn.00401bd0
push eax
push 3
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x7a0
call fcn.00570ba1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a0]
call fcn.005772b0
jmp 0x40a7e7
push 0x5a7b30
mov ecx, dword [ebp - 0x10]
add ecx, 0x668
call fcn.00577439
mov ecx, dword [ebp - 0x10]
add ecx, 0x728
call fcn.00410960
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x668]
push edx
push 0x5a8df0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040cad0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret