Function at 0x42c0dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x64
push ebx
push esi
push edi
push 1
call fcn.0042be29
pop ecx
test al, al
je 0x42c31a
xor esi, esi
mov byte [ebp - 1], 0
mov edi, dword [ebp + 0xc]
push 0x46120c
push edi
call fcn.004459de
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x42c284
push edi
push str.Unable_to_open__s_for_writing__will_try_again_in_1_sec
call fcn.00445765
add eax, 0x40
push eax
call fcn.00445cb2
add esp, 0xc
push edi
call fcn.0042942d
pop ecx
test al, al
je 0x42c1e0
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
lea eax, [ebp - 0x10]
push eax
push edi
lea edi, [ebp - 8]
call fcn.0043d24a
pop ecx
pop ecx
test al, al
je 0x42c1e0
mov eax, dword [ebp - 0x10]
push dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jne 0x42c1da
lea ecx, [ebp - 0x20]
push ecx
call fcn.0040ef86
push 0x10
lea edi, [ebp - 0x40]
lea ebx, [ebp - 0x20]
call fcn.0040da89
add esp, 0xc
push dword [ebp + 0x10]
mov eax, ebx
push eax
mov eax, dword [ebp + 0x14]
call fcn.0040ef86
push 0x10
lea edi, [ebp - 0x60]
call fcn.0040da89
add esp, 0xc
push dword [ebp - 8]
call fcn.00444db8
pop ecx
lea ecx, [ebp - 0x40]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42c1ca
test dl, dl
je 0x42c1c6
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42c1ca
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x42c1ac
xor eax, eax
jmp 0x42c1cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42c1e0
mov al, 1
jmp 0x42c31a
call fcn.00444db8
pop ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jb 0x42c0ff
mov esi, dword [ebp + 8]
cmp byte [esi + 0x8c], 0
je 0x42c22c
push dword [esi + 0x84]
call fcn.0043c122
pop ecx
lea edi, [esi + 0x88]
push dword [edi]
call fcn.0043c122
mov eax, dword [esi + 0x80]
pop ecx
mov byte [eax], 1
push dword [edi]
call fcn.0043c136
pop ecx
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x42c2d3
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], ebx
jbe 0x42c2b6
mov esi, 0x1000
mov eax, dword [ebp + 8]
cmp byte [eax + 0x75], 0
je 0x42c258
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 0x14]
sub edi, ebx
cmp edi, esi
jbe 0x42c263
mov edi, esi
push dword [ebp - 0xc]
push edi
push 1
push dword [ebp + 0x10]
call fcn.00447136
add esp, 0x10
cmp eax, edi
jne 0x42c294
add dword [ebp + 0x10], edi
add ebx, edi
cmp ebx, dword [ebp + 0x14]
jb 0x42c247
jmp 0x42c2b3
push eax
call fcn.0044583c
pop ecx
mov byte [ebp - 1], 1
jmp 0x42c1f5
push dword [ebp + 0xc]
push ebx
push edi
push str.ERROR:_Unable_to_write__li_bytes_at_offset__li_to__s_n
call fcn.00445765
add eax, 0x40
push eax
call fcn.00445cb2
add esp, 0x14
mov byte [ebp - 1], 0
mov esi, dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.004458af
pop ecx
push dword [ebp - 0xc]
call fcn.0044615f
pop ecx
push dword [ebp + 0xc]
call fcn.0042bdce
pop ecx
jmp 0x42c2ec
push dword [ebp + 0xc]
push str.ERROR:_Couldnt_open__s_for_writing_n
call fcn.00445765
add eax, 0x40
push eax
call fcn.00445cb2
add esp, 0xc
lea edi, [esi + 0x88]
push dword [edi]
call fcn.0043c122
cmp dword [esi + 0x80], 0
pop ecx
je 0x42c30f
push dword [esi + 0x84]
call fcn.0043c136
pop ecx
push dword [edi]
call fcn.0043c136
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10