Function at 0x42a5d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44655c
mov eax, dword fs:[0]
push eax
sub esp, 0x6cc
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x6b8], edi
mov dword [ebp - 0x6bc], ecx
lea edx, [ebp - 0x6b0]
call fcn.0042ad60
test eax, eax
je 0x42ab74
cmp byte [ebp - 0x69c], 0
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
jne 0x42a647
xor ecx, ecx
jmp 0x42a659
lea ecx, [ebp - 0x69c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a650
sub ecx, edx
push ecx
lea eax, [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x4a0]
call fcn.0040d720
mov dword [ebp - 4], 0
push 1
push 0x458250
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.0040d720
mov byte [ebp - 4], 1
push 1
push 0x458254
lea ecx, [ebp - 0x6d4]
mov dword [ebp - 0x6c0], 0xf
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 0x6d4], 0
call fcn.0040d720
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6d4]
push eax
lea edx, [ebp - 0x4a0]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0042a2a0
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov esi, eax
lea eax, [ebp - 0x4a0]
add esp, 8
cmp eax, esi
je 0x42a732
cmp dword [ebp - 0x48c], 0x10
jb 0x42a70b
push dword [ebp - 0x4a0]
call ebx
add esp, 4
push esi
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
call fcn.00421fa0
cmp dword [ebp - 0x14], 0x10
jb 0x42a740
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [ebp - 0x6c0], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42a766
push dword [ebp - 0x6d4]
call ebx
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x6c0], 0xf
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 0x6d4], 0
jb 0x42a793
push dword [ebp - 0x50]
call ebx
add esp, 4
cmp byte [ebp - 0x67a], 0
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
jne 0x42a7bb
xor ecx, ecx
jmp 0x42a7cd
lea ecx, [ebp - 0x67a]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a7c4
sub ecx, edx
push ecx
lea eax, [ebp - 0x67a]
push eax
lea ecx, [ebp - 0x488]
call fcn.0040d720
mov byte [ebp - 4], 3
push 1
push 0x458250
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
call fcn.0040d720
mov byte [ebp - 4], 4
push 1
push 0x458254
lea ecx, [ebp - 0x6d4]
mov dword [ebp - 0x6c0], 0xf
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 0x6d4], 0
call fcn.0040d720
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6d4]
push eax
lea edx, [ebp - 0x488]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.0042a2a0
mov esi, eax
lea eax, [ebp - 0x488]
add esp, 8
cmp eax, esi
je 0x42a89d
cmp dword [ebp - 0x474], 0x10
jb 0x42a876
push dword [ebp - 0x488]
call ebx
add esp, 4
push esi
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
call fcn.00421fa0
cmp dword [ebp - 0x14], 0x10
jb 0x42a8ab
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [ebp - 0x6c0], 0x10
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jb 0x42a8d1
push dword [ebp - 0x6d4]
call ebx
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x6c0], 0xf
mov dword [ebp - 0x6c4], 0
mov byte [ebp - 0x6d4], 0
jb 0x42a8fe
push dword [ebp - 0x50]
call ebx
add esp, 4
cmp dword [ebp - 0x48c], 0x10
lea edx, [ebp - 0x4a0]
cmovae edx, dword [ebp - 0x4a0]
lea ecx, [ebp - 0x28]
call fcn.0042a4a0
mov esi, eax
lea eax, [ebp - 0x4a0]
cmp eax, esi
je 0x42a961
cmp dword [ebp - 0x48c], 0x10
jb 0x42a93a
push dword [ebp - 0x4a0]
call ebx
add esp, 4
push esi
lea ecx, [ebp - 0x4a0]
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
call fcn.00421fa0
cmp dword [ebp - 0x14], 0x10
jb 0x42a96f
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [ebp - 0x474], 0x10
lea edx, [ebp - 0x488]
cmovae edx, dword [ebp - 0x488]
lea ecx, [ebp - 0x28]
call fcn.0042a4a0
mov esi, eax
lea eax, [ebp - 0x488]
cmp eax, esi
je 0x42a9d2
cmp dword [ebp - 0x474], 0x10
jb 0x42a9ab
push dword [ebp - 0x488]
call ebx
add esp, 4
push esi
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
call fcn.00421fa0
cmp dword [ebp - 0x14], 0x10
jb 0x42a9e0
push dword [ebp - 0x28]
call ebx
add esp, 4
cmp dword [ebp - 0x48c], 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x4a0]
cmovae eax, dword [ebp - 0x4a0]
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.00441240
add esp, 4
mov dword [ebp - 0x6b4], eax
push esi
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0x48c], 0x10
push edi
push dword [ebp - 0x6b4]
lea ecx, [ebp - 0x4a0]
cmovae ecx, dword [ebp - 0x4a0]
push edi
push ecx
push 0
push 0xfde9
call ebx
cmp dword [ebp - 0x474], 0x10
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x488]
cmovae eax, dword [ebp - 0x488]
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.00441240
add esp, 4
mov ebx, eax
push esi
push 0
push ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [ebp - 0x474], 0x10
push edi
push ebx
push edi
lea ecx, [ebp - 0x488]
cmovae ecx, dword [ebp - 0x488]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 0x6b8]
lea eax, [esi + esi]
push eax
push 0
push dword [ebp - 0x6bc]
call sub.MSVCR110.dll_memset
mov edi, dword [ebp - 0x6b4]
add esp, 0xc
push edi
push ebx
push 0x458258
push esi
push dword [ebp - 0x6bc]
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 [ebp - 0x474], 0x10
jb 0x42ab3c
push dword [ebp - 0x488]
call esi
add esp, 4
cmp dword [ebp - 0x48c], 0x10
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
jb 0x42aca0
push dword [ebp - 0x4a0]
call esi
add esp, 4
jmp 0x42aca0
xor eax, eax
push 0xff
mov word [ebp - 0x60], ax
mov dword [ebp - 0x3e], eax
mov word [ebp - 0x3a], ax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x4ac]
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4a4]
push eax
push 0xff
lea eax, [ebp - 0x60]
push eax
push 0
movq qword [ebp - 0x5e], xmm0
movq qword [ebp - 0x56], xmm0
movq qword [ebp - 0x4e], xmm0
movq qword [ebp - 0x46], xmm0
movq qword [ebp - 0x36], xmm0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x46e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b8], 0
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x6b4], edx
mov dword [ebp - 0x6b8], eax
mov ecx, dword [ebp - 0x6b4]
mov esi, dword [sym.imp.MSVCR110.dll_swprintf_s]
test ecx, ecx
je 0x42ac61
mov eax, dword [ebp - 0x6b8]
test eax, eax
je 0x42ac61
push eax
push ecx
push str._u__u
lea eax, [ebp - 0x470]
push 0x208
push eax
call esi
add esp, 0x14
jmp 0x42ac72
push ecx
lea eax, [ebp - 0x470]
push eax
push ecx
call fcn.0042a3d0
add esp, 0xc
mov ebx, dword [ebp - 0x6bc]
lea eax, [edi + edi]
push eax
push 0
push ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x470]
push dword [ebp - 0x4a4]
push eax
push str._s__08X
push edi
push ebx
call esi
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret