Function at 0x428420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c4e68]
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.005117f0
add esp, 0xc
mov edx, esi
call fcn.004c3b34
test eax, eax
je 0x42846d
xor eax, eax
jmp 0x42864e
push str.Install_Check_Header:
push str.22774499
push 0x542794
push str.INSTALL
push str.__s_s_s__s
lea eax, [ebp - 0x208]
push 0x200
push eax
call fcn.004c53b7
add esp, 0x1c
push 0xa1
push str..File.c
mov edx, 0x5330f8
mov ecx, esi
call fcn.0042d2c6
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x4284dd
push esi
push str.:7:MakeInstallationEXE___FAILED:_The_file___s__could_not_be_opened_
call fcn.004265da
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.00436110
add esp, 0x24
jmp 0x428466
push edi
mov dword [ebp - 0x20c], ebx
call fcn.0051344f
mov esi, eax
cmp esi, 0xffffffff
pop ecx
je 0x428520
push 1
push esi
lea eax, [ebp - 0x20c]
lea ebx, [ebp - 0x208]
call fcn.00434c9b
test eax, eax
pop ecx
pop ecx
jne 0x428519
push edi
call fcn.0051344f
mov esi, eax
cmp esi, 0xffffffff
pop ecx
jne 0x4284f1
xor ebx, ebx
cmp esi, 0xffffffff
jne 0x428560
mov ecx, edi
call fcn.0042d70e
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___FAILED:_The_file_header_could_not_be_found_
call fcn.004265da
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.00436110
add esp, 0x28
jmp 0x428466
push ebx
push edi
call fcn.005130cc
pop ecx
push eax
push edi
call fcn.005131f0
add esp, 0xc
cmp dword [ebp + 0xc], ebx
push edi
je 0x4285d0
mov esi, str.22This_is_certainly_an_installPATCH_routine_22__
push esi
call fcn.005120b0
pop ecx
push eax
push 1
push esi
call fcn.005110f1
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x428644
mov ecx, edi
call fcn.0042d70e
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___Patch_FAILED:_fwrite___FAILED_
call fcn.004265da
pop ecx
pop ecx
push dword [ebp - 0x20c]
push esi
call fcn.005120b0
pop ecx
push eax
push esi
push str.fwrite___s____d____d_FAILED._n_nPress_any_key...
jmp 0x4284c9
cmp dword [ebp + 8], ebx
je 0x42860b
mov esi, str.22This_is_certainly_an_installaDEMO_routine_22__
push esi
call fcn.005120b0
pop ecx
push eax
push 1
push esi
call fcn.005110f1
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x428644
mov ecx, edi
call fcn.0042d70e
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___Demo_FAILED:_fwrite___FAILED_
jmp 0x4285b0
mov esi, str.22This_is_certainly_an_installation_routine_22__
push esi
call fcn.005120b0
pop ecx
push eax
push 1
push esi
call fcn.005110f1
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x20c], eax
jg 0x428644
mov ecx, edi
call fcn.0042d70e
push dword [ebp - 0x210]
push str.:7:MakeInstallationEXE___s___FAILED:_fwrite___FAILED_
jmp 0x4285b0
mov ecx, edi
call fcn.0042d70e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret