Function at 0x140077e30
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x44d8
call fcn.14011ac70
sub rsp, rax
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x4440], xmm7
movaps xmmword [rbp + 0x4430], xmm6
mov r12, rdx
mov r14, rcx
mov rax, qword [rcx]
test rax, rax
je 0x140077f73
mov qword [rbp + 0x43d8], r8
lea rsi, [rbp + 0x41e8]
mov qword [rsi + 0x10], rax
lea rax, [0x140078b80]
mov qword [rsi], rax
lea rax, [0x140078c40]
mov qword [rsi + 8], rax
lea rdi, [rbp - 0x30]
xor r13d, r13d
xor edx, edx
mov rcx, rdi
call fcn.1400d05b0
mov qword [rdi + 0x20], rsi
lea rax, [0x1400d07a0]
lea rbx, [rbp + 0x4280]
mov qword [rbx], rax
lea rax, [0x1400d07b0]
mov qword [rbx + 8], rax
lea rax, [0x1400d07a0]
lea rsi, [rbp + 0x4290]
mov qword [rsi], rax
lea rax, [0x1400d07b0]
mov qword [rsi + 8], rax
call fcn.1400d03d0
lea r15, [rbp + 0x4110]
mov rcx, r15
call fcn.1400d07c0
mov rcx, r15
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call fcn.1400d0e30
mov ebx, eax
test eax, eax
je 0x140077f9e
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140077f6b
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42a0]
mov r8d, 0xb8
mov r9d, 2
call fcn.14002c3a0
lea rcx, [rbp + 0x42a8]
lea rdx, str.Error_returned_by_SzArchiveOpen:
call fcn.14002da70
mov rcx, rax
mov edx, ebx
call fcn.140011d90
lea rcx, [rbp + 0x42a0]
call fcn.14002c830
mov dword [r14 + 0x18], 3
mov r12d, 6
mov eax, r12d
movaps xmm6, xmmword [rbp + 0x4430]
movaps xmm7, xmmword [rbp + 0x4440]
add rsp, 0x44d8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, [rbp + 0x4408]
mov qword [rax], r13
lea rax, [rbp + 0x4400]
mov dword [rax], 0xffffffff
lea rax, [rbp + 0x43c0]
mov qword [rax], r13
lea rcx, [rbp + 0x4200]
mov qword [rbp + 0x43c8], r12
mov rdx, r12
call fcn.14008dec0
mov qword [rbp + 0x4428], r14
mov dword [r14 + 0x18], 0
lea r14, [rbp + 0x4110]
xorps xmm6, xmm6
lea r15, [rbp + 0x43e0]
mov eax, 7
movq xmm7, rax
pslldq xmm7, 8
lea rbx, [rbp + 0x4008]
xor edi, edi
xor r12d, r12d
cmp edi, dword [rbp + 0x4170]
jae 0x140078678
mov r13, rbx
xor eax, eax
mov qword [rbp + 0x43d0], rax
mov qword [rbp + 0x4410], rax
mov dword [rbp + 0x4418], 0
mov qword [rsp + 0x48], rsi
lea rax, [rbp + 0x4200]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x4410]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x43d0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x43c0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4408]
mov qword [rsp + 0x20], rax
mov rcx, r14
lea rdx, [rbp - 0x30]
mov dword [rbp + 0x441c], edi
mov r8d, edi
lea r9, [rbp + 0x4400]
call fcn.1400d2160
mov ebx, eax
test eax, eax
jne 0x14007851b
test r12d, r12d
jne 0x140078678
mov r12d, dword [rbp + 0x441c]
xor r8d, r8d
mov rcx, r14
mov rdx, r12
call fcn.1400d2350
mov rdi, rax
test rax, rax
je 0x14007859c
movaps xmmword [rbp + 0x43e0], xmm6
mov qword [rbp + 0x43f0], 0
mov rcx, r15
mov rdx, rdi
call fcn.140078db0
test al, al
je 0x14007810a
mov rcx, qword [rbp + 0x43e0]
lea rsi, [rcx + rdi*2]
add rdi, rdi
xor edx, edx
mov r8, rdi
call fcn.14011d800
mov qword [rbp + 0x43e8], rsi
mov r8, qword [rbp + 0x43e0]
mov rcx, r14
mov rdx, r12
call fcn.1400d2350
mov rbx, r13
mov rdx, qword [rbp + 0x43e0]
mov r8, qword [rbp + 0x43e8]
add r8, 0xfffffffffffffffe
movdqu xmmword [rbp + 0x42b0], xmm7
mov word [rbp + 0x42a0], 0
lea rsi, [rbp + 0x42a0]
mov rcx, rsi
call fcn.140078e90
mov rax, qword [rbp + 0x42b0]
cmp qword [rbp + 0x42b8], 7
mov rcx, rsi
jbe 0x14007816c
mov rcx, qword [rbp + 0x42a0]
mov qword [rbp + 0x43b0], rcx
mov qword [rbp + 0x43b8], rax
mov rcx, qword [rbp + 0x43c8]
mov rdx, rbx
lea r8, [rbp + 0x43b0]
call fcn.14002a080
mov r15, r14
mov rcx, rsi
call fcn.1400066b0
cmp qword [rbp + 0x43d8], 0
je 0x1400781b4
mov rcx, qword [rbp + 0x43d8]
mov rdx, rbx
call fcn.140028a30
mov rax, qword [rbp + 0x4180]
mov ecx, dword [rbp + 0x441c]
mov edi, ecx
shr edi, 3
movzx eax, byte [rax + rdi]
and cl, 7
mov esi, 0x80
shr esi, cl
test esi, eax
je 0x1400781f2
mov rcx, qword [rbp + 0x4428]
mov rdx, rbx
call fcn.140078d30
xor r12d, r12d
mov sil, 4
jmp 0x140078460
mov rcx, rbx
lea rdx, [rbp + 0x42a0]
call fcn.140029680
mov rcx, qword [rbp + 0x4428]
lea rbx, [rbp + 0x42a0]
mov rdx, rbx
call fcn.140078d30
mov rcx, rbx
call fcn.1400289c0
mov rbx, r13
cmp qword [rbp + 0x4020], 7
mov rcx, r13
jbe 0x140078236
mov rcx, qword [rbp + 0x4008]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400783ef
mov r8d, dword [rbp + 0x4410]
mov rdx, qword [rbp + 0x4408]
add rdx, qword [rbp + 0x43d0]
mov qword [rsp + 0x20], 0
mov rcx, r14
lea r9, [rbp + 0x4404]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140078378
mov eax, dword [rbp + 0x4404]
cmp qword [rbp + 0x4410], rax
jne 0x140078378
mov rax, qword [rbp + 0x41a8]
test rax, rax
je 0x1400782ee
movzx eax, byte [rax + rdi]
test esi, eax
je 0x1400782ee
shl r12, 3
add r12, qword [rbp + 0x41b0]
xor edx, edx
xor r8d, r8d
mov rcx, r14
mov r9, r12
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x1400784a1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov r12d, 0
test eax, eax
jne 0x140078460
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140078365
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0x11b
mov r9d, 2
lea rcx, [rbp + 0x42a0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
call fcn.14002d860
lea rcx, [rbp + 0x42b0]
lea rdx, str.Error_returned_by_CloseHandle
call fcn.14002da70
lea rcx, [rbp + 0x42a0]
call fcn.14002d9a0
mov rax, qword [rbp + 0x4428]
mov dword [rax + 0x18], 0xa
jmp 0x14007845d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x1400783d6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0x109
mov r9d, 2
lea rcx, [rbp + 0x42a0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
call fcn.14002d860
lea rcx, [rbp + 0x42b0]
lea rdx, str.Error_returned_by_WriteFile
call fcn.14002da70
lea rcx, [rbp + 0x42a0]
call fcn.14002d9a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x4428]
mov dword [rax + 0x18], 8
jmp 0x14007845d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x14007844f
mov r8d, 0x100
mov r9d, 2
lea rcx, [rbp + 0x42a0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
call fcn.14002c3a0
lea rcx, [rbp + 0x42a8]
lea rdx, str.Error_returned_by_CreateFile:
call fcn.14002da70
mov rcx, rax
mov edx, r12d
call fcn.1400126b0
lea rcx, [rbp + 0x42a0]
call fcn.14002c830
mov rax, qword [rbp + 0x4428]
mov dword [rax + 0x18], 7
mov sil, 2
mov rcx, rbx
call fcn.1400289c0
mov r14, r15
lea r15, [rbp + 0x43e0]
mov rcx, r15
call fcn.140078e30
or sil, 4
and sil, 7
mov al, 4
cmp sil, al
jne 0x140078678
mov edi, dword [rbp + 0x441c]
inc edi
lea rsi, [rbp + 0x4290]
jmp 0x140078010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x1400784ff
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov r8d, 0x113
mov r9d, 2
lea rcx, [rbp + 0x42a0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
call fcn.14002d860
lea rcx, [rbp + 0x42b0]
lea rdx, str.Error_returned_by_SetFileTime
call fcn.14002da70
lea rcx, [rbp + 0x42a0]
call fcn.14002d9a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x4428]
mov dword [rax + 0x18], 9
jmp 0x14007845d
mov ecx, 2
call fcn.14002c2f0
mov r12d, 6
mov esi, 4
test al, al
je 0x14007866e
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42a0]
mov r8d, 0xd1
mov r9d, 2
call fcn.14002c3a0
lea rcx, [rbp + 0x42a0]
call fcn.140112f40
lea rdx, str.Error_returned_by_SzExtract:
mov rcx, rax
call fcn.14002da70
mov rcx, rax
mov edx, ebx
call fcn.140011d90
lea rcx, [rbp + 0x4420]
mov rdx, rax
call fcn.14004be30
lea rcx, [rbp + 0x42a0]
call fcn.14002c830
jmp 0x14007866e
mov ecx, 2
call fcn.14002c2f0
mov esi, 6
test al, al
je 0x1400785ed
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42a0]
mov r8d, 0xe4
mov r9d, 2
call fcn.14002c3a0
lea rcx, [rbp + 0x42a8]
lea rdx, str.Couldnt_get_file_name
call fcn.14002da70
lea rcx, [rbp + 0x42a0]
call fcn.14002c830
mov r12d, 6
jmp 0x14007866e
mov rax, qword [rbp + 0x4428]
mov dword [rax + 0x18], esi
mov rdx, qword [rbp + 0x4408]
lea rcx, [rbp + 0x4200]
call qword [rcx + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x4110]
lea rdx, [rbp + 0x4280]
call fcn.1400d0820
lea rcx, [rbp + 0x4200]
call fcn.14008df80
jmp 0x140077f79