Function at 0x4021a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x420d51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x118
push esi
mov esi, ecx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x1c], 0
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x14], eax
mov edi, 0x41
mov dword [ebp - 0x18], edi
test eax, eax
je 0x4023ef
nop dword [eax + eax]
test al, 1
je 0x4023de
push ecx
lea ecx, [ebp - 0x128]
call fcn.00403940
mov edx, edi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00405c80
mov edx, 0x429b44
mov ecx, eax
call fcn.00405f60
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x128]
call fcn.00403860
cmp dword [eax + 0x14], 8
jb 0x40226b
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x60]
mov edi, eax
cmp ecx, 8
jb 0x4022b8
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4022ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push ecx
push edx
call fcn.0040882a
add esp, 8
test edi, edi
je 0x4023c9
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.00403860
lea ecx, [ebp - 0x58]
cmp ecx, eax
je 0x402319
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x60]
cmp ecx, 8
jb 0x402353
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402349
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push ecx
push edx
call fcn.0040882a
add esp, 8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x58]
push ecx
cmp eax, dword [esi + 8]
je 0x402387
mov edx, eax
call fcn.00407550
add esp, 4
add dword [esi + 4], 0x28
jmp 0x40238f
push eax
mov ecx, esi
call fcn.00407340
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x4023c9
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4023bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push ecx
push edx
call fcn.0040882a
add esp, 8
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0
call fcn.00402410
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
shr eax, 1
inc edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
test eax, eax
jne 0x402220
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040f0c3
int3