Function at 0x40a17b
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4177d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
xor esi, esi
mov dword [esp + 0x48], esi
xor eax, eax
mov byte [esp + 0x44], 0
lea edi, [esp + 0x45]
stosb byte es:[edi], al
mov al, byte [0x41ace1]
mov byte [esp + 0x44], al
call fcn.0040d480
cdq
mov ecx, 0x18ef
idiv ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x3ce10e0
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x40a1e5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
xor eax, eax
mov byte [esp + 0x30], 0
lea edi, [esp + 0x31]
stosb byte es:[edi], al
mov al, byte [0x41aced]
mov byte [esp + 0x30], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
call fcn.0040d480
cdq
mov ecx, 0x3ce5f02
idiv ecx
mov dword [esp + 0x14], edx
call fcn.0040d480
cdq
mov ecx, 0x18f1
idiv ecx
push str.iphlpapi.dll
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
call ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a26c
call ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x18f3
mov dword [esp + 0x1c], esi
jmp 0x40a288
call ebx
mov dword [esp + 0x14], eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, 2
jl 0x40a27e
call fcn.0040d480
cdq
mov ecx, 0x18f4
idiv ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0x3ced435
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40a2ba
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetAdaptersInfo
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call edi
mov dword [esp + 0x18], eax
call fcn.0040d480
cdq
mov ecx, 0x18f5
idiv ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0x3cefb46
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x40a2fc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040d480
cdq
mov ecx, 0x18f7
idiv ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0x3cf4968
mov eax, dword [esp + 0x14]
test eax, eax
mov eax, dword [esp + 0x1c]
jne 0x40a329
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0040d480
cdq
mov ecx, 0x3cf7079
idiv ecx
mov dword [esp + 0x14], edx
call fcn.0040d480
cdq
mov ecx, 0x18f8
idiv ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x14], esi
call ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a37a
call ebx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], esi
je 0x40a7e4
cmp dword [esp + 0x18], esi
je 0x40a7e4
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a3ad
push str.windows6394XP
push dword [esp + 0x18]
call edi
cmp eax, esi
je 0x40a3ad
mov dword [esp + 0x14], esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
add eax, 0x18fb
je 0x40a3c0
inc dword [esp + 0x14]
mov edi, 0x288
mov dword [esp + 0x4c], edi
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a3e1
call ebx
mov dword [esp + 0x10], eax
push edi
call fcn.0040c9dd
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add eax, 0x18fd
pop ecx
je 0x40a3ff
inc dword [esp + 0x14]
cmp dword [esp + 0x1c], esi
je 0x40a7e4
mov byte [esp + 0x34], 0
xor eax, eax
lea edi, [esp + 0x35]
stosb byte es:[edi], al
mov al, byte [0x41ad29]
mov byte [esp + 0x34], al
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a436
call ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
add eax, 0x1900
je 0x40a449
inc dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x20]
call dword [esp + 0x20]
mov ecx, eax
cmp ecx, 0x6f
jne 0x40a4fa
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a479
call ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a491
call ebx
mov dword [esp + 0x10], eax
push dword [esp + 0x1c]
call fcn.0040c9a3
xor eax, eax
mov byte [esp + 0x3c], 0
lea edi, [esp + 0x3d]
stosb byte es:[edi], al
mov al, byte [0x41ad35]
push dword [esp + 0x50]
mov byte [esp + 0x40], al
call fcn.0040c9dd
pop ecx
pop ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a4d6
call ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x20]
call dword [esp + 0x20]
mov ecx, eax
mov byte [esp + 0x40], 0
xor eax, eax
lea edi, [esp + 0x41]
stosb byte es:[edi], al
mov al, byte [0x41ad41]
mov byte [esp + 0x40], al
cmp ecx, esi
jne 0x40a7b5
mov edi, dword [esp + 0x1c]
jmp 0x40a7a9
cmp dword [edi + 0x1a0], 6
jne 0x40a7a7
cmp dword [edi + 0x190], 6
jne 0x40a7a7
lea eax, [edi + 0x10c]
push eax
lea eax, [esp + 0x54]
call fcn.0040337d
mov dword [esp + 0xdc], esi
cmp dword [esp + 0x64], 0x10
mov ecx, dword [esp + 0x50]
jb 0x40a54d
mov dword [esp + 0x10], ecx
jmp 0x40a555
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x64], 0x10
mov eax, ecx
jae 0x40a562
lea eax, [esp + 0x50]
add eax, dword [esp + 0x60]
cmp dword [esp + 0x64], 0x10
jae 0x40a571
lea ecx, [esp + 0x50]
push dword [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.0040bfd3
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x28]
add esp, 0x10
add eax, 0x1919
je 0x40a597
inc dword [esp + 0x18]
push str.bluetooth
call fcn.0040d2b0
pop ecx
push eax
push str.bluetooth
lea eax, [esp + 0x58]
call fcn.0040b8e1
cmp eax, 0xffffffff
jne 0x40a78c
push str.virtual
call fcn.0040d2b0
pop ecx
push eax
push str.virtual
lea eax, [esp + 0x58]
call fcn.0040b8e1
cmp eax, 0xffffffff
jne 0x40a78c
push str.vmware
call fcn.0040d2b0
pop ecx
push eax
push str.vmware
lea eax, [esp + 0x58]
call fcn.0040b8e1
cmp eax, 0xffffffff
jne 0x40a78c
call fcn.0040d480
cdq
mov ecx, 0x191a
idiv ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], 0x3d4a0bb
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x40a629
mov eax, dword [esp + 0x18]
push 4
add edi, 0x194
push edi
push 0x41ad68
mov dword [esp + 0x24], eax
call fcn.0040d57d
add esp, 0xc
test eax, eax
je 0x40a78c
push 4
push edi
push 0x41ad70
call fcn.0040d57d
add esp, 0xc
test eax, eax
je 0x40a78c
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40a686
push str.windows6427XP
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x40a686
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x2c], esi
jbe 0x40a6be
lea eax, [esp + 0x70]
mov dword [esp + 0x18], eax
push 6
push edi
push dword [esp + 0x20]
call fcn.0040d57d
add esp, 0xc
test eax, eax
je 0x40a6d0
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], 6
cmp eax, dword [esp + 0x2c]
jb 0x40a698
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], 0x1921
mov dword [esp + 0x18], esi
jmp 0x40a707
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
add eax, 0x191e
je 0x40a6e3
inc dword [esp + 0x10]
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a76c
call ebx
mov dword [esp + 0x10], eax
jmp 0x40a76c
call ebx
mov dword [esp + 0x10], eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x40a6fd
mov eax, dword [esp + 0x2c]
imul eax, eax, 6
inc dword [esp + 0x2c]
push 6
lea eax, [esp + eax + 0x74]
push edi
push eax
call fcn.0040cdf0
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0x1922
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x40a747
call ebx
mov dword [esp + 0x10], eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x40a73d
push dword [esp + 0x24]
mov eax, edi
push dword [esp + 0x24]
push 6
call fcn.0040a0d0
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
or dword [esp + 0xdc], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x54]
call fcn.00403438
xor esi, esi
cmp dword [esp + 0x2c], 0x10
je 0x40a7b5
jmp 0x40a7a3
or dword [esp + 0xdc], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x54]
call fcn.00403438
xor esi, esi
mov edi, dword [esp + 0x14]
mov edi, dword [edi]
mov dword [esp + 0x14], edi
cmp edi, esi
jne 0x40a50b
push dword [esp + 0x1c]
call fcn.0040c9a3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x1925
pop ecx
mov dword [esp + 0x18], esi
jmp 0x40a7db
call ebx
mov dword [esp + 0x10], eax
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x40a7d1
push dword [esp + 0x24]
lea eax, [esp + 0x30]
push dword [esp + 0x24]
push 4
call fcn.0040a0d0
mov dword [esp + 0x2c], eax
mov byte [esp + 0x48], 0
xor eax, eax
lea edi, [esp + 0x49]
stosb byte es:[edi], al
mov al, byte [0x41ad89]
mov byte [esp + 0x48], al
mov dword [esp + 0x54], esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0x1927
mov dword [esp + 0x24], edx
je 0x40a82e
inc dword [esp + 0x10]
mov dword [esp + 0x10], esi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40a846
call ebx
mov dword [esp + 0x10], eax
push esi
push esi
push esi
push esi
lea eax, [esp + 0x58]
push eax
push esi
push esi
push 0x41ad94
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x40a8ab
push dword [esp + 0x24]
lea eax, [esp + 0x4c]
push dword [esp + 0x24]
push 4
call fcn.0040a0d0
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.0040d480
cdq
mov ecx, 0x192a
idiv ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x3d711cb
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x40a8a7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push str._I64u
push dword [ebp + 8]
call fcn.00408c79
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