Function at 0x1400f79a4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xfb0]
mov eax, 0x10b0
call fcn.14012bd30
sub rsp, rax
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0xfa0], rax
xor r15d, r15d
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x50], r15
mov ebx, r15d
mov r12d, r15d
mov qword [rsp + 0x48], r15
mov r13d, r15d
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [0x140175bf0]
lea rcx, [rsp + 0x78]
call fcn.14000c788
lea rdx, [0x1401a8478]
lea rcx, [rsp + 0x70]
call fcn.140069950
cmp qword [0x14022a9e0], r15
mov rcx, rdi
jne 0x1400f7a43
xor r8d, r8d
lea rdx, str.CreateBatchFile_failed__gpConEmuNULL
call fcn.1400fb068
jmp 0x1400f8879
mov rdx, qword [rdi + 0x40]
lea r9, [rsp + 0x50]
lea r8, str.ConEmuUpdate.cmd
mov rdx, qword [rdx + 0x60]
call fcn.1400f88d4
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400f88cd
lea rcx, str._echo_off_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._echo_off_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f88a6
cmp ebx, dword [rsp + 0x40]
jne 0x1400f88a6
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x30], r15
mov r14d, 0x1000
lea r8, str._r_nset_ConEmuInUpdateYES_r_n
mov dword [rsp + 0x28], r14d
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f7afe
lea rcx, str._r_nset_ConEmuInUpdateYES_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.WideCharToMultiByte_failed__len_i
jmp 0x1400f88b3
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f88a6
cmp ebx, dword [rsp + 0x40]
jne 0x1400f88a6
lea rcx, str.cd__d__
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.cd__d__
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f88a6
cmp ebx, dword [rsp + 0x40]
jne 0x1400f88a6
mov r8, qword [0x14022a9e0]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
xor edx, edx
mov qword [rsp + 0x30], r15
add r8, 0xcea
mov dword [rsp + 0x28], r14d
or r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f7bc0
mov rcx, qword [0x14022a9e0]
add rcx, 0xcea
jmp 0x1400f7aec
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f88a6
cmp ebx, dword [rsp + 0x40]
jne 0x1400f88a6
lea rcx, str.__r_necho_Current_folder_r_ncd_r_necho_._r_n_r_necho_Starting_update..._r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.__r_necho_Current_folder_r_ncd_r_necho_._r_n_r_necho_Starting_update..._r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f88a6
cmp ebx, dword [rsp + 0x40]
jne 0x1400f88a6
mov rcx, qword [rdi + 0x40]
call fcn.1400fc6d8
mov rcx, qword [rdi + 0x40]
cmp al, 1
jne 0x1400f7c53
lea rdx, [rsp + 0x70]
call fcn.1400fc8ac
jmp 0x1400f7c58
call fcn.1400fc6b4
mov r14, rax
mov qword [rsp + 0x60], rax
mov r8d, 0x25
xor r9d, r9d
test r15d, r15d
je 0x1400f7c93
test r13, r13
je 0x1400f7d9b
lea rcx, [r13*2 + 2]
call fcn.140113e8c
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov r12, rax
lea r8d, [r9 + 0x25]
movzx ecx, word [r14]
mov rbx, r12
mov r12, r14
test cx, cx
je 0x1400f7d79
mov rsi, qword [rsp + 0x68]
mov rdx, r12
cmp cx, r8w
je 0x1400f7ccd
test r15d, r15d
je 0x1400f7cc5
mov word [rbx], cx
add rbx, 2
jmp 0x1400f7d5d
inc r13
jmp 0x1400f7d5d
add r12, 2
movzx ecx, word [r12]
sub ecx, r8d
je 0x1400f7d25
sub ecx, 0xc
je 0x1400f7d1b
sub ecx, 1
je 0x1400f7d0b
sub ecx, 1
je 0x1400f7d04
cmp ecx, 1
je 0x1400f7cfd
mov r12, rdx
test r15d, r15d
je 0x1400f7cc5
mov word [rbx], r8w
jmp 0x1400f7cbc
lea r8, [rsp + 0x78]
jmp 0x1400f7d2c
lea r8, [rsp + 0x70]
jmp 0x1400f7d2c
mov r8, qword [0x14022a9e0]
add r8, 0xcea
jmp 0x1400f7d1e
mov r8, rsi
test r8, r8
je 0x1400f7d57
jmp 0x1400f7d2c
lea r8, [0x1401a7d0c]
or r14, 0xffffffffffffffff
inc r14
cmp word [r8 + r14*2], r9w
jne 0x1400f7d30
test r15d, r15d
je 0x1400f7d54
lea rdx, [r14 + 1]
mov rcx, rbx
call fcn.14000a8a0
xor r9d, r9d
lea rbx, [rbx + r14*2]
jmp 0x1400f7d57
add r13, r14
mov r8d, 0x25
add r12, 2
movzx ecx, word [r12]
test cx, cx
jne 0x1400f7cab
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x60]
test r15d, r15d
je 0x1400f7d82
mov word [rbx], r9w
mov r12d, 1
add r15d, r12d
cmp r15d, 2
jge 0x1400f7dd7
mov r12, qword [rsp + 0x48]
jmp 0x1400f7c69
mov rcx, qword [rdi + 0x40]
call fcn.1400fc6d8
cmp al, 1
lea rcx, [0x1401b3570]
lea r8, [0x1401be708]
mov r9, r14
cmove r8, rcx
lea rdx, str.Invalid__s_update_command___s_
xor r15d, r15d
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call fcn.1400faef0
jmp 0x1400f8848
lea rcx, [0x1401be750]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor r15d, r15d
lea r9, [rsp + 0x40]
mov r8d, eax
mov qword [rsp + 0x20], r15
lea rdx, [0x1401be750]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov r14, qword [rsp + 0x48]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
or r13, 0xffffffffffffffff
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
mov r8, r14
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f7e66
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.WideCharToMultiByte_failed__len_i
jmp 0x1400f883d
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_ncall
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_ncall
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
mov r8, r14
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400f7e51
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_nif_errorlevel_1_goto_err_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_nif_errorlevel_1_goto_err_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x1400f808e
cmp word [rcx], r15w
je 0x1400f808e
lea r14, [0x1401af748]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rdx, r14
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov r8, qword [rdi + 0x40]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
mov r9d, r13d
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], 0x1000
mov ecx, r12d
mov r8, qword [r8 + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f8020
mov rcx, qword [rdi + 0x40]
mov rcx, qword [rcx + 0x58]
jmp 0x1400f7e54
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rdx, r14
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r15
lea r8, str._r_nset_ConEmuInUpdate_r_n
mov dword [rsp + 0x28], 0x1000
mov r9d, r13d
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f80ce
lea rcx, str._r_nset_ConEmuInUpdate_r_n
jmp 0x1400f7e54
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_necho_Starting_ConEmu..._r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_necho_Starting_ConEmu..._r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, qword [0x14022a9e0]
xor edx, edx
call fcn.140025b68
mov rbx, rax
test rax, rax
je 0x1400f8256
cmp word [rax], r15w
je 0x1400f8256
lea rcx, str.cd__d__
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.cd__d__
mov rcx, rsi
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp r14d, dword [rsp + 0x40]
jne 0x1400f8830
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
mov r8, rbx
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f81e0
mov rcx, rbx
jmp 0x1400f7e54
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str.__r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.__r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str.start__ConEmu___
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.start__ConEmu___
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov r8, qword [0x14022a9e0]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
add r8, 0xae0
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f82e2
mov rcx, qword [0x14022a9e0]
add rcx, 0xae0
jmp 0x1400f7e54
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea r14, [0x1401be7ec]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rdx, r14
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
cmp byte [rdi + 0xd0], r15b
je 0x1400f844f
lea rcx, str._demote__run__
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._demote__run__
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov r8, qword [0x14022a9e0]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
add r8, 0xae0
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400f82cf
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
mov rdx, r14
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, qword [0x14022a9e0]
add rcx, 0x7e0
call fcn.14011513c
test al, al
jne 0x1400f853e
mov rcx, qword [0x14022a9e0]
add rcx, 0x7e0
call fcn.140054ee8
mov qword [rsp + 0x38], r15
mov r8, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x1000
mov r9d, r13d
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f84c8
mov rcx, qword [0x14022a9e0]
add rcx, 0x7e0
call fcn.140054ee8
mov rcx, rax
jmp 0x1400f7e54
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, [0x1401b7a1c]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [0x1401b7a1c]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, qword [0x14022a9e0]
add rcx, 0x7f0
call fcn.14011513c
test al, al
jne 0x1400f85e7
mov rcx, qword [0x14022a9e0]
add rcx, 0x7f0
call fcn.140054ee8
mov qword [rsp + 0x38], r15
mov r8, rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x1000
mov r9d, r13d
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400f85af
mov rcx, qword [0x14022a9e0]
add rcx, 0x7f0
jmp 0x1400f84bb
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_ngoto_fin_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_ngoto_fin_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_n:err_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_n:err_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rcx, qword [rdi + 0x40]
call fcn.1400fc6d8
cmp al, r12b
lea rbx, str.echo__aExtraction_failed_a_r_n
mov rcx, rbx
lea r15, str.echo__aInstallation_failed_a
cmove rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [rdi + 0x40]
mov r14d, eax
call fcn.1400fc6d8
cmp al, r12b
lea r9, [rsp + 0x40]
mov r8d, r14d
mov rcx, rsi
cmove rbx, r15
xor r15d, r15d
mov rdx, rbx
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp r14d, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str._r_npause_r_n:fin_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str._r_npause_r_n:fin_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rax, qword [rdi + 0x40]
cmp byte [rax + 0x68], r15b
jne 0x1400f87f5
lea rcx, str.del__
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.del__
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov rbx, qword [rsp + 0x68]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], r15
mov r8, rbx
mov qword [rsp + 0x30], r15
mov r9d, r13d
mov dword [rsp + 0x28], 0x1000
xor edx, edx
mov ecx, r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x1400f81d8
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [rbp - 0x60]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, [0x1401be878]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, [0x1401be878]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
lea rcx, str.del___0___exit_r_n
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r15
mov r8d, eax
lea rdx, str.del___0___exit_r_n
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f8830
cmp ebx, dword [rsp + 0x40]
jne 0x1400f8830
mov ebx, r12d
jmp 0x1400f884b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.WriteBatch_failed__code_u
mov r8d, eax
mov rcx, rdi
call fcn.1400fb068
mov ebx, r15d
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1400f885d
mov rcx, rax
call fcn.140113e18
test ebx, ebx
je 0x1400f88be
mov rbx, qword [rsp + 0x58]
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400f8879
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0xfa0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x1100]
add rsp, 0x10b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.WriteBatch_failed__code_u
mov r8d, eax
mov rcx, rdi
call fcn.1400fb068
mov rcx, qword [rsp + 0x58]
call fcn.140113e18
mov rbx, r15
jmp 0x1400f8866
mov rbx, rax
jmp 0x1400f8866