Function at 0x419f8b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x41d4
call fcn.0049ba70
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x40b0], eax
xor ebx, ebx
mov dword [ebp - 0x4088], esi
push edi
mov dword [ebp - 0x40a0], ebx
mov eax, dword [esi]
test eax, eax
jne 0x419fcc
push 6
pop eax
jmp 0x41a5ba
mov dword [ebp - 0x40c4], eax
lea eax, [ebp - 0x4070]
push ebx
push eax
mov dword [ebp - 0x40cc], 0x419e99
mov dword [ebp - 0x40c8], 0x419e19
call fcn.00482d90
pop ecx
lea eax, [ebp - 0x40cc]
mov dword [ebp - 0x4094], 0x480400
pop ecx
mov dword [ebp - 0x4060], eax
mov dword [ebp - 0x4090], 0x480420
mov dword [ebp - 0x40bc], 0x480400
mov dword [ebp - 0x40b8], 0x480420
call fcn.00482f20
lea eax, [ebp - 0x4120]
push eax
call fcn.004808b0
lea eax, [ebp - 0x40bc]
push eax
lea eax, [ebp - 0x4094]
push eax
lea eax, [ebp - 0x4070]
push eax
lea eax, [ebp - 0x4120]
push eax
call fcn.00480920
mov edi, eax
add esp, 0x14
test edi, edi
je 0x41a0b9
call fcn.0043d250
cmp eax, 2
jg 0x41a0a0
push 2
push 0x9c
xor ebx, ebx
lea ecx, [ebp - 0x41d0]
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
inc ebx
call fcn.0043c8d0
push edi
add eax, 8
push str.Error_returned_by_SzArchiveOpen:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 1
je 0x419fc4
lea ecx, [ebp - 0x41d0]
call fcn.0043c9e0
jmp 0x419fc4
or dword [ebp - 0x40ac], 0xffffffff
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x408c], ebx
mov dword [ebp - 0x40c0], ebx
test ecx, ecx
je 0x41a0de
mov eax, dword [ecx]
push dword [ebp - 0x4104]
call dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x4084], ecx
cmp dword [ebp - 0x4104], ecx
jbe 0x41a58f
mov edi, ebx
push 2
mov dword [ebp - 0x4098], edi
pop esi
mov eax, dword [ebp - 0x4088]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x41a118
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x4084]
mov eax, dword [ebp - 0x4110]
add eax, edi
mov dword [ebp - 0x40a4], eax
lea eax, [ebp - 0x40bc]
push eax
lea eax, [ebp - 0x4094]
push eax
lea eax, [ebp - 0x409c]
push eax
lea eax, [ebp - 0x40b4]
push eax
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x408c]
push eax
lea eax, [ebp - 0x40ac]
push eax
push ecx
lea eax, [ebp - 0x4070]
push eax
lea eax, [ebp - 0x4120]
push eax
call fcn.00480430
mov edi, eax
add esp, 0x28
mov dword [ebp - 0x40a0], edi
test edi, edi
jne 0x41a543
mov edi, dword [ebp - 0x4084]
lea eax, [ebp - 0x4120]
push ebx
push edi
push eax
call fcn.00480860
add esp, 0xc
cmp eax, 1
jb 0x41a50c
push eax
lea ecx, [ebp - 0x407c]
call fcn.0041a6ab
push dword [ebp - 0x407c]
lea eax, [ebp - 0x4120]
push edi
push eax
call fcn.00480860
mov esi, dword [ebp - 0x4078]
lea ecx, [ebp - 0x34]
mov edi, dword [ebp - 0x407c]
add esi, 0xfffffffe
mov dword [ebp - 0x24], ebx
xor eax, eax
mov ebx, esi
mov word [ebp - 0x34], ax
add esp, 0xc
mov dword [ebp - 0x20], 7
sub ebx, edi
mov eax, ebx
sar eax, 1
push eax
call fcn.00416a80
and dword [ebp - 0x4080], 0
xor eax, eax
inc ebx
shr ebx, 1
cmp edi, esi
push 2
cmova ebx, eax
pop esi
test ebx, ebx
je 0x41a229
movzx eax, word [edi]
lea ecx, [ebp - 0x34]
push eax
push 1
call fcn.0041aa09
mov eax, dword [ebp - 0x4080]
add edi, esi
inc eax
mov dword [ebp - 0x4080], eax
cmp eax, ebx
jne 0x41a208
push ecx
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00405e2f
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov ecx, esp
push dword [ebp - 0x40b0]
call fcn.00405e2f
lea ecx, [ebp - 0x4c]
call fcn.0043fe80
mov ecx, eax
call fcn.004401d0
lea ecx, [ebp - 0x4c]
call fcn.0043ff00
xor ebx, ebx
lea ecx, [ebp - 0x34]
push ebx
push 1
call fcn.00405676
mov eax, dword [ebp - 0x40a4]
cmp byte [eax + 0x19], bl
je 0x41a28c
mov ecx, dword [ebp - 0x4088]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a5e2
jmp 0x41a341
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00440900
mov ecx, dword [ebp - 0x4088]
push eax
call fcn.0041a5e2
lea ecx, [ebp - 0x4c]
call fcn.0043ff00
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push 0x80
push esi
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x4080], edi
cmp edi, 0xffffffff
je 0x41a495
push ebx
lea eax, [ebp - 0x40a8]
push eax
push dword [ebp - 0x409c]
mov eax, dword [ebp - 0x40b4]
add eax, dword [ebp - 0x408c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a442
mov eax, dword [ebp - 0x40a8]
cmp eax, dword [ebp - 0x409c]
jne 0x41a442
mov eax, dword [ebp - 0x40a4]
cmp byte [eax + 0x1c], bl
je 0x41a332
push eax
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x41a3a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41a3f8
lea ecx, [ebp - 0x1c]
call fcn.0043ff00
cmp dword [ebp - 0x407c], ebx
je 0x41a36f
push dword [ebp - 0x407c]
call fcn.00492cb0
mov dword [ebp - 0x4074], ebx
mov dword [ebp - 0x4078], ebx
mov dword [ebp - 0x407c], ebx
pop ecx
mov ecx, dword [ebp - 0x4084]
mov edi, dword [ebp - 0x4098]
inc ecx
add edi, 0x20
mov dword [ebp - 0x4084], ecx
mov dword [ebp - 0x4098], edi
cmp ecx, dword [ebp - 0x4104]
jb 0x41a0fd
mov edi, dword [ebp - 0x40a0]
jmp 0x41a58f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x4080]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043d250
cmp eax, esi
jg 0x41a3f0
push 0x20
pop ebx
push esi
push 0xe5
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
call fcn.0043c8d0
push edi
add eax, 8
push str.Error_returned_by_SetFileTime:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 0x20
jmp 0x41a4d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0043d250
cmp eax, esi
jg 0x41a43a
push 0x40
pop ebx
push esi
push 0xeb
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
call fcn.0043c8d0
push edi
add eax, 8
push str.Error_returned_by_CloseHandle:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 0x40
jmp 0x41a4d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x4080]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043d250
cmp eax, esi
jg 0x41a490
push 0x10
pop ebx
push esi
push 0xdc
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
call fcn.0043c8d0
push edi
add eax, 8
push str.Error_returned_by_WriteFile:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 0x10
jmp 0x41a4d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.0043d250
cmp eax, esi
jg 0x41a4d6
push 8
pop ebx
push esi
push 0xd3
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
call fcn.0043c8d0
push edi
add eax, ebx
push str.Error_returned_by_CreateFile:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 8
je 0x41a4e6
lea ecx, [ebp - 0x41d0]
call fcn.0043c9e0
lea ecx, [ebp - 0x1c]
call fcn.0043ff00
cmp dword [ebp - 0x407c], 0
je 0x41a58f
push dword [ebp - 0x407c]
call fcn.00492cb0
pop ecx
jmp 0x41a58f
call fcn.0043d250
cmp eax, esi
jg 0x41a53e
push 4
pop ebx
push esi
push 0xb9
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
call fcn.0043c8d0
add eax, 8
push str.Couldnt_get_file_name
push eax
call fcn.0043ce20
pop ecx
pop ecx
test bl, 4
jmp 0x41a57f
call fcn.0043d250
cmp eax, esi
jg 0x41a57c
push esi
push 0xb2
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1desktoplauncherinstallerpackage_fetcherlzma_util.cc
lea ecx, [ebp - 0x41d0]
mov ebx, esi
call fcn.0043c8d0
push edi
add eax, 8
push str.Error_returned_by_SzExtract:
push eax
call fcn.0043ce20
pop ecx
pop ecx
mov ecx, eax
call fcn.00413dc9
test bl, 2
je 0x41a58c
lea ecx, [ebp - 0x41d0]
call fcn.0043c9e0
push 6
pop edi
push dword [ebp - 0x408c]
lea eax, [ebp - 0x4094]
push eax
call dword [ebp - 0x4090]
lea eax, [ebp - 0x4094]
push eax
lea eax, [ebp - 0x4120]
push eax
call fcn.00480800
add esp, 0x10
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret 8