Function at 0x10019e70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8e4
mov eax, dword [0x10030034]
xor eax, esp
mov dword [esp + 0x8e0], eax
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
je 0x10019fbd
xor eax, eax
push 0x40e
push eax
mov word [esp + 0xd0], ax
lea eax, [esp + 0xd2]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x410
call fcn.1001a690
test eax, eax
push ecx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xd0]
push eax
mov edx, str.SoftwareWow6432NodeNAMSystemNAMClient
jne 0x10019ee3
mov edx, str.SoftwareNAMSystemNAMClient
sub esp, 8
call fcn.1001a710
movzx eax, al
add esp, 0x14
test eax, eax
jne 0x10019f04
push str.Image_Verifier__Get_Registry_Install_Path_False
call fcn.10019db0
jmp 0x1001a16c
xor eax, eax
push 0x40e
push eax
mov word [esp + 0x4e0], ax
lea eax, [esp + 0x4e2]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
mov dword [esp + 0x3c], eax
mov word [esp + 0x40], ax
mov eax, dword [esp + 0xd4]
add esp, 0xc
mov dword [esp + 0x30], eax
push 0x208
lea eax, [esp + 0x4dc]
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10019fae
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x4dc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [esp + 0x4d8]
push eax
lea eax, [esp + 0x14]
push eax
call esi
push edi
lea eax, [esp + 0x34]
push eax
call esi
push 1
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ntdll.dll_RtlPrefixUnicodeString]
test al, al
jne 0x10019fbd
push str.Image_Verifier__Verify_File_Path_False
call fcn.10019db0
jmp 0x1001a16c
push str.Image_Verifier__Query_Registry_Install_Dos_Path_False
call fcn.10019db0
jmp 0x1001a16c
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], 0
call fcn.1001a190
test eax, eax
jne 0x1001a000
push str.Image_Verifier__Read_File_Buffer_False
call fcn.10019db0
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x1001a16f
push eax
jmp 0x1001a166
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
cmp edi, 0x40
jae 0x1001a01c
push str.Image_Verifier__Image_Size_Not_Valid__Less_DOS_Header_Size
call fcn.10019db0
add esp, 4
jmp 0x1001a028
push edi
mov ecx, esi
call fcn.1001a2e0
test eax, eax
jne 0x1001a042
push str.Image_Verifier__Is_Not_Valid_Image
call fcn.10019db0
add esp, 4
test esi, esi
je 0x1001a16f
jmp 0x1001a165
mov ebx, dword [esi + 0x28]
test ebx, ebx
je 0x1001a158
lea eax, [edi - 0x80]
cmp ebx, eax
ja 0x1001a158
push 0x7f
lea eax, [esp + 0x4d]
push 0
push eax
mov dword [esp + 0x3c], 0x18
mov byte [esp + 0x54], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [ebx + esi]
call fcn.1001a780
add esp, 8
test eax, eax
jne 0x1001a099
push str.Image_Verifier__RSA_Decrypt_False
jmp 0x1001a15d
movq xmm0, qword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
movq qword [esp + 0x18], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0x20], xmm0
movq xmm0, qword [esp + 0x58]
movq qword [esp + 0x28], xmm0
test ecx, ecx
je 0x1001a151
cmp ecx, edi
ja 0x1001a151
mov edx, dword [esp + 0x48]
lea eax, [edx + ecx]
cmp eax, edi
ja 0x1001a151
lea eax, [esp + 0x38]
push eax
push ecx
lea eax, [edx + esi]
xorps xmm0, xmm0
push eax
mov byte [esp + 0x44], 0
movq qword [esp + 0x45], xmm0
mov dword [esp + 0x4d], 0
mov word [esp + 0x51], 0
mov byte [esp + 0x53], 0
call fcn.1001a350
push 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp eax, 0x10
je 0x1001a12b
push str.Image_Verifier__MD5_Info_Compare_False
jmp 0x1001a15d
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8e0]
xor ecx, esp
call fcn.1001b732
mov esp, ebp
pop ebp
ret 8
push str.Image_Verifier__Verify_Image_Info_False
jmp 0x1001a15d
push str.Image_Verifier__Verify_Image_Offset_False
call fcn.10019db0
add esp, 4
push esi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov ecx, dword [esp + 0x8ec]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1001b732
mov esp, ebp
pop ebp
ret 8