Function at 0x413f80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a780
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0x1c]
push edi
lea ecx, [esi + 0x68]
push eax
mov dword [esp + 0x24], 1
call fcn.004111d0
test al, al
je 0x4143cd
push str.Emptying_recycle_bins
lea ecx, [esp + 0x1c]
call fcn.0042ff9f
or ebp, 0xffffffff
lea ecx, [esp + 0x18]
push ebp
push ecx
mov ecx, esi
mov dword [esp + 0x60], 0
call fcn.00402c60
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], ebp
call fcn.0042ff31
mov eax, dword [0x4501b4]
test eax, eax
je 0x4142a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SHQueryRecycleBinA
push eax
call edi
mov edx, dword [0x4501b4]
mov ebx, eax
push str.SHEmptyRecycleBinA
push edx
mov dword [esp + 0x2c], ebx
call edi
mov ecx, dword [0x4501b4]
mov dword [esp + 0x3c], eax
test ecx, ecx
je 0x4142a0
test ebx, ebx
je 0x4142a0
test eax, eax
je 0x4142a0
push 0x14
call fcn.0042fc72
mov edi, eax
add esp, 4
mov dword [edi], 0x14
mov eax, dword [0x44cad0]
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], 1
mov dword [esp + 0x14], 0x43
mov bl, 6
mov cl, byte [esp + 0x14]
lea edx, [esp + 0x10]
mov byte [esp + 0x10], cl
push edx
lea ecx, [esp + 0x1c]
call fcn.0043006e
mov eax, dword [esp + 0x18]
push edi
push eax
call dword [esp + 0x2c]
test eax, eax
jne 0x414265
mov eax, dword [edi + 0x10]
test eax, eax
jl 0x414265
jg 0x4140bc
mov eax, dword [edi + 0xc]
test eax, eax
jbe 0x414265
lea ecx, [esp + 0x28]
mov ebp, 0xb
push ecx
lea ecx, [esi + 0x68]
mov dword [esp + 0x2c], ebp
call fcn.004111d0
test al, al
je 0x4141ba
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.0042a480
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x5c], 2
call fcn.0042ff9f
push str.Recycled
push eax
lea eax, [esp + 0x34]
mov byte [esp + 0x60], 3
push eax
call fcn.0043017a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 4
push ecx
push eax
mov ecx, esi
call fcn.004023f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 3
call fcn.0042ff31
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 2
call fcn.0042ff31
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.0042ff31
push 1
push 1
lea ecx, [esp + 0x28]
call fcn.0042a480
lea edx, [esp + 0x10]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x5c], 5
call fcn.0042ff9f
push str.Recycler
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x60], bl
push eax
call fcn.0043017a
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 7
push ecx
push eax
mov ecx, esi
call fcn.004023f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.0042ff31
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 5
call fcn.0042ff31
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 1
call fcn.0042ff31
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
push 1
push edx
push eax
call dword [esp + 0x48]
test eax, eax
jne 0x414262
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebp
push ecx
lea ecx, [esi + 0x68]
call fcn.004111d0
test al, al
jne 0x414216
mov edx, dword [edi + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], edx
mov ecx, dword [esi + 0xc4]
fild qword [esp + 0x48]
fadd qword [esi + 0xc8]
fstp qword [esi + 0xc8]
mov eax, dword [edi + 0xc]
add ecx, eax
mov dword [esi + 0xc4], ecx
push str.Emptied_Recycle_Bin_on_drive
lea ecx, [esp + 0x48]
call fcn.0042ff9f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x64], 8
call fcn.0043017a
push eax
mov ecx, esi
mov byte [esp + 0x5c], 9
call fcn.00402d40
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 8
call fcn.0042ff31
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 1
call fcn.0042ff31
or ebp, 0xffffffff
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0x5a
mov dword [esp + 0x14], eax
jle 0x41407c
push edi
call fcn.0042fc9b
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], ebp
call fcn.0042ff31
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [esp + 0x15], 0x3a
mov byte [esp + 0x16], 0x5c
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], 0x43
mov bl, 0xe
mov al, byte [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x18], al
call edi
cmp eax, 3
jne 0x4143bb
push 1
push 1
lea ecx, [esp + 0x28]
call fcn.0042a480
lea edx, [esp + 0x14]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0x5c], 0xa
call fcn.0042ff9f
push str.Recycled
push eax
lea eax, [esp + 0x4c]
mov byte [esp + 0x60], 0xb
push eax
call fcn.0043017a
lea ecx, [esp + 0x20]
mov byte [esp + 0x58], 0xc
push ecx
push eax
mov ecx, esi
call fcn.004023f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x58], 0xb
call fcn.0042ff31
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 0xa
call fcn.0042ff31
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], ebp
call fcn.0042ff31
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.0042a480
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
mov dword [esp + 0x5c], 0xd
call fcn.0042ff9f
push str.Recycler
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x60], bl
push eax
call fcn.0043017a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0xf
push ecx
push eax
mov ecx, esi
call fcn.004023f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], bl
call fcn.0042ff31
lea ecx, [esp + 0x38]
mov byte [esp + 0x58], 0xd
call fcn.0042ff31
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], ebp
call fcn.0042ff31
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0x5a
mov dword [esp + 0x18], eax
jle 0x4142bf
mov ecx, dword [esp + 0x50]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret