Function at 0x404cb0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1a14
call fcn.00409f50
mov eax, dword [0x4939c0]
inc eax
mov dword [0x4939c0], eax
push ebx
mov ebx, 0x84
mov word [esp + 4], bx
cmp eax, 1
jle 0x404d10
cmp byte [0x42c08c], 0
jne 0x404d10
push 0x42c5d8
call fcn.004015f0
push 1
call fcn.0040d33c
push eax
push 0x35
push 1
push str.Recursive_call_to_message_routine.__Original_message:
call fcn.0040d5d1
push 0x42c614
call fcn.004015f0
add esp, 0x1c
call fcn.00404fa0
movzx eax, word [0x42c494]
push eax
push dword [esp + 0x1a20]
push 0x42c090
call sym.afont_font.exe__string_vstring_12
push 0x42c090
call sym.afont_font.exe__string_unpad_4
cmp word [0x42c092], 0
jne 0x404d56
push 0x42c090
call sym.afont_font.exe__string_progname_4
push str._prog
push 0x42c090
call sym.afont_font.exe__string_appends_8
movzx eax, word [0x42c494]
push eax
push dword [esp + 0x1a24]
push 0x42c038
call sym.afont_font.exe__string_vstring_12
push 0x42c038
call sym.afont_font.exe__string_unpad_4
cmp word [0x42c092], 0
mov byte [0x42c08c], 0
jle 0x404f82
cmp word [0x42c03a], 0
jle 0x404f82
cmp dword [0x4939c0], 1
jle 0x404de7
push 0x42c618
call fcn.004015f0
push 1
call fcn.0040d33c
push eax
push 0x3d
push 1
push str.Message_requested_while_attempting_to_print_previous_message:
call fcn.0040d5d1
push 0x42c65c
call fcn.004015f0
add esp, 0x1c
call fcn.00404fa0
dec dword [0x4939c0]
pop ebx
add esp, 0x1a14
ret 0x10
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x10f8]
push eax
push dword [esp + 0x1a30]
push dword [esp + 0x1a30]
push 0x42c038
push 0x42c090
call sym.afont_font.exe__file_open_read_msg_24
lea eax, [esp + 0x8c]
push eax
call sym.afont_font.exe__file_not_found_4
test al, al
jne 0x404dd2
lea eax, [esp + 0x8c]
push eax
call sym.afont_font.exe__sys_error_4
test al, al
je 0x404e69
call fcn.00404fa0
push 0
push 0x493724
push str.open_msg
push 0x42c4e8
lea eax, [esp + 0x9c]
push eax
call sym.afont_font.exe__sys_error_print_20
dec dword [0x4939c0]
pop ebx
add esp, 0x1a14
ret 0x10
push edi
call sym.afont_font.exe__sys_width_stdout_0
lea edi, [eax - 1]
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x1104]
push eax
call sym.afont_font.exe__file_read_msg_16
lea eax, [esp + 0x90]
push eax
call sym.afont_font.exe__file_eof_4
test al, al
jne 0x404f6d
push esi
lea eax, [esp + 0x94]
push eax
call sym.afont_font.exe__sys_error_4
test al, al
jne 0x404f49
mov ax, word [esp + 0xe]
cmp ax, bx
jle 0x404ee0
cwde
push 0x493728
sub eax, 0x84
push eax
push 0x42c660
call fcn.004015f0
mov ax, word [esp + 0x1a]
add esp, 0xc
test ax, ax
jle 0x404ef3
cmp ax, bx
jge 0x404eef
movsx esi, ax
jmp 0x404ef5
mov esi, ebx
jmp 0x404ef5
xor esi, esi
push 1
call fcn.0040d33c
push eax
push esi
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0040d5d1
push 0x42c664
call fcn.004015f0
add esp, 0x18
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x1108]
push eax
call sym.afont_font.exe__file_read_msg_16
lea eax, [esp + 0x94]
push eax
call sym.afont_font.exe__file_eof_4
test al, al
je 0x404ea3
jmp 0x404f6c
call fcn.00404fa0
push 0
push 0x493724
push str.read_msg
push 0x42c4e8
lea eax, [esp + 0xa4]
push eax
call sym.afont_font.exe__sys_error_print_20
pop esi
lea eax, [esp + 0x10f8]
mov byte [0x42c08c], 1
push eax
call sym.afont_font.exe__file_close_4
pop edi
dec dword [0x4939c0]
pop ebx
add esp, 0x1a14
ret 0x10