Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push str.afont_font
push dword [esp + 0xc]
push dword [esp + 0xc]
call sym.afont_font.exe__string_cmline_set_12
call sym.afont_font.exe__string_cmline_init_0
push 0x4925e8
push section..data
call sym.afont_font.exe__string_cmline_token_8
push 0x4925e8
call sym.afont_font.exe__string_cmline_req_check_4
push 0x4925e8
push 0x42b428
call sym.afont_font.exe__string_cmline_token_8
push 0x4925e8
call sym.afont_font.exe__string_eos_4
test al, al
je 0x401063
push 0x42b428
push str..font
push section..data
call sym.afont_font.exe__string_generic_fnam_12
jmp 0x40107e
push 0
push 0x49365c
push 0x42b930
push 0x42b8e0
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
push 0x4925e8
push 0x42b404
call sym.afont_font.exe__string_cmline_token_8
push 0x4925e8
call sym.afont_font.exe__string_eos_4
test al, al
jne 0x4010db
push 0
push 0x49365c
push 0x42b930
push 0x42b8e0
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
push 0x42b404
push 0x430b44
call sym.afont_font.exe__sys_msg_parm_vstr_8
push 0
push 0x49365c
push str.cmline_extra_token
push 0x42b8e0
call sym.afont_font.exe__sys_message_bomb_16
push esi
push edi
push 0x4925e8
push 0x430220
push str..afont
push section..data
call sym.afont_font.exe__file_open_read_text_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
push 0x4925e8
xor eax, eax
mov dword [0x493650], 0xffffffff
push 0x42b838
mov ecx, 0x80
mov dword [0x493654], 0x80
mov edi, 0x430b60
rep stosd dword es:[edi], eax
push 0x430220
call sym.afont_font.exe__file_read_text_12
push 0x4925e8
call sym.afont_font.exe__file_eof_4
test al, al
jne 0x401437
mov esi, 1
nop
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
push 0x42b838
call sym.afont_font.exe__string_upcase_4
push 0x4925e8
push 0x42b404
push 0x4925e4
push 0x42b838
mov word [0x4925e4], si
call sym.afont_font.exe__string_token_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
push 0x4925e0
push str.CHAR_MOVE_DRAW
push 0x42b404
call sym.afont_font.exe__string_tkpick80_12
mov eax, dword [0x4925e0]
sub eax, 1
je 0x401390
sub eax, 1
je 0x4012c6
sub eax, 1
jne 0x4014a6
push 0x4925e8
push 0x493658
push 0x4925e4
push 0x42b838
call sym.afont_font.exe__string_token_fpm_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
mov ecx, dword [0x493654]
mov eax, dword [0x493658]
or eax, 1
mov dword [ecx*4 + 0x430b60], eax
inc ecx
mov dword [0x493654], ecx
cmp ecx, 0x1869f
jg 0x40146f
push 0x4925e8
push 0x493658
push 0x4925e4
push 0x42b838
call sym.afont_font.exe__string_token_fpm_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
mov ecx, dword [0x493654]
mov eax, dword [0x493658]
mov dword [ecx*4 + 0x430b60], eax
inc ecx
mov dword [0x493654], ecx
cmp ecx, 0x1869f
jg 0x40146f
jmp 0x401411
push 0x4925e8
push 0x493658
push 0x4925e4
push 0x42b838
call sym.afont_font.exe__string_token_fpm_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
mov ecx, dword [0x493654]
mov eax, dword [0x493658]
and eax, 0xfffffffe
mov dword [ecx*4 + 0x430b60], eax
inc ecx
mov dword [0x493654], ecx
cmp ecx, 0x1869f
jg 0x40146f
push 0x4925e8
push 0x493658
push 0x4925e4
push 0x42b838
call sym.afont_font.exe__string_token_fpm_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
mov ecx, dword [0x493654]
mov eax, dword [0x493658]
mov dword [ecx*4 + 0x430b60], eax
inc ecx
mov dword [0x493654], ecx
cmp ecx, 0x1869f
jg 0x40146f
jmp 0x401411
cmp dword [0x493650], 0xffffffff
je 0x4013ba
mov eax, dword [0x493654]
mov dword [eax*4 + 0x430b60], 0xffffffff
inc eax
mov dword [0x493654], eax
cmp eax, 0x1869f
jg 0x40146f
push 0x4925e8
push 0x493650
push 0x4925e4
push 0x42b838
call sym.afont_font.exe__string_token_int_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_check_20
test al, al
jne 0x4014e6
mov ecx, dword [0x493650]
cmp ecx, 0x7f
ja 0x4014c3
mov eax, dword [0x493654]
mov dword [ecx*4 + 0x430b60], eax
push 0x4925e8
push 0x42b838
push 0x430220
call sym.afont_font.exe__file_read_text_12
push 0x4925e8
call sym.afont_font.exe__file_eof_4
test al, al
je 0x401160
push 0x430220
call sym.afont_font.exe__file_close_4
cmp dword [0x493650], 0xffffffff
je 0x40152e
mov eax, dword [0x493654]
mov dword [eax*4 + 0x430b60], 0xffffffff
inc eax
mov dword [0x493654], eax
cmp eax, 0x1869f
jle 0x40152e
push 1
call fcn.0040d33c
push eax
push 0x35
push 1
push str.Not_enough_room_in_font_array.__Adjust_MAX_FONT_SIZE.
call fcn.0040d5d1
push 0x42bb88
call fcn.004015f0
add esp, 0x18
push 0x430220
call sym.afont_font.exe__file_close_4
call sym.afont_font.exe__sys_bomb_0
pop edi
xor eax, eax
pop esi
ret
push 1
call fcn.0040d33c
push eax
push 0x1a
push 1
push str.Unrecognized_command_name.
call fcn.0040d5d1
push 0x42bb4c
jmp 0x4014de
push 1
call fcn.0040d33c
push eax
push 0x1e
push 1
push str.Character_number_out_of_range.
call fcn.0040d5d1
push 0x42b88c
call fcn.004015f0
add esp, 0x18
push 0x430b34
push 0x430b44
call sym.afont_font.exe__sys_msg_parm_int_8
push 0x43072c
push 0x430b50
call sym.afont_font.exe__sys_msg_parm_vstr_8
push 2
push 0x430b44
push str.error_fnam_lnum
push 0x42ba70
call sym.afont_font.exe__sys_message_parms_16
push 0x430220
call sym.afont_font.exe__file_close_4
call sym.afont_font.exe__sys_bomb_0
pop edi
xor eax, eax
pop esi
ret
push 0x4925e8
push 0x430220
push str..font
push 0x42b428
call sym.afont_font.exe__file_open_write_bin_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
mov ecx, dword [0x493654]
xor eax, eax
mov dword [0x430b5c], eax
lea esi, [ecx - 1]
test esi, esi
js 0x40159a
push 4
lea eax, [eax*4 + 0x430b60]
push eax
call sym.afont_font.exe__sys_order_flip_8
mov eax, dword [0x430b5c]
inc eax
mov dword [0x430b5c], eax
cmp eax, esi
jle 0x401576
mov ecx, dword [0x493654]
push 0x4925e8
lea eax, [ecx*4]
push eax
push 0x430220
push 0x430b60
call sym.afont_font.exe__file_write_bin_16
push 0
push 0x49365c
push 0x493660
push 0x493660
push 0x4925e8
call sym.afont_font.exe__sys_error_abort_20
push 0x430220
call sym.afont_font.exe__file_close_4
pop edi
xor eax, eax
pop esi
ret