Function at 0x1400b7050
Capabilities:
Check os version
Create directory

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x5c60
call sub.ntdll.dll___chkstk
sub rsp, rax
mov qword [rsp + 0x188], 0xfffffffffffffffe
mov qword [rsp + 0x5cb8], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x5c50], rax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0xe0], rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
mov dword [rsp + 0x8c], r12d
mov dword [rsp + 0x90], 1
mov rcx, qword [rcx + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
mov rdx, qword [rdx + 8]
call qword [rax + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x148], rax
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx + 8]
call fcn.1400bcc40
mov r13, rax
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
mov rcx, r13
call qword [rax + 0x40]
mov rsi, rax
mov qword [rsp + 0xd0], rax
mov rcx, qword [rdi + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
mov rdx, qword [rbx + 8]
call qword [rax + 0x48]
mov rcx, rax
mov edx, dword [rbx + 0x10]
call fcn.1400bcc40
mov rcx, rax
mov qword [rsp + 0xe8], rax
mov rax, qword [rax]
call qword [rax + 0x40]
mov rbp, rax
mov qword [rsp + 0x68], rax
call fcn.1400d6a30
call fcn.1400494c0
mov qword [rsp + 0x110], rax
mov word [rsp + Ordinal_5672], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1622]
call sub.ntdll.dll_memset
mov r8d, 0x103
lea rdx, [rsp + 0x1620]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1620]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
movsxd rax, ecx
test rax, rax
jle 0x1400b71be
sub ecx, 1
sub rax, 1
cmp word [rsp + rax*2 + 0x1620], 0x5c
jne 0x1400b71a7
movsxd rax, ecx
mov word [rsp + rax*2 + Ordinal_5672], r12w
mov rax, qword [r14]
mov edx, 0xa
mov rcx, r14
call qword [rax + 0x50]
mov rax, qword [r14]
mov edx, 0x64
mov rcx, r14
call qword [rax + 0x10]
mov rax, qword [r14]
mov edx, 0x28
mov rcx, r14
call qword [rax + 0x50]
mov ecx, dword [rbx + 0x10]
call fcn.140119fd0
mov dword [rsp + 0x80], eax
lea r15, [0x1404342a0]
cmp dword [rbx + 0x28], 1
jne 0x1400b82b8
call fcn.140049400
mov rbp, rax
mov rdi, qword [rsp + 0xe8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x30]
mov rbx, rax
test rax, rax
je 0x1400b7285
mov r13, qword [rsp + 0xe0]
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
test al, al
je 0x1400b726f
mov rdi, qword [rbp]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov r8, rax
mov edx, dword [r13 + 0x10]
mov rcx, rbp
call qword [rdi + 0x30]
mov rdi, qword [rsp + 0xe8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
mov rbx, rax
test rax, rax
jne 0x1400b7240
mov r13, qword [rsp + 0x78]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
call fcn.1400c2b40
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400b98e5
cmp qword [rsp + 0x48], r12
je 0x1400b98de
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b98f3
mov rcx, qword [rsp + 0x40]
mov rdi, qword [rcx]
call qword [rdi + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [rdi + 8]
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rcx]
call qword [rdi + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [rdi + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x40]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b98ec
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b73b1
mov ecx, 0x4200
call sub.MFC80U.DLL_Ordinal_265
mov rdi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call sub.ntdll.dll_memset
mov rax, qword [rsi]
mov r9d, 0x21
lea r8d, [r9 - 0x20]
mov rdx, rdi
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_266
jmp 0x1400b740e
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, r14
mov rdx, rsi
mov rcx, qword [rsp + 0x70]
call fcn.1400af460
test eax, eax
jne 0x1400b740e
mov rax, qword [r14]
mov edx, 0x2d
mov rcx, r14
call qword [rax + 0x40]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x204d
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_Failed_to_Init_Disk_in__ConvertMbrGpt.
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x1400b9f52
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rax, rdi
jne 0x1400b74d8
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b74d8
mov rsi, qword [rsp + 0xe0]
cmp qword [rsi + 0x18], r12
je 0x1400b74d8
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, rax
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400b74d8
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
cmp rax, qword [rsi + 0x18]
je 0x1400b74b2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400b7490
jmp 0x1400b74d8
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + reloc.MFC80U.DLL_Ordinal_376]
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax + reloc.MFC80U.DLL_Ordinal_376]
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rax, rdi
je 0x1400b7540
mov r9d, 1
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call fcn.1400c3ac0
test eax, eax
jne 0x1400b7540
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x206c
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_BackupRecoveryEnv_failed.
mov rcx, rdi
call qword [rbx + 0x10]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdi, qword [rax]
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0xef0]
mov rcx, rax
call qword [rdi + 0x30]
call fcn.140116720
mov rdi, rax
xor edx, edx
mov r8d, 0xb0
lea rcx, [rsp + 0x2e0]
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov dword [rsp + 0x2e0], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_744], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_752], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_760], rax
mov dword [rsp + 0x380], r12d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, rax
call fcn.14009a400
mov word [rsp + 0x384], ax
movzx eax, word [rsp + 0xb8]
mov word [rsp + 0x386], ax
movzx eax, word [rsp + 0x88]
mov word [rsp + 0x388], ax
mov rax, qword [rdi]
mov r8, r14
lea rdx, [rsp + 0x2e0]
mov rcx, rdi
call qword [rax + 0x28]
test eax, eax
jne 0x1400b7689
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xc8]
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x2086
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_Format_fat_partition_failed_
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
jmp 0x1400b9f52
mov dword [rsp + 0x8c], 1
mov r13d, r12d
mov word [rsp + Ordinal_5416], r12w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x1522]
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0x1520]
mov rcx, rbp
call qword [rsi + 0x58]
test eax, eax
jne 0x1400b7750
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edx, eax
mov r8, rdi
mov rcx, rbp
call qword [rsi + 0xa8]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, r13d
add r13d, 1
cmp edx, 0x64
jl 0x1400b76b5
cmp r13d, 0x64
mov r13, qword [rsp + 0x78]
jl 0x1400b7787
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x209a
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_AllocVolumeGuid_Failed.
mov rcx, rdi
call qword [rbx + 0x10]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edx, eax
mov r8, rdi
mov rcx, rbp
call qword [rsi + 0x30]
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x30]
mov rbx, rax
test rax, rax
je 0x1400b7890
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
cmp eax, 0xb
je 0x1400b787a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
cmp eax, 0xc
je 0x1400b787a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rax, rdi
jne 0x1400b7830
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
mov dword [rax], 1
jmp 0x1400b7842
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
mov dword [rax], 5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
mov qword [rax + 8], rdi
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xb0]
mov qword [rax + 0x10], rdi
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rbx, rax
test rax, rax
jne 0x1400b77e0
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
test eax, eax
jne 0x1400b78b3
call fcn.140049470
mov rdi, qword [rax]
lea rdx, str.Update_partition_table_failed._n
mov rcx, rax
call qword [rdi + 0x10]
mov dword [rsp + 0x90], r12d
mov word [rsp + 0xf00], r12w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0xf02]
call sub.ntdll.dll_memset
mov word [rsp + 0x1420], r12w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x1422]
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0xf00]
mov rcx, rbp
call qword [rsi + 0x58]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0x1420]
mov rcx, rbp
call qword [rsi + 0x58]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov qword [rsp + 0xc0], rax
call fcn.140049470
mov rbx, rax
mov qword [rsp + 0x50], rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
jne 0x1400b79e8
mov qword [rsp + 0x78], r12
jmp 0x1400b7a75
mov byte [rsp + Ordinal_3815], r12b
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x20d1
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b7a30
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b7a60
mov qword [rsp + 0x78], r15
mov rbp, qword [rbx]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rsi, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rbx, rax
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov edi, eax
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], edi
mov r8, qword [rsp + 0x78]
lea rdx, str._s:_SysD:_d_BootD:_d_SysS:_d_BootS:_d
mov rcx, qword [rsp + 0x50]
call qword [rbp + 0x10]
mov word [rsp + 0x1000], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1002]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFI
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov word [rsp + 0x1830], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1832]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_s
lea rcx, [rsp + 0x1830]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 7]
lea rcx, [rsp + 0x1830]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b7bc6
mov dword [rsp + 0x80], r12d
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov edx, 0x56c008
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rsp + 0x1000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400b9f52
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIBoot
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
xor edx, edx
lea rcx, [rsp + 0x1000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400b9f52
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIMicrosoft
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
xor edx, edx
lea rcx, [rsp + 0x1000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400b9f52
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIMicrosoftBoot
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
xor edx, edx
lea rcx, [rsp + 0x1000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400b9f52
mov word [rsp + Ordinal_4625], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1212]
call sub.ntdll.dll_memset
lea rcx, [rsp + 0x6e0]
call fcn.140147040
nop
lea r8, [rsp + 0x1420]
lea rdx, str.__Volume_sWindowsBootEFI
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.1400561e0
test eax, eax
jne 0x1400b7d3a
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1210]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIMicrosoftBoot_bootmgfw.efi
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIBootBootx64.efi
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.140055db0
test eax, eax
jne 0x1400b7dd3
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1210]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0x1620]
lea rdx, [0x1402e2fe8]
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sEFIMicrosoftBootBCD
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.140055db0
test eax, eax
jne 0x1400b7e6c
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
xor edx, edx
mov r8d, reloc.MFC80U.DLL_Ordinal_512
lea rcx, [rsp + 0x4e0]
call sub.ntdll.dll_memset
call fcn.140049550
mov rbx, rax
test rax, rax
jne 0x1400b7ea2
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, rax
mov rdi, qword [rbx]
mov rax, qword [rax]
call qword [rax + 0x50]
mov edx, eax
mov rcx, rbx
call qword [rdi]
test eax, eax
jne 0x1400b7ed8
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rsp + 0x4e0]
mov rdx, rax
mov r8d, reloc.MFC80U.DLL_Ordinal_512
call sub.ntdll.dll_memcpy
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x230]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x1a0]
call sub.ntdll.dll_memset
mov esi, r12d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
je 0x1400b7fc9
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0x10]
mov rdi, qword [rax + 8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rdi, rax
jne 0x1400b7f75
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0x10]
lea rcx, [rsp + 0x230]
mov rdx, rax
mov r8d, 0x88
call sub.ntdll.dll_memcpy
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0x10]
mov rdi, qword [rax + 8]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rdi, rax
jne 0x1400b7fb5
mov rax, qword [rbx]
mov edx, esi
mov rcx, rbx
call qword [rax + 0x10]
lea rcx, [rsp + 0x1a0]
mov rdx, rax
mov r8d, 0x88
call sub.ntdll.dll_memcpy
add esi, 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
cmp esi, eax
jb 0x1400b7f35
cmp qword [rsp + reloc.MFC80U.DLL_Ordinal_568], 0
je 0x1400b82a4
cmp qword [rsp + reloc.MFC80U.DLL_Ordinal_424], 0
je 0x1400b82a4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_s
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.14009e6c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdi, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rbx, rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov edx, eax
lea rax, [rsp + 0x218]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x518]
mov r8, rbx
lea rcx, [rsp + 0x160]
call fcn.14009dfe0
test eax, eax
jne 0x1400b80c6
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x2153
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_update_bcd_failed.
mov rcx, rdi
call qword [rbx + 0x10]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b8137
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rsi, rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rbx, rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov ecx, eax
mov r8, rbx
mov rdx, rdi
call fcn.140063880
lea rcx, [rsp + 0x60]
call fcn.14005b260
nop
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov ecx, eax
call fcn.140119fd0
mov dword [rsp + 0x60], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rbx, rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
mov edx, eax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x218]
mov r8, rbx
lea rcx, [rsp + 0x60]
call fcn.14005ded0
test eax, eax
jne 0x1400b81d1
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x2165
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_update_dosdevice_failed.
mov rcx, rdi
call qword [rbx + 0x10]
mov rbx, r12
mov rsi, qword [rsp + 0xd0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x78]
mov rbp, rax
mov rax, qword [rax]
mov rcx, rbp
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400b8274
nop
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x48]
cmp eax, 0xb
cmovne rbx, rdi
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400b8200
test rbx, rbx
je 0x1400b8274
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x88]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
add rdi, rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov r11, rax
cdqe
sub rax, rdi
mov ecx, 0x1000
cmp rax, rcx
jge 0x1400b8274
sub ecx, r11d
mov r9, r14
mov r8d, ecx
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
call fcn.140063a20
nop
lea rcx, [rsp + 0x60]
call fcn.140050540
nop
lea rcx, [rsp + 0x160]
call fcn.140050540
nop
lea rcx, [rsp + 0x6e0]
call fcn.140050540
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
lea rcx, [rsp + 0x6e0]
call fcn.140050540
xor eax, eax
jmp 0x1400b9f52
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r12
call fcn.140049440
mov rdi, rax
mov rax, qword [rax]
mov edx, dword [rbx + 0x10]
mov rcx, rdi
call qword [rax + 8]
test eax, eax
jne 0x1400b830c
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98f8
call sub.MFC80U.DLL_Ordinal_776
jmp 0x1400b98f8
mov rax, qword [rdi]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
mov rcx, rdi
call qword [rax + 0x10]
test eax, eax
je 0x1400b8340
cmp byte [rsp + 0x11c], 0xee
je 0x1400b8340
mov rax, qword [rdi]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
mov rcx, rdi
call qword [rax + 0x10]
test eax, eax
jne 0x1400b8321
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov rdx, qword [rbp]
mov rcx, rbp
call qword [rdx + 0x78]
mov rbp, rax
mov rax, qword [rax]
mov rcx, rbp
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400b84cd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xb0]
cmp dword [rax], 2
jne 0x1400b84b7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x38]
mov r11, rax
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
test rdi, rdi
je 0x1400b83e3
mov rcx, rdx
sub rcx, rdi
sar rcx, 3
mov rax, qword [rsp + 0xb0]
sub rax, rdi
sar rax, 3
cmp rcx, rax
jae 0x1400b83e3
mov qword [rdx], r11
lea rax, [rdx + 8]
mov qword [rsp + 0xa8], rax
jmp 0x1400b84b7
mov rbx, rdx
cmp rdi, rdx
jbe 0x1400b8401
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xa0]
lea rax, [rsp + 0x98]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_336], rax
mov qword [rsp + 0x158], rbx
test rdi, rdi
je 0x1400b843e
mov rax, rdx
sub rax, rdi
sar rax, 3
je 0x1400b843e
cmp rdi, rdx
jbe 0x1400b8435
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub rbx, rdi
sar rbx, 3
jmp 0x1400b8441
mov rbx, r12
movaps xmm0, xmmword [rsp + reloc.MFC80U.DLL_Ordinal_336]
movdqa xmmword [rsp + 0x190], xmm0
lea r9, [rsp + 0xb8]
mov r8d, 1
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x98]
call fcn.140007440
mov rdx, qword [rsp + 0xa0]
mov rdi, rdx
mov rax, qword [rsp + 0xa8]
cmp rdx, rax
jbe 0x1400b84a3
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rdi + rbx*8]
cmp rcx, rax
ja 0x1400b84b1
cmp rcx, rdx
jae 0x1400b84b7
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400b8373
mov ebp, r12d
mov rbx, r12
mov rax, qword [rsp + 0xa0]
test rax, rax
jne 0x1400b84e5
mov rcx, r12
jmp 0x1400b84f4
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
sar rcx, 3
movsxd rax, ebp
cmp rax, rcx
jae 0x1400b8567
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x78]
mov rdi, rax
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x1400b8529
mov rax, qword [rsp + 0xa8]
sub rax, rdx
sar rax, 3
cmp rbx, rax
jb 0x1400b8537
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdi]
mov rdx, qword [rdx + rbx*8]
mov rcx, rdi
call qword [rax + 0x50]
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x78]
mov rdi, qword [rax]
xor edx, edx
mov rcx, rax
call qword [rdi + 0x88]
add ebp, 1
add rbx, 1
jmp 0x1400b84d3
mov r8, r14
mov rdx, rsi
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.14006b860
test eax, eax
jne 0x1400b8680
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea r15, [0x1404342a0]
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b8653
mov byte [rsp + Ordinal_3829], 0
xor eax, eax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_3825], rax
mov word [rsp + Ordinal_3834], ax
mov byte [rsp + 0xefb], al
mov r8d, 0x21b4
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b8610
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xef0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b8640
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_ConvertGpt2MbrReBuildPartPriLog__
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b8679
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x1400b9f52
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0xc0]
mov rcx, rbx
call fcn.1400c2b40
or eax, 0xffffffff
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400b86c0
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov rbx, qword [rsp + 0xe0]
cmp eax, dword [rbx + 0x10]
je 0x1400b87ee
mov rbp, qword [rsp + 0x68]
mov rcx, rbp
call fcn.14009b800
test eax, eax
jne 0x1400b87f3
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
lea r15, [0x1404342a0]
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b87b3
mov byte [rsp + Ordinal_3829], 0
xor eax, eax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_3825], rax
mov word [rsp + Ordinal_3834], ax
mov byte [rsp + 0xefb], al
mov r8d, 0x21c9
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b8770
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xef0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b87a0
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, [0x1402ebd40]
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [r14]
mov edx, 4
mov rcx, r14
call qword [rax + 0x40]
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b87e7
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x1400b9f52
mov rbp, qword [rsp + 0x68]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400b98af
cmp qword [rsp + 0x50], 0
je 0x1400b98af
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
cmp eax, dword [rbx + 0x10]
je 0x1400b8847
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98f8
call sub.MFC80U.DLL_Ordinal_776
jmp 0x1400b98f8
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x40]
mov rbx, rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
je 0x1400b8892
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98f8
call sub.MFC80U.DLL_Ordinal_776
jmp 0x1400b98f8
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, rax
test rax, rax
je 0x1400b892b
mov rax, qword [rax]
mov rcx, rbx
call qword [rax + 0x30]
mov rdi, rax
test rax, rax
je 0x1400b892b
nop
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xb0]
cmp dword [rax], 6
je 0x1400b88e4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
mov rdi, rax
test rax, rax
jne 0x1400b88c0
jmp 0x1400b892b
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call fcn.1400c3ac0
test eax, eax
jne 0x1400b8977
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x21e7
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_BackupRecoveryEnv_failed.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x1400b8977
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x1400b8977
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400c3ac0
test eax, eax
jne 0x1400b8977
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x21ee
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_BackupRecoveryEnv_failed.
mov rcx, rdi
call qword [rbx + 0x10]
mov edi, dword [rsp + 0x120]
mov qword [rsp + 0xc0], rdi
mov byte [rsp + 0x1c50], 0
xor edx, edx
mov r8d, 0x3fff
lea rcx, [rsp + 0x1c51]
call sub.ntdll.dll_memset
mov rax, qword [rbp]
mov r9d, 1
mov r8, rdi
lea rdx, [rsp + 0x1c50]
mov rcx, rbp
call qword [rax + 0x18]
test eax, eax
jne 0x1400b89dd
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98f8
call sub.MFC80U.DLL_Ordinal_776
jmp 0x1400b98f8
lea rcx, [rsp + 0x2e0]
lea rdx, [rsp + 0x1c50]
mov r8d, reloc.MFC80U.DLL_Ordinal_512
call sub.ntdll.dll_memcpy
mov eax, dword [rsp + 0x1ca0]
imul eax, dword [rsp + 0x1ca4]
xor edx, edx
mov ecx, dword [rsp + 0x80]
div ecx
mov ebx, eax
mov rsi, rcx
mov rdi, rcx
imul rdi, rbx
mov rcx, rdi
call sub.MFC80U.DLL_Ordinal_265
mov rbp, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.ntdll.dll_memset
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov r9, rbx
mov r8, qword [rsp + 0x328]
mov rdx, rbp
mov rcx, rdi
call qword [rax + 0x20]
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x1c50]
call sub.ntdll.dll_memset
mov rax, qword [rdi]
mov r9d, 1
mov r8, qword [rsp + 0xc0]
lea rdx, [rsp + 0x1c50]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, rbp
call sub.MFC80U.DLL_Ordinal_266
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rsp + 0xd0]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
cmp eax, edi
je 0x1400b8ad9
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98d7
call sub.MFC80U.DLL_Ordinal_776
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_srand]
mov byte [rsp + 0x4e0], 0
xor edx, edx
mov r8d, Ordinal_512
lea rcx, [rsp + 0x4e1]
call sub.ntdll.dll_memset
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x4e0]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
je 0x1400b8bb3
call qword [sym.imp.MSVCR80.dll_rand]
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x1402ebd38]
mulsd xmm0, qword [0x1402ebd30]
addsd xmm0, qword [0x1402ebd28]
cvttsd2si rax, xmm0
mov word [rsp + 0x698], ax
call qword [sym.imp.MSVCR80.dll_rand]
cvtsi2sd xmm0, eax
divsd xmm0, qword [0x1402ebd38]
mulsd xmm0, qword [0x1402ebd30]
addsd xmm0, qword [0x1402ebd28]
cvttsd2si rax, xmm0
mov word [rsp + 0x69a], ax
mov byte [rsp + Ordinal_1762], 0x55
mov byte [rsp + Ordinal_1762], 0xaa
mov rax, qword [rbx]
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0x4e0]
mov rcx, rbx
call qword [rax + 0x20]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edi, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
mov rax, qword [rbx]
mov edx, edi
mov rcx, rbx
call qword [rax + 0x10]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x28]
mov dword [rsp + 0xb8], eax
mov r13, r12
mov rsi, qword [rsp + 0x78]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rbx, rax
test rax, rax
je 0x1400b8c79
nop
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + Ordinal_403]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x38]
mov rdi, rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x38]
cmp rdi, rax
jne 0x1400b8c68
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + Ordinal_277]
mov rdi, qword [rbx]
mov rcx, rbx
call qword [rdi + 0x88]
lea rdx, [rax - 1]
mov rcx, rbx
call qword [rdi + Ordinal_265]
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + Ordinal_403]
mov r13, rbx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, rax
test rax, rax
jne 0x1400b8c00
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rdi, qword [rax]
mov qword [rsp + 0x28], r12
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xee0]
mov rcx, rax
call qword [rdi + 0x30]
xor edx, edx
mov r8d, 0xa8
lea rcx, [rsp + 0x230]
call sub.ntdll.dll_memset
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov dword [rsp + 0x230], eax
mov word [rsp + 0x2d0], 8
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x70]
mov qword [rsp + 0x248], rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_568], rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x88]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_576], rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x58]
lea rcx, [rsp + 0x250]
mov rdx, rax
mov r8d, 0x80
call sub.ntdll.dll_memcpy
movzx edx, word [rsp + 0x88]
mov word [rsp + 0x2d2], dx
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x2d4], ax
call fcn.1400d6a30
mov rbp, rax
call fcn.140049400
mov rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xd8], 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rdi]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edx, eax
mov r8, rdi
mov rdi, qword [rsp + 0x80]
mov rcx, rdi
call qword [rsi + 0x30]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rdi]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r8d, eax
mov r9, rdi
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x80]
call qword [rsi]
mov rax, qword [rbp]
mov r8, r14
lea rdx, [rsp + 0x230]
mov rcx, rbp
call qword [rax + 0x40]
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x78]
cmp al, 7
je 0x1400b8e30
mov rax, qword [r13]
mov dl, 7
mov rcx, r13
call qword [rax + reloc.MFC80U.DLL_Ordinal_320]
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call fcn.1400c3220
mov rdx, qword [rsp + 0xd8]
cmp rdx, 0xffffffffffffffff
je 0x1400b8e5f
mov rbp, qword [rsp + 0x80]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x10]
jmp 0x1400b8e67
mov rbp, qword [rsp + 0x80]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edx, eax
mov r8, rdi
mov rcx, rbp
call qword [rsi + 0x30]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx]
call qword [rdx + 0x68]
mov dword [rsp + 0x8c], 1
mov r15d, r12d
mov word [rsp + Ordinal_5416], r15w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x1522]
call sub.ntdll.dll_memset
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0x1520]
mov rcx, rbp
call qword [rsi + 0x58]
test eax, eax
jne 0x1400b8f67
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov edx, eax
mov r8, rdi
mov rcx, rbp
call qword [rsi + 0xa8]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, r15d
add r15d, 1
cmp edx, 0x64
jl 0x1400b8ed0
cmp r15d, 0x64
lea r15, [0x1404342a0]
jl 0x1400b9053
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
jne 0x1400b8fb2
mov r8, r12
jmp 0x1400b9043
mov byte [rsp + Ordinal_3829], 0
xor eax, eax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_3825], rax
mov word [rsp + Ordinal_3834], ax
mov byte [rsp + 0xefb], al
mov r8d, 0x2269
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b9000
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xef0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9030
mov r8, r15
mov rax, qword [rbx]
lea rdx, str._s:_AllocVolumeGuid_Failed.
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov rdi, rax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rbx, rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
mov edi, eax
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x50]
movzx edx, ax
mov qword [rsp + 0x20], r14
mov r9, rbx
mov r8d, edi
mov rcx, qword [rsp + 0x70]
call fcn.1400c13a0
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov word [rsp + 0x1420], 0
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0x1422]
call sub.ntdll.dll_memset
mov word [rsp + 0xf00], 0
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0xf02]
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0x1420]
mov rcx, rbp
call qword [rsi + 0x58]
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x30]
mov rbx, rax
mov rsi, qword [rbp]
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x50]
mov r9d, eax
mov qword [rsp + 0x20], rdi
mov r8d, 0x80
lea rdx, [rsp + 0xf00]
mov rcx, rbp
call qword [rsi + 0x58]
mov word [rsp + Ordinal_4625], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1212]
call sub.ntdll.dll_memset
mov word [rsp + 0x1000], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1002]
call sub.ntdll.dll_memset
lea r9, [0x1402e33d8]
lea r8, [rsp + 0x1420]
lea rdx, str.__Volume_s_s
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_s_boot
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
xor edx, edx
lea rcx, [rsp + 0x1000]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x6e0]
call fcn.140147040
nop
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.1400561e0
test eax, eax
jne 0x1400b9247
mov rax, qword [r14]
lea rdx, str.Copy_director_failed.
mov rcx, r14
call qword [rax + 0x68]
mov rax, qword [r14]
mov edx, 6
mov rcx, r14
call qword [rax + 0x40]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1210]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r9, str.boot_bootmgr
lea r8, [rsp + 0xf00]
lea rdx, [0x1402e2ad0]
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xf00]
lea rdx, str._Volume_s_bootmgr
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.140055db0
test eax, eax
jne 0x1400b92f1
mov rax, qword [r14]
lea rdx, str.Failed_to_copy_bootmgr.
mov rcx, r14
call qword [rax + 0x68]
mov rax, qword [r14]
mov edx, 6
mov rcx, r14
call qword [rax + 0x40]
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1210]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1000]
call sub.ntdll.dll_memset
lea r8, [rsp + 0x1620]
lea rdx, [0x1402e32a8]
lea rcx, [rsp + 0x1210]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0xf00]
lea rdx, str.__Volume_sBootBCD
lea rcx, [rsp + 0x1000]
call qword [sym.imp.MSVCR80.dll__swprintf]
lea r8, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
lea rcx, [rsp + 0x6e0]
call fcn.140055db0
test eax, eax
jne 0x1400b9493
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9443
mov byte [rsp + Ordinal_3829], 0
xor eax, eax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_3825], rax
mov word [rsp + Ordinal_3834], ax
mov byte [rsp + 0xefb], al
mov r8d, 0x22bb
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xef0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b9400
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xef0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9430
mov r12, r15
mov rax, qword [rbx]
lea rcx, [rsp + 0x1000]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x1210]
mov r8, r12
lea rdx, str._s:_Src:__s__Des:__s
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rcx, [rsp + 0x6e0]
call fcn.140050540
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b948c
call sub.MFC80U.DLL_Ordinal_776
xor eax, eax
jmp 0x1400b9f52
mov word [rsp + 0x1830], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1832]
call sub.ntdll.dll_memset
lea r8, [rsp + 0xf00]
lea rdx, [0x1402e2118]
lea rcx, [rsp + 0x1830]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edx, eax
lea rcx, [rsp + 0x160]
call fcn.14009e6c0
nop
xor edx, edx
mov r8d, Ordinal_280
lea rcx, [rsp + 0x2e0]
call sub.ntdll.dll_memset
mov dword [rsp + 0x2e0], Ordinal_280
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1400b9553
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x34
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, [0x1402ea560]
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x1400b9572
mov eax, dword [rsp + 0x2e4]
cmp eax, 6
ja 0x1400b95eb
cmp eax, 6
jne 0x1400b9572
cmp dword [rsp + reloc.MFC80U.DLL_Ordinal_744], 2
jae 0x1400b95eb
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov r9, rax
mov qword [rsp + 0x20], rdi
mov esi, dword [rsp + 0xb8]
mov r8d, esi
lea rdx, [rsp + 0x1830]
lea rcx, [rsp + 0x160]
call fcn.14009f0e0
test eax, eax
jne 0x1400b966f
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x22ce
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_Failed_to_UpdateBcd2MbrForWin8.
mov rcx, rdi
call qword [rbx + 0x10]
jmp 0x1400b966f
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rsi, rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rbx, rax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rdi, rax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov esi, dword [rsp + 0xb8]
mov r8d, esi
lea rcx, [rsp + 0x160]
call fcn.14009dd10
test eax, eax
jne 0x1400b966f
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x22c7
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_Failed_to_UpdateBcd2MbrForWin8.
mov rcx, rdi
call qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.14005b260
nop
mov word [rsp + 0x1a40], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1a42]
call sub.ntdll.dll_memset
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x50]
movzx r8d, ax
lea rdx, str._c:WindowsSystem32configSYSTEM
lea rcx, [rsp + 0x1a40]
call qword [sym.imp.MSVCR80.dll__swprintf]
mov qword [rsp + 0x130], r12
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_320], rax
mov qword [rsp + 0xf8], r12
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov dword [rsp + 0x144], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0xc8], esi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x108], 4
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov ecx, eax
call fcn.140119fd0
mov dword [rsp + 0x60], eax
mov r9d, 1
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x60]
call fcn.14005d720
test eax, eax
jne 0x1400b97c1
call fcn.140049470
mov rdi, rax
mov rbx, qword [rax]
mov edx, 0x22e5
lea rcx, str...optcore.cpp
call fcn.1400a0fc0
mov r8, rax
lea rdx, str._s:_UpdateDosDeviceFromCovertToMbrOpt_failed.
mov rcx, rdi
call qword [rbx + 0x10]
xor eax, eax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_424], rax
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rax
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], rax
mov rsi, qword [rsp + 0x70]
mov rcx, qword [rsi + reloc.MFC80U.DLL_Ordinal_1112]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_424], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov dword [rsp + 0x1b0], eax
mov dword [rsp + 0x1c8], 2
xor r9d, r9d
mov r8, r14
lea rdx, [rsp + 0x1a0]
mov rcx, rsi
call fcn.1400acd50
nop
lea rcx, [rsp + 0x60]
call fcn.140050540
nop
lea rcx, [rsp + 0x160]
call fcn.140050540
nop
lea rcx, [rsp + 0x6e0]
call fcn.140050540
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98c3
call sub.MFC80U.DLL_Ordinal_776
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400b98f8
call sub.MFC80U.DLL_Ordinal_776
jmp 0x1400b98f8
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rbp, qword [rsp + 0x68]
jmp 0x1400b98f8
mov rbp, qword [rsp + 0x68]
mov rax, qword [r14]
mov edx, 0x64
mov rcx, r14
call qword [rax + 0x10]
mov rax, qword [r14]
mov edx, 0x32
mov rcx, r14
call qword [rax + 0x50]
mov qword [rsp + reloc.MFC80U.DLL_Ordinal_296], r12
mov qword [rsp + 0xf0], r12
lea r9, [rsp + reloc.MFC80U.DLL_Ordinal_296]
lea r8, [rsp + 0xf0]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x70]
call fcn.1400c2b40
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x1400b9a8d
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
mov edi, eax
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
cmp eax, edi
jne 0x1400b9a8d
cmp dword [rsp + 0x90], 0
je 0x1400b9ced
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
test eax, eax
jne 0x1400b9ced
mov rax, qword [r14]
mov edx, 6
mov rcx, r14
call qword [rax + 0x40]
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9a73
mov byte [rsp + Ordinal_3815], 0
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x2304
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b9a30
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9a60
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_Failed_to_UpdatePartTable_in__ConvertMbrGpt.
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400b9f52
mov rcx, rbp
call fcn.14009b800
test eax, eax
je 0x1400b9bbd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x60]
mov r9d, r12d
test eax, eax
sete r9b
mov dword [rsp + 0x20], r12d
mov r8, r14
mov rdx, rsi
mov rcx, qword [rsp + 0x70]
call fcn.1400af460
test eax, eax
jne 0x1400b9bbd
mov rax, qword [r14]
mov edx, 0x2d
mov rcx, r14
call qword [rax + 0x40]
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9ba3
mov byte [rsp + Ordinal_3815], 0
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x2313
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rdx + rcx], al
add rdx, 1
test al, al
jne 0x1400b9b60
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9b90
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_Failed_to_Init_Disk_in__ConvertMbrGpt.
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400b9f52
cmp dword [rsp + 0x90], 0
jne 0x1400b9bdd
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
je 0x1400b9ced
mov rax, qword [r13]
xor edx, edx
mov rcx, r13
call qword [rax + 0x88]
mov rax, qword [r13]
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [rax + 0x58]
test eax, eax
jne 0x1400b9ced
mov rax, qword [r14]
mov edx, 6
mov rcx, r14
call qword [rax + 0x40]
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9cd3
mov byte [rsp + Ordinal_3815], 0
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x231e
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1400b9c90
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9cc0
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_Failed_to_UpdatePartTable_in__ConvertMbrGpt.
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400b9f52
mov rax, qword [r14]
mov edx, 0x32
mov rcx, r14
call qword [rax + 0x10]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], r12d
mov r9, r14
mov r8, r13
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x70]
call fcn.1400c0ef0
test eax, eax
jne 0x1400b9e0d
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9df3
mov byte [rsp + Ordinal_3815], 0
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x232a
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1400b9db0
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9de0
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_Failed_to_UpdateBootIni_in__ConvertMbrGpt.
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
jmp 0x1400b9f52
mov rax, qword [r14]
mov edx, 0x46
mov rcx, r14
call qword [rax + 0x10]
xor edx, edx
mov rcx, r13
call fcn.1400959c0
test eax, eax
jne 0x1400b9f06
call fcn.140049470
mov rbx, rax
xor edx, edx
mov r8d, 0x80
mov rcx, r15
call sub.ntdll.dll_memset
mov edx, 0x5c
lea rcx, str...optcore.cpp
call qword [sym.imp.ntdll.dll_strrchr]
mov rdi, rax
test rax, rax
je 0x1400b9ef3
mov byte [rsp + Ordinal_3815], 0
xor eax, eax
mov qword [rsp + Ordinal_3815], rax
mov word [rsp + 0xee9], ax
mov byte [rsp + Ordinal_3825], al
mov r8d, 0x2333
lea rdx, [0x1402dfd08]
lea rcx, [rsp + 0xee0]
call qword [sym.imp.ntdll.dll_sprintf]
lea rdx, [rdi + 1]
mov rcx, r15
sub rcx, rdx
nop
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx], al
add rdx, 1
test al, al
jne 0x1400b9eb0
mov rdi, r15
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0xee0]
xor ecx, ecx
nop
nop
nop
nop
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
add rcx, 1
test al, al
jne 0x1400b9ee0
mov r12, r15
mov rax, qword [rbx]
mov r8, r12
lea rdx, str._s:_Failed_to_Update_mount_point_for_PartMgr_in__ConvertMbrGpt.
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [r14]
mov edx, 0x60
mov rcx, r14
call qword [rax + 0x10]
mov rdx, r14
mov rcx, qword [rsp + 0xe0]
call fcn.140095bd0
call fcn.140097b30
mov rax, qword [r14]
mov edx, 0x64
mov rcx, r14
call qword [rax + 0x10]
cmp dword [rsp + 0x8c], 0
je 0x1400b9f4d
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + Ordinal_355]
mov eax, 1
mov rcx, qword [rsp + 0x5c50]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x5cb8]
add rsp, 0x5c60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret