Function at 0x1000e6b0
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 0x1000e6fc
push ebx
push esi
lea eax, [ebx + 0x5e]
call fcn.100458c0
mov esi, dword [esi]
add esp, 8
add dword [esi + 0x10], 0x178
mov dword [esp + 0x14], eax
jmp 0x1000e726
push 0x178
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000e722
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 0x1000e74e
push 0
push esi
mov eax, 0xa
call fcn.100458c0
mov esi, dword [esi]
mov ebx, eax
add esp, 8
add dword [esi + 0x10], 0x28
mov dword [esp + 0x40], ebx
jmp 0x1000e774
push 0x28
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000e76e
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 0x1000e7c1
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x1000e7ba
mov dword [esp + 0x1c], ecx
jmp 0x1000e7c1
add eax, 4
mov dword [esp + 0x1c], eax
mov esi, dword [ebp + 0x10]
test esi, esi
jge 0x1000e7db
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000e7d0
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 0x1000e7fa
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 0x1000e844
mov dword [ebx], 4
mov edx, dword [edi + 0x288]
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x18], eax
inc dword [eax]
jmp 0x1000e8c8
test al, 2
je 0x1000e8bb
mov dword [ebx], 4
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x1000e877
push eax
push edi
call sym.tcl85.dll_Tcl_FSGetNormalizedPath
add esp, 8
test eax, eax
jne 0x1000e870
mov esi, 1
jmp 0x1000eff0
mov dword [ebx + 0x18], eax
inc dword [eax]
jmp 0x1000e8c8
mov eax, dword [0x100d3554]
test eax, eax
jne 0x1000e88a
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d3554]
mov dword [ebx + 0x18], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [ebx + 0x18]
mov dword [0x100d3554], eax
xor eax, eax
mov dword [ecx], eax
mov edx, dword [ebx + 0x18]
mov ecx, dword [0x100d15c4]
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 0x1000e8c8
mov dword [ebx], 0
mov dword [ebx + 0x18], 0
mov eax, dword [edi + 0x284]
xor ecx, ecx
cmp eax, ecx
je 0x1000e8da
mov eax, dword [eax + 4]
inc eax
jmp 0x1000e8df
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 0x1000e866
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
mov eax, esi
cmp esi, ecx
mov esi, dword [ebp + 0x18]
jae 0x1000e941
cmp byte [eax], 0xa
jne 0x1000e939
inc esi
inc eax
cmp eax, ecx
jb 0x1000e933
mov dword [ebp + 0x18], esi
mov edx, ecx
sub edx, dword [ebp + 0x20]
test ebx, ebx
je 0x1000e967
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
jl 0x1000e960
cmp edx, eax
jl 0x1000e960
inc esi
add ebx, 4
jne 0x1000e950
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 0x1000ef02
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 0x1000ea14
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 0x1000e9ca
test esi, esi
je 0x1000e9ca
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 0x1000e9ec
test esi, esi
je 0x1000e9ec
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 0x1000ea0e
test esi, esi
je 0x1000ea0e
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 0x1000edef
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 0x1000ea7f
nop
cmp byte [eax], 0xa
jne 0x1000ea76
inc esi
inc eax
cmp eax, edx
jb 0x1000ea70
mov dword [esp + 0x24], esi
mov edi, dword [esp + 0x28]
mov ecx, edx
sub ecx, dword [ebp + 0x20]
test edi, edi
je 0x1000eaa8
lea esp, [esp]
mov eax, dword [edi]
test eax, eax
jl 0x1000eaa0
cmp ecx, eax
jl 0x1000eaa0
inc esi
add edi, 4
jne 0x1000ea90
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
push 0
mov eax, ebx
mov dword [esp + 0x64], edx
call fcn.10036a90
add esp, 4
test eax, eax
je 0x1000eac0
mov eax, esi
jmp 0x1000eac3
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 0x1000eae8
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.1007a8e0
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 0x1c
mov dword [eax + 0xc4], 0
test esi, esi
jne 0x1000eff0
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 0x1000eba6
mov eax, edx
mov esi, dword [eax]
mov eax, 0x100d1740
cmp dword [esi + 0xc], eax
je 0x1000eb74
mov edx, dword [esi + 4]
cmp edx, dword [0x100d15c4]
jne 0x1000eb5b
xor eax, eax
jmp 0x1000eb7a
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.1006bae0
add esp, 8
test eax, eax
je 0x1000eb74
mov esi, eax
mov eax, dword [esp + 0x5c]
jmp 0x1000eb80
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
xor esi, esi
cmp esi, 1
je 0x1000efbd
mov dword [esp + 0x6c], 1
mov dword [edi], 1
test eax, eax
jne 0x1000eba0
mov eax, 1
add dword [esp + 0x38], eax
jmp 0x1000ebb0
inc dword [esp + 0x38]
mov dword [edi], 0
cmp dword [esp + 0x28], 0
je 0x1000ebd1
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.100763b0
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 0x1000ea60
cmp dword [esp + 0x6c], 0
je 0x1000edef
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 0x1000ec27
cmp ecx, 0x14
jbe 0x1000ec87
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 0x1000ec51
test esi, esi
je 0x1000ec51
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 0x1000ec7b
test esi, esi
je 0x1000ec7b
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 0x1000edb3
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 0x1000ecc0
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 0x1000ed90
mov esi, dword [ebx]
cmp dword [esi + 0xc], 0x100d1740
je 0x1000ed0c
mov eax, dword [0x100d15c4]
cmp dword [esi + 4], eax
jne 0x1000ecfd
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x1000ed19
push esi
push 0
call fcn.1006bae0
add esp, 8
test eax, eax
jne 0x1000ed1d
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 0x1000ed7a
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 0x1000ed50
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 0x1000ed50
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x6c]
dec dword [esp + 0x30]
dec dword [esi]
cmp dword [esi], 0
jg 0x1000eda8
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
jmp 0x1000eda8
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 0x1000ecc0
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 0x1000edd7
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 0x1000edef
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 0x1000ee15
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.1000f1a0
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.1000df70
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.1000f230
xor eax, eax
add esp, 0x30
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
cmp esi, eax
jne 0x1000eff0
mov ebx, dword [esp + 0xc]
xor esi, esi
test ebx, ebx
jbe 0x1000eeb6
mov edi, dword [esp + 0x10]
mov eax, dword [edi + esi*4]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000eeb1
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
inc esi
cmp esi, ebx
jb 0x1000ee9e
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 0x1000eeec
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 0x1000ef02
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 0x1000ef31
mov edx, dword [ebp + 0x18]
cmp byte [ecx], 0xa
jne 0x1000ef29
inc edx
inc ecx
cmp ecx, eax
jb 0x1000ef23
mov dword [ebp + 0x18], edx
mov eax, dword [edi + 0x14]
lea esi, [edi + 0x38]
cmp eax, esi
je 0x1000ef48
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 0x1000e8fd
mov ecx, dword [esp + 0x70]
mov dword [edi + 0x64], ecx
mov ebx, dword [esp + 0x40]
cmp dword [ebx], 4
jne 0x1000ef7e
mov eax, dword [ebx + 0x18]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000ef7e
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 0x1000eff0
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov edi, dword [ebp + 8]
cmp dword [edi + 0x58], 0
jne 0x1000f0b1
cmp esi, 2
jne 0x1000f044
add dword [edi + 0x20c], 0xffffffff
jns 0x1000f018
push str.TclUpdateReturnInfo:_negative_return_level
call sym.tcl85.dll_Tcl_Panic
add esp, 4
cmp dword [edi + 0x20c], 0
jne 0x1000f044
mov esi, dword [edi + 0x6c]
mov dword [edi + 0x20c], 1
mov dword [edi + 0x6c], 0
cmp esi, 1
jne 0x1000f044
or dword [edi + 0x100], 0x800
test esi, esi
je 0x1000f0b1
cmp esi, 1
je 0x1000f0b6
cmp dword [esp + 0x7c], 0
jne 0x1000f0b1
push edi
call sym.tcl85.dll_Tcl_ResetResult
add esp, 4
cmp esi, 3
jne 0x1000f079
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 0x1000f0b6
cmp esi, 4
jne 0x1000f095
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 0x1000f0b6
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 0x1000f0b6
cmp esi, 1
jne 0x1000f0e2
test byte [edi + 0x100], 4
jne 0x1000f0e2
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 0x1000f0d3
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 0x1000f10f
mov eax, dword [esp + 0x10]
mov eax, dword [eax + ebx*4]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000f108
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
inc ebx
cmp ebx, dword [esp + 0xc]
jb 0x1000f0f1
cmp dword [esp + 0x68], 0
je 0x1000f135
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
lea ebx, [ecx + 0x38]
cmp eax, ebx
je 0x1000f135
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 0x1000f155
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 0x1000f165
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x70]
mov dword [edi + 0x64], eax
jmp 0x1000ef62