Function at 0x442cec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push edi
push esi
lea edi, [ebp - 0xa0]
push ebx
lea esi, [ebp - 0x3c0]
mov dword [ebp - 0x444], 0
add esp, 0xfffffff4
mov eax, dword [0x45e20c]
lea ebx, [ebp - 0x440]
push eax
push 0x4715ec
push 0x440cbf
push 0x79
push ebx
call fcn.00459d74
add esp, 0x20
push 1
push ebx
push 0x442638
mov eax, dword [0x47452c]
push eax
call sub.cygtcl80.dll_Tcl_SetVar
add esp, 0xfffffff4
push 0x47166c
push 0x46221c
push 0x44263f
push 0x79
push ebx
call fcn.00459d74
add esp, 0x30
push 1
push ebx
push 0x442645
lea ebx, [ebp - 0x20]
mov eax, dword [0x47452c]
push eax
call sub.cygtcl80.dll_Tcl_SetVar
push 1
push 0x44264d
push 0x44264f
mov eax, dword [0x47452c]
push eax
call sub.cygtcl80.dll_Tcl_SetVar
add esp, 0x20
add esp, 0xfffffffc
push 0xb4
mov eax, dword [ebp + 8]
push eax
push esi
call sub.cygwin1.dll_strncpy
add esp, 0xfffffff4
push edi
call fcn.00424bf8
add esp, 0x20
add esp, 0xfffffff4
push ebx
call fcn.00424bf8
add esp, 0xfffffff8
push ebx
push edi
call sub.cygwin1.dll_strcat
add esp, 0x20
add esp, 0xfffffff4
push ebx
call fcn.00424bf8
add esp, 0xfffffff8
push ebx
push edi
call sub.cygwin1.dll_strcat
add esp, 0x20
add esp, 0xfffffff8
push edi
push esi
call sub.cygwin1.dll_strcat
add esp, 0xfffffff8
push 0x442bec
push esi
call sub.cygwin1.dll_fopen
add esp, 0x20
mov ebx, eax
add esp, 0xfffffff8
push esi
push esi
push esi
push esi
push 0x442bee
push ebx
call sub.cygwin1.dll_fprintf
add esp, 0x20
add esp, 0xfffffff4
push ebx
call sub.cygwin1.dll_fclose
add esp, 0xfffffff4
push esi
call sub.cygwin1.dll_unlink
add esp, 0x20
add esp, 0xfffffff8
push 0x442bfb
push esi
call sub.cygwin1.dll_fopen
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x442e54
add esp, 0xfffffff4
push 0x442c04
call sub.cygwin1.dll_printf
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
lea esi, [esi]
add esp, 0xfffffff8
push 0x442bfb
mov eax, dword [ebp + 8]
push eax
call sub.cygwin1.dll_fopen
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x442e88
add esp, 0xfffffff4
push 0x442c64
call sub.cygwin1.dll_printf
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
lea esi, [esi]
lea ebx, [ebp - 0x300]
jmp 0x442e96
inc dword [ebp - 0x444]
add esp, 0xfffffffc
push edi
push 0x257
push ebx
call sub.cygwin1.dll_fgets
add esp, 0x10
test eax, eax
jne 0x442e90
add esp, 0xfffffff4
push edi
call sub.cygwin1.dll_fclose
add esp, 0x10
cmp dword [ebp - 0x444], 0x9c4
jle 0x442edc
add esp, 0xfffffff4
push 0x442c04
call sub.cygwin1.dll_printf
add esp, 0xfffffff4
push 0
call sub.cygwin1.dll_exit
nop
add esp, 0xfffffff8
push esi
mov eax, dword [ebp + 8]
push eax
call fcn.004407a4
add esp, 0xfffffff8
push 0x442bfb
push esi
call sub.cygwin1.dll_fopen
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x442f08
xor eax, eax
jmp 0x442f91
add esp, 0xfffffff4
push ebx
call sub.cygwin1.dll_fclose
add esp, 0xfffffff8
push esi
mov eax, dword [0x47452c]
push eax
call sub.cygtcl80.dll_Tcl_EvalFile
add esp, 0x20
test eax, eax
je 0x442f83
cmp dword [0x45e43c], 0
je 0x442f44
add esp, 0xfffffff8
push 0x442ca4
push 2
call fcn.0043f864
add esp, 0x10
jmp 0x442f83
mov eax, dword [ebp + 8]
push eax
push 0x442cc6
push 0x440a43
push 0x20
call fcn.00437adc
add esp, 0xfffffffc
push 1
push 0x442cde
mov eax, dword [0x47452c]
push eax
call sub.cygtcl80.dll_Tcl_GetVar
push eax
push 0x442ce8
push 0x440a43
push 0x20
call fcn.00437adc
add esp, 0x30
add esp, 0xfffffff4
push esi
call sub.cygwin1.dll_unlink
mov eax, 1
lea esp, [ebp - 0x468]
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret