Function at 0x43de00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x58], eax
jb 0x43de33
mov eax, dword [edi]
jmp 0x43de35
mov eax, edi
push esi
push 0
push 0
push 3
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
mov dword [ebp - 0x50], ebx
test esi, esi
je 0x43e00f
cmp esi, 0xffffffff
je 0x43e00f
mov dword [ebp - 0x50], esi
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0044ca30
mov eax, dword [ebp - 0x50]
add esp, 0x10
test eax, eax
je 0x43e00f
cmp eax, 0xffffffff
je 0x43e00f
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
push 0
push ecx
push esi
push dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x43df73
cmp dword [ebp - 0x54], esi
jne 0x43deb5
mov bl, 1
jmp 0x43e09a
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
call fcn.00438ea0
add esp, 8
cmp eax, 1
jl 0x43df45
mov ebx, 0x30
call sub.KERNEL32.DLL_GetLastError
push eax
push 0xffffffffffffffff
push 0x29f
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x114]
call fcn.004384e0
mov esi, eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0043f610
add esp, 8
push eax
push str._byte_s__to
push dword [ebp - 0x58]
lea eax, [esi + 0x10]
push str._out_of
push dword [ebp - 0x54]
push str.Only_wrote
push eax
call fcn.00404c5e
add esp, 8
mov ecx, eax
call fcn.004121ba
push eax
call fcn.00404c5e
add esp, 8
mov ecx, eax
call fcn.00412122
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.0042bbf7
add esp, 8
test bl, 0x20
je 0x43df58
lea ecx, [ebp - 0x114]
and ebx, 0xffffffdf
call fcn.00438780
test bl, 0x10
je 0x43e098
cmp dword [ebp - 8], 0x10
jb 0x43e098
push dword [ebp - 0x1c]
jmp 0x43e090
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
call fcn.00438ea0
add esp, 8
cmp eax, 1
jl 0x43dfe1
mov ebx, 0xc
call sub.KERNEL32.DLL_GetLastError
push eax
push 0xffffffffffffffff
push 0x29c
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x1cc]
call fcn.004384e0
push str._failed
mov esi, eax
lea eax, [ebp - 0x34]
push edi
push eax
call fcn.0043f610
add esp, 8
push eax
lea eax, [esi + 0x10]
push str.Writing_file
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.0042bbf7
add esp, 8
push eax
call fcn.00404c5e
add esp, 8
test bl, 8
je 0x43dff4
lea ecx, [ebp - 0x1cc]
and ebx, 0xfffffff7
call fcn.00438780
test bl, 4
je 0x43e098
cmp dword [ebp - 0x20], 0x10
jb 0x43e098
push dword [ebp - 0x34]
jmp 0x43e090
push 0x5d
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
call fcn.00438ea0
add esp, 8
cmp eax, 1
jl 0x43e06f
mov ebx, 3
call sub.KERNEL32.DLL_GetLastError
push eax
push 0xffffffffffffffff
push 0x291
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3chromium_src_base_files_file_util_win.cc
lea ecx, [ebp - 0x284]
call fcn.004384e0
mov esi, eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.0043f610
add esp, 8
push eax
lea eax, [esi + 0x10]
push str.CreateFile_failed_for_path
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.0042bbf7
add esp, 8
test bl, 2
je 0x43e082
lea ecx, [ebp - 0x284]
and ebx, 0xfffffffd
call fcn.00438780
test bl, 1
je 0x43e098
cmp dword [ebp - 0x38], 0x10
jb 0x43e098
push dword [ebp - 0x4c]
call fcn.004835e0
add esp, 4
xor bl, bl
mov eax, dword [ebp - 0x50]
pop esi
test eax, eax
je 0x43e0c8
cmp eax, 0xffffffff
je 0x43e0c8
call fcn.00440520
push eax
mov eax, dword [ebp + 4]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.0044cb70
push dword [ebp - 0x50]
call fcn.0044c950
add esp, 0x14
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret