Function at 0x4391a0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x30fc
call fcn.00465640
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x30f8], eax
mov eax, dword [esp + 0x3100]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
lea ecx, [esp + 0x414]
push 0x4a2268
xor ebp, ebp
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebp
call fcn.00466dec
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [esp + 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x439400
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push 0x2710
mov dword [esp + 0x28], eax
lea eax, [esp + 0x9fc]
push ebx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00463850
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0xa04]
push edx
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push edi
call ebp
test eax, eax
je 0x439327
push 0x3e7
lea ecx, [esp + 0x2d]
push ebx
push ecx
mov byte [esp + 0x34], bl
call fcn.00463850
mov edx, dword [esp + 0xa1c]
add esp, 0xc
lea eax, [esp + edx + 0x9f8]
push eax
mov ecx, esi
call fcn.00438ff0
lea edx, [esp + 0x28]
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
cmp cl, bl
jne 0x4392a0
mov eax, dword [esp + 0xa08]
lea eax, [esp + eax + 0x9f8]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4392b8
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x439331
movsx ecx, byte [esp + 0x28]
push ecx
call fcn.0046543d
add esp, 4
test eax, eax
jne 0x4392eb
movsx edx, byte [esp + 0x3b]
push edx
call fcn.0046543d
add esp, 4
test eax, eax
je 0x439331
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x3114]
cmp ecx, eax
jae 0x439305
mov eax, ecx
jmp 0x439310
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esp + 0x10], 1
jmp 0x439331
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
push 0x2710
lea eax, [esp + 0x9fc]
push ebx
push eax
call fcn.00463850
add esp, 0xc
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x2710
lea edx, [esp + 0xa04]
push edx
push ebx
push ebx
push 0x2d0c10
push edi
call ebp
test eax, eax
je 0x4393ed
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0xa08]
mov byte [esp + eax + 0x28], cl
inc eax
cmp cl, bl
jne 0x439370
cmp esi, ebx
je 0x4393f3
movsx eax, byte [esp + 0x28]
push eax
call fcn.0046543d
add esp, 4
test eax, eax
jne 0x4393a8
movsx ecx, byte [esp + 0x3b]
push ecx
call fcn.0046543d
add esp, 4
test eax, eax
je 0x4393f3
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x28]
push edx
call ebx
mov ecx, dword [esp + 0x3114]
cmp ecx, eax
jae 0x4393c4
mov eax, ecx
jmp 0x4393cb
lea eax, [esp + 0x28]
push eax
call ebx
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x439402
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x439402
mov eax, ebp
mov ecx, dword [esp + 0x3108]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004644d0
add esp, 0x30fc
ret 8