Function at 0x10056910
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009d8c2
mov eax, dword fs:[0]
push eax
sub esp, 0x6c8
mov eax, dword [0x100e6018]
xor eax, esp
mov dword [esp + 0x6c0], eax
push ebx
push esi
push edi
mov eax, dword [0x100e6018]
xor eax, esp
push eax
lea eax, [esp + 0x6d8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x6c]
push eax
push 0
mov dword [esp + 0x34], ebx
call sym.iImportLib.dll_int___cdecl_elex::Utilities::ReportLog::GetPhysicalDriveInfoInNT_int__struct_elex::Utilities::ReportLog::_IDINFO__
add esp, 8
test eax, eax
je 0x10056ec0
cmp byte [esp + 0x80], 0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jne 0x10056991
xor ecx, ecx
jmp 0x100569a9
lea ecx, [esp + 0x80]
lea edx, [ecx + 1]
jmp 0x100569a0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100569a0
sub ecx, edx
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x50]
call fcn.10008870
mov dword [esp + 0x6e0], 0
push 1
push 0x100b5b98
lea ecx, [esp + 0x29c]
mov dword [esp + 0x2b0], 0xf
mov dword [esp + 0x2ac], 0
mov byte [esp + 0x29c], 0
call fcn.10008870
mov byte [esp + 0x6e0], 1
push 1
push 0x100b375c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.10008870
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x274]
mov byte [esp + 0x6e8], 2
call fcn.10038260
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 0x10056a8b
cmp dword [esp + 0x5c], 0x10
jb 0x10056a6c
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.1000d3f0
cmp dword [esp + 0x280], 0x10
jb 0x10056aa1
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], 0
mov byte [esp + 0x26c], 0
jb 0x10056acf
push dword [esp + 0x14]
call ebx
add esp, 4
mov byte [esp + 0x6e0], 0
cmp dword [esp + 0x2a8], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x10056b02
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 0x10056b25
xor ecx, ecx
jmp 0x10056b39
lea ecx, [esp + 0xa2]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056b30
sub ecx, edx
push ecx
lea eax, [esp + 0xa6]
push eax
lea ecx, [esp + 0x38]
call fcn.10008870
mov byte [esp + 0x6e0], 3
push 1
push 0x100b5b98
lea ecx, [esp + 0x29c]
mov dword [esp + 0x2b0], 0xf
mov dword [esp + 0x2ac], 0
mov byte [esp + 0x29c], 0
call fcn.10008870
mov byte [esp + 0x6e0], 4
push 1
push 0x100b375c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.10008870
lea eax, [esp + 0x294]
push eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x274]
mov byte [esp + 0x6e8], 5
call fcn.10038260
mov esi, eax
lea eax, [esp + 0x38]
add esp, 8
cmp eax, esi
je 0x10056c12
cmp dword [esp + 0x44], 0x10
jb 0x10056bf3
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.1000d3f0
cmp dword [esp + 0x280], 0x10
jb 0x10056c28
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x280], 0xf
mov dword [esp + 0x27c], 0
mov byte [esp + 0x26c], 0
jb 0x10056c56
push dword [esp + 0x14]
call ebx
add esp, 4
mov byte [esp + 0x6e0], 3
cmp dword [esp + 0x2a8], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
jb 0x10056c89
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.10038130
mov esi, eax
lea eax, [esp + 0x48]
cmp eax, esi
je 0x10056cdc
cmp dword [esp + 0x5c], 0x10
jb 0x10056cbd
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.1000d3f0
cmp dword [esp + 0x280], 0x10
jb 0x10056cf2
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.10038130
mov esi, eax
lea eax, [esp + 0x30]
cmp eax, esi
je 0x10056d45
cmp dword [esp + 0x44], 0x10
jb 0x10056d26
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.1000d3f0
cmp dword [esp + 0x280], 0x10
jb 0x10056d5b
push dword [esp + 0x26c]
call ebx
add esp, 4
cmp dword [esp + 0x5c], 0x10
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov ebx, dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new___unsigned_int_]
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 ebx
add esp, 4
mov dword [esp + 0x60], eax
push esi
push 0
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
cmp dword [esp + 0x5c], 0x10
push edi
push dword [esp + 0x64]
lea ecx, [esp + 0x50]
cmovae ecx, dword [esp + 0x50]
push edi
push ecx
push 0
push 0xfde9
call esi
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 esi
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 ebx
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 [ebp + 0xc]
lea eax, [esi + esi]
push eax
push 0
push dword [esp + 0x34]
call sub.MSVCR110.dll_memset
mov edi, dword [esp + 0x6c]
add esp, 0xc
push edi
push ebx
push str._s__s
push esi
push dword [esp + 0x3c]
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 0x10056e92
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 0x10056fdc
push dword [esp + 0x48]
call esi
add esp, 4
jmp 0x10056fdc
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 + 0x70]
push eax
lea eax, [esp + 0x70]
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
lea ecx, [esp + 0x2bc]
call fcn.100567e0
test eax, eax
jne 0x10056fae
push ecx
lea eax, [esp + 0x2c0]
push eax
push ecx
call fcn.10056840
add esp, 0xc
mov esi, dword [ebp + 0xc]
lea eax, [esi + esi]
push eax
push 0
push ebx
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x2bc]
push dword [esp + 0x60]
push eax
push str._s__08X
push esi
push ebx
call dword [sym.imp.MSVCR110.dll_swprintf_s]
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.100947be
mov esp, ebp
pop ebp
ret