Function at 0x411550
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x46bf68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.0040f5c0
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov byte [esp + 0x28], cl
sub ecx, eax
mov eax, dword [ebp - 8]
sub eax, 0x80
or eax, ecx
jge 0x4115c3
push 0x80
lea ecx, [esp + 0x18]
call fcn.00401960
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
push 0x80
push ebp
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411607
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
jne 0x41160f
xor eax, eax
jmp 0x411620
push ebp
call fcn.00437a78
add esp, 4
test eax, eax
jl 0x4117a6
cmp eax, dword [ebp - 8]
jg 0x4117a6
test edi, edi
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2], 0
je 0x41174f
call fcn.0044f512
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push str.NTFS
push ebp
mov byte [esp + 0x30], 2
call fcn.00438ae6
add esp, 8
test eax, eax
jne 0x411683
push str.recycler
call fcn.00437a78
add esp, 4
push eax
push str.recycler
lea ecx, [esp + 0x18]
call fcn.00402040
jmp 0x4116a7
push str.FAT32
push ebp
call fcn.00438ae6
add esp, 8
test eax, eax
jne 0x41179c
push str.recycled
lea ecx, [esp + 0x14]
call fcn.00402660
mov eax, dword [esi]
mov ecx, esi
xor edi, edi
call dword [eax + 0x24]
test eax, eax
jle 0x411722
test edi, edi
jl 0x411797
cmp edi, dword [esi + 0x50]
jge 0x411797
mov ecx, dword [esi + 0x4c]
lea eax, [ecx + edi*4]
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0040e500
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call fcn.00438ae6
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 8
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41170f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
jne 0x41171f
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 0x24]
cmp edi, eax
jl 0x4116b4
or ebx, 0xffffffff
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
cmp edi, eax
jl 0x41177e
mov eax, dword [esp + 0x10]
mov byte [esp + 0x28], 0
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41174f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 0xfffffff0
mov dword [esp + 0x28], ebx
lea eax, [ebp + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41176b
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
test edi, edi
jl 0x411797
cmp edi, dword [esi + 0x50]
jge 0x411797
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
lea edi, [eax + edi*4]
call fcn.00410e70
jmp 0x41172d
jmp fcn.0044727a
mov byte [esp + 0x28], 0
lea eax, [edi - 0x10]
jmp 0x411739
push 0x80070057
call fcn.00401250
int3