Function at 0x407a9a
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x416770
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x20], edi
push str.iphlpapi.dll
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp esi, edi
je 0x407d4e
cmp ebx, edi
je 0x407d4e
mov eax, 0x288
push eax
mov dword [esp + 0x28], eax
call fcn.0040a298
mov esi, eax
pop ecx
mov dword [esp + 0x28], esi
cmp esi, edi
je 0x407d4e
lea eax, [esp + 0x24]
push eax
push esi
call ebx
cmp eax, 0x6f
jne 0x407b45
push esi
call fcn.0040a1bb
pop ecx
push dword [esp + 0x24]
call fcn.0040a298
pop ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov dword [esp + 0x30], eax
call ebx
cmp eax, edi
jne 0x407d44
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x407d44
lea eax, [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1a0], 6
jne 0x407d32
cmp dword [eax + 0x190], 6
jne 0x407d32
add eax, 0x10c
push eax
lea ecx, [esp + 0x38]
call fcn.00402f56
lea eax, [esp + 0x50]
lea ecx, [esp + 0x34]
mov dword [esp + 0xdc], edi
call fcn.004083b7
mov esi, eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x34]
call fcn.004083d9
mov ebx, eax
lea eax, [esp + 0x68]
lea ecx, [esp + 0x34]
call fcn.004083b7
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x70]
push eax
call fcn.0040a0c2
add esp, 0x1c
mov esi, str.bluetooth
push esi
call fcn.0040ac60
pop ecx
push eax
push esi
lea ebx, [esp + 0x3c]
call fcn.004089e6
or esi, 0xffffffff
cmp eax, esi
jne 0x407d1f
mov ebx, str.virtual
push ebx
call fcn.0040ac60
pop ecx
push eax
push ebx
lea ebx, [esp + 0x3c]
call fcn.004089e6
cmp eax, esi
jne 0x407d1f
mov ebx, str.vmware
push ebx
call fcn.0040ac60
pop ecx
push eax
push ebx
lea ebx, [esp + 0x3c]
call fcn.004089e6
cmp eax, esi
jne 0x407d1f
mov esi, dword [esp + 0x1c]
push 4
add esi, 0x194
push esi
push 0x41aacc
call fcn.0040b611
add esp, 0xc
test eax, eax
je 0x407d15
push 4
push esi
push 0x41aad4
call fcn.0040b611
add esp, 0xc
test eax, eax
je 0x407d15
mov dword [esp + 0x30], edi
cmp dword [esp + 0xc], edi
jbe 0x407ca9
lea ebx, [esp + 0x70]
push 6
push esi
push ebx
call fcn.0040b611
add esp, 0xc
test eax, eax
je 0x407cf8
inc dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add ebx, 6
cmp eax, dword [esp + 0xc]
jb 0x407c88
mov eax, dword [esp + 0x2c]
inc dword [esp + 0xc]
add dword [esp + 0x2c], 6
push 6
push esi
push eax
call fcn.0040a6e0
add esp, 0xc
cmp esi, edi
je 0x407ce0
push dword [esp + 0x14]
mov eax, esi
push dword [esp + 0x14]
push 6
call fcn.00407a55
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x407cf4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
not ecx
not eax
not ecx
not eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
or dword [esp + 0xdc], 0xffffffff
push edi
lea ecx, [esp + 0x38]
push 1
call fcn.00403082
cmp dword [esp + 0xc], 0x10
je 0x407d44
jmp 0x407d32
or dword [esp + 0xdc], 0xffffffff
jmp 0x407d26
mov dword [esp + 0xdc], esi
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00403082
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
cmp eax, edi
jne 0x407b65
push dword [esp + 0x28]
call fcn.0040a1bb
pop ecx
push dword [esp + 0x14]
lea eax, [esp + 0x10]
push dword [esp + 0x14]
push 4
call fcn.00407a55
add esp, 0xc
push edi
push edi
push edi
push edi
mov esi, eax
lea eax, [esp + 0x30]
push eax
push edi
push edi
push 0x41aadc
mov ebx, edx
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x407d9a
push ebx
push esi
push 4
lea eax, [esp + 0x2c]
call fcn.00407a55
add esp, 0xc
mov esi, eax
mov ebx, edx
push ebx
push esi
push str._I64u
push dword [ebp + 8]
call fcn.00406f28
mov ecx, dword [esp + 0xe4]
mov eax, dword [ebp + 8]
add esp, 0x10
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret