Function at 0x10078370
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018799f
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x102d5908]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp byte [0x102d7ec4], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xf0], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
jne 0x100783e2
xor ecx, ecx
jmp 0x100783f9
mov ecx, 0x102d7ec4
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100783f0
sub ecx, edx
push ecx
push 0x102d7ec4
lea ecx, [ebp - 0x9c]
call fcn.10050790
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10078462
cmp dword [ebp - 0x88], 0x10
lea eax, [ebp - 0x9c]
push ecx
cmovae eax, dword [ebp - 0x9c]
push eax
lea eax, [ecx + 1]
push eax
push esi
call dword [sym.imp.MSVCR120.dll_memcpy_s]
mov eax, dword [ebp - 0x8c]
add esp, 0x10
mov dword [edi], eax
cmp dword [ebp - 0x88], 0x10
jb 0x1007845b
push dword [ebp - 0x9c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x10078a3d
mov eax, 0x43
mov dword [ebp - 0xa0], 0xf
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0xb4]
xor eax, eax
push 1
push 0x10190734
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xb4], al
call fcn.10050790
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push 0
push 0
mov byte [ebp - 0x3c], 0
movdqu xmmword [ebp - 0x3b], xmm0
mov dword [ebp - 0x23], 0
movq qword [ebp - 0x2b], xmm0
mov word [ebp - 0x1f], 0
mov byte [ebp - 0x1d], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0xcc]
push eax
call fcn.10065b30
add esp, 4
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0xbc], 0
jne 0x10078537
cmp dword [ebp - 0xb8], 0x10
lea eax, [ebp - 0xcc]
push 0
cmovae eax, dword [ebp - 0xcc]
push 0x102c07f1
push eax
call fcn.1006e740
add esp, 0xc
test eax, eax
sete al
test al, al
jne 0x1007865a
push 1
push 0
push 0x10192ac8
lea ecx, [ebp - 0xcc]
call fcn.1006f150
push 0xffffffffffffffff
inc eax
lea ecx, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10075350
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 4
jb 0x1007856c
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x10078575
xor ecx, ecx
jmp 0x10078589
mov ecx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078580
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.10050790
cmp dword [ebp - 0x58], 0x10
mov byte [ebp - 4], 3
jb 0x100785ab
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 1
push 0
push 0x10192b04
lea ecx, [ebp - 0xb4]
call fcn.1006f150
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.10075350
cmp dword [eax + 0x14], 0x10
jb 0x100785d9
mov eax, dword [eax]
push eax
push 0x10192b08
lea eax, [ebp - 0x1c]
push 8
push eax
call dword [sym.imp.MSVCR120.dll_sprintf_s]
add esp, 0x10
cmp dword [ebp - 0x58], 0x10
jb 0x100785ff
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x10192b0c
lea eax, [ebp - 0x1c]
push 8
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
mov dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0xe8]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x3c]
push ecx
push str._04X_04X
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp byte [ebp - 0x3c], 0
jne 0x10078676
push 0x11
push str.AXP534CNA20VNA08
lea eax, [ebp - 0x3c]
push 0x12
push eax
call dword [sym.imp.MSVCR120.dll_memcpy_s]
add esp, 0x10
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 5
push eax
call fcn.10066380
mov esi, eax
add esp, 4
lea eax, [ebp - 0x54]
cmp eax, esi
je 0x100786cd
cmp dword [ebp - 0x40], 0x10
jb 0x100786b2
push dword [ebp - 0x54]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.10050410
cmp dword [ebp - 0x58], 0x10
jb 0x100786de
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [ebp - 0x3c], 0
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
jne 0x10078703
xor ecx, ecx
jmp 0x10078719
lea ecx, [ebp - 0x3c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10078710
sub ecx, edx
push ecx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10050790
cmp dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
je 0x10078761
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
push 0
cmovae eax, dword [ebp - 0x54]
push 0x102c07f1
push eax
call fcn.1006e740
add esp, 0xc
mov ecx, 1
test eax, eax
cmovne ecx, eax
test ecx, ecx
sete al
test al, al
je 0x100787a2
cmp dword [ebp - 0x44], 0x10
jae 0x100787a2
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.100741f0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.1006d710
cmp dword [ebp - 0x58], 0x10
mov byte [ebp - 4], 6
jb 0x10078761
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x10078761
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x54]
lea edi, [ebp - 0x54]
mov eax, dword [ebp - 0x44]
cmp esi, 0x10
cmovae ecx, edx
cmovae edi, edx
add eax, ecx
cmp esi, 0x10
lea ecx, [ebp - 0x54]
cmovae ecx, edx
cmp ecx, eax
je 0x100787e1
push dword [sym.imp.MSVCR120.dll_toupper]
push edi
push eax
push ecx
lea eax, [ebp - 0xe8]
push eax
call fcn.10059a60
add esp, 0x14
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
push 0xffffffffffffffff
push 0xd
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x54]
call fcn.10075350
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 9
call fcn.1006d710
cmp dword [ebp - 0x58], 0x10
mov byte [ebp - 4], 8
jb 0x10078833
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 4
push 1
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.10075350
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.1006d710
cmp dword [ebp - 0x58], 0x10
mov byte [ebp - 4], 8
jb 0x1007886c
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 8
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10075350
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xb
call fcn.1006d710
cmp dword [ebp - 0x58], 0x10
mov byte [ebp - 4], 8
jb 0x100788a8
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push 5
push 4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.10075350
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xc
call fcn.1006d710
cmp dword [ebp - 0x58], 0x10
jb 0x100788dd
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x70], 0x10
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x74]
cmovae ecx, dword [ebp - 0x84]
mov esi, dword [sym.imp.MSVCR120.dll_memcpy_s]
push eax
push ecx
inc eax
push eax
push dword [ebp - 0xec]
call esi
mov eax, dword [ebp - 0xf0]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x70], 0x10
push ecx
mov dword [eax], ecx
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
lea eax, [ecx + 1]
mov dword [0x102d7ed4], 0
push eax
push 0x102d7ec4
movdqu xmmword [0x102d7ec4], xmm0
mov byte [0x102d7ed8], 0
call esi
add esp, 0x20
cmp dword [ebp - 0x70], 0x10
jb 0x1007895f
push dword [ebp - 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0xd0], 0x10
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
jb 0x1007898b
push dword [ebp - 0xe4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x40], 0x10
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
jb 0x100789b7
push dword [ebp - 0x54]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0xb8], 0x10
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
jb 0x100789e0
push dword [ebp - 0xcc]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0xa0], 0x10
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
jb 0x10078a12
push dword [ebp - 0xb4]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
jmp 0x10078444
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1018427c
mov esp, ebp
pop ebp
ret