Function at 0x403f70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1e4
push esi
mov esi, dword [esp + 0x1ec]
mov eax, 0x10
push edi
mov word [esp + 0x5c], ax
mov edi, 0x84
mov eax, 0x50
mov word [esp + 0xc4], di
cmp byte [esi], 0
mov word [esp + 8], ax
mov word [esp + 0x70], ax
je 0x4047e3
xor eax, eax
mov word [esp + 0xa], ax
mov eax, dword [esi + 4]
lea ecx, [eax + 0x4c]
cmp ecx, 0x4b
ja case.default.0x403fc4
jmp dword [ecx*4 + 0x40481c]
push 0x42d470
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d4c0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d510
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d560
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d5b0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.math
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.pginfo
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d6a0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.rend
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.video
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d790
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.epl8543
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d830
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.centronics
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42d8d0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.stuff
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.dbuf
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.dcont
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.vect
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.ci3000
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42dab0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.foto
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.fifi
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42dba0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42dbf0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42dc40
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.slide
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.csrv
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.dj850
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.dr11w
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.lc3000
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.cirrus
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.fsimio
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.pdoc
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.phot
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.pwrio
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42dfb0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.chess
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.chessv_prog
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.motio
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42e0f0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.tric
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.eball
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42e1e0
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.flop
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.tsnet
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.spball
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.picprg
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.ptap
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.u1ex
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.irlog
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.rloc_prog
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.prba
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.ushos
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.sentw
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.usbcan
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.ioext
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42e640
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.touchtag
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.ebox
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.emcan
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.escr
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.email
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.utest
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.j1test
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.jcan
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.jowags
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.displ
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.hier
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.mdev
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.strflex
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.code
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.fline
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.pntcalc
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push 0x42eb90
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
push str.menu
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
jmp 0x4045df
test eax, eax
jle 0x4046e0
push str.subsys
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_appends_8
push dword [esi + 4]
lea eax, [esp + 0x60]
push eax
call sym.downcase_dir.exe__string_f_int_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc]
push eax
call sym.downcase_dir.exe__string_append_8
lea eax, [esp + 8]
push eax
call sym.downcase_dir.exe__string_fill_4
xor eax, eax
mov word [esp + 0x72], ax
cmp dword [esi + 8], eax
jle 0x4046e0
push 0x42ec80
lea eax, [esp + 0x74]
push eax
call sym.downcase_dir.exe__string_appends_8
push dword [esi + 8]
lea eax, [esp + 0x60]
push eax
call sym.downcase_dir.exe__string_f_int_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x74]
push eax
call sym.downcase_dir.exe__string_append_8
lea eax, [esp + 0x70]
push eax
call sym.downcase_dir.exe__string_fill_4
movups xmm0, xmmword [esp + 0xc]
lea eax, [esi + 0x14]
push dword [esi + 0x10]
movups xmmword [esp + 0x1a0], xmm0
push eax
movups xmm0, xmmword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
movups xmmword [esp + 0x1b8], xmm0
lea eax, [esp + 0x1a8]
movups xmm0, xmmword [esp + 0x38]
push eax
movups xmmword [esp + 0x1cc], xmm0
movups xmm0, xmmword [esp + 0x4c]
movups xmmword [esp + 0x1dc], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [esp + 0x1ec], xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [esp + 0x15c], xmm0
movups xmm0, xmmword [esp + 0x94]
movups xmmword [esp + 0x16c], xmm0
movups xmm0, xmmword [esp + 0xa4]
movups xmmword [esp + 0x17c], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [esp + 0x18c], xmm0
movups xmm0, xmmword [esp + 0xc4]
movups xmmword [esp + 0x19c], xmm0
call sym.downcase_dir.exe__sys_message_parms_16
jmp 0x4047ef
xor eax, eax
mov word [esp + 0xc6], ax
lea eax, [esp + 0xc4]
push str.ERROR__subsystem_
push eax
call sym.downcase_dir.exe__string_appends_8
push 0x20
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_append1_8
push dword [esi + 4]
lea eax, [esp + 0x60]
push eax
call sym.downcase_dir.exe__string_f_int32_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_append_8
push str.__code_
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_appends_8
push 0x20
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_append1_8
push dword [esi + 8]
lea eax, [esp + 0x60]
push eax
call sym.downcase_dir.exe__string_f_int32_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_append_8
push 0x2e
lea eax, [esp + 0xc8]
push eax
call sym.downcase_dir.exe__string_append1_8
mov ax, word [esp + 0xc6]
cmp ax, di
jle 0x4047a7
cwde
push 0x432afc
sub eax, 0x84
push eax
push 0x42ed70
call fcn.00401cd0
mov ax, word [esp + 0xd2]
add esp, 0xc
test ax, ax
jle 0x4047ba
cmp ax, di
jge 0x4047b6
movsx esi, ax
jmp 0x4047bc
mov esi, edi
jmp 0x4047bc
xor esi, esi
push 1
call fcn.0040bbcc
push eax
push esi
lea eax, [esp + 0xd4]
push 1
push eax
call fcn.0040be61
push 0x42ed74
call fcn.00401cd0
add esp, 0x18
jmp 0x4047ef
push dword [esi + 0xc]
call sym.downcase_dir.exe__sys_sys_message_4
test al, al
je 0x404810
push dword [esp + 0x200]
push dword [esp + 0x200]
push dword [esp + 0x200]
push dword [esp + 0x200]
call sym.downcase_dir.exe__sys_message_parms_16
pop edi
pop esi
add esp, 0x1e4
ret 0x14