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

Disassembly:
push ebp
lea ebp, [esp - 0x754]
sub esp, 0x754
push 0xffffffffffffffff
push 0x4fde95
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x54e414]
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 edi, ecx
push 0x529ba0
lea ecx, [ebp - 0x24]
call fcn.0040a870
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.00424e80
mov ecx, eax
call fcn.00424f40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0040a7e0
test esi, esi
je 0x424967
push str.SHGetFileInfoW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x424967
lea ecx, [ebp + 0x2b4]
call fcn.0040a8b0
mov dword [ebp - 4], 1
lea ecx, [ebp + 0x2cc]
call fcn.0040a8b0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x2e4]
call fcn.0040a8b0
mov dword [ebp - 4], 4
lea eax, [ebp]
push 0x2b4
push 0
push eax
call fcn.004d4650
add esp, 0xc
lea eax, [ebp]
mov ecx, edi
push 0x610
push 0x2b4
push eax
push 0
call fcn.0040a680
push eax
call esi
test eax, eax
jne 0x42496e
mov dword [ebp - 4], 6
lea ecx, [ebp + 0x2e4]
call fcn.0040a7e0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x2cc]
call fcn.0040a7e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.0040a7e0
xor al, al
jmp 0x424c02
lea eax, [ebp + 0xc]
push eax
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0x2b4]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0040af20
lea eax, [ebp + 0x214]
push eax
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0x2cc]
push eax
lea eax, [ebp + 0x214]
push eax
call fcn.0040af20
push 0x20a
lea eax, [ebp + 0x338]
push 0
push eax
call fcn.004d4650
push 0x20a
lea eax, [ebp + 0x544]
mov dword [ebp + 0x31c], 0
push 0
push eax
mov dword [ebp + 0x320], 0
mov dword [ebp + 0x324], 0
call fcn.004d4650
add esp, 0x18
lea eax, [ebp + 0x544]
mov ecx, edi
push 0x104
push eax
lea eax, [ebp + 0x324]
push eax
lea eax, [ebp + 0x320]
push eax
lea eax, [ebp + 0x31c]
push eax
push 0x104
lea eax, [ebp + 0x338]
push eax
call fcn.0040a680
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x424b13
xor eax, eax
mov word [ebp + 0x74c], ax
lea eax, [ebp + 0x544]
push eax
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0x2e4]
push eax
lea eax, [ebp + 0x544]
push eax
call fcn.0040af20
lea eax, [ebp + 0x32c]
mov byte [ebp + 0x314], 1
push eax
lea eax, [ebp + 0x328]
mov dword [ebp + 0x330], 0
push eax
lea eax, [ebp + 0x334]
mov dword [ebp + 0x334], 0
push eax
lea eax, [ebp + 0x330]
mov dword [ebp + 0x328], 0
push eax
mov ecx, edi
mov dword [ebp + 0x32c], 0
call fcn.0040a680
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x424b37
mov esi, dword [ebp + 0x334]
mov eax, esi
mov edi, dword [ebp + 0x330]
imul eax, edi
push 0
push edi
mov dword [ebp + 0x2fc], eax
mov eax, dword [ebp + 0x32c]
mul esi
push edx
push eax
call fcn.004d24f0
mov dword [ebp + 0x304], eax
mov eax, dword [ebp + 0x328]
mov dword [ebp + 0x308], edx
mul esi
push 0
push edi
push edx
push eax
call fcn.004d24f0
mov dword [ebp + 0x30c], eax
mov dword [ebp + 0x310], edx
jmp 0x424b37
xorps xmm0, xmm0
mov dword [ebp + 0x2fc], 0
movlpd qword [ebp + 0x304], xmm0
movlpd qword [ebp + 0x30c], xmm0
mov byte [ebp + 0x314], 0
lea ecx, [ebp + 0x2b4]
call fcn.0040ad00
cmp ebx, eax
je 0x424b60
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x424b55
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.0040af20
lea ecx, [ebp + 0x2cc]
lea esi, [ebx + 0x18]
call fcn.0040ad00
cmp esi, eax
je 0x424b8c
call fcn.0040ad00
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x424b81
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.0040af20
lea ecx, [ebp + 0x2e4]
lea esi, [ebx + 0x30]
call fcn.0040ad00
cmp esi, eax
je 0x424bb8
call fcn.0040ad00
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x424bad
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.0040af20
mov eax, dword [ebp + 0x2fc]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 0x304]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x308]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 0x30c]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x310]
mov dword [ebx + 0x5c], eax
mov al, byte [ebp + 0x314]
mov byte [ebx + 0x60], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.00424c30
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.004d1486
lea esp, [ebp + 0x754]
pop ebp
ret