Function at 0x45ece0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x42b0
call fcn.00527850
mov esi, esp
mov dword [esi + 0x4290], ebp
lea eax, [esi + 0x429c]
mov dword [esi + 4], ecx
mov dword [eax - 8], esp
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 8], 0x59cd48
mov dword [eax + 4], 0x529888
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
call fcn.0040a890
lea edi, [esi + 0x140]
lea ebx, [esi + 0x274]
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi], 0x45f960
mov dword [edi + 4], 0x45f9f0
push eax
push ebx
call fcn.004a6917
add esp, 8
mov dword [ebx + 0x10], edi
lea edi, [esi + 0xfc]
lea eax, [esi + 0x48]
mov dword [edi], fcn.004a6ac0
mov dword [eax], fcn.004a6ac0
mov dword [edi + 4], fcn.00472480
mov dword [eax + 4], fcn.00472480
call fcn.004745ae
lea ebx, [esi + 0x1f0]
push ebx
call fcn.004a6adc
add esp, 4
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi + 0x48]
push eax
push edi
lea eax, [esi + 0x274]
push eax
push ebx
call fcn.004a7085
add esp, 0x10
test eax, eax
je 0x45ee41
mov edi, eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45ee14
mov dword [esi], edi
lea ecx, [esi + 0x50]
push 2
push 0xb2
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043e680
lea eax, [esi + 0x54]
mov dword [esi + 0x42a8], 0
push str.Error_returned_by_SzArchiveOpen:
push eax
call fcn.0043f290
add esp, 8
mov ecx, eax
push dword [esi]
call fcn.00411310
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 0xffffffff
call fcn.0043ea30
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 3
test eax, eax
je 0x45f6a8
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45ee34
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
mov ecx, 3
jmp 0x45f6a8
lea eax, [esi + 0x28]
xor ecx, ecx
mov dword [eax], ecx
lea eax, [esi + 0x44]
mov dword [eax], 0xffffffff
lea eax, [esi + 0x40]
mov dword [eax], ecx
lea ecx, [esi + 0x104]
push dword [ebp + 8]
call fcn.004a966c
mov eax, 8
lea ecx, [esi + 0x50]
mov dword [esi], 0
add eax, ecx
xor ecx, ecx
mov dword [esi + 0x14], eax
xor eax, eax
cmp ecx, dword [esi + 0x230]
jae 0x45f65d
mov dword [esi + 0x10], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x42a8], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esi + 0x48]
mov dword [esi + 0x42a8], 4
push eax
lea eax, [esi + 0x104]
push eax
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x44]
push eax
push dword [esi + 0x10]
lea eax, [esi + 0x274]
push eax
lea eax, [esi + 0x1f0]
push eax
call fcn.004a81da
add esp, 0x28
test eax, eax
jne 0x45f4d5
mov ecx, dword [esi]
test ecx, ecx
jne 0x45f651
mov dword [esi + 0x42a8], 1
push 0
push dword [esi + 0x10]
lea eax, [esi + 0x1f0]
push eax
call fcn.004a8348
add esp, 0xc
test eax, eax
je 0x45f5da
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 1
lea ecx, [esi + 0x14c]
push eax
call fcn.0045fae0
mov eax, dword [esi + 0x14c]
mov dword [esi + 0x42a8], 6
push eax
push dword [esi + 0x10]
lea eax, [esi + 0x1f0]
push eax
call fcn.004a8348
add esp, 0xc
mov ebx, dword [esi + 0x150]
mov edi, dword [esi + 0x14c]
xor eax, eax
mov edx, 2
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], eax
add ebx, 0xfffffffe
mov ecx, ebx
sub ecx, edi
sar ecx, 1
cmp ecx, 0x7ffffff0
jae 0x45f6c0
cmp ecx, 4
lea eax, [esi + 0x50]
ja 0x45efa9
mov byte [esi + 0x5b], cl
jmp 0x45efde
lea eax, [ecx + 8]
mov dword [esi], ecx
and eax, 0xfffffff8
js 0x45f6c8
mov dword [esi + 8], eax
add eax, eax
push eax
call fcn.00527256
add esp, 4
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov dword [esi + 0x50], eax
or ecx, 0x80000000
mov dword [esi + 0x58], ecx
mov dword [esi + 0x54], edx
mov edx, 2
cmp ebx, edi
je 0x45eff0
movzx ecx, word [edi]
add edi, edx
mov word [eax], cx
add eax, edx
cmp edi, ebx
jne 0x45efe2
mov word [eax], 0
lea edx, [esi + 0x50]
movzx eax, byte [esi + 0x5b]
test al, al
jns 0x45f006
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x42a8], 0xd
push eax
push edx
lea eax, [esi + 0x18]
push eax
call fcn.0043b210
cmp byte [esi + 0x5b], 0
jns 0x45f03a
mov eax, dword [esi + 0x50]
mov dword [esi + 0x42a8], 0xffffffff
push eax
call fcn.005272d6
add esp, 4
cmp dword [ebp + 0xc], 0
mov dword [esi + 0x42a8], 0xffffffff
je 0x45f060
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x18]
mov dword [esi + 0x42a8], 7
push eax
call fcn.0043a4e0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x238]
mov edi, 0x80
mov edx, ecx
and cl, 7
shr edx, 3
shr edi, cl
movzx eax, byte [eax + edx]
test edi, eax
je 0x45f0b0
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
mov dword [esi + 0x42a8], 7
push eax
call fcn.0045fb22
test al, al
je 0x45f22b
mov dword [esi], 0
mov dword [esi + 8], 4
jmp 0x45f24e
lea eax, [esi + 0x50]
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edx
mov dword [esi + 0x42a8], 7
lea ecx, [esi + 0x18]
push eax
call fcn.0043ad30
mov ecx, dword [esi + 4]
lea eax, [esi + 0x50]
mov dword [esi + 0x42a8], 0xc
push eax
call fcn.0045fb22
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 7
call fcn.0043a4c0
cmp byte [esi + 0x23], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x42a8], 0xffffffff
jns 0x45f114
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [esi + 0x42a8], 7
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 0xffffffff
je 0x45f2a3
xor ecx, ecx
mov edx, dword [esi + 0x2c]
sub edx, ecx
jbe 0x45f337
mov eax, 0x800000
mov dword [esi], ecx
cmp edx, eax
cmovae edx, eax
mov eax, dword [esi + 0x28]
add eax, dword [esi + 0x30]
add eax, ecx
push 0
lea ecx, [esi + 0x3c]
push ecx
mov dword [esi + 8], edx
push edx
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi]
test eax, eax
je 0x45f188
mov eax, dword [esi + 8]
add ecx, eax
cmp dword [esi + 0x3c], eax
je 0x45f145
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45f19b
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45f210
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
call fcn.0043ef80
lea ecx, [esi + 0x50]
push eax
push 2
push 0x10f
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043f140
mov dword [esi + 0x42a8], 0xa
push str.Error_returned_by_WriteFile
push dword [esi + 0x14]
call fcn.0043f290
add esp, 8
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 7
call fcn.0043f200
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 8
jmp 0x45f247
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45f23e
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
mov dword [esi], 7
mov dword [esi + 8], 2
lea ecx, [esi + 0x18]
mov dword [esi + 0x42a8], 6
call fcn.0043a4c0
mov eax, dword [esi + 0x14c]
mov dword [esi + 0x42a8], 0xffffffff
test eax, eax
je 0x45f283
mov dword [esi + 0x150], eax
push eax
call fcn.005272d6
add esp, 4
mov ecx, dword [esi + 8]
mov eax, 4
or ecx, eax
cmp ecx, eax
mov eax, 0
jne 0x45f65d
mov ecx, dword [esi + 0x10]
inc ecx
jmp 0x45ee7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45f2b6
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov dword [esi], 7
mov dword [esi + 8], 2
je 0x45f24e
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
call fcn.0043ef80
lea ecx, [esi + 0x50]
push eax
push 2
push 0xff
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043f140
mov dword [esi + 0x42a8], 0xb
push str.CreateFile_failed
push dword [esi + 0x14]
call fcn.0043f290
add esp, 8
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 7
call fcn.0043f200
jmp 0x45f420
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x45f373
mov ecx, dword [esi + 0x38]
movzx eax, byte [eax + ecx]
test dword [esi + 0x34], eax
je 0x45f373
mov eax, dword [esi + 0x10]
lea eax, [eax*8]
add eax, dword [esi + 0x250]
push eax
xor eax, eax
push eax
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x45f42f
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov dword [esi + 8], 0
mov dword [esi], 0
jne 0x45f24e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45f3a4
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
mov dword [esi], 0xa
mov dword [esi + 8], 2
je 0x45f24e
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
call fcn.0043ef80
lea ecx, [esi + 0x50]
push eax
push 2
push 0x127
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043f140
mov dword [esi + 0x42a8], 8
push str.Error_returned_by_CloseHandle
push dword [esi + 0x14]
call fcn.0043f290
add esp, 8
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 7
call fcn.0043f200
mov dword [esi + 0x42a8], 0xffffffff
jmp 0x45f24e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0x28], 0
jne 0x45f442
mov byte [ecx + 0x28], 1
mov dword [ecx + 0x2c], eax
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45f4b7
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
call fcn.0043ef80
lea ecx, [esi + 0x50]
push eax
push 2
push 0x11f
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043f140
mov dword [esi + 0x42a8], 9
push str.Error_returned_by_SetFileTime
push dword [esi + 0x14]
call fcn.0043f290
add esp, 8
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 7
call fcn.0043f200
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 7
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 9
jmp 0x45f247
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 4
push 2
mov dword [esi], eax
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45f56f
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 4
lea ecx, [esi + 0x50]
push 2
push 0xcc
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043e680
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 5
call fcn.0045ec70
push str.Error_returned_by_SzExtract:
push eax
call fcn.0043f290
add esp, 8
mov ecx, eax
push dword [esi]
call fcn.00411310
lea ecx, [esi + 0x18]
push eax
call fcn.004108a0
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 4
call fcn.0043ea30
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov dword [esi + 0x18], eax
je 0x45f5c9
lea eax, [esi + 0x18]
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 4
lea ecx, [esi + 0x50]
push eax
call fcn.0045fa6c
mov eax, dword [esi + 4]
lea ecx, [eax + 0x28]
lea eax, [esi + 0x50]
push eax
call fcn.0045f936
mov dword [esi + 0x42a8], 0xffffffff
mov ecx, 4
mov dword [esi + 0x42a8], 0xffffffff
jmp 0x45f651
push 2
call fcn.0043e5e0
add esp, 4
mov ecx, 6
test al, al
je 0x45f651
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 1
lea ecx, [esi + 0x50]
push 2
push 0xdf
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043e680
lea eax, [esi + 0x54]
mov dword [esi + 0x42a8], 2
push str.Couldnt_get_file_name
push eax
call fcn.0043f290
add esp, 8
lea ecx, [esi + 0x50]
mov dword [esi + 0x42a8], 1
call fcn.0043ea30
mov dword [esi + 0x42a8], 0xffffffff
mov ecx, 6
mov dword [esi], ecx
mov dword [esi + 0x42a8], 0xffffffff
mov eax, dword [esi + 0x28]
mov dword [esi + 0x42a8], 1
push eax
lea eax, [esi + 0x104]
push eax
call dword [esi + 0x108]
add esp, 8
lea eax, [esi + 0xfc]
push eax
lea eax, [esi + 0x1f0]
push eax
call fcn.004a6b14
add esp, 8
lea ecx, [esi + 0x104]
mov dword [esi + 0x42a8], 0xffffffff
call fcn.004a9700
mov ecx, dword [esi]
mov eax, dword [esi + 0x429c]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea ecx, [esi + 0x50]
call fcn.00426c4c
call fcn.0053b598
mov esp, dword [ebp - 0x18]
lea esi, [ebp - 0x42ac]
mov ebp, dword [esi + 0x4290]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x24]
cmp byte [ecx + 0x30], 0
jne 0x45f6f9
mov ecx, dword [esi + 4]
mov byte [ecx + 0x30], 1
mov dword [esi + 0x42a8], 1
mov ecx, dword [esi + 4]
mov dword [ecx + 0x34], eax
mov dword [esi + 0x42a8], 1
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x45f789
mov dword [esi + 0x42a8], 0xffffffff
mov dword [esi + 0x42a8], 1
lea ecx, [esi + 0x14c]
push 2
push 0xd6
push str..._.._chrome_installer_util_lzma_util.cc
call fcn.0043e680
lea eax, [esi + 0x150]
mov dword [esi + 0x42a8], 3
push str.EXCEPTION_IN_PAGE_ERROR_while_accessing_mapped_memory__NTSTATUS_
push eax
call fcn.0043f290
add esp, 8
mov ecx, eax
push dword [esi + 0x24]
call fcn.00411310
lea ecx, [esi + 0x14c]
mov dword [esi + 0x42a8], 1
call fcn.0043ea30
mov dword [esi + 0x42a8], 0xffffffff
mov ecx, 5
jmp 0x45f651