Function at 0x41e790
Capabilities:
Get disk information
Get disk size
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461d64
mov eax, dword fs:[0]
push eax
sub esp, 0x998
mov eax, dword [0x480208]
xor eax, esp
mov dword [esp + 0x990], eax
push ebx
push esi
push edi
mov eax, dword [0x480208]
xor eax, esp
push eax
lea eax, [esp + 0x9a8]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x100], 0
mov dword [esp + 0x5c], ebx
jne 0x41edc9
mov dword [ebx + 0x100], 1
call fcn.0042b725
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e807
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
cmp dword [0x59e638], 0
mov dword [esp + 0x9b0], 0
je 0x41e886
mov ecx, dword [0x59e6ec]
test ecx, ecx
je 0x41e845
mov esi, ecx
call fcn.004175f0
push esi
call fcn.00422c2a
add esp, 4
push 0x1c
call fcn.00422bff
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
mov byte [esp + 0x9b0], 1
je 0x41e86e
push 0
push 0xffffffffffffffff
push 1
mov ecx, eax
call fcn.00417af0
jmp 0x41e870
xor eax, eax
push eax
mov byte [esp + 0x9b4], 0
mov dword [0x59e6ec], eax
call fcn.00408cf0
add esp, 4
push 0
lea ecx, [esp + 0x98]
call fcn.00411200
lea ecx, [esp + 0x94]
mov byte [esp + 0x9b0], 2
mov dword [esp + 0x154], 1
call fcn.0042aa3e
mov ecx, ebx
call fcn.0041dcf0
lea esi, [ebx + 0x200]
mov ecx, esi
call fcn.00421780
mov dword [esp + 0x18], 0x5c3a78
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 0x4011
push 0x160
lea ecx, [esp + 0x644]
push ecx
push 0x80
push str.www.wdc.com
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add ebx, 0x464
mov dword [esp + 0x1c], eax
je 0x41e91c
cmp dword [ebx + 4], 0
je 0x41e91c
mov ecx, ebx
call fcn.0042b2e0
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.0042b347
test ebx, ebx
je 0x41e92f
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x220]
push ebx
push 1
push 0x1003
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0042b31f
mov al, 0x41
mov byte [esp + 0x17], al
test byte [esp + 0x20], 1
je 0x41ed6a
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x1c], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41ed6a
push 0x4301
push 0x160
lea eax, [esp + 0x644]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41ed6a
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push 0x4663f8
push eax
mov dword [esp + 0x30], 3
call fcn.004033c0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x64c]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x28], eax
lea edx, [esp + 0x24]
add eax, 1
mov dword [esp + 0x40], ecx
push edx
mov ecx, esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x3c], edi
call fcn.00422810
mov ebx, dword [esp + 0x2c]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41ea16
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00403080
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edi
push eax
push ecx
mov ecx, esi
call fcn.00422b40
push 0x100
lea edx, [esp + 0x7a0]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x94]
push edx
push 0x100
lea eax, [esp + 0x8b4]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x41eb10
lea edx, [esp + 0x79c]
push edx
lea eax, [esp + 0x14]
push 0x465dc8
push eax
call fcn.004033c0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004215e0
mov ebx, dword [esp + 0x2c]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41eac9
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00403080
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov ebx, dword [esp + 0x2c]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41eafe
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00403080
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edi
push ecx
push edx
mov ecx, esi
call fcn.00422b40
lea eax, [esp + 0x5a4]
push eax
mov dword [esp + 0x5a8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x5b4], 1
jne 0x41ec51
cmp dword [esp + 0x5ac], 0
jne 0x41ec51
cmp word [esp + 0x5b0], 0x3e8
jbe 0x41ec51
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x41ed6a
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x68]
mov ecx, eax
imul eax, dword [esp + 0x60]
imul ecx, dword [esp + 0x64]
push 2
xor ebx, ebx
push ebx
push 0xf4240
xor edx, edx
push edx
push ecx
mov edi, eax
call fcn.00444030
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041d280
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add esp, 0xc
push 0xffffffffffffffff
push ecx
add eax, 1
push eax
push edx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004215e0
mov eax, dword [esp + 0x2c]
add eax, 0xd2
push eax
lea ecx, [esp + 0x14]
call fcn.00403290
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422b40
push ebx
push 0xf4240
push ebx
push edi
call fcn.00444030
push 2
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d280
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edx
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.004215e0
mov ecx, dword [esp + 0x2c]
add ecx, 0xd2
push ecx
lea ecx, [esp + 0x14]
call fcn.00403290
jmp 0x41ed54
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41ed6a
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push 2
push 0
push 0xf4240
push edx
push eax
call fcn.00444030
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d280
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edx
push eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
call fcn.004215e0
mov edi, dword [esp + 0x2c]
add edi, 0xd2
push edi
call fcn.0042b71a
test eax, eax
je 0x41ecda
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00403080
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
push 0
push 0xf4240
push ecx
push edx
call fcn.00444030
push 2
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041d280
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 0xffffffffffffffff
add eax, 1
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.004215e0
mov ebx, dword [esp + 0x2c]
add ebx, 0xd2
push ebx
call fcn.0042b71a
test eax, eax
je 0x41ed58
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00403080
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edi
push edx
push eax
mov ecx, esi
call fcn.00422b40
mov al, byte [esp + 0x17]
shr dword [esp + 0x20], 1
add al, 1
cmp al, 0x5a
mov byte [esp + 0x17], al
jle 0x41e954
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 0x100], 0
lea ecx, [esp + 0x94]
mov byte [esp + 0x9b0], 0
call fcn.00405180
add edi, 0xfffffff0
mov dword [esp + 0x9b0], 0xffffffff
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41edc9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x9a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x990]
xor ecx, esp
call fcn.00441a71
mov esp, ebp
pop ebp
ret