Function at 0x14008dd30
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x4518
call fcn.1401ca270
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x4480], xmm6
mov r13, r8
mov r14, rdx
mov qword [rbp + 0x4478], rcx
call fcn.14000de50
lea rdi, [rbp + 0x4140]
mov qword [rdi + 0x10], rax
lea rax, [0x14008eaa0]
mov qword [rdi], rax
lea rax, [0x14008eb70]
mov qword [rdi + 8], rax
lea r12, [rbp - 0x30]
xor r15d, r15d
mov rcx, r12
xor edx, edx
call fcn.1400da55b
mov qword [r12 + 0x20], rdi
lea rax, [0x1400da750]
lea rdi, [rbp + 0x42a0]
mov qword [rdi], rax
lea rax, [0x1400abb60]
mov qword [rdi + 8], rax
lea rax, [0x1400da750]
lea rsi, [rbp + 0x42b0]
mov qword [rsi], rax
lea rax, [0x1400abb60]
mov qword [rsi + 8], rax
call fcn.1400aee5f
lea rbx, [rbp + 0x4158]
mov rcx, rbx
call fcn.1400da760
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rbx
mov rdx, r12
mov r8, rdi
mov r9, rsi
call fcn.1400dad94
test eax, eax
je 0x14008de92
mov edi, eax
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008de65
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42c0]
mov r8d, 0xb8
mov r9d, 2
call fcn.140060c10
lea rcx, [rbp + 0x42c8]
lea rdx, str.Error_returned_by_SzArchiveOpen:
call fcn.140061a30
mov rcx, rax
mov edx, edi
call fcn.1400222d6
lea rcx, [rbp + 0x42c0]
call fcn.140061070
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, 3
test eax, eax
je 0x14008e632
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008de8a
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
jmp 0x14008e632
lea rax, [rbp + 0x4448]
mov qword [rax], r15
lea rax, [rbp + 0x4440]
mov dword [rax], 0xffffffff
lea rax, [rbp + 0x4418]
mov qword [rax], r15
lea rcx, [rbp + 0x4230]
mov qword [rbp + 0x4420], r14
mov rdx, r14
call fcn.1400dd628
mov eax, 0x10
lea r12, [rbp + 0x42c0]
add rax, r12
mov qword [rbp + 0x4468], rax
xorps xmm6, xmm6
mov r14d, 2
xor r15d, r15d
xor eax, eax
mov qword [rbp + 0x4438], r13
cmp eax, dword [rbp + 0x41b8]
jae 0x14008e602
mov dword [rbp + 0x4474], eax
xor eax, eax
mov qword [rbp + 0x4428], rax
mov qword [rbp + 0x4430], rax
mov dword [rbp + 0x4470], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [rbp + 0x42b0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x4230]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x4430]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x4428]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x4418]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4448]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x4158]
lea rdx, [rbp - 0x30]
mov r8d, dword [rbp + 0x4474]
lea r9, [rbp + 0x4440]
call fcn.1400dc064
mov edi, eax
test eax, eax
jne 0x14008e501
test r15d, r15d
jne 0x14008e602
mov r15d, dword [rbp + 0x4474]
lea rcx, [rbp + 0x4158]
mov rdx, r15
xor r8d, r8d
call fcn.1400dc24a
test rax, rax
je 0x14008e5b0
lea rcx, [rbp + 0x4008]
mov rdx, rax
call fcn.14008ec68
mov r8, qword [rbp + 0x4008]
lea rcx, [rbp + 0x4158]
mov rdx, r15
call fcn.1400dc24a
mov rsi, qword [rbp + 0x4008]
mov rdi, qword [rbp + 0x4010]
add rdi, 0xfffffffffffffffe
movaps xmmword [rbp + 0x42c0], xmm6
mov qword [rbp + 0x42d0], 0
mov rbx, rdi
sub rbx, rsi
sar rbx, 1
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
jae 0x14008e650
cmp rbx, 0xa
ja 0x14008e039
mov byte [rbp + 0x42d7], bl
mov rax, r12
jmp 0x14008e071
lea r12, [rbx + 8]
and r12, 0xfffffffffffffff8
js 0x14008e65c
lea rcx, [r12 + r12]
call fcn.1401c9f10
mov qword [rbp + 0x42c0], rax
bts r12, 0x3f
mov qword [rbp + 0x42d0], r12
mov qword [rbp + 0x42c8], rbx
lea r12, [rbp + 0x42c0]
cmp rdi, rsi
je 0x14008e087
movzx ecx, word [rsi]
mov word [rax], cx
add rsi, r14
add rax, r14
cmp rsi, rdi
jne 0x14008e076
mov word [rax], 0
movzx eax, byte [rbp + 0x42d7]
test al, al
mov rcx, qword [rbp + 0x42c0]
cmovns rcx, r12
mov qword [rbp + 0x4408], rcx
cmovs rax, qword [rbp + 0x42c8]
mov qword [rbp + 0x4410], rax
mov rcx, qword [rbp + 0x4420]
lea rdx, [rbp + 0x4450]
lea r8, [rbp + 0x4408]
call fcn.14005cc00
cmp byte [rbp + 0x42d7], 0
jns 0x14008e0e5
mov rcx, qword [rbp + 0x42c0]
call fcn.1401c9f6c
test r13, r13
je 0x14008e0fd
mov rcx, qword [rbp + 0x4438]
lea rdx, [rbp + 0x4450]
call fcn.14005bab0
mov rax, qword [rbp + 0x41c8]
mov rdi, r15
shr rdi, 3
movzx eax, byte [rax + rdi]
mov ecx, dword [rbp + 0x4474]
and cl, 7
mov r12d, 0x80
shr r12d, cl
test r12d, eax
je 0x14008e14e
mov rcx, qword [rbp + 0x4478]
lea rdx, [rbp + 0x4450]
call fcn.14008ecb4
test al, al
je 0x14008e2ab
xor r15d, r15d
mov esi, 4
jmp 0x14008e2d0
lea rcx, [rbp + 0x4450]
lea rdx, [rbp + 0x42c0]
call fcn.14005c570
mov rcx, qword [rbp + 0x4478]
lea rsi, [rbp + 0x42c0]
mov rdx, rsi
call fcn.14008ecb4
mov rcx, rsi
call fcn.14005baa0
cmp byte [rbp + 0x4467], 0
lea rcx, [rbp + 0x4450]
jns 0x14008e196
mov rcx, qword [rbp + 0x4450]
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 rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14008e31e
xor r13d, r13d
mov rsi, qword [rbp + 0x4430]
sub rsi, r13
jbe 0x14008e3a1
mov eax, 0x800000
cmp rsi, rax
cmovae rsi, rax
mov rdx, qword [rbp + 0x4448]
add rdx, qword [rbp + 0x4428]
add rdx, r13
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov r8d, esi
lea r9, [rbp + 0x4444]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14008e22b
mov eax, dword [rbp + 0x4444]
add r13, rsi
cmp rsi, rax
je 0x14008e1d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008e242
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008e29a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x42c0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
mov r8d, 0x115
mov r9d, 2
call fcn.1400618b0
mov rcx, qword [rbp + 0x4468]
lea rdx, str.Error_returned_by_WriteFile
call fcn.140061a30
lea rcx, [rbp + 0x42c0]
call fcn.140061980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 8
jmp 0x14008e2cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008e2c2
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
mov r15d, 7
mov esi, 2
lea r12, [rbp + 0x42c0]
lea rcx, [rbp + 0x4450]
call fcn.14005baa0
mov r13, qword [rbp + 0x4438]
mov rcx, qword [rbp + 0x4008]
test rcx, rcx
je 0x14008e302
mov qword [rbp + 0x4010], rcx
call fcn.1401c9f6c
mov eax, 4
or esi, eax
cmp esi, eax
jne 0x14008e602
mov eax, dword [rbp + 0x4474]
inc eax
jmp 0x14008def4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008e335
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
mov ecx, 2
call fcn.140060b40
mov r15d, 7
mov esi, 2
test al, al
je 0x14008e2d0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x42c0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
mov r8d, 0x105
mov r9d, 2
call fcn.1400618b0
mov rcx, qword [rbp + 0x4468]
lea rdx, str.CreateFile_failed
call fcn.140061a30
lea rcx, [rbp + 0x42c0]
call fcn.140061980
jmp 0x14008e2d0
mov rax, qword [rbp + 0x41f0]
test rax, rax
je 0x14008e3db
movzx eax, byte [rax + rdi]
test r12d, eax
je 0x14008e3db
lea r9, [r15*8]
add r9, qword [rbp + 0x41f8]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x14008e47e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov r15d, 0
test eax, eax
lea r12, [rbp + 0x42c0]
jne 0x14008e2d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008e412
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
mov ecx, 2
call fcn.140060b40
mov r15d, 0xa
mov esi, 2
test al, al
je 0x14008e2d0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x42c0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
mov r8d, 0x12d
mov r9d, 2
call fcn.1400618b0
mov rcx, qword [rbp + 0x4468]
lea rdx, str.Error_returned_by_CloseHandle
call fcn.140061a30
lea rcx, [rbp + 0x42c0]
call fcn.140061980
jmp 0x14008e2d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x48], 0
jne 0x14008e495
mov byte [rcx + 0x48], 1
mov dword [rcx + 0x4c], eax
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008e4ed
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rcx, [rbp + 0x42c0]
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
mov r8d, 0x125
mov r9d, 2
call fcn.1400618b0
mov rcx, qword [rbp + 0x4468]
lea rdx, str.Error_returned_by_SetFileTime
call fcn.140061a30
lea rcx, [rbp + 0x42c0]
call fcn.140061980
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 9
jmp 0x14008e2cb
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008e56e
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42c0]
mov r8d, 0xd2
mov r9d, 2
call fcn.140060c10
lea rcx, [rbp + 0x42c0]
call fcn.14008dcb0
lea rdx, str.Error_returned_by_SzExtract:
mov rcx, rax
call fcn.140061a30
mov rcx, rax
mov edx, edi
call fcn.1400222d6
lea rcx, [rbp + 0x4450]
mov rdx, rax
call fcn.140015bf0
lea rcx, [rbp + 0x42c0]
call fcn.140061070
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x4450], eax
test eax, eax
je 0x14008e5a8
lea rcx, [rbp + 0x42c0]
lea rdx, [rbp + 0x4450]
call fcn.14008ebf8
mov rax, qword [rbp + 0x4478]
lea rcx, [rax + 0x48]
lea rdx, [rbp + 0x42c0]
call fcn.14008ea7a
mov r15d, 4
jmp 0x14008e602
mov ecx, 2
call fcn.140060b40
mov r15d, 6
test al, al
je 0x14008e602
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x42c0]
mov r8d, 0xe5
mov r9d, 2
call fcn.140060c10
lea rcx, [rbp + 0x42c8]
lea rdx, str.Couldnt_get_file_name
call fcn.140061a30
lea rcx, [rbp + 0x42c0]
call fcn.140061070
mov rdx, qword [rbp + 0x4448]
lea rcx, [rbp + 0x4230]
call qword [rcx + 8]
lea rcx, [rbp + 0x4158]
lea rdx, [rbp + 0x42a0]
call fcn.1400da7b1
lea rcx, [rbp + 0x4230]
call fcn.1400dd6e6
mov eax, r15d
movaps xmm6, xmmword [rbp + 0x4480]
add rsp, 0x4518
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0x42c0]
call fcn.14003a95e
call fcn.1401dedf4
mov eax, dword [rbp + 0x4470]
mov rcx, qword [rbp + 0x4478]
cmp byte [rcx + 0x50], 0
jne 0x14008e67f
mov rcx, qword [rbp + 0x4478]
mov byte [rcx + 0x50], 1
mov rcx, qword [rbp + 0x4478]
mov dword [rcx + 0x54], eax
mov ecx, 2
call fcn.140060b40
mov r15d, 5
test al, al
je 0x14008e602
lea rdx, str..._.._chrome_installer_util_lzma_util.cc
lea rcx, [rbp + 0x4008]
mov r8d, 0xdc
mov r9d, 2
call fcn.140060c10
lea rcx, [rbp + 0x4010]
lea rdx, str.EXCEPTION_IN_PAGE_ERROR_while_accessing_mapped_memory__NTSTATUS_
call fcn.140061a30
mov edx, dword [rbp + 0x4470]
mov rcx, rax
call fcn.1400222d6
lea rcx, [rbp + 0x4008]
call fcn.140061070
jmp 0x14008e602