Function at 0x1401a2d20
Capabilities:
Get disk information
Manipulate boot configuration
Shutdown system

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xba0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + Ordinal_2965], rax
mov rbp, rcx
mov qword [rsp + 0x80], rcx
mov eax, dword [0x140c47dd0]
test al, 1
jne 0x1401a2d8c
or eax, 1
mov dword [0x140c47dd0], eax
call fcn.140055490
mov rcx, rax
mov qword [0x140c47dc8], rax
jmp 0x1401a2d93
mov rcx, qword [0x140c47dc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdi, rax
mov rax, qword [rax]
mov edx, dword [rbp + reloc.MFC80U.DLL_Ordinal_296]
mov rcx, rdi
call qword [rax + 0x30]
mov rsi, rax
mov qword [rsp + 0x90], rax
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
call qword [rax + 0x28]
mov rdi, qword [rax]
mov rdx, rsi
mov rcx, rax
call qword [rdi + 8]
mov r15, rax
mov qword [rsp + 0x48], rax
call fcn.1400d6a30
mov qword [rsp + 0x70], rax
call fcn.140116720
mov qword [rsp + 0xa0], rax
mov rdx, qword [0x140c45c78]
mov rbx, rdx
mov rcx, qword [0x140c45c80]
cmp rdx, rcx
jbe 0x1401a2e17
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
mov rdx, qword [0x140c45c78]
mov rdi, rcx
cmp rdx, rcx
jbe 0x1401a2e2c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
cmp rbx, rdi
je 0x1401a2ee5
cmp rbx, rcx
jb 0x1401a2e40
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdi, qword [rbx]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x30]
mov rsi, rax
test rax, rax
je 0x1401a2ebc
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x38]
mov rcx, qword [rdi + 0xf0]
shr rcx, 9
cmp rax, rcx
jne 0x1401a2e94
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x40]
mov rcx, qword [rdi + 0xf8]
shr rcx, 9
cmp rax, rcx
jne 0x1401a2e94
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
cmp eax, 0xb
jne 0x1401a2ea7
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x38]
mov rsi, rax
test rax, rax
je 0x1401a2ebc
jmp 0x1401a2e54
mov rdi, qword [r15]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rdx, rax
mov rcx, r15
call qword [rdi + 0x50]
mov rcx, qword [0x140c45c80]
cmp rbx, rcx
jb 0x1401a2ed5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
add rbx, 8
mov rdx, qword [0x140c45c78]
jmp 0x1401a2e17
mov ecx, dword [rbp + reloc.MFC80U.DLL_Ordinal_296]
call fcn.1401a2790
mov rbp, rax
mov ecx, reloc.MFC80U.DLL_Ordinal_512
call sub.MFC80U.DLL_Ordinal_265
mov r12, rax
mov rdx, qword [0x140c45c78]
mov r13, rdx
mov rcx, qword [0x140c45c80]
cmp rdx, rcx
jbe 0x1401a2f2a
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
mov rdx, qword [0x140c45c78]
xor r14d, r14d
nop
mov rdi, rcx
cmp rdx, rcx
jbe 0x1401a2f45
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
cmp r13, rdi
je 0x1401a32d8
cmp r13, rcx
jb 0x1401a2f59
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [r13]
mov qword [rsp + 0xd0], r14
xor edx, edx
mov r8d, 0xa1
lea rcx, [rsp + 0xd8]
call sub.ntdll.dll_memset
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
or r14, 0xffffffffffffffff
mov r9d, r14d
lea r8, [rbx + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
mov eax, 2
mul rdi
cmovo rax, r14
mov rcx, rax
call sub.MFC80U.DLL_Ordinal_265
mov r14, rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rbx + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [rbx + reloc.MFC80U.DLL_Ordinal_332]
cmp edx, 0x1d
jne 0x1401a308d
mov r8, qword [rbx + 0x108]
test r8, r8
je 0x1401a302f
cmp rbp, 0xffffffffffffffff
je 0x1401a305d
shr r8, 9
mov edi, 1
mov r9, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1401a2b70
movzx edx, byte [r12 + 0x1c]
mov word [rsp + 0x172], dx
mov r8, qword [rbx + 0xf0]
shr r8, 9
mov r9, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1401a29c0
jmp 0x1401a3062
mov r8, qword [rbx + 0xf0]
shr r8, 9
mov edi, 1
mov r9, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1401a2b70
movzx edx, byte [r12 + 0xd]
mov word [rsp + 0x172], dx
jmp 0x1401a3062
mov edi, 1
mov dword [rsp + 0x16e], edi
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 7
mov rax, qword [rbx + 0xf8]
shr rax, 9
sub rax, 1
mov qword [rsp + 0xd8], rax
jmp 0x1401a31ee
cmp edx, 9
jne 0x1401a30c0
mov dword [rsp + 0x16e], 2
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 1
mov rax, qword [rbx + 0xf8]
shr rax, 9
mov qword [rsp + 0xd8], rax
lea edi, [rdx - 8]
jmp 0x1401a31ee
cmp edx, 0xa
jne 0x1401a30f3
mov dword [rsp + 0x16e], 3
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 6
mov rax, qword [rbx + 0xf8]
shr rax, 9
mov qword [rsp + 0xd8], rax
lea edi, [rdx - 9]
jmp 0x1401a31ee
cmp edx, 0xb
jne 0x1401a3182
mov r8, qword [rbx + 0x108]
test r8, r8
je 0x1401a314e
cmp rbp, 0xffffffffffffffff
je 0x1401a3155
shr r8, 9
mov edi, 1
mov r9, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1401a2b70
movzx edx, word [r12 + 4]
mov word [rsp + 0x172], dx
mov r8, qword [rbx + 0xf0]
shr r8, 9
mov r9, rdi
mov rdx, r12
mov rcx, rbp
call fcn.1401a29c0
jmp 0x1401a315a
mov edi, 1
jmp 0x1401a315a
mov edi, 1
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 0x1b
mov dword [rsp + 0x16e], 0
mov rax, qword [rbx + 0xf8]
shr rax, 9
mov qword [rsp + 0xd8], rax
jmp 0x1401a31ee
cmp edx, 0x15
je 0x1401a31af
cmp edx, 0x16
je 0x1401a31af
cmp edx, 5
je 0x1401a31a5
cmp edx, 6
je 0x1401a31a5
cmp edx, 7
je 0x1401a31a5
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 0
jmp 0x1401a31b7
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 0x83
jmp 0x1401a31b7
mov byte [rsp + reloc.MFC80U.DLL_Ordinal_376], 0x82
mov dword [rsp + 0x16e], 0xa
mov word [rsp + 0x172], 0
mov rax, qword [rbx + 0xf8]
shr rax, 9
mov qword [rsp + 0xd8], rax
mov word [rsp + 0xe0], 0x2a
mov edi, 1
xor eax, eax
cmp dword [rbx + reloc.MFC80U.DLL_Ordinal_336], 2
sete al
mov dword [rsp + 0xea], eax
mov dword [rsp + 0xe6], 0
mov eax, dword [rbx + reloc.MFC80U.DLL_Ordinal_336]
cmp eax, 1
je 0x1401a324b
cmp eax, 2
je 0x1401a324b
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x60]
test eax, eax
je 0x1401a323e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
test eax, eax
je 0x1401a324b
mov dword [rsp + 0xe2], 0
jmp 0x1401a3252
mov dword [rsp + 0xe2], edi
mov rax, qword [rbx + 0xf0]
shr rax, 9
mov qword [rsp + 0xd0], rax
mov rcx, r14
lea rdx, [rsp + 0xee]
sub rdx, r14
nop
nop
nop
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x1401a3280
mov rax, qword [r15]
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, r15
call qword [rax + 0x48]
mov rcx, r14
call sub.MFC80U.DLL_Ordinal_266
mov rcx, qword [0x140c45c80]
cmp r13, rcx
jb 0x1401a32c5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [0x140c45c80]
add r13, 8
mov rdx, qword [0x140c45c78]
xor r14d, r14d
jmp 0x1401a2f30
mov rcx, r12
call sub.MFC80U.DLL_Ordinal_266
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x44], r12d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x30]
test rax, rax
je 0x1401a3335
lea ebx, [r12 + 1]
nop
nop
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0xe0]
test eax, eax
cmovne esi, ebx
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x38]
test rax, rax
jne 0x1401a3310
mov dword [rsp + 0x44], esi
jmp 0x1401a333a
mov ebx, 1
mov qword [rsp + 0x88], r12
mov r14d, r12d
mov dword [rsp + 0x40], r12d
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x30]
mov r13, rax
test rax, rax
je 0x1401a3876
nop
test esi, esi
jne 0x1401a38c1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x48]
test eax, eax
je 0x1401a3602
cmp eax, 1
je 0x1401a33a5
cmp eax, 1
jle 0x1401a3849
cmp eax, 3
jle 0x1401a3602
jmp 0x1401a3849
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0xc0]
test eax, eax
je 0x1401a3849
mov ebp, r12d
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsi]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov r8, rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov edx, dword [rbx + reloc.MFC80U.DLL_Ordinal_296]
mov rcx, rsi
call qword [rdi + 0x88]
mov r12, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
cmp r12, rax
jbe 0x1401a340d
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
mov r15d, 1
mov rdi, rax
cmp qword [rsp + 0x58], rax
jbe 0x1401a3428
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
cmp r12, rdi
je 0x1401a352f
cmp r12, rax
jb 0x1401a343c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [r12]
mov rcx, rbx
call qword [sym.imp.ntdll.dll__wcslwr]
lea rdi, str.boot.ini
mov rsi, rbx
mov ecx, 9
repe cmpsw word [rsi], word [rdi]
je 0x1401a3471
lea rdi, [0x140369528]
mov rsi, rbx
mov ecx, 0xd
repe cmpsw word [rsi], word [rdi]
jne 0x1401a3482
cmp dword [rbx + 0x208], 0
jne 0x1401a3482
add ebp, r15d
jmp 0x1401a3509
lea rdi, str.ntldr
mov rsi, rbx
mov ecx, 6
repe cmpsw word [rsi], word [rdi]
jne 0x1401a34a4
cmp dword [rbx + 0x208], 0
jne 0x1401a34a4
add ebp, r15d
jmp 0x1401a3509
lea rdi, [0x140369558]
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1401a34c6
cmp dword [rbx + 0x208], 0
je 0x1401a34c6
add ebp, r15d
jmp 0x1401a3509
lea rdi, str.bootmgr
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1401a34ea
cmp dword [rbx + 0x208], 0
jne 0x1401a34ea
mov dword [rsp + 0x40], r15d
jmp 0x1401a3509
lea rdi, str.boot
mov rsi, rbx
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
jne 0x1401a3509
cmp dword [rbx + 0x208], 0
cmovne r14d, r15d
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov rax, qword [rsp + 0x60]
cmp r12, rax
jb 0x1401a3526
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
add r12, 8
jmp 0x1401a3413
cmp ebp, 2
mov r15, qword [rsp + 0x48]
jl 0x1401a3562
mov rax, qword [r13]
mov ebx, 1
mov edx, ebx
mov rcx, r13
call qword [rax + Ordinal_403]
mov esi, ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x88], r13
mov rax, qword [rsp + 0x60]
jmp 0x1401a356b
mov esi, dword [rsp + 0x44]
mov ebx, 1
test r14d, r14d
je 0x1401a359a
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1401a359a
mov rax, qword [r13]
mov edx, ebx
mov rcx, r13
call qword [rax + Ordinal_403]
mov esi, ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x88], r13
mov rax, qword [rsp + 0x60]
mov rdi, rax
cmp qword [rsp + 0x58], rax
jbe 0x1401a35af
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
cmp r12, rax
jbe 0x1401a35c4
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
cmp r12, rdi
je 0x1401a3849
sub rax, rdi
sar rax, 3
lea rdx, [rax*8]
lea rsi, [rdx + r12]
test rax, rax
jle 0x1401a35f4
mov r9, rdx
mov r8, rdi
mov rcx, r12
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsp + 0x60], rsi
mov esi, dword [rsp + 0x44]
jmp 0x1401a3849
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0xc0]
test eax, eax
je 0x1401a3849
mov ebp, r12d
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsi]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov r8, rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov edx, dword [rbx + reloc.MFC80U.DLL_Ordinal_296]
mov rcx, rsi
call qword [rdi + 0x80]
mov r12, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
cmp r12, rax
jbe 0x1401a366d
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
mov r15d, 1
mov rdi, rax
cmp qword [rsp + 0x58], rax
jbe 0x1401a3688
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
cmp r12, rdi
je 0x1401a378f
cmp r12, rax
jb 0x1401a369c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rbx, qword [r12]
mov rcx, rbx
call qword [sym.imp.ntdll.dll__wcslwr]
lea rdi, [0x140369498]
mov rsi, rbx
mov ecx, 9
repe cmpsw word [rsi], word [rdi]
je 0x1401a36d1
lea rdi, [0x1403694b0]
mov rsi, rbx
mov ecx, 0xd
repe cmpsw word [rsi], word [rdi]
jne 0x1401a36e2
cmp dword [rbx + 0x208], 0
jne 0x1401a36e2
add ebp, r15d
jmp 0x1401a3769
lea rdi, [0x1403694d0]
mov rsi, rbx
mov ecx, 6
repe cmpsw word [rsi], word [rdi]
jne 0x1401a3704
cmp dword [rbx + 0x208], 0
jne 0x1401a3704
add ebp, r15d
jmp 0x1401a3769
lea rdi, [0x1403694e0]
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1401a3726
cmp dword [rbx + 0x208], 0
je 0x1401a3726
add ebp, r15d
jmp 0x1401a3769
lea rdi, [0x1403694f0]
mov rsi, rbx
mov ecx, 8
repe cmpsw word [rsi], word [rdi]
jne 0x1401a374a
cmp dword [rbx + 0x208], 0
jne 0x1401a374a
mov dword [rsp + 0x40], r15d
jmp 0x1401a3769
lea rdi, [0x140369500]
mov rsi, rbx
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
jne 0x1401a3769
cmp dword [rbx + 0x208], 0
cmovne r14d, r15d
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov rax, qword [rsp + 0x60]
cmp r12, rax
jb 0x1401a3786
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
add r12, 8
jmp 0x1401a3673
cmp ebp, 2
mov r15, qword [rsp + 0x48]
jl 0x1401a37ba
mov rax, qword [r13]
mov ebx, 1
mov edx, ebx
mov rcx, r13
call qword [rax + Ordinal_403]
mov esi, ebx
mov dword [rsp + 0x44], ebx
mov rax, qword [rsp + 0x60]
jmp 0x1401a37c3
mov esi, dword [rsp + 0x44]
mov ebx, 1
test r14d, r14d
je 0x1401a37ea
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1401a37ea
mov rax, qword [r13]
mov edx, ebx
mov rcx, r13
call qword [rax + Ordinal_403]
mov esi, ebx
mov dword [rsp + 0x44], ebx
mov rax, qword [rsp + 0x60]
mov rdi, rax
cmp qword [rsp + 0x58], rax
jbe 0x1401a37ff
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
cmp r12, rax
jbe 0x1401a3814
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0x60]
cmp r12, rdi
je 0x1401a3849
sub rax, rdi
sar rax, 3
lea rdx, [rax*8]
lea rsi, [rdx + r12]
test rax, rax
jle 0x1401a3840
mov r9, rdx
mov r8, rdi
mov rcx, r12
call qword [sym.imp.MSVCR80.dll_memmove_s]
mov qword [rsp + 0x60], rsi
mov esi, dword [rsp + 0x44]
mov r12, qword [rsp + 0x58]
test r12, r12
je 0x1401a385b
mov rcx, r12
call sub.MFC80U.DLL_Ordinal_776
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x38]
mov r13, rax
test rax, rax
mov r12d, 0
jne 0x1401a3360
test esi, esi
jne 0x1401a38c1
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1401a38c1
nop
nop
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xc0]
test eax, eax
jne 0x1401a38b3
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1401a3890
jmp 0x1401a38c1
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax + Ordinal_403]
mov r14w, 0x2a
xor ebx, ebx
mov r13, rbx
mov rsi, qword [rsp + 0x90]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x58]
test eax, eax
je 0x1401a3ddd
mov word [rsp + 0x390], bx
xor edx, edx
mov r8d, reloc.MFC80U.DLL_Ordinal_1022
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_914]
call sub.ntdll.dll_memset
call fcn.140049400
mov rbp, rax
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x80]
mov rdi, qword [rbp]
movzx r9d, ax
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rdx, [rsp + 0x390]
mov rcx, rbp
call qword [rdi + 0x60]
test eax, eax
je 0x1401a3db3
mov word [rsp + 0x180], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x182]
call sub.ntdll.dll_memset
lea r8, [rsp + 0x390]
lea rdx, [0x140369588]
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rbx + 3]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401a3db3
mov dword [rsp + 0xa0], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x560000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401a3db3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0xb0]
mov ecx, eax
mov rax, qword [rsp + 0x60]
cqo
idiv rcx
mov r15, rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x70], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov dword [rsp + 0x40], eax
lea edi, [rbx + 2]
mov word [rsp + Ordinal_1938], r13w
xor edx, edx
mov r8d, reloc.MFC80U.DLL_Ordinal_1022
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_1938]
call sub.ntdll.dll_memset
mov edx, esi
mov ecx, edi
shr edx, cl
test dl, 1
je 0x1401a3b9b
lea ebx, [rdi + 0x41]
mov rax, qword [rbp]
movzx r9d, bx
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rdx, [rsp + 0x790]
mov rcx, rbp
call qword [rax + 0x60]
test eax, eax
je 0x1401a3bba
xor edx, edx
mov r8d, Ordinal_265
lea rcx, [rsp + 0x180]
call sub.ntdll.dll_memset
lea r8, [rsp + 0x790]
lea rdx, [0x1403695a8]
lea rcx, [rsp + 0x180]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1401a3db3
xor eax, eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x560000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], r13d
jbe 0x1401a3b85
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0xb0]
mov ecx, eax
mov rax, qword [rsp + 0xc0]
cqo
idiv rcx
mov ecx, dword [rsp + 0xb8]
cmp ecx, dword [rsp + 0x70]
jne 0x1401a3b91
mov rdx, qword [rsp + 0x80]
cmp ecx, dword [rdx + reloc.MFC80U.DLL_Ordinal_296]
jne 0x1401a3b8b
cmp rax, r15
je 0x1401a3ba8
jmp 0x1401a3b97
mov esi, dword [rsp + 0x40]
jmp 0x1401a3b9b
mov esi, dword [rsp + 0x40]
jmp 0x1401a3b9b
mov esi, dword [rsp + 0x40]
jmp 0x1401a3b9b
mov esi, dword [rsp + 0x40]
add edi, 1
cmp edi, 0x1a
jge 0x1401a3bc5
jmp 0x1401a3a31
mov r15d, 1
mov edi, r15d
movzx r14d, bx
mov r13, rax
jmp 0x1401a3bce
mov edi, r12d
mov r15d, 1
jmp 0x1401a3bce
mov edi, r12d
mov r15d, 1
mov rax, qword [rbp]
or rdx, 0xffffffffffffffff
mov rcx, rbp
call qword [rax + 0x10]
test edi, edi
je 0x1401a3d9b
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
mov r12d, eax
lea rcx, [rsp + 0x40]
call fcn.14005b260
nop
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1401a3c2b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x38]
mov r8, rax
movzx r9d, r14w
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14005eab0
jmp 0x1401a3c43
test r13, r13
je 0x1401a3c43
movzx r9d, r14w
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14005eab0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
call fcn.140049500
mov rdi, qword [rax]
lea rdx, str.0568
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_296]
nop
call fcn.140049500
mov rdi, qword [rax]
lea rdx, [0x1403695d8]
mov rcx, rax
call qword [rdi]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_788]
xor r9d, r9d
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x1401a3d77
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x88]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1401a3d4e
lea r8, [rsp + 0x94]
lea rdx, [0x140371ae0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [rsp + 0x90], r15d
mov dword [rsp + 0x9c], 2
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401a3d4e
xor edx, edx
lea ecx, [rax + 6]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x40]
call fcn.140050540
xor eax, eax
jmp 0x1401a3dfe
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC80U.DLL_Ordinal_588]
nop
lea rcx, [rsp + 0x40]
call fcn.140050540
jmp 0x1401a3df3
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x58]
mov r12d, eax
jmp 0x1401a3df3
xor r9d, r9d
lea r8, str.Update_error
lea rdx, str.Update_partition_table_faile
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rsi, qword [rsp + 0x48]
jmp 0x1401a3df3
mov rax, qword [r15]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [rax + 0x58]
mov r12d, eax
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov eax, r12d
mov rcx, qword [rsp + 0xb90]
xor rcx, rsp
call fcn.140161080
lea r11, [rsp + 0xba0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret