Function at 0x403ea0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x88], eax
push esi
xor eax, eax
push 0x7e
mov esi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00422f70
push 0x208
push 0
push 0x656e88
mov dword [esp + 0x1c], 0
call fcn.00422f70
add esp, 0x18
push 0x104
push 0x656e88
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x4041b5
movzx edx, word [esi]
push ebp
push edx
lea eax, [esp + 0x14]
push str.._c:
push eax
mov edx, 0x80
call fcn.00401fe0
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0xc
push 0xffffffffffffffff
push 0x2200080
push 3
push 0
push 3
push 0
lea ecx, [esp + 0x28]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x4041b4
push ebx
push edi
push 0x20a
push 0
push 0x657090
call fcn.00422f70
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push 0x20a
push 0x657090
push 0
push 0
push 0x4d0008
push esi
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4041b2
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0
push str..MountPointManager
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4041b2
movzx eax, word [0x657090]
add eax, 0x18
push eax
call fcn.0041884e
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0x18
mov cx, word [0x657090]
mov word [esi + 0x14], cx
movzx edx, word [0x657090]
push edx
lea eax, [esi + 0x18]
push 0x657092
push eax
call fcn.00422ff0
push 0x20
call fcn.00419c40
mov edi, eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
add esp, 0x14
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
push eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
lea ecx, [esp + 0x14]
push ecx
push 0x20
mov dword [edi + 0x1c], eax
movzx edx, word [0x657090]
push edi
add edx, 0x18
push edx
push esi
push 0x6d0008
push ebp
call ebx
mov ebx, eax
test ebx, ebx
jne 0x40408e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x40408e
mov ebx, dword [edi + 4]
imul ebx, dword [edi]
push ebx
call fcn.0041884e
push ebx
mov edi, eax
push 0
push edi
call fcn.00422f70
movzx ecx, word [0x657090]
add esp, 0x10
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push edi
add ecx, 0x18
push ecx
push esi
push 0x6d0008
push ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebx, eax
test ebx, ebx
je 0x404040
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4041b2
mov eax, dword [edi + 4]
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x4041b2
mov ebp, 0x5c
lea esi, [edi + 8]
lea ebx, [ebp - 0x2f]
jmp 0x4040c0
mov eax, dword [esi]
mov dx, word [esi + 4]
add eax, edi
cmp dx, 0x60
je 0x4040e2
cmp dx, 0x62
jne 0x4041d0
cmp word [eax + 0x60], bp
jne 0x404257
cmp word [eax], bp
jne 0x4041d0
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x4040fe
cmp cx, bp
jne 0x4041d0
cmp word [eax + 4], 0x3f
jne 0x4041d0
cmp word [eax + 6], bp
jne 0x4041d0
cmp word [eax + 8], 0x56
jne 0x4041d0
cmp word [eax + 0xa], 0x6f
jne 0x4041d0
cmp word [eax + 0xc], 0x6c
jne 0x4041d0
cmp word [eax + 0xe], 0x75
jne 0x4041d0
cmp word [eax + 0x10], 0x6d
jne 0x4041d0
cmp word [eax + 0x12], 0x65
jne 0x4041d0
cmp word [eax + 0x14], 0x7b
jne 0x4041d0
cmp word [eax + 0x26], bx
jne 0x4041d0
cmp word [eax + 0x30], bx
jne 0x4041d0
cmp word [eax + 0x3a], bx
jne 0x4041d0
cmp word [eax + 0x44], bx
jne 0x4041d0
cmp word [eax + 0x5e], 0x7d
jne 0x4041d0
cmp dx, 0x60
jne 0x4041d6
cmp cx, 0x3f
jne 0x4041e2
movzx esi, dx
push esi
push eax
push 0x656e88
call fcn.00422ff0
shr esi, 1
add esi, esi
mov edx, ebp
add esp, 0xc
mov word [0x656e8a], dx
xor eax, eax
mov word [esi + 0x656e88], bp
mov word [esi + 0x656e8a], ax
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x8c]
pop esi
xor ecx, esp
mov eax, 0x656e88
call fcn.00418878
add esp, 0x8c
ret
cmp dx, 0x60
je 0x4041e2
cmp dx, 0x62
jne 0x404257
cmp word [eax + 0x60], bp
jne 0x404257
cmp word [eax], bp
jne 0x404257
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x4041f6
cmp cx, bp
jne 0x404257
cmp word [eax + 4], 0x3f
jne 0x404257
cmp word [eax + 6], bp
jne 0x404257
cmp word [eax + 8], 0x56
jne 0x404257
cmp word [eax + 0xa], 0x6f
jne 0x404257
cmp word [eax + 0xc], 0x6c
jne 0x404257
cmp word [eax + 0xe], 0x75
jne 0x404257
cmp word [eax + 0x10], 0x6d
jne 0x404257
cmp word [eax + 0x12], 0x65
jne 0x404257
cmp word [eax + 0x14], 0x7b
jne 0x404257
cmp word [eax + 0x26], bx
jne 0x404257
cmp word [eax + 0x30], bx
jne 0x404257
cmp word [eax + 0x3a], bx
jne 0x404257
cmp word [eax + 0x44], bx
jne 0x404257
cmp word [eax + 0x5e], 0x7d
je 0x404183
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 4]
jb 0x4040c0
jmp 0x4041b2