Function at 0x140028730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x520
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x80]
xor esi, esi
xor edx, edx
mov r8d, 0x90
mov dword [rsp + 0x5c], esi
call sub.ntdll.dll_memset
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x5c]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
xor r8d, r8d
mov edx, 0x70048
mov dword [rsp + 0x28], 0x90
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400288b8
mov rax, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rdi
mov dword [rsp + 0x40], esi
call qword [rax + 0x50]
test al, al
je 0x1400288b8
lea rax, fcn.140001470
lea rcx, [rsp + 0x112]
xor edx, edx
mov r8d, reloc.MFC80U.DLL_Ordinal_1022
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x110], si
mov qword [rsp + 0x48], rax
call sub.ntdll.dll_memset
mov r9d, dword [rsp + 0x40]
lea r8, str..PhysicalDrive_d
lea rcx, [rsp + 0x110]
mov edx, 0x400
call fcn.140013b00
mov qword [rsp + 0x30], rsi
lea r8d, [rsi + 7]
lea rcx, [rsp + 0x110]
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x50], rax
je 0x1400288b8
xor ecx, ecx
mov qword [rsp + 0x38], rsi
xor r9d, r9d
mov dword [rsp + 0x64], ecx
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], ecx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], ecx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x28], 0x18
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov edx, 0x70000
mov rcx, rax
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x60], esi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400288bf
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140028a17
mov ecx, dword [rsp + 0x80]
test ecx, ecx
je 0x140028943
cmp ecx, 1
je 0x1400288da
mov dword [rbx], 2
jmp 0x140028992
lea rcx, [rsp + 0x111]
xor edx, edx
mov r8d, Ordinal_512
mov byte [rsp + 0x110], sil
call sub.ntdll.dll_memset
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x48]
mov r9d, 1
mov r8d, reloc.MFC80U.DLL_Ordinal_512
call qword [rax + 0x10]
test al, al
je 0x1400288ad
lea rcx, [rsp + 0x148]
mov dword [rbx], 1
mov eax, dword [rcx]
mov dword [rbx + 0x24], eax
mov eax, dword [rcx + 4]
mov dword [rbx + 0x28], eax
mov eax, dword [rcx + 8]
mov dword [rbx + 0x2c], eax
mov eax, dword [rcx + 0xc]
mov dword [rbx + 0x30], eax
jmp 0x140028992
lea rcx, [rsp + 0x111]
xor edx, edx
mov r8d, Ordinal_512
mov byte [rsp + 0x110], sil
call sub.ntdll.dll_memset
mov rax, qword [rsp + 0x48]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov r8d, reloc.MFC80U.DLL_Ordinal_512
call qword [rax + 0x10]
test al, al
je 0x1400288ad
mov eax, dword [rsp + 0x2c8]
mov dword [rbx], esi
mov dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x74]
lea rcx, [rsp + 0xa0]
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x1c], eax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x20], eax
mov rax, qword [rsp + 0x88]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x10], rax
movzx eax, byte [rsp + 0xa0]
mov dword [rbx + 0x28], eax
mov eax, dword [rsp + 0xa4]
mov dword [rbx + 0x2c], eax
mov eax, dword [rcx]
mov dword [rbx + 0x34], eax
mov eax, dword [rcx + 4]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 8]
mov dword [rbx + 0x3c], eax
mov eax, dword [rcx + 0xc]
lea rcx, [rsp + 0xb0]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx]
mov dword [rbx + 0x44], eax
mov eax, dword [rcx + 4]
mov dword [rbx + 0x48], eax
mov eax, dword [rcx + 8]
mov dword [rbx + 0x4c], eax
mov eax, dword [rcx + 0xc]
mov dword [rbx + 0x50], eax
mov al, 1
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0x520]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret