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

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x505e35
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x55209c]
xor eax, ebp
mov dword [ebp + 0x750], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
push 0xb
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push 0x52e474
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.00406ac0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.0041eef0
mov ecx, eax
call fcn.0041efc0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
cmp edx, 8
jb 0x425808
mov ecx, dword [ebp - 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4257fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425bfb
push edx
push ecx
call fcn.004c27d8
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
test edi, edi
je 0x425929
push str.SHGetFileInfoW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x425929
xor eax, eax
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 0
mov dword [ebp + 0x2d0], 0
mov dword [ebp + 0x2d4], 7
mov word [ebp + 0x2c0], ax
mov dword [ebp - 4], 1
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], eax
mov dword [ebp + 0x2e8], eax
mov dword [ebp + 0x2ec], 7
mov word [ebp + 0x2d8], ax
mov byte [ebp - 4], 2
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], eax
mov dword [ebp + 0x300], eax
mov dword [ebp + 0x304], 7
mov word [ebp + 0x2f0], ax
mov dword [ebp - 4], 4
push 0x2b4
push eax
lea eax, [ebp]
push eax
call fcn.004da4e0
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4258df
mov eax, dword [esi]
push 0x610
push 0x2b4
lea ecx, [ebp]
push ecx
push 0
push eax
call edi
test eax, eax
jne 0x425930
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x2f0]
call fcn.00406a50
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x2d8]
call fcn.00406a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.00406a50
xor al, al
jmp 0x425bd8
lea ecx, [ebp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425936
sub ecx, edx
lea eax, [ebp + 0xc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2c0]
call fcn.00406ac0
lea ecx, [ebp + 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425960
sub ecx, edx
lea eax, [ebp + 0x214]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2d8]
call fcn.00406ac0
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.004da4e0
push 0x20a
lea eax, [ebp + 0x544]
mov dword [ebp + 0x2b4], 0
push 0
push eax
mov dword [ebp + 0x2b8], 0
mov dword [ebp + 0x2bc], 0
call fcn.004da4e0
add esp, 0x18
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4259d3
mov eax, dword [esi]
push 0x104
lea ecx, [ebp + 0x544]
push ecx
lea ecx, [ebp + 0x2bc]
push ecx
lea ecx, [ebp + 0x2b8]
push ecx
lea ecx, [ebp + 0x2b4]
push ecx
push 0x104
lea ecx, [ebp + 0x338]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x425af6
xor eax, eax
lea ecx, [ebp + 0x544]
mov word [ebp + 0x74c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425a21
sub ecx, edx
lea eax, [ebp + 0x544]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x2f0]
call fcn.00406ac0
cmp dword [esi + 0x14], 8
mov byte [ebp + 0x320], 1
mov dword [ebp + 0x330], 0
mov dword [ebp + 0x334], 0
mov dword [ebp + 0x328], 0
mov dword [ebp + 0x32c], 0
jb 0x425a7a
mov esi, dword [esi]
lea eax, [ebp + 0x32c]
push eax
lea eax, [ebp + 0x328]
push eax
lea eax, [ebp + 0x334]
push eax
lea eax, [ebp + 0x330]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x425b1a
mov esi, dword [ebp + 0x334]
mov eax, esi
mov edi, dword [ebp + 0x330]
imul eax, edi
push 0
push edi
mov dword [ebp + 0x308], eax
mov eax, dword [ebp + 0x32c]
mul esi
push edx
push eax
call fcn.004c2cd0
mov dword [ebp + 0x310], eax
mov eax, dword [ebp + 0x328]
mov dword [ebp + 0x314], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.004c2cd0
mov dword [ebp + 0x318], eax
mov dword [ebp + 0x31c], edx
jmp 0x425b1a
xorps xmm0, xmm0
mov dword [ebp + 0x308], 0
movlpd qword [ebp + 0x310], xmm0
movlpd qword [ebp + 0x318], xmm0
mov byte [ebp + 0x320], 0
lea eax, [ebp + 0x2c0]
cmp ebx, eax
je 0x425b40
cmp dword [ebp + 0x2d4], 8
mov ecx, ebx
push dword [ebp + 0x2d0]
cmovae eax, dword [ebp + 0x2c0]
push eax
call fcn.00406ac0
lea ecx, [ebx + 0x18]
lea eax, [ebp + 0x2d8]
cmp ecx, eax
je 0x425b67
cmp dword [ebp + 0x2ec], 8
push dword [ebp + 0x2e8]
cmovae eax, dword [ebp + 0x2d8]
push eax
call fcn.00406ac0
lea ecx, [ebx + 0x30]
lea eax, [ebp + 0x2f0]
cmp ecx, eax
je 0x425b8e
cmp dword [ebp + 0x304], 8
push dword [ebp + 0x300]
cmovae eax, dword [ebp + 0x2f0]
push eax
call fcn.00406ac0
mov eax, dword [ebp + 0x308]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x310]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x314]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x318]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x31c]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp + 0x320]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c0]
call fcn.00425c10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x750]
xor ecx, ebp
call fcn.004c1f5d
lea esp, [ebp + 0x754]
pop ebp
ret
call fcn.004e566f
int3