Function at 0x441f50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4e26d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], ebx
cmp dword [esi + 0x14], 8
push edi
mov dword [ebp - 0x58], eax
jb 0x441f84
mov eax, dword [esi]
jmp 0x441f86
mov eax, esi
push 0
push 0
push 3
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x50], ebx
test edi, edi
je 0x442191
cmp edi, 0xffffffff
je 0x442191
mov dword [ebp - 0x50], edi
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
call fcn.004552c0
mov eax, dword [ebp - 0x50]
add esp, 0x10
test eax, eax
je 0x442191
cmp eax, 0xffffffff
je 0x442191
mov edi, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
push 0
push ecx
push edi
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4420dd
cmp dword [ebp - 0x54], edi
jne 0x442005
mov bl, 1
jmp 0x442234
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
call fcn.0043d260
add esp, 8
cmp eax, 1
jl 0x4420af
sub esp, 8
mov ebx, 0x30
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x442031
mov eax, dword [esi]
jmp 0x442033
mov eax, esi
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044b310
add esp, 0xc
mov esi, eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0xffffffffffffffff
push 0x29f
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x114]
call fcn.0043c9b0
push esi
push str._byte_s__to
push edi
push str._out_of
push dword [ebp - 0x54]
add eax, 0x10
push str.Only_wrote
push eax
call fcn.00405c42
add esp, 8
mov ecx, eax
call fcn.00413dc9
push eax
call fcn.00405c42
add esp, 8
mov ecx, eax
call fcn.00413d31
push eax
call fcn.00405c42
add esp, 8
push eax
call fcn.0041630b
add esp, 8
test bl, 0x20
je 0x4420c2
lea ecx, [ebp - 0x114]
and ebx, 0xffffffdf
call fcn.0043cc50
test bl, 0x10
je 0x442232
cmp dword [ebp - 8], 0x10
jb 0x442232
push dword [ebp - 0x1c]
jmp 0x44222a
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
call fcn.0043d260
add esp, 8
cmp eax, 1
jl 0x442163
push str._failed
sub esp, 8
mov ebx, 0xc
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x44210a
mov eax, dword [esi]
jmp 0x44210c
mov eax, esi
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x34]
push eax
call fcn.0044b310
add esp, 0xc
mov esi, eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0xffffffffffffffff
push 0x29c
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x1cc]
call fcn.0043c9b0
push esi
add eax, 0x10
push str.Writing_file
push eax
call fcn.00405c42
add esp, 8
push eax
call fcn.0041630b
add esp, 8
push eax
call fcn.00405c42
add esp, 8
test bl, 8
je 0x442176
lea ecx, [ebp - 0x1cc]
and ebx, 0xfffffff7
call fcn.0043cc50
test bl, 4
je 0x442232
cmp dword [ebp - 0x20], 0x10
jb 0x442232
push dword [ebp - 0x34]
jmp 0x44222a
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
call fcn.0043d260
add esp, 8
cmp eax, 1
jl 0x442209
sub esp, 8
mov ebx, 3
cmp dword [esi + 0x14], 8
mov ecx, esp
jb 0x4421b9
mov eax, dword [esi]
jmp 0x4421bb
mov eax, esi
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0044b310
add esp, 0xc
mov esi, eax
call sub.KERNEL32.dll_GetLastError
push eax
push 0xffffffffffffffff
push 0x291
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_1chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x284]
call fcn.0043c9b0
push esi
add eax, 0x10
push str.CreateFile_failed_for_path
push eax
call fcn.00405c42
add esp, 8
push eax
call fcn.0041630b
add esp, 8
test bl, 2
je 0x44221c
lea ecx, [ebp - 0x284]
and ebx, 0xfffffffd
call fcn.0043cc50
test bl, 1
je 0x442232
cmp dword [ebp - 0x38], 0x10
jb 0x442232
push dword [ebp - 0x4c]
call fcn.00492cb0
add esp, 4
xor bl, bl
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x442261
cmp eax, 0xffffffff
je 0x442261
call fcn.00448900
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00455370
push dword [ebp - 0x50]
call fcn.00454e60
add esp, 0x14
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049653f
mov esp, ebp
pop ebp
ret