Function at 0x42de80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441ca2
mov eax, dword fs:[0]
push eax
sub esp, 0x6c8
mov eax, dword [0x45d070]
xor eax, esp
mov dword [esp + 0x6c0], eax
push ebx
push esi
push edi
mov eax, dword [0x45d070]
xor eax, esp
push eax
lea eax, [esp + 0x6d8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
lea edx, [esp + 0x6c]
call fcn.0042e640
test eax, eax
je 0x42e41f
cmp byte [esp + 0x80], 0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jne 0x42defa
xor ecx, ecx
jmp 0x42df0d
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42df04
sub ecx, edx
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x50]
call fcn.004054c0
mov dword [esp + 0x6e0], 0
push 1
push 0x44e640
lea ecx, [esp + 0x29c]
mov dword [esp + 0x2b0], 0xf
mov dword [esp + 0x2ac], 0
mov byte [esp + 0x29c], 0
call fcn.004054c0
mov byte [esp + 0x6e0], 1
push 1
push 0x44e644
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004054c0
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x274]
mov byte [esp + 0x6e8], 2
call fcn.0042db50
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov esi, eax
lea eax, [esp + 0x50]
add esp, 8
cmp eax, esi
je 0x42dfef
cmp dword [esp + 0x5c], 0x10
jb 0x42dfd0
push dword [esp + 0x48]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00406190
cmp dword [esp + 0x280], 0x10
jb 0x42e005
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], 0
mov byte [esp + 0x26c], 0
jb 0x42e033
push dword [esp + 0x18]
call ebx
add esp, 4
mov byte [esp + 0x6e0], 0
cmp dword [esp + 0x2a8], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jb 0x42e066
push dword [esp + 0x294]
call ebx
add esp, 4
cmp byte [esp + 0xa2], 0
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jne 0x42e089
xor ecx, ecx
jmp 0x42e09c
lea ecx, [esp + 0xa2]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42e093
sub ecx, edx
push ecx
lea eax, [esp + 0xa6]
push eax
lea ecx, [esp + 0x38]
call fcn.004054c0
mov byte [esp + 0x6e0], 3
push 1
push 0x44e640
lea ecx, [esp + 0x29c]
mov dword [esp + 0x2b0], 0xf
mov dword [esp + 0x2ac], 0
mov byte [esp + 0x29c], 0
call fcn.004054c0
mov byte [esp + 0x6e0], 4
push 1
push 0x44e644
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004054c0
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x274]
mov byte [esp + 0x6e8], 5
call fcn.0042db50
mov esi, eax
lea eax, [esp + 0x38]
add esp, 8
cmp eax, esi
je 0x42e175
cmp dword [esp + 0x44], 0x10
jb 0x42e156
push dword [esp + 0x30]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00406190
cmp dword [esp + 0x280], 0x10
jb 0x42e18b
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x2c], 0x10
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], 0
mov byte [esp + 0x26c], 0
jb 0x42e1b9
push dword [esp + 0x18]
call ebx
add esp, 4
mov byte [esp + 0x6e0], 3
cmp dword [esp + 0x2a8], 0x10
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
jb 0x42e1ec
push dword [esp + 0x294]
call ebx
add esp, 4
cmp dword [esp + 0x5c], 0x10
lea edx, [esp + 0x48]
cmovae edx, dword [esp + 0x48]
lea ecx, [esp + 0x26c]
call fcn.0042dd50
mov esi, eax
lea eax, [esp + 0x48]
cmp eax, esi
je 0x42e23f
cmp dword [esp + 0x5c], 0x10
jb 0x42e220
push dword [esp + 0x48]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.00406190
cmp dword [esp + 0x280], 0x10
jb 0x42e255
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x44], 0x10
lea edx, [esp + 0x30]
cmovae edx, dword [esp + 0x30]
lea ecx, [esp + 0x26c]
call fcn.0042dd50
mov esi, eax
lea eax, [esp + 0x30]
cmp eax, esi
je 0x42e2a8
cmp dword [esp + 0x44], 0x10
jb 0x42e289
push dword [esp + 0x30]
call ebx
add esp, 4
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.00406190
cmp dword [esp + 0x280], 0x10
jb 0x42e2be
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
push 0
push 0xfde9
call ebx
mov edi, eax
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042ec4b
add esp, 4
mov dword [esp + 0x10], eax
push esi
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x5c], 0x10
push edi
push dword [esp + 0x14]
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
push edi
push ecx
push 0
push 0xfde9
call ebx
cmp dword [esp + 0x44], 0x10
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
push eax
push 0
push 0xfde9
call ebx
mov edi, eax
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042ec4b
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x44], 0x10
push edi
push ebx
push edi
lea ecx, [esp + 0x3c]
cmovae ecx, dword [esp + 0x3c]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [esp + 0x14]
push 0x618
push 0
push esi
call sub.MSVCR110.dll_memset
mov edi, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebx
push 0x44e648
push 0x30c
push esi
call dword [sym.imp.MSVCR110.dll_swprintf_s]
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 0x14
push ebx
call esi
add esp, 4
push edi
call esi
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [esp + 0x44], 0x10
jb 0x42e3f1
push dword [esp + 0x30]
call esi
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x42e57b
push dword [esp + 0x48]
call esi
add esp, 4
jmp 0x42e57b
xor eax, eax
push 0xff
mov word [esp + 0x298], ax
mov dword [esp + 0x2ba], eax
mov word [esp + 0x2be], ax
mov word [esp + 0x270], ax
mov dword [esp + 0x292], eax
mov word [esp + 0x296], ax
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x74]
push eax
xorps xmm0, xmm0
lea eax, [esp + 0x70]
push eax
push 0xff
lea eax, [esp + 0x2ac]
push eax
push 0
movq qword [esp + 0x2b6], xmm0
movq qword [esp + 0x2be], xmm0
movq qword [esp + 0x2c6], xmm0
movq qword [esp + 0x2ce], xmm0
movq qword [esp + 0x28e], xmm0
movq qword [esp + 0x296], xmm0
movq qword [esp + 0x29e], xmm0
movq qword [esp + 0x2a6], xmm0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x2c4], ax
lea eax, [esp + 0x2c6]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, 1
xor edx, edx
cpuid
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.MSVCR110.dll_swprintf_s]
test ecx, ecx
je 0x42e53d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42e53d
push eax
push ecx
push 0x44e5d4
lea eax, [esp + 0x2c8]
push 0x208
push eax
call esi
add esp, 0x14
jmp 0x42e54f
push ecx
lea eax, [esp + 0x2c0]
push eax
push ecx
call fcn.0042dc80
add esp, 0xc
push 0x618
push 0
push edi
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2bc]
push dword [esp + 0x60]
push eax
push str._s__08X
push 0x30c
push edi
call esi
add esp, 0x14
mov ecx, dword [esp + 0x6d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c0]
xor ecx, esp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret