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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a0f6
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4747c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x1ac]
push edx
push 0xc8
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1d4], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1c0], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call fcn.0042263d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x402c7d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x1ac]
lea esp, [esp]
cmp word [esi], bx
je 0x402d59
push 0x462984
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpCW]
test eax, eax
je 0x402d3c
lea ecx, [ebp - 0x1c4]
push ecx
lea edx, [ebp - 0x1d4]
push edx
lea eax, [ebp - 0x1dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp eax, 1
jne 0x402d3c
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1c4]
push ebx
push 0x400
push ecx
push edx
call fcn.00446420
push ebx
push 0x400
push edx
push eax
call fcn.00446420
push ebx
push 0x400
push edx
push eax
call fcn.00446420
cmp eax, edi
jle 0x402d3c
mov edi, eax
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402d20
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x1b0]
call fcn.0040c320
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x402d41
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
jmp 0x402ca0
mov eax, dword [ebp - 0x1b0]
cmp dword [eax - 0xc], ebx
jne 0x402d76
push 3
push 0x462984
lea ecx, [ebp - 0x1b0]
call fcn.0040c320
push 7
push str.yxdown_
lea ecx, [ebp - 0x1b0]
call fcn.0040c440
push ecx
mov ecx, esp
mov dword [ebp - 0x1e0], esp
push str._PRODUCT_E_NAME
call fcn.0040b3d0
mov edx, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1b4]
push ecx
push edx
call fcn.00408bd0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x1b0]
call fcn.0040c440
mov esi, dword [ebp - 0x1b0]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], ebx
lea ecx, [esi + 0xc]
jl 0x402df4
cmp eax, dword [esi]
jne 0x402df4
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x402e30
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebx
jne 0x402e0d
call fcn.00401290
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004410ac
add esp, 0x10
lea edx, [edi + 0x10]
mov edi, dword [ebp - 0x1b8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1b4]
add eax, 0xfffffff0
mov dword [edi], edx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402e7d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
jmp 0x402e9d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00440c2a
mov esp, ebp
pop ebp
ret 4