Function at 0x402bc0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x8c
mov eax, dword [0x487fb0]
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.00453a00
push 0x208
push 0
push 0x48e1f8
mov dword [esp + 0x1c], 0
call fcn.00453a00
add esp, 0x18
push 0x104
push 0x48e1f8
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x402ed5
movzx edx, word [esi]
push ebp
push edx
lea eax, [esp + 0x14]
push str.._c:
push eax
mov edx, 0x80
call fcn.00403300
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 0x402ed4
push ebx
push edi
push 0x20a
push 0
push 0x48e400
call fcn.00453a00
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea edx, [esp + 0x14]
push edx
push 0x20a
push 0x48e400
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 0x402ed2
push 0xffffffffffffffff
push 0x80
push 3
push 0
push 3
push 0
push str..MountPointManager
call ebp
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402ed2
movzx eax, word [0x48e400]
add eax, 0x18
push eax
call fcn.0041206b
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 [0x48e400]
mov word [esi + 0x14], cx
movzx edx, word [0x48e400]
push edx
lea eax, [esi + 0x18]
push 0x48e402
push eax
call fcn.00453d50
push 0x20
call fcn.004513aa
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 [0x48e400]
push edi
add edx, 0x18
push edx
push esi
push 0x6d0008
push ebp
call ebx
mov ebx, eax
test ebx, ebx
jne 0x402dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x402dae
mov ebx, dword [edi + 4]
imul ebx, dword [edi]
push ebx
call fcn.0041206b
push ebx
mov edi, eax
push 0
push edi
call fcn.00453a00
movzx ecx, word [0x48e400]
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 0x402d60
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x402ed2
mov eax, dword [edi + 4]
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x402ed2
mov ebp, 0x5c
lea esi, [edi + 8]
lea ebx, [ebp - 0x2f]
jmp 0x402de0
mov eax, dword [esi]
mov dx, word [esi + 4]
add eax, edi
cmp dx, 0x60
je 0x402e02
cmp dx, 0x62
jne 0x402ef0
cmp word [eax + 0x60], bp
jne 0x402f77
cmp word [eax], bp
jne 0x402ef0
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x402e1e
cmp cx, bp
jne 0x402ef0
cmp word [eax + 4], 0x3f
jne 0x402ef0
cmp word [eax + 6], bp
jne 0x402ef0
cmp word [eax + 8], 0x56
jne 0x402ef0
cmp word [eax + 0xa], 0x6f
jne 0x402ef0
cmp word [eax + 0xc], 0x6c
jne 0x402ef0
cmp word [eax + 0xe], 0x75
jne 0x402ef0
cmp word [eax + 0x10], 0x6d
jne 0x402ef0
cmp word [eax + 0x12], 0x65
jne 0x402ef0
cmp word [eax + 0x14], 0x7b
jne 0x402ef0
cmp word [eax + 0x26], bx
jne 0x402ef0
cmp word [eax + 0x30], bx
jne 0x402ef0
cmp word [eax + 0x3a], bx
jne 0x402ef0
cmp word [eax + 0x44], bx
jne 0x402ef0
cmp word [eax + 0x5e], 0x7d
jne 0x402ef0
cmp dx, 0x60
jne 0x402ef6
cmp cx, 0x3f
jne 0x402f02
movzx esi, dx
push esi
push eax
push 0x48e1f8
call fcn.00453d50
shr esi, 1
add esi, esi
mov edx, ebp
add esp, 0xc
mov word [0x48e1fa], dx
xor eax, eax
mov word [esi + 0x48e1f8], bp
mov word [esi + 0x48e1fa], ax
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x8c]
pop esi
xor ecx, esp
mov eax, 0x48e1f8
call fcn.00451380
add esp, 0x8c
ret
cmp dx, 0x60
je 0x402f02
cmp dx, 0x62
jne 0x402f77
cmp word [eax + 0x60], bp
jne 0x402f77
cmp word [eax], bp
jne 0x402f77
movzx ecx, word [eax + 2]
cmp cx, 0x3f
je 0x402f16
cmp cx, bp
jne 0x402f77
cmp word [eax + 4], 0x3f
jne 0x402f77
cmp word [eax + 6], bp
jne 0x402f77
cmp word [eax + 8], 0x56
jne 0x402f77
cmp word [eax + 0xa], 0x6f
jne 0x402f77
cmp word [eax + 0xc], 0x6c
jne 0x402f77
cmp word [eax + 0xe], 0x75
jne 0x402f77
cmp word [eax + 0x10], 0x6d
jne 0x402f77
cmp word [eax + 0x12], 0x65
jne 0x402f77
cmp word [eax + 0x14], 0x7b
jne 0x402f77
cmp word [eax + 0x26], bx
jne 0x402f77
cmp word [eax + 0x30], bx
jne 0x402f77
cmp word [eax + 0x3a], bx
jne 0x402f77
cmp word [eax + 0x44], bx
jne 0x402f77
cmp word [eax + 0x5e], 0x7d
je 0x402ea3
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x18
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 4]
jb 0x402de0
jmp 0x402ed2