Function at 0x43bfad
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d4ed
mov eax, dword fs:[0]
push eax
mov eax, 0x32fc
call fcn.00612c90
mov eax, dword [0x6ffe74]
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 eax, ecx
mov dword [ebp - 0x32f4], eax
and dword [ebp - 0x32e8], 0
cmp dword [eax + 0x5b0a0], 0
mov dword [ebp - 0x32e4], 0x5c3a41
je 0x43c3e4
lea edx, [ebp - 0x32e8]
call fcn.0040307c
mov ebx, dword [ebp - 0x32e8]
test eax, eax
jne 0x43c3da
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edx, eax
xor ecx, ecx
mov dword [ebp - 0x32dc], edx
mov dword [ebp - 0x32e8], ecx
xor eax, eax
inc eax
shl eax, cl
test edx, eax
je 0x43c3c1
lea eax, [ecx + 0x41]
mov byte [ebp - 0x32e4], al
lea eax, [ebp - 0x32e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x43c065
cmp eax, 2
jne 0x43c3bb
push 0x3e8
lea eax, [ebp - 0x3f8]
mov byte [ebp - 0x3f8], 0
push eax
lea eax, [ebp - 0x32e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
test eax, eax
je 0x43c3b5
lea eax, [ebp - 0x3f8]
push eax
call fcn.00643470
dec eax
pop ecx
cmp eax, 0x3e8
jae 0x43c3fe
mov byte [ebp + eax - 0x3f8], 0
xor eax, eax
push 0x3e8
mov word [ebp - 0x1b68], ax
lea eax, [ebp - 0x1b68]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3f8]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x43c3b5
and dword [ebp - 0x32ec], 0
lea edi, [ebp - 0x3308]
xor eax, eax
lea edx, [ebp - 0x1b68]
stosd dword es:[edi], eax
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x32ec]
push eax
push 0
push str.GetProtectionStatus
call fcn.00403231
add esp, 0xc
test eax, eax
jne 0x43c3bb
push str.ProtectionStatus
lea ecx, [ebp - 0x32f8]
call fcn.00402e26
and dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x43c138
mov edx, dword [eax]
jmp 0x43c13a
xor edx, edx
mov eax, dword [ebp - 0x32ec]
lea esi, [ebp - 0x3308]
xor edi, edi
push edi
push edi
mov ecx, dword [eax]
push esi
push edi
push edx
push eax
call dword [ecx + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32f8]
mov esi, eax
call fcn.00402e8b
test esi, esi
jne 0x43c3bb
cmp dword [ebp - 0x3300], edi
je 0x43c3bb
lea eax, [ebp - 0x32e0]
mov dword [ebp - 0x32e0], 0xa
push eax
push ecx
lea edx, [ebp - 0x1b68]
mov ecx, ebx
call fcn.0043be3b
pop ecx
pop ecx
test eax, eax
je 0x43c3bb
mov edi, dword [ebp - 0x32e0]
test edi, edi
je 0x43c3bb
mov esi, 0x733510
and dword [ebp - 0x32f0], 0
lea eax, [ebp - 0x32e0]
push eax
lea eax, [ebp - 0x32d8]
mov dword [ebp - 0x32e0], 0x3e8
push eax
lea eax, [ebp - 0x32f0]
mov ecx, ebx
push eax
push esi
lea edx, [ebp - 0x1b68]
call fcn.00403366
add esp, 0x10
neg eax
sbb eax, eax
and eax, dword [ebp - 0x32f0]
sub eax, 0
je 0x43c2cf
sub eax, 1
je 0x43c220
dec eax
sub eax, 1
je 0x43c2cf
sub eax, 1
je 0x43c220
sub eax, 1
je 0x43c220
sub eax, 1
jne 0x43c3a4
xor eax, eax
mov dword [ebp - 0x32e0], 0x3e8
mov word [ebp - 0x2338], ax
lea edx, [ebp - 0x1b68]
lea eax, [ebp - 0x32e0]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2338]
push eax
push esi
call fcn.00403586
add esp, 0xc
test eax, eax
je 0x43c3a4
lea edx, [ebp - 0x7e0]
lea ecx, [ebp - 0x32e4]
call fcn.00404b74
movsx eax, byte [ebp - 0x32e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
push str._s___c:_
lea eax, [ebp - 0x1398]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xfb0]
push esi
push str.ID_S
push 0x3e8
push eax
call fcn.00402e0a
lea eax, [ebp - 0x2338]
push eax
push str._TPM_PCR_Profile___S
lea eax, [ebp - 0xbc8]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x20
jmp 0x43c374
lea eax, [ebp - 0x32e0]
mov dword [ebp - 0x32e0], 0x3e8
push eax
lea eax, [ebp - 0x2b08]
mov ecx, ebx
push eax
push esi
lea edx, [ebp - 0x1b68]
call fcn.004037eb
add esp, 0xc
test eax, eax
je 0x43c3a4
lea edx, [ebp - 0x7e0]
lea ecx, [ebp - 0x32e4]
call fcn.00404b74
movsx eax, byte [ebp - 0x32e4]
push eax
lea eax, [ebp - 0x7e0]
push eax
push str._s___c:_
lea eax, [ebp - 0x1398]
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x14
lea eax, [ebp - 0xfb0]
push esi
push str.ID_S
push 0x3e8
push eax
call fcn.00402e0a
add esp, 0x10
lea eax, [ebp - 0xbc8]
xor ecx, ecx
push ecx
push ecx
push 0x3e8
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2b08]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0xffffffffffffffff
mov ecx, 0x6c5bb9
lea eax, [ebp - 0xbc8]
push ecx
push eax
lea eax, [ebp - 0xfb0]
push eax
lea eax, [ebp - 0x1398]
push eax
push ecx
mov ecx, dword [ebp - 0x32f4]
push 0x1f6
push 0xc
call fcn.0043ee6b
add esi, 0x7d0
sub edi, 1
jne 0x43c1b4
jmp 0x43c3bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x32dc]
mov eax, dword [ebp - 0x32e8]
inc eax
mov dword [ebp - 0x32e8], eax
cmp eax, 0x1a
jae 0x43c3da
mov ecx, eax
jmp 0x43c034
test ebx, ebx
je 0x43c3e4
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
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.006122f0
leave
ret
call fcn.00612782
int3