Function at 0x42de25
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x1ff
lea eax, [ebp - 0x207]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x208], bl
call fcn.005306b0
add esp, 0xc
mov edx, esi
call fcn.004ccc0d
test eax, eax
je 0x42de72
xor eax, eax
jmp 0x42e053
push str.Install_Check_Header:
push str.22774499
push 0x563e64
push str.INSTALL
push str.__s_s_s__s
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.004ce4e5
add esp, 0x1c
push 0xa1
push str..File.c
mov edx, 0x552f58
mov ecx, esi
call fcn.00434df1
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x42dee2
push esi
push str.:7:MakeInstallationEXE___FAILED:_The_file___s__could_not_be_opened_
call fcn.0042b70b
push esi
push str.The_file_could_not_be_opened___n__s__n_nPress_any_key...
push str.__MakeInstallationEXE___FAILED__
push ebx
push ebx
push ebx
push 1
call fcn.0043dc3e
add esp, 0x24
jmp 0x42de6b
push edi
mov dword [ebp - 0x20c], ebx
call fcn.0053256f
mov esi, eax
cmp esi, 0xffffffff
pop ecx
je 0x42df25
push 1
push esi
lea eax, [ebp - 0x20c]
lea ebx, [ebp - 0x208]
call fcn.0043c7c9
test eax, eax
pop ecx
pop ecx
jne 0x42df1e
push edi
call fcn.0053256f
mov esi, eax
cmp esi, 0xffffffff
pop ecx
jne 0x42def6
xor ebx, ebx
cmp esi, 0xffffffff
jne 0x42df65
mov ecx, edi
call fcn.00435239
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___FAILED:_The_file_header_could_not_be_found_
call fcn.0042b70b
push dword [ebp - 0x210]
lea eax, [ebp - 0x208]
push eax
push str.The_header___s__could_not_be_found___n__s__n_nPress_any_key...
push str.__MakeInstallationEXE___FAILED__
push ebx
push ebx
push ebx
push 1
call fcn.0043dc3e
add esp, 0x28
jmp 0x42de6b
push ebx
push edi
call fcn.005321ec
pop ecx
push eax
push edi
call fcn.00532310
add esp, 0xc
cmp dword [ebp + 0xc], ebx
push edi
je 0x42dfd5
mov esi, str.22This_is_certainly_an_installPATCH_routine_22__
push esi
call fcn.00530f70
pop ecx
push eax
push 1
push esi
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x42e049
mov ecx, edi
call fcn.00435239
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___Patch_FAILED:_fwrite___FAILED_
call fcn.0042b70b
pop ecx
pop ecx
push dword [ebp - 0x20c]
push esi
call fcn.00530f70
pop ecx
push eax
push esi
push str.fwrite___s____d____d_FAILED._n_nPress_any_key...
jmp 0x42dece
cmp dword [ebp + 8], ebx
je 0x42e010
mov esi, str.22This_is_certainly_an_installaDEMO_routine_22__
push esi
call fcn.00530f70
pop ecx
push eax
push 1
push esi
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x42e049
mov ecx, edi
call fcn.00435239
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___Demo_FAILED:_fwrite___FAILED_
jmp 0x42dfb5
mov esi, str.22This_is_certainly_an_installation_routine_22__
push esi
call fcn.00530f70
pop ecx
push eax
push 1
push esi
call fcn.00531aad
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x42e049
mov ecx, edi
call fcn.00435239
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___FAILED:_fwrite___FAILED_
jmp 0x42dfb5
mov ecx, edi
call fcn.00435239
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret