Function at 0x1000f4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc4]
mov esi, dword [edi + 0x110]
xor ebx, ebx
and eax, 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0xc], ebx
cmp esi, ebx
je 0x1000f4fc
push ebx
push esi
lea eax, [ebx + 0x5e]
call fcn.100465f0
mov esi, dword [esi]
add esp, 8
add dword [esi + 0x10], 0x178
mov dword [esp + 0x14], eax
jmp 0x1000f526
push 0x178
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000f522
push 0x178
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0x110]
cmp esi, ebx
je 0x1000f54e
push 0
push esi
mov eax, 0xa
call fcn.100465f0
mov esi, dword [esi]
mov ebx, eax
add esp, 8
add dword [esi + 0x10], 0x28
mov dword [esp + 0x40], ebx
jmp 0x1000f574
push 0x28
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000f56e
push 0x28
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ebx, esi
mov dword [esp + 0x40], esi
push 0x50
push edi
call sym.tcl85.dll_TclStackAlloc
push 0x50
push edi
mov dword [esp + 0x54], eax
call sym.tcl85.dll_TclStackAlloc
push 0x50
push edi
mov dword [esp + 0x70], eax
call sym.tcl85.dll_TclStackAlloc
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x2a0]
add esp, 0x18
mov dword [esp + 0x1c], 0
test eax, eax
je 0x1000f5c1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1000f5ba
mov dword [esp + 0x1c], ecx
jmp 0x1000f5c1
add eax, 4
mov dword [esp + 0x1c], eax
mov esi, dword [ebp + 0x10]
test esi, esi
jge 0x1000f5db
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f5d0
sub eax, edx
mov esi, eax
push edi
call sym.tcl85.dll_Tcl_ResetResult
mov eax, dword [edi + 0x64]
add esp, 4
test dword [ebp + 0x14], 0x20000
mov dword [esp + 0x70], eax
je 0x1000f5fa
mov ecx, dword [edi + 0x70]
mov dword [edi + 0x64], ecx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], esi
test al, 8
je 0x1000f644
mov dword [ebx], 4
mov edx, dword [edi + 0x288]
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x18], eax
inc dword [eax]
jmp 0x1000f6c8
test al, 2
je 0x1000f6bb
mov dword [ebx], 4
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1000f677
push eax
push edi
call sym.tcl85.dll_Tcl_FSGetNormalizedPath
add esp, 8
test eax, eax
jne 0x1000f670
mov esi, 1
jmp 0x1000fdf0
mov dword [ebx + 0x18], eax
inc dword [eax]
jmp 0x1000f6c8
mov eax, dword [0x100d45d8]
test eax, eax
jne 0x1000f68a
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d45d8]
mov dword [ebx + 0x18], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [ebx + 0x18]
mov dword [0x100d45d8], eax
xor eax, eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x18]
mov ecx, dword [0x100d25c4]
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x18]
mov dword [edx + 8], eax
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x18]
inc dword [eax]
jmp 0x1000f6c8
mov dword [ebx], 0
mov dword [ebx + 0x18], 0
mov eax, dword [edi + 0x284]
xor ecx, ecx
cmp eax, ecx
je 0x1000f6da
mov eax, dword [eax + 4]
inc eax
jmp 0x1000f6df
mov eax, 1
mov dword [ebx + 4], eax
mov edx, dword [edi + 0x60]
mov dword [ebx + 0x10], edx
mov eax, dword [edi + 0x284]
mov dword [ebx + 0x14], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [edi + 0xc4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x1c]
push ecx
push 0
push edx
push esi
push edi
call sym.tcl85.dll_Tcl_ParseCommand
add esp, 0x14
test eax, eax
jne 0x1000f666
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
mov eax, esi
cmp esi, ecx
mov esi, dword [ebp + 0x18]
jae 0x1000f741
cmp byte [eax], 0xa
jne 0x1000f739
inc esi
inc eax
cmp eax, ecx
jb 0x1000f733
mov dword [ebp + 0x18], esi
mov edx, ecx
sub edx, dword [ebp + 0x20]
test ebx, ebx
je 0x1000f767
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
jl 0x1000f760
cmp edx, eax
jl 0x1000f760
inc esi
add ebx, 4
jne 0x1000f750
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov eax, dword [edi + 0x10]
mov dword [esp + 0x68], 1
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x1000fd02
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp dword [esp + 0x2c], 0x14
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jbe 0x1000f814
mov esi, dword [esp + 0x2c]
mov edi, dword [sym.imp.MSVCR90.dll_malloc]
add esi, esi
add esi, esi
push esi
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000f7ca
test esi, esi
je 0x1000f7ca
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push esi
mov dword [esp + 0x40], ebx
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000f7ec
test esi, esi
je 0x1000f7ec
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push esi
mov dword [esp + 0x1c], ebx
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000f80e
test esi, esi
je 0x1000f80e
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov dword [esp + 0x20], ebx
xor eax, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x2c], eax
jbe 0x1000fbef
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
sub edx, eax
sub eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
lea esp, [esp]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x24]
cmp eax, edx
jae 0x1000f87f
nop
cmp byte [eax], 0xa
jne 0x1000f876
inc esi
inc eax
cmp eax, edx
jb 0x1000f870
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x28]
mov ecx, edx
sub ecx, dword [ebp + 0x20]
test edi, edi
je 0x1000f8a8
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
jl 0x1000f8a0
cmp ecx, eax
jl 0x1000f8a0
inc esi
add edi, 4
jne 0x1000f890
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
push 0
mov eax, ebx
mov dword [esp + 0x64], edx
call fcn.100377b0
add esp, 4
test eax, eax
je 0x1000f8c0
mov eax, esi
jmp 0x1000f8c3
or eax, 0xffffffff
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x34]
lea edi, [ecx + edx]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x40]
mov dword [edi + ecx], eax
cmp dword [edx], 4
jne 0x1000f8e8
mov eax, dword [ebp + 8]
or dword [eax + 0xc4], 2
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [ebx + 0xc]
push ecx
push edx
mov edx, dword [ebp + 8]
push 0
push eax
lea ecx, [ebx + 0x10]
push ecx
push edx
call fcn.1007b8e0
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 0x1c
mov dword [eax + 0xc4], 0
test esi, esi
jne 0x1000fdf0
mov ecx, eax
push ecx
call sym.tcl85.dll_Tcl_GetObjResult
mov edx, dword [esp + 0x38]
mov dword [edx], eax
inc dword [eax]
add esp, 4
cmp dword [ebx], 0x100
jne 0x1000f9a6
mov eax, edx
mov esi, dword [eax]
mov eax, 0x100d2740
cmp dword [esi + 0xc], eax
je 0x1000f974
mov edx, dword [esi + 4]
cmp edx, dword [0x100d25c4]
jne 0x1000f95b
xor eax, eax
jmp 0x1000f97a
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.1006c9b0
add esp, 8
test eax, eax
je 0x1000f974
mov esi, eax
mov eax, dword [esp + 0x5c]
jmp 0x1000f980
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
xor esi, esi
cmp esi, 1
je 0x1000fdbd
mov dword [esp + 0x6c], 1
mov dword [edi], 1
test eax, eax
jne 0x1000f9a0
mov eax, 1
add dword [esp + 0x38], eax
jmp 0x1000f9b0
inc dword [esp + 0x38]
mov dword [edi], 0
cmp dword [esp + 0x28], 0
je 0x1000f9d1
mov edx, dword [esp + 0x60]
sub edx, dword [ebp + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx]
push edx
call fcn.10077370
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0xc]
add dword [esp + 0x34], 4
inc eax
shl edx, 4
mov dword [esp + 0xc], eax
lea ebx, [ebx + edx + 0x10]
cmp eax, dword [esp + 0x2c]
jb 0x1000f860
cmp dword [esp + 0x6c], 0
je 0x1000fbef
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x60], eax
lea edi, [ecx - 1]
cmp eax, 0x14
ja 0x1000fa27
cmp ecx, 0x14
jbe 0x1000fa87
mov esi, dword [esp + 0x38]
add esi, esi
add esi, esi
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000fa51
test esi, esi
je 0x1000fa51
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000fa7b
test esi, esi
je 0x1000fa7b
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc], 0
test eax, eax
je 0x1000fbb3
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
lea ebx, [ecx + edx*4]
mov edx, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x74], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x78], eax
jmp 0x1000fac0
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
sub ebx, 4
mov ecx, 1
sub dword [esp + 0x60], ecx
add eax, ebx
cmp dword [eax + edx], 0
je 0x1000fb90
mov esi, dword [ebx]
cmp dword [esi + 0xc], 0x100d2740
je 0x1000fb0c
mov eax, dword [0x100d25c4]
cmp dword [esi + 4], eax
jne 0x1000fafd
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x1000fb19
push esi
push 0
call fcn.1006c9b0
add esp, 8
test eax, eax
jne 0x1000fb1d
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
add eax, 0x10
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0xc], eax
test eax, eax
je 0x1000fb7a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [ecx + edi*4]
sub edx, ecx
sub edi, dword [esp + 0x30]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x30]
jmp 0x1000fb50
mov ecx, dword [esp + 0x64]
mov dword [edx + eax], 0xffffffff
mov ecx, dword [ecx + edi*4 - 4]
dec edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + edi*4]
inc dword [ecx]
sub eax, 4
test edi, edi
jne 0x1000fb50
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x6c]
dec dword [esp + 0x30]
dec dword [esi]
cmp dword [esi], 0
jg 0x1000fba8
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
jmp 0x1000fba8
mov edx, dword [eax]
mov eax, dword [esp + 0x48]
mov dword [eax + edi*4], edx
mov edx, dword [ebx]
mov eax, dword [esp + 0x10]
mov dword [eax + edi*4], edx
sub edi, ecx
add dword [esp + 0xc], ecx
cmp dword [esp + 0x60], 0
jne 0x1000fac0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
lea edx, [ecx + edi*4 + 4]
mov dword [esp + 0x10], edx
cmp dword [esp + 0x34], eax
je 0x1000fbd7
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x28], edx
je 0x1000fbef
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
lea edx, [edx + esi - 1]
cmp dword [eax + 0x30], edx
jne 0x1000fc15
dec dword [ecx + 0x24]
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ebx, dword [ebp + 8]
push edi
push esi
push ecx
push ebx
mov dword [edi + 0xc], esi
mov dword [edi + 8], eax
call fcn.1000ffa0
inc dword [ebx + 0x58]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push 0
mov dword [ebx + 0x284], edi
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
push ecx
push esi
push ebx
call fcn.1000ed70
mov edx, dword [ebx + 0x284]
dec dword [ebx + 0x58]
mov ecx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [edx + 0x14]
push ecx
mov dword [ebx + 0x284], eax
push ebx
mov ebx, dword [esp + 0x40]
call fcn.10010030
xor eax, eax
add esp, 0x30
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
cmp esi, eax
jne 0x1000fdf0
mov ebx, dword [esp + 0xc]
xor esi, esi
test ebx, ebx
jbe 0x1000fcb6
mov edi, dword [esp + 0x10]
mov eax, dword [edi + esi*4]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000fcb1
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
inc esi
cmp esi, ebx
jb 0x1000fc9e
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x44]
mov esi, dword [sym.imp.MSVCR90.dll_free]
mov dword [esp + 0xc], 0
cmp eax, edi
je 0x1000fcec
push eax
call esi
mov edx, dword [esp + 0x24]
add esp, 4
push edx
mov dword [esp + 0x1c], edi
call esi
mov eax, dword [esp + 0x58]
add esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x58]
cmp eax, edi
je 0x1000fd02
push eax
call esi
add esp, 4
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x50]
add eax, ecx
sub edx, eax
add dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
cmp ecx, eax
jae 0x1000fd31
mov edx, dword [ebp + 0x18]
cmp byte [ecx], 0xa
jne 0x1000fd29
inc edx
inc ecx
cmp ecx, eax
jb 0x1000fd23
mov dword [ebp + 0x18], edx
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x38]
cmp eax, esi
je 0x1000fd48
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [edi + 0x14], esi
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x68], esi
jg 0x1000f6fd
mov ecx, dword [esp + 0x70]
mov dword [edi + 0x64], ecx
mov ebx, dword [esp + 0x40]
cmp dword [ebx], 4
jne 0x1000fd7e
mov eax, dword [ebx + 0x18]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000fd7e
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov edx, dword [esp + 0x54]
push edx
push edi
call sym.tcl85.dll_TclStackFree
mov eax, dword [esp + 0x60]
push eax
push edi
call sym.tcl85.dll_TclStackFree
mov ecx, dword [esp + 0x54]
push ecx
push edi
call sym.tcl85.dll_TclStackFree
push ebx
push edi
call sym.tcl85.dll_TclStackFree
mov edx, dword [esp + 0x34]
push edx
push edi
call sym.tcl85.dll_TclStackFree
add esp, 0x28
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0xc]
push edi
push str._n_____expanding_word__d_
call sym.tcl85.dll_Tcl_ObjPrintf
push eax
mov eax, dword [ebp + 8]
push eax
call sym.tcl85.dll_Tcl_AppendObjToErrorInfo
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + edi*4]
dec dword [eax]
add esp, 0x10
cmp dword [eax], 0
jg 0x1000fdf0
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov edi, dword [ebp + 8]
cmp dword [edi + 0x58], 0
jne 0x1000feb1
cmp esi, 2
jne 0x1000fe44
add dword [edi + 0x20c], 0xffffffff
jns 0x1000fe18
push str.TclUpdateReturnInfo:_negative_return_level
call sym.tcl85.dll_Tcl_Panic
add esp, 4
cmp dword [edi + 0x20c], 0
jne 0x1000fe44
mov esi, dword [edi + 0x6c]
mov dword [edi + 0x20c], 1
mov dword [edi + 0x6c], 0
cmp esi, 1
jne 0x1000fe44
or dword [edi + 0x100], 0x800
test esi, esi
je 0x1000feb1
cmp esi, 1
je 0x1000feb6
cmp dword [esp + 0x7c], 0
jne 0x1000feb1
push edi
call sym.tcl85.dll_Tcl_ResetResult
add esp, 4
cmp esi, 3
jne 0x1000fe79
push 0
push str.invoked__break__outside_of_a_loop
push edi
call sym.tcl85.dll_Tcl_AppendResult
add esp, 0xc
mov esi, 1
jmp 0x1000feb6
cmp esi, 4
jne 0x1000fe95
push 0
push str.invoked__continue__outside_of_a_loop
push edi
call sym.tcl85.dll_Tcl_AppendResult
add esp, 0xc
mov esi, 1
jmp 0x1000feb6
push esi
push str.command_returned_bad_code:__d
call sym.tcl85.dll_Tcl_ObjPrintf
push eax
push edi
call sym.tcl85.dll_Tcl_SetObjResult
add esp, 0x10
mov esi, 1
jmp 0x1000feb6
cmp esi, 1
jne 0x1000fee2
test byte [edi + 0x100], 4
jne 0x1000fee2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 8]
lea ebx, [ecx + eax - 1]
cmp dword [edx + 0x30], ebx
jne 0x1000fed3
dec eax
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
push edi
call sym.tcl85.dll_Tcl_LogCommandInfo
add esp, 0x10
and dword [edi + 0x100], 0xfffffffb
xor ebx, ebx
cmp dword [esp + 0xc], ebx
jbe 0x1000ff0f
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000ff08
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
inc ebx
cmp ebx, dword [esp + 0xc]
jb 0x1000fef1
cmp dword [esp + 0x68], 0
je 0x1000ff35
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
lea ebx, [ecx + 0x38]
cmp eax, ebx
je 0x1000ff35
push eax
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x14], ebx
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.MSVCR90.dll_free]
cmp eax, dword [esp + 0x44]
je 0x1000ff55
push eax
call ebx
mov edx, dword [esp + 0x24]
add esp, 4
push edx
call ebx
add esp, 4
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x58]
je 0x1000ff65
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x70]
mov dword [edi + 0x64], eax
jmp 0x1000fd62