Function at 0x403a10
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 0x40430f
xor eax, eax
mov word [esp + 0xa], ax
mov eax, dword [esi + 4]
lea ecx, [eax + 0x53]
cmp ecx, 0x52
ja case.default.0x403a64
jmp dword [ecx*4 + 0x404348]
push 0x42b1e8
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b238
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b288
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b2d8
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b328
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.math
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.pginfo
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b418
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.rend
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.video
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b508
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.epl8543
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b5a8
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.centronics
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b648
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.stuff
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.dbuf
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.dcont
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.vect
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.ci3000
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b828
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.foto
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.fifi
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b918
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b968
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42b9b8
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.slide
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.csrv
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.dj850
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.dr11w
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.lc3000
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.cirrus
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.fsimio
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.pdoc
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.phot
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.pwrio
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42bd28
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.chess
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.chessv_prog
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.motio
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42be68
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.tric
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.eball
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42bf58
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.flop
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.tsnet
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.spball
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.picprg
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.ptap
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.u1ex
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.irlog
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.rloc_prog
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.prba
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.ushos
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.sentw
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.usbcan
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.ioext
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42c3b8
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.touchtag
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.ebox
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.emcan
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.escr
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.email
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.utest
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.j1test
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.jcan
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.jowags
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.displ
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.hier
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.mdev
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.strflex
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.code
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.fline
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.pntcalc
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push 0x42c908
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.menu
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.eagle
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.part
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.db25
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.dongsim
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.jrescal
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.canmux
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
push str.s5lib
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
jmp 0x40410b
test eax, eax
jle 0x40420c
push str.subsys
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_appends_8
push dword [esi + 4]
lea eax, [esp + 0x60]
push eax
call sym.slink.exe__string_f_int_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc]
push eax
call sym.slink.exe__string_append_8
lea eax, [esp + 8]
push eax
call sym.slink.exe__string_fill_4
xor eax, eax
mov word [esp + 0x72], ax
cmp dword [esi + 8], eax
jle 0x40420c
push 0x42cc28
lea eax, [esp + 0x74]
push eax
call sym.slink.exe__string_appends_8
push dword [esi + 8]
lea eax, [esp + 0x60]
push eax
call sym.slink.exe__string_f_int_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x74]
push eax
call sym.slink.exe__string_append_8
lea eax, [esp + 0x70]
push eax
call sym.slink.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.slink.exe__sys_message_parms_16
jmp 0x40431b
xor eax, eax
mov word [esp + 0xc6], ax
lea eax, [esp + 0xc4]
push str.ERROR__subsystem_
push eax
call sym.slink.exe__string_appends_8
push 0x20
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_append1_8
push dword [esi + 4]
lea eax, [esp + 0x60]
push eax
call sym.slink.exe__string_f_int32_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_append_8
push str.__code_
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_appends_8
push 0x20
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_append1_8
push dword [esi + 8]
lea eax, [esp + 0x60]
push eax
call sym.slink.exe__string_f_int32_8
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_append_8
push 0x2e
lea eax, [esp + 0xc8]
push eax
call sym.slink.exe__string_append1_8
mov ax, word [esp + 0xc6]
cmp ax, di
jle 0x4042d3
cwde
push 0x430804
sub eax, 0x84
push eax
push 0x42cd18
call fcn.004044b0
mov ax, word [esp + 0xd2]
add esp, 0xc
test ax, ax
jle 0x4042e6
cmp ax, di
jge 0x4042e2
movsx esi, ax
jmp 0x4042e8
mov esi, edi
jmp 0x4042e8
xor esi, esi
push 1
call fcn.0040a50c
push eax
push esi
lea eax, [esp + 0xd4]
push 1
push eax
call fcn.0040a7a1
push 0x42cd1c
call fcn.004044b0
add esp, 0x18
jmp 0x40431b
push dword [esi + 0xc]
call sym.slink.exe__sys_sys_message_4
test al, al
je 0x40433c
push dword [esp + 0x200]
push dword [esp + 0x200]
push dword [esp + 0x200]
push dword [esp + 0x200]
call sym.slink.exe__sys_message_parms_16
pop edi
pop esi
add esp, 0x1e4
ret 0x14