Function at 0x423870
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1b
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x84]
mov esi, str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_http:__gcc.gnu.org_bugs.html_:_n
sub esp, 0x9c
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
rep movsd dword es:[edi], dword [esi]
lea eax, [edx + 1]
mov dword [ebp - 0x8c], eax
lea eax, [edx + 0x8a]
and eax, 0xfffffff0
call fcn.0040df60
sub esp, eax
lea esi, [ebp - 0x84]
mov cl, 0x1a
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
movzx eax, word [esi]
mov word [edi], ax
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
lea eax, [ebx + 0x6b]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x8c]
mov byte [ebx + eax + 0x6a], 0
mov dword [esp], ebx
call fcn.00478470
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
sub esp, 0x68
lea eax, [esp + 0x60]
mov dword [esp + 0x34], 0x47f0f0
mov dword [esp + 0x38], 0x481204
mov dword [esp + 0x40], 0x4239f0
mov dword [esp + 0x44], esp
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.0040e5c0
cmp byte [0x488514], 0
jne 0x4239ad
mov byte [0x488514], 1
call fcn.0047e530
test eax, eax
je 0x423a0b
mov eax, dword [eax + 4]
xor edx, edx
cmp byte [eax], 0x2a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
sete dl
add eax, edx
mov ecx, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 0xc], eax
call fcn.0040cda0
mov dword [esp + 0x14], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
cmp dword [esp + 0x5c], 0
mov dword [esp + 4], eax
je 0x42399f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x48a665
mov dword [esp + 0x20], 0xffffffff
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x5c], 0
je 0x4239e2
mov dword [esp + 0x20], 1
call fcn.0047eed0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
jmp 0x42395b
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
mov dword [esp + 0x20], 0xffffffff
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00419c08
jmp 0x423992
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
mov dword [esp + 0x20], 0xffffffff
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp + 0x20], 0xffffffff
call sub.msvcrt.dll_abort
call fcn.0047e5a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call fcn.0040ec40
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x423ae9
call fcn.0047e2e0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov edx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
mov dword [esp + 0x20], 2
lea eax, [edx + 0x40]
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov edx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [edx + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp], 0xa
add eax, 0x40
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
call fcn.0047e5a0
jmp 0x423a3b
call fcn.0047e2e0
mov dword [esp + 0x20], 0xffffffff
call fcn.0047e5a0
jmp 0x423a3b