Function at 0x140140670
Capabilities:
Copy file
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb80]
sub rsp, 0xc80
mov rax, qword [0x1403debe8]
xor rax, rsp
mov qword [rbp + 0xb70], rax
mov qword [rsp + 0x48], rcx
xor ebx, ebx
mov r13d, ebx
xor edx, edx
mov r8d, 0x258
lea rcx, [rbp + 0x6b0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x58]
call fcn.140197310
nop
mov r8b, 1
lea rdx, [rbp + 0x6b0]
lea rcx, [rsp + 0x58]
call fcn.140199870
mov qword [rbp + 0x568], rbx
mov qword [rbp + 0x578], rbx
mov qword [rbp + 0x580], 7
mov word [rbp + 0x568], bx
lea rax, [rbp + 0x6b0]
mov r12, 0xffffffffffffffff
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140140720
lea rdx, [rbp + 0x6b0]
lea rcx, [rbp + 0x568]
call fcn.1400f8950
nop
lea rcx, [rsp + 0x58]
call fcn.140197340
nop
cmp qword [rbp + 0x578], 0
jne 0x140140792
mov qword [rbp - 0x18], rbx
mov qword [rbp - 8], rbx
mov qword [rbp], 7
mov r8d, 0x21
lea rdx, str._s______Failed_to_get_model_name.
lea rcx, [rbp - 0x18]
call fcn.1400f8950
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp - 0x18]
call fcn.140195940
mov r13d, ebx
jmp 0x140141e33
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], 7
mov r8d, SafeArrayPutElement
lea rdx, str._s______Model_Name___s_
lea rcx, [rbp + 8]
call fcn.1400f8950
lea r8, [rbp + 0x568]
cmp qword [rbp + 0x580], 8
cmovae r8, qword [rbp + 0x568]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 8]
call fcn.1401953a0
mov byte [rsp + 0x40], 0
lea rdx, [rbp + 0x568]
cmp qword [rbp + 0x580], 8
cmovae rdx, qword [rbp + 0x568]
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], 7
mov r8, r12
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140140810
lea rcx, [rbp + 0x48]
call fcn.1400f8950
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x650]
call fcn.14013c040
nop
mov r14, qword [rbp + 0x660]
test r14, r14
jne 0x140140893
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], 7
lea r8d, [r14 + 0x2d]
lea rdx, str._s______Failed_to_get_information_of_PD_BIOS.
lea rcx, [rbp + 0x68]
call fcn.1400f8950
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0x68]
call fcn.140195940
mov r13d, ebx
mov rsi, qword [rbp + 0x668]
mov rbx, qword [rbp + 0x650]
jmp 0x140141dff
mov qword [rbp + 0x590], rbx
mov qword [rbp + 0x5a0], rbx
mov qword [rbp + 0x5a8], 7
mov word [rbp + 0x590], bx
mov qword [rbp + 0x5b0], rbx
mov qword [rbp + 0x5c0], rbx
mov qword [rbp + 0x5c8], 7
mov word [rbp + 0x5b0], bx
mov qword [rbp + 0x488], rbx
mov qword [rbp + 0x498], rbx
mov qword [rbp + 0x4a0], 7
mov word [rbp + 0x488], bx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea r15, [rbp + 0x650]
mov rbx, qword [rbp + 0x650]
mov rsi, qword [rbp + 0x668]
cmp rsi, 0x10
cmovae r15, rbx
movabs rax, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x14014093e
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x68], xmm0
mov edi, SafeArrayGetLBound
jmp 0x140140969
mov rdi, r14
or rdi, 0xf
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.1400e1b00
mov qword [rsp + 0x68], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call fcn.140244220
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rdi
lea r8, [rbp + 0x488]
lea rdx, [rbp + 0x590]
lea rcx, [rsp + 0x68]
call fcn.14013f510
test eax, eax
je 0x140141d32
cmp qword [rbp + 0x5a0], 0
jne 0x1401409aa
cmp qword [rbp + 0x5c0], 0
je 0x140141d32
xor edx, edx
mov r8d, 0x258
lea rcx, [rbp + 0x910]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x50]
call fcn.140197310
nop
mov r8b, 1
lea rdx, [rbp + 0x910]
lea rcx, [rsp + 0x50]
call fcn.140198d60
xor r14d, r14d
mov qword [rbp + 0x4e8], r14
mov qword [rbp + 0x4f8], r14
mov qword [rbp + 0x500], 7
mov word [rbp + 0x4e8], r14w
lea rax, [rbp + 0x910]
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140140a10
lea rdx, [rbp + 0x910]
lea rcx, [rbp + 0x4e8]
call fcn.1400f8950
nop
lea rcx, [rsp + 0x50]
call fcn.140197340
nop
lea r10, [rbp + 0x4e8]
mov rbx, qword [rbp + 0x4e8]
mov rdi, qword [rbp + 0x500]
cmp rdi, 8
cmovae r10, rbx
mov r11, qword [rbp + 0x4f8]
cmp r11, 1
jb 0x140140abc
lea rcx, [r11 - 1]
mov rax, r12
cmp rcx, r12
cmovb rax, rcx
lea r9, [r10 + rax*2]
lea rsi, [0x1402d22ec]
mov r8, r9
sub r8, rsi
cmp word [r9], 0x2e
jne 0x140140aad
mov edx, 1
mov rcx, rsi
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140140aad
add rcx, 2
sub rdx, 1
jne 0x140140a91
sub r9, r10
sar r9, 1
jmp 0x140140abf
cmp r9, r10
je 0x140140abc
sub r9, 2
sub r8, 2
jmp 0x140140a82
mov r9, r12
inc r9
mov qword [rbp + 0x4a8], r14
mov qword [rbp + 0x4b8], r14
mov qword [rbp + 0x4c0], 7
mov word [rbp + 0x4a8], r14w
cmp r11, r9
jb 0x140141e9b
sub r11, r9
mov rsi, r12
cmp r11, r12
cmovb rsi, r11
lea rax, [rbp + 0x4e8]
cmp rdi, 8
cmovae rax, rbx
lea r15, [rax + r9*2]
movabs r14, 0x7ffffffffffffffe
cmp rsi, 7
ja 0x140140b48
lfence
mov qword [rbp + 0x4b8], rsi
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
lea rcx, [rbp + 0x4a8]
call fcn.140244220
xor esi, esi
mov word [rbp + rbx + 0x4a8], si
jmp 0x140140ba9
cmp rsi, r14
ja 0x140141ea1
mov rbx, rsi
or rbx, 7
cmp rbx, r14
jbe 0x140140ce6
mov rbx, r14
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.1400e1b00
mov rdi, rax
mov qword [rbp + 0x4b8], rsi
mov qword [rbp + 0x4c0], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rax
call fcn.140244220
xor esi, esi
mov word [rbx + rdi], si
mov qword [rbp + 0x4a8], rdi
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], 7
mov r8d, 0x1e
lea rdx, [0x1402d22f0]
lea rcx, [rbp + 0x88]
call fcn.1400f8950
lea r8, [rbp + 0x4e8]
cmp qword [rbp + 0x500], 8
cmovae r8, qword [rbp + 0x4e8]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0x88]
call fcn.1401953a0
lea rcx, [rbp + 0x4a8]
cmp qword [rbp + 0x4c0], 8
cmovae rcx, qword [rbp + 0x4a8]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
mov rdx, qword [rbp + 0x498]
cmp rdx, qword [rbp + 0x4b8]
jne 0x140140d0e
test rdx, rdx
je 0x140140c68
sub r8, rcx
nop
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140140d0e
add rcx, 2
sub rdx, 1
jne 0x140140c50
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb8], rsi
mov qword [rbp + 0xc0], 7
mov r8d, 0x55
lea rdx, str._s______Latest_BIOS_version___s__Current__is_equal_to_the_verison___s__on_device_ROM.
lea rcx, [rbp + 0xa8]
call fcn.1400f8950
lea r9, [rbp + 0x4a8]
cmp qword [rbp + 0x4c0], 8
cmovae r9, qword [rbp + 0x4a8]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0xa8]
call fcn.1401953a0
mov r13d, 1
jmp 0x140141ca7
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140141e8f
jmp 0x140140b6e
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], 7
mov r8d, 0x46
lea rdx, str._s______Latest_BIOS_version___s__is_different_from_device_version___s_
lea rcx, [rbp + 0xc8]
call fcn.1400f8950
lea r9, [rbp + 0x4a8]
cmp qword [rbp + 0x4c0], 8
cmovae r9, qword [rbp + 0x4a8]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0xc8]
call fcn.1401953a0
mov r15, qword [rsp + 0x48]
mov rcx, qword [r15]
call fcn.1401cea90
lea rax, [rbp + 0xe8]
mov qword [rsp + 0x48], rax
mov qword [rbp + 0xe8], rsi
mov qword [rbp + 0xf8], rsi
mov qword [rbp + 0x100], 7
mov r8d, SafeArrayGetLBound
lea rdx, str.EfiFileVersion
lea rcx, [rbp + 0xe8]
call fcn.1400f8950
nop
mov qword [rbp + 0x108], rsi
mov qword [rbp + 0x118], rsi
mov qword [rbp + 0x120], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x108]
call fcn.1400f8950
nop
lea r9, [rbp + 0xe8]
lea r8, [rbp + 0x108]
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x528]
call fcn.1401de260
nop
lea rcx, [rbp + 0x528]
cmp qword [rbp + 0x540], 8
cmovae rcx, qword [rbp + 0x528]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
mov rdx, qword [rbp + 0x498]
cmp rdx, qword [rbp + 0x538]
jne 0x140140f06
test rdx, rdx
je 0x140140e88
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140140f06
add rcx, 2
sub rdx, 1
jne 0x140140e70
mov qword [rbp + 0x128], rsi
mov qword [rbp + 0x138], rsi
mov qword [rbp + 0x140], 7
mov r8d, 0x4b
lea rdx, str._s______Latest_BIOS_version___s__is_equal_to_the_current_file_verison___s_.
lea rcx, [rbp + 0x128]
call fcn.1400f8950
lea r9, [rbp + 0x528]
cmp qword [rbp + 0x540], 8
cmovae r9, qword [rbp + 0x528]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0x128]
call fcn.1401953a0
mov r13d, 1
jmp 0x140141b63
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x38], rsi
mov qword [rbp + 0x40], 7
mov r8d, 0x47
lea rdx, str._s______Latest_BIOS_version___s__is_different_from_current_version___s_
lea rcx, [rbp + 0x28]
call fcn.1400f8950
lea r9, [rbp + 0x528]
cmp qword [rbp + 0x540], 8
cmovae r9, qword [rbp + 0x528]
lea r8, [rbp + 0x488]
cmp qword [rbp + 0x4a0], 8
cmovae r8, qword [rbp + 0x488]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0x28]
call fcn.1401953a0
mov rdx, qword [str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_tmp_]
lea rcx, [rbp + 0x2e8]
call fcn.1400eaca0
mov rcx, rax
call fcn.1401d2720
test al, al
je 0x140140fa4
mov rdx, qword [str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_tmp_]
lea rcx, [rbp + 0x308]
call fcn.1400eaca0
mov rcx, rax
call fcn.1401d4260
mov qword [rbp + 0x468], rsi
mov qword [rbp + 0x478], rsi
mov qword [rbp + 0x480], 7
mov word [rbp + 0x468], si
xor r8d, r8d
lea rdx, [0x1402cf868]
lea rcx, [rbp + 0x468]
call fcn.1400f8950
nop
cmp byte [rsp + 0x40], 0
je 0x14014117d
mov rdi, qword [rbp + 0x5c0]
test rdi, rdi
je 0x14014117d
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
lea rsi, [rbp + 0x5b0]
cmp qword [rbp + 0x5c8], 8
cmovae rsi, qword [rbp + 0x5b0]
cmp rdi, 8
jae 0x14014102d
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
mov ebx, 7
jmp 0x14014107b
mov rbx, rdi
or rbx, 7
cmp rbx, r14
cmova rbx, r14
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140141ea7
lfence
add rcx, rcx
call fcn.1400e1b00
mov qword [rbp - 0x78], rax
mov rdi, qword [rbp + 0x5c0]
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140244220
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x670]
call fcn.14013b230
mov rbx, rax
lea rax, [rbp + 0x468]
cmp rax, rbx
je 0x14014112d
mov rdx, qword [rbp + 0x480]
cmp rdx, 8
jb 0x1401410ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x468]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401410e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141e95
call fcn.14020be84
xor esi, esi
mov qword [rbp + 0x478], rsi
mov qword [rbp + 0x480], 7
mov word [rbp + 0x468], si
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x468], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x478], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x14014112f
xor esi, esi
mov rdx, qword [rbp + 0x688]
cmp rdx, 8
jb 0x140141303
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x670]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401412fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141e95
jmp 0x1401412fe
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rsi
lea rsi, [rbp + 0x590]
cmp qword [rbp + 0x5a8], 8
cmovae rsi, qword [rbp + 0x590]
mov rdi, qword [rbp + 0x5a0]
cmp rdi, 8
jae 0x1401411bb
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x58], xmm0
mov ebx, 7
jmp 0x140141209
mov rbx, rdi
or rbx, 7
cmp rbx, r14
cmova rbx, r14
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140141ead
lfence
add rcx, rcx
call fcn.1400e1b00
mov qword [rbp - 0x58], rax
mov rdi, qword [rbp + 0x5a0]
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140244220
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rbx
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x690]
call fcn.14013b230
mov rbx, rax
lea rax, [rbp + 0x468]
cmp rax, rbx
je 0x1401412bb
mov rdx, qword [rbp + 0x480]
cmp rdx, 8
jb 0x14014127a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x468]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141275
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141eb3
call fcn.14020be84
xor esi, esi
mov qword [rbp + 0x478], rsi
mov qword [rbp + 0x480], 7
mov word [rbp + 0x468], si
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x468], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x478], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x1401412bd
xor esi, esi
mov rdx, qword [rbp + 0x6a8]
cmp rdx, 8
jb 0x140141303
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x690]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401412fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141eb3
call fcn.14020be84
cmp qword [rbp + 0x478], 0
jne 0x140141350
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 7
mov r8d, 0x2b
lea rdx, str._s______Failed_to_download_the_latest_BIOS.
lea rcx, [rbp - 0x38]
call fcn.1400f8950
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp - 0x38]
call fcn.140195940
mov rcx, qword [r15]
call fcn.1401ceaa0
jmp 0x140141bff
lea rcx, [rbp + 0x548]
call fcn.1401d3970
nop
cmp qword [rbp + 0x558], 0
je 0x140141b98
mov dword [rsp + 0x60], esi
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x4c8]
call fcn.1401d3e40
nop
lea rax, [rbp + 0x328]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x548]
lea rcx, [rbp + 0x328]
call fcn.1400eabe0
mov rbx, rax
lea rdx, [rbp + 0x4c8]
lea rcx, [rbp + 0x348]
call fcn.1400eabe0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1401d3fb0
cmp eax, 1
jne 0x140141af7
mov r8, r12
lea rbx, [0x1402d1f10]
mov rdx, rbx
lea rcx, [rbp + 0x468]
call fcn.1401455e0
mov r8, rax
mov qword [rbp + 0x630], rsi
mov qword [rbp + 0x640], rsi
mov qword [rbp + 0x648], 7
mov word [rbp + 0x630], si
cmp qword [rbp + 0x478], rax
cmovb r8, qword [rbp + 0x478]
lea rdx, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae rdx, qword [rbp + 0x468]
lea rcx, [rbp + 0x630]
call fcn.1400f8950
nop
lea r10, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae r10, qword [rbp + 0x468]
mov r11, qword [rbp + 0x478]
cmp r11, 1
jb 0x1401414b0
lea rcx, [r11 - 1]
mov rax, r12
cmp rcx, r12
cmovb rax, rcx
lea r9, [r10 + rax*2]
mov r8, r9
sub r8, rbx
cmp word [r9], 0x5c
jne 0x1401414a1
mov edx, 1
mov rcx, rbx
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x1401414a1
add rcx, 2
sub rdx, 1
jne 0x140141485
sub r9, r10
sar r9, 1
jmp 0x1401414b3
cmp r9, r10
je 0x1401414b0
sub r9, 2
sub r8, 2
jmp 0x140141476
mov r9, r12
inc r9
mov qword [rbp + 0x508], rsi
mov qword [rbp + 0x518], rsi
mov qword [rbp + 0x520], 7
mov word [rbp + 0x508], si
cmp r11, r9
jb 0x140141eb9
lfence
mov rax, qword [rbp + 0x478]
sub rax, r9
cmp rax, 0xffffffffffffffff
cmovb r12, rax
lea rax, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae rax, qword [rbp + 0x468]
lea rdx, [rax + r9*2]
mov r8, r12
lea rcx, [rbp + 0x508]
call fcn.1400f8950
nop
mov rax, r14
sub rax, qword [rbp + 0x4d8]
cmp rax, qword [rbp + 0x518]
jb 0x140141ebf
lfence
lea r9, [rbp + 0x4c8]
cmp qword [rbp + 0x4e0], 8
cmovae r9, qword [rbp + 0x4c8]
lea rcx, [rbp + 0x508]
cmp qword [rbp + 0x520], 8
cmovae rcx, qword [rbp + 0x508]
mov rax, qword [rbp + 0x518]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rax, qword [rbp + 0x4d8]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x4c8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x5f0]
call fcn.140139be0
nop
lea rdx, str._s______BIOS_Name___s__Directory___s_
lea rcx, [rbp + 0x368]
call fcn.1400eaca0
lea r9, [rbp + 0x630]
cmp qword [rbp + 0x648], 8
cmovae r9, qword [rbp + 0x630]
lea r8, [rbp + 0x508]
cmp qword [rbp + 0x520], 8
cmovae r8, qword [rbp + 0x508]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
lea rax, [rbp + 0x388]
mov qword [rsp + 0x48], rax
lea rdx, str.EfiFile
lea rcx, [rbp + 0x388]
call fcn.1400eaca0
mov rbx, rax
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x3a8]
call fcn.1400eaca0
nop
mov r9, rbx
mov r8, rax
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x610]
call fcn.1401de260
nop
sub r14, qword [rbp + 0x4d8]
cmp r14, qword [rbp + 0x620]
jb 0x140141ec5
lfence
lea r9, [rbp + 0x4c8]
cmp qword [rbp + 0x4e0], 8
cmovae r9, qword [rbp + 0x4c8]
lea rcx, [rbp + 0x610]
cmp qword [rbp + 0x628], 8
cmovae rcx, qword [rbp + 0x610]
mov rax, qword [rbp + 0x620]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov rax, qword [rbp + 0x4d8]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x4c8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x5d0]
call fcn.140139be0
nop
lea r8, [rbp + 0x610]
cmp qword [rbp + 0x628], 8
cmovae r8, qword [rbp + 0x610]
cmp qword [rbp + 0x620], 0xd
jne 0x140141709
mov edx, 0xd
lea rcx, str.ERROR_READREG
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140141709
add rcx, 2
sub rdx, 1
jne 0x1401416f0
jmp 0x1401417d0
lea rdx, [rbp + 0x5d0]
lea rcx, [rbp + 0x3c8]
call fcn.1400eabe0
mov rcx, rax
call fcn.1401d26a0
test al, al
je 0x1401417d0
lea rcx, [rbp + 0x5d0]
cmp qword [rbp + 0x5e8], 8
cmovae rcx, qword [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140141788
lea rdx, str._s______Delete_current_BIOS_file___s_
lea rcx, [rbp + 0x3e8]
call fcn.1400eaca0
lea r8, [rbp + 0x5d0]
cmp qword [rbp + 0x5e8], 8
cmovae r8, qword [rbp + 0x5d0]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
jmp 0x1401417d0
lea rdx, str._s______Failed_to_delete_current_BIOS_file___s_._Error_code0x_08x
lea rcx, [rbp + 0x408]
call fcn.1400eaca0
mov rdi, rax
lea rbx, [rbp + 0x5d0]
cmp qword [rbp + 0x5e8], 8
cmovae rbx, qword [rbp + 0x5d0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rdi
call fcn.1401953a0
lea rdx, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 8
cmovae rdx, qword [rbp + 0x5f0]
lea rcx, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae rcx, qword [rbp + 0x468]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140141964
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x428]
call fcn.1400eabe0
mov rcx, rax
call fcn.1401d26a0
test al, al
je 0x140141964
lea rdx, str._s______Copy___s__to___s_
lea rcx, [rbp + 0x448]
call fcn.1400eaca0
lea r9, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 8
cmovae r9, qword [rbp + 0x5f0]
lea r8, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae r8, qword [rbp + 0x468]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
mov r13d, 1
lea rax, [rbp + 0x168]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x188]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x508]
lea rcx, [rbp + 0x168]
call fcn.1400eabe0
mov rdi, rax
lea rdx, str.EfiFile
lea rcx, [rbp + 0x188]
call fcn.1400eaca0
mov rbx, rax
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x1a8]
call fcn.1400eaca0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.1401de7f0
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x1c8]
call fcn.1400eabe0
mov rdi, rax
lea rdx, str.EfiFileVersion
lea rcx, [rbp + 0x1e8]
call fcn.1400eaca0
mov rbx, rax
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x208]
call fcn.1400eaca0
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, 0xffffffff80000002
call fcn.1401de7f0
jmp 0x1401419b4
lea rdx, str._s______Failed_to_copy___s__to___s_
lea rcx, [rbp + 0x2c8]
call fcn.1400eaca0
lea r9, [rbp + 0x5f0]
cmp qword [rbp + 0x608], 8
cmovae r9, qword [rbp + 0x5f0]
lea r8, [rbp + 0x468]
cmp qword [rbp + 0x480], 8
cmovae r8, qword [rbp + 0x468]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
mov rdx, qword [str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_tmp_]
lea rcx, [rbp + 0x228]
call fcn.1400eaca0
mov rcx, rax
call fcn.1401d4260
lea rdx, str._s______Remove_Folder___s_
lea rcx, [rbp + 0x248]
call fcn.1400eaca0
mov r8, qword [str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_tmp_]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
lea rdx, [rbp + 0x4c8]
lea rcx, [rbp + 0x268]
call fcn.1400eabe0
mov rcx, rax
call fcn.1401d4aa0
lea rdx, str._s______Unmount_volume_on___s_
lea rcx, [rbp + 0x288]
call fcn.1400eaca0
lea r8, [rbp + 0x4c8]
cmp qword [rbp + 0x4e0], 8
cmovae r8, qword [rbp + 0x4c8]
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.1401953a0
nop
lea rcx, [rbp + 0x5d0]
call fcn.1401156c0
nop
lea rcx, [rbp + 0x610]
call fcn.1401156c0
nop
lea rcx, [rbp + 0x5f0]
call fcn.1401156c0
nop
mov rdx, qword [rbp + 0x520]
cmp rdx, 8
jb 0x140141aba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x508]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ecb
call fcn.14020be84
mov qword [rbp + 0x518], rsi
mov qword [rbp + 0x520], 7
mov word [rbp + 0x508], si
mov r8, qword [rbp + 0x648]
cmp r8, 8
jb 0x140141af7
inc r8
mov rdx, qword [rbp + 0x630]
lea rcx, [rbp + 0x630]
call fcn.1400f9f90
nop
lea rcx, [rbp + 0x4c8]
call fcn.1401156c0
nop
mov r8, qword [rbp + 0x560]
cmp r8, 8
jb 0x140141b27
inc r8
mov rdx, qword [rbp + 0x548]
lea rcx, [rbp + 0x548]
call fcn.1400f9f90
mov qword [rbp + 0x558], rsi
mov qword [rbp + 0x560], 7
mov word [rbp + 0x548], si
mov r8, qword [rbp + 0x480]
cmp r8, 8
jb 0x140141b63
inc r8
mov rdx, qword [rbp + 0x468]
lea rcx, [rbp + 0x468]
call fcn.1400f9f90
mov rcx, qword [r15]
call fcn.1401ceaa0
nop
mov r8, qword [rbp + 0x540]
cmp r8, 8
jb 0x140141ca7
inc r8
mov rdx, qword [rbp + 0x528]
lea rcx, [rbp + 0x528]
call fcn.1400f9f90
jmp 0x140141ca7
lea rdx, str._s______Failed_to_get_EFI_system_volume_name.
lea rcx, [rbp + 0x2a8]
call fcn.1400eaca0
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
mov rcx, rax
call fcn.140195940
mov rcx, qword [r15]
call fcn.1401ceaa0
nop
mov r8, qword [rbp + 0x560]
cmp r8, 8
jb 0x140141be6
inc r8
mov rdx, qword [rbp + 0x548]
lea rcx, [rbp + 0x548]
call fcn.1400f9f90
mov qword [rbp + 0x558], rsi
mov qword [rbp + 0x560], 7
mov word [rbp + 0x548], si
mov rdx, qword [rbp + 0x480]
cmp rdx, 8
jb 0x140141c45
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x468]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141c40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ed1
call fcn.14020be84
mov qword [rbp + 0x478], rsi
mov qword [rbp + 0x480], 7
mov word [rbp + 0x468], si
mov rdx, qword [rbp + 0x540]
cmp rdx, 8
jb 0x140141ca4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x528]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140141c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141ed7
call fcn.14020be84
mov r13d, esi
mov r8, qword [rbp + 0x4c0]
cmp r8, 8
jb 0x140141cca
inc r8
mov rdx, qword [rbp + 0x4a8]
lea rcx, [rbp + 0x4a8]
call fcn.1400f9f90
mov qword [rbp + 0x4b8], rsi
mov qword [rbp + 0x4c0], 7
mov word [rbp + 0x4a8], si
mov r8, qword [rbp + 0x500]
cmp r8, 8
jb 0x140141d06
inc r8
mov rdx, qword [rbp + 0x4e8]
lea rcx, [rbp + 0x4e8]
call fcn.1400f9f90
mov qword [rbp + 0x4f8], rsi
mov qword [rbp + 0x500], 7
mov word [rbp + 0x4e8], si
mov rsi, qword [rbp + 0x668]
mov rbx, qword [rbp + 0x650]
xor r14d, r14d
jmp 0x140141d7b
xor r14d, r14d
mov qword [rbp + 0x148], r14
mov qword [rbp + 0x158], r14
mov qword [rbp + 0x160], 7
lea r8d, [r14 + 0x44]
lea rdx, str._s______Failed_to_parse_download_URL_and_version_of_the_latest_BIOS.
lea rcx, [rbp + 0x148]
call fcn.1400f8950
lea rdx, str.BiosFileUpdater::UpdateBiosFileInSystemVolume
lea rcx, [rbp + 0x148]
call fcn.140195940
mov r13d, r14d
mov r8, qword [rbp + 0x4a0]
cmp r8, 8
jb 0x140141d9e
inc r8
mov rdx, qword [rbp + 0x488]
lea rcx, [rbp + 0x488]
call fcn.1400f9f90
mov qword [rbp + 0x498], r14
mov qword [rbp + 0x4a0], 7
mov word [rbp + 0x488], r14w
mov r8, qword [rbp + 0x5c8]
cmp r8, 8
jb 0x140141ddb
inc r8
mov rdx, qword [rbp + 0x5b0]
lea rcx, [rbp + 0x5b0]
call fcn.1400f9f90
mov r8, qword [rbp + 0x5a8]
cmp r8, 8
jb 0x140141dff
inc r8
mov rdx, qword [rbp + 0x590]
lea rcx, [rbp + 0x590]
call fcn.1400f9f90
nop
cmp rsi, 0x10
jb 0x140141e33
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140141e2a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140141e89
mov rcx, rbx
call fcn.14020be84
nop
mov r8, qword [rbp + 0x580]
cmp r8, 8
jb 0x140141e56
inc r8
mov rdx, qword [rbp + 0x568]
lea rcx, [rbp + 0x568]
call fcn.1400f9f90
mov eax, r13d
mov rcx, qword [rbp + 0xb70]
xor rcx, rsp
call fcn.14020c3e0
lea r11, [rsp + 0xc80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1400f8240
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.140142570
int3
call fcn.1400f83d0
nop
call fcn.1400f8240
int3
call fcn.1400f8240
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.140142570
nop
call fcn.1400f83d0
nop
call fcn.1400f83d0
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3