Function at 0x41dd57
Capabilities:
Get disk information
Get disk size
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7be9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3a4
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 0x228], 0
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.00404070
push 0
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.00425660
test eax, eax
je 0x41ddaf
jmp 0x41dd96
push 0xffffffffffffffff
push 0xc8
push 0
push 0x60b928
push 0
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057eef1
push 0xffffffffffffffff
push 0x64
push 0
push 0x60b930
push 1
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057eef1
push 0xffffffffffffffff
push 0x64
push 1
push 0x60b938
push 2
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057eef1
push 0xffffffffffffffff
push 0x73
push 0
push 0x60b940
push 3
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057eef1
push 2
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.00409b62
lea eax, [ebp - 0x10c]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 0
jmp 0x41decf
mov edx, dword [ebp - 0x224]
add edx, 1
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x228]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x228]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41e198
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x41def4
jmp 0x41dea3
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.0041d121
add esp, 8
push eax
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.00404040
mov dword [ebp - 0x23c], eax
push 1
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.00406190
push 0x104
push 0
lea edx, [ebp - 0x214]
push edx
call fcn.00459e80
add esp, 0xc
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea edx, [ebp - 0x214]
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 - 0x230]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41e01f
push 0
push 0x400
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
call fcn.0045b430
push 0
push 0x400
push edx
push eax
call fcn.0045b430
mov dword [ebp - 0x110], eax
push 0
push 0x400
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x230]
push eax
call fcn.0045b430
push 0
push 0x400
push edx
push eax
call fcn.0045b430
mov dword [ebp - 0x218], eax
jmp 0x41e033
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41e08a
push 0x410
push 0x160
lea edx, [ebp - 0x39c]
push edx
push 0x80
mov eax, dword [ebp - 0x228]
push eax
call dword [0x623188]
lea ecx, [ebp - 0x28c]
push ecx
push 1
mov edx, dword [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057f03f
jmp 0x41e0ab
lea eax, [ebp - 0x214]
push eax
push 1
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057f03f
lea ecx, [ebp - 0x234]
call fcn.00401240
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 0x3a4], 0
fild qword [ebp - 0x3a8]
fdiv dword [0x5bd7d8]
sub esp, 8
fstp qword [esp]
push 0x60b94c
lea eax, [ebp - 0x234]
push eax
call fcn.0057e262
add esp, 0x10
lea ecx, [ebp - 0x234]
call fcn.00401260
push eax
push 2
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057f03f
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x3ac], 0
fild qword [ebp - 0x3b0]
fdiv dword [0x5bd7d8]
sub esp, 8
fstp qword [esp]
push 0x60b958
lea eax, [ebp - 0x234]
push eax
call fcn.0057e262
add esp, 0x10
lea ecx, [ebp - 0x234]
call fcn.00401260
push eax
push 3
mov ecx, dword [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x80c
call fcn.0057f03f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.00585bc1
jmp 0x41dea3
push 0x623f34
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x684
call fcn.00585d4a
push 0x623f38
mov ecx, dword [ebp - 0x3a0]
add ecx, 0x74c
call fcn.0058517d
mov edx, dword [ebp - 0x3a0]
mov eax, dword [edx + 0x684]
push eax
push str.__.D__H
mov ecx, dword [ebp - 0x3a0]
push ecx
call fcn.0042039b
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret