Function at 0x1000ae70
Capabilities:
Query environment variable
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
call fcn.10045090
push 0x328
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x1000aeb4
push 0x328
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
lea eax, [edi + 0x118]
mov dword [edi], eax
mov eax, dword [0x100d3554]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp eax, ebx
jne 0x1000aed5
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d3554]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x100d15c4]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [edi + 0x1e4], eax
inc dword [eax]
push 8
mov dword [0x100d3554], ecx
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000af17
push 8
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov dword [esi], edi
mov dword [esi + 4], ebx
push 0x38
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], 0x3e8
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x284], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000af5e
push 0x38
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push 0x38
mov dword [edi + 0x290], esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000af84
push 0x38
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push 0x38
mov dword [edi + 0x294], esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000afaa
push 0x38
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push 0x38
mov dword [edi + 0x29c], esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000afd0
push 0x38
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov eax, dword [edi + 0x290]
mov dword [edi + 0x298], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], 0xc
mov dword [eax + 0x20], 0x1c
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 1
mov dword [eax + 0x2c], 0x10054990
lea ecx, [eax + 4]
mov dword [eax], ecx
mov esi, 4
mov dword [eax + 0x14], esi
mov edx, fcn.100549c0
mov dword [eax + 0x30], edx
mov eax, dword [edi + 0x294]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], 0xc
mov dword [eax + 0x20], 0x1c
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 1
mov dword [eax + 0x2c], 0x10054990
mov dword [eax + 0x30], edx
lea ecx, [eax + 4]
mov dword [eax], ecx
mov eax, dword [edi + 0x29c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], 0xc
mov dword [eax + 0x20], 0x1c
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 1
mov dword [eax + 0x2c], 0x10054990
mov dword [eax + 0x30], edx
lea ecx, [eax + 4]
mov dword [eax], ecx
mov eax, dword [edi + 0x298]
lea ecx, [eax + 4]
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov dword [ecx], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], 0xc
mov dword [eax + 0x20], 0x1c
mov dword [eax + 0x24], 3
mov dword [eax + 0x28], 1
mov dword [eax + 0x2c], 0x10054990
mov dword [eax + 0x30], edx
mov dword [edi + 0x2a0], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x1f8], ebx
mov dword [edi + 0x1fc], ebx
cmp dword [0x100d3554], ebx
jne 0x1000b10d
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d3554]
mov dword [edi + 0x200], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x200]
push 0xc
mov dword [0x100d3554], eax
mov dword [ecx], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1000b14a
push 0xc
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov edx, dword [edi + 0x200]
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [edi + 0x200]
mov eax, dword [ecx + 4]
mov edx, dword [str.::errorInfo]
mov dword [eax], edx
mov ecx, dword [0x100bbec0]
mov dword [eax + 4], ecx
mov dx, word [0x100bbec4]
mov word [eax + 8], dx
mov cl, byte [0x100bbec6]
mov byte [eax + 0xa], cl
mov edx, dword [edi + 0x200]
mov eax, dword [edx + 4]
mov byte [eax + 0xb], bl
mov ecx, dword [edi + 0x200]
mov dword [ecx + 8], 0xb
mov edx, dword [edi + 0x200]
mov dword [edx + 0xc], ebx
mov eax, dword [edi + 0x200]
inc dword [eax]
mov dword [edi + 0x204], ebx
cmp dword [0x100d3554], ebx
jne 0x1000b1c2
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d3554]
mov dword [edi + 0x208], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x208]
push 0xc
mov dword [0x100d3554], eax
mov dword [ecx], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1000b1ff
push 0xc
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov edx, dword [edi + 0x208]
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
mov edx, dword [str.::errorCode]
mov ecx, dword [edi + 0x208]
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov ecx, dword [0x100bbecc]
mov dword [eax + 4], ecx
mov dx, word [0x100bbed0]
mov word [eax + 8], dx
mov cl, byte [0x100bbed2]
mov byte [eax + 0xa], cl
mov edx, dword [edi + 0x208]
mov eax, dword [edx + 4]
mov byte [eax + 0xb], bl
mov ecx, dword [edi + 0x208]
mov dword [ecx + 8], 0xb
mov edx, dword [edi + 0x208]
mov dword [edx + 0xc], ebx
mov eax, dword [edi + 0x208]
inc dword [eax]
mov dword [edi + 0x20c], 1
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
lea eax, [edi + 0x88]
mov dword [edi + 0x84], eax
mov dword [edi + 0x8c], ebx
mov dword [eax], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x98], esi
mov dword [edi + 0x9c], ebx
mov dword [edi + 0xa0], 0xc
mov dword [edi + 0xa4], 0x1c
mov dword [edi + 0xa8], 3
mov dword [edi + 0xac], ebx
mov dword [edi + 0xb0], 0x10054990
mov dword [edi + 0xb4], fcn.100549c0
push str.TCL_PKG_PREFER_LATEST
mov dword [edi + 0xbc], ebx
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
neg eax
sbb eax, eax
mov dword [edi + 0xc0], ebx
inc eax
mov dword [edi + 0x2a4], eax
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xdc], ebx
mov dword [edi + 0xd8], ebx
mov dword [edi + 0xe0], esi
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe8], 0xc
mov dword [edi + 0xec], 3
lea eax, [edi + 0xd0]
mov dword [edi + 0xcc], eax
mov eax, dword [0x100d3554]
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
mov dword [edi + 0xf8], ebx
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xfc], ebx
mov dword [edi + 0x100], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x1f4], ebx
mov dword [edi + 0x1ec], ebx
mov dword [edi + 0x1f0], ebx
mov dword [edi + 0x10c], ebx
mov dword [edi + 0x110], ebx
cmp eax, ebx
jne 0x1000b3ab
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d3554]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x100d15c4]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [edi + 0x114], eax
inc dword [eax]
mov dword [0x100d3554], ecx
mov byte [edi + 0x118], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.TCL_INTERP_DEBUG_FRAME
mov dword [edi + 0x1e8], eax
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x1000b3f8
or dword [edi + 0x100], 0x10
mov dword [edi + 0x2ac], ebx
mov dword [edi + 0x2b0], ebx
mov dword [edi + 0x2b8], ebx
mov dword [edi + 0x2b4], ebx
mov dword [edi + 0x2bc], esi
mov dword [edi + 0x2c0], ebx
mov dword [edi + 0x2c4], 0xc
mov dword [edi + 0x2c8], 0x1c
mov dword [edi + 0x2cc], 3
mov dword [edi + 0x2d0], 1
push ebx
lea eax, [edi + 0x2ac]
mov dword [edi + 0x2a8], eax
mov edx, 0x10054990
mov dword [edi + 0x2d4], edx
mov ecx, fcn.100549c0
mov dword [edi + 0x2d8], ecx
push ebx
lea eax, [edi + 0x2e4]
push 0x100bb739
mov dword [edi + 0x2e0], eax
mov dword [edi + 0x2e8], ebx
mov dword [eax], ebx
mov dword [edi + 0x2f0], ebx
mov dword [edi + 0x2ec], ebx
mov dword [edi + 0x2f4], esi
mov dword [edi + 0x2f8], ebx
mov dword [edi + 0x2fc], 0xc
mov dword [edi + 0x300], 0x1c
mov dword [edi + 0x304], 3
mov dword [edi + 0x308], 1
mov dword [edi + 0x30c], edx
mov dword [edi + 0x310], ecx
push edi
mov dword [edi + 0x14], ebx
call sym.tcl85.dll_Tcl_CreateNamespace
add esp, 0x10
mov dword [edi + 0x14], eax
cmp eax, ebx
jne 0x1000b4ed
push str.Tcl_CreateInterp:_cant_create_global_namespace
call sym.tcl85.dll_Tcl_Panic
add esp, 4
push 0x34
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000b50d
push 0x34
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov eax, dword [edi + 0x14]
push ebx
push eax
push esi
push edi
call sym.tcl85.dll_Tcl_PushCallFrame
add esp, 0x10
test eax, eax
je 0x1000b52d
push str.Tcl_CreateInterp:_failed_to_push_the_root_stack_frame
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov dword [esi + 8], ebx
mov dword [edi + 0x60], esi
mov dword [edi + 0x64], esi
mov dword [edi + 0x70], esi
call fcn.10045660
mov dword [edi + 0x110], eax
mov eax, edi
mov dword [edi + 0x280], ebx
mov dword [edi + 0xc], 0x100d0a70
mov dword [edi + 0x274], ebx
mov dword [edi + 0x278], ebx
mov dword [edi + 0x27c], ebx
call fcn.10059070
mov dword [edi + 0x318], ebx
mov dword [edi + 0x31c], ebx
call fcn.1000ae10
lea ecx, [edi + 0x324]
push ecx
mov dword [edi + 0x320], eax
call fcn.1009e370
add esp, 4
cmp dword [str.append], ebx
je 0x1000b658
mov esi, 0x100b932c
mov dword [esp + 0x14], esi
cmp dword [esi], ebx
jne 0x1000b5bb
cmp dword [esi + 4], ebx
jne 0x1000b5bb
push str.builtin_command_with_NULL_object_command_proc_and_a_NULL_compile_proc
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov eax, dword [edi + 0x14]
mov ecx, dword [esi - 4]
lea edx, [esp + 0x18]
push edx
lea edx, [eax + 0x60]
mov eax, dword [eax + 0x90]
push ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], ebx
je 0x1000b648
push 0x38
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000b600
push 0x38
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 4], edx
mov dword [esi + 8], 1
mov dword [esi + 0xc], ebx
mov edx, dword [eax + 4]
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], sym.tcl85.dll_TclInvokeObjectCommand
mov dword [esi + 0x20], esi
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [ecx + 0xc], esi
mov esi, dword [esp + 0x14]
add esi, 0x10
mov dword [esp + 0x14], esi
cmp dword [esi - 4], ebx
jne 0x1000b5a5
push edi
call fcn.100642f0
add esp, 4
push 0x100b8310
mov edx, str.dict
mov ecx, edi
call fcn.10073e40
add esp, 4
push 0x100b9078
mov edx, str.info
mov ecx, edi
call fcn.10073e40
add esp, 4
push 0x100b8f60
mov edx, str.string
mov ecx, edi
call fcn.10073e40
add esp, 4
mov ebx, edi
call fcn.10013400
push 0
push 0
push 0x100444c0
push str.::tcl::Bgerror
push edi
call sym.tcl85.dll_Tcl_CreateObjCommand
add esp, 0x14
push 0
push 0
push 0x10083c80
push str.::tcl::unsupported::disassemble
push edi
call sym.tcl85.dll_Tcl_CreateObjCommand
add esp, 0x14
push 0
push 0
push str.::tcl::mathfunc
push edi
call sym.tcl85.dll_Tcl_CreateNamespace
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000b6f7
push str.Cant_create_math_function_namespace
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov eax, dword [0x100bc028]
mov ecx, dword [str.::tcl::mathfunc::]
mov edx, dword [0x100bc024]
mov dword [esp + 0x24], eax
mov eax, dword [0x100b9828]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x100bc02c]
mov dword [esp + 0x20], edx
mov dx, word [0x100bc030]
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], dx
mov ebx, 0x100b9828
test eax, eax
je 0x1000b77b
lea edx, [esp + 0x2d]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000b740
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push 0
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push edi
call sym.tcl85.dll_Tcl_CreateObjCommand
mov eax, dword [ebx]
add esp, 0x14
push 0
push eax
push esi
push edi
call sym.tcl85.dll_Tcl_Export
mov eax, dword [ebx + 0xc]
add ebx, 0xc
add esp, 0x10
test eax, eax
jne 0x1000b738
push 0
push 0
push str.::tcl::mathop
push edi
call sym.tcl85.dll_Tcl_CreateNamespace
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1000b7a0
push str.cant_create_math_operator_namespace
call sym.tcl85.dll_Tcl_Panic
add esp, 4
push 1
push 0x100bbb54
push esi
push edi
call sym.tcl85.dll_Tcl_Export
mov ecx, dword [str.::tcl::mathop::]
mov edx, dword [0x100bc070]
mov eax, dword [0x100bc074]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x100bc078]
add esp, 0x10
cmp dword [0x100b9990], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov ebx, 0x100b9990
je 0x1000b876
lea ebx, [ebx]
push 0xc
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000b810
push 0xc
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov edx, dword [ebx]
mov dword [esi], edx
mov eax, dword [ebx + 0xc]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x10]
mov dword [esi + 4], ecx
mov eax, dword [ebx]
lea edx, [esp + 0x2b]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1000b828
mov edx, dword [ebx + 4]
push sym.tcl85.dll_Tcl_Free
push esi
push edx
lea eax, [esp + 0x28]
push eax
push edi
call sym.tcl85.dll_Tcl_CreateObjCommand
add esp, 0x14
test eax, eax
jne 0x1000b860
mov ecx, dword [ebx]
push ecx
push str.failed_to_create_math_operator__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
jmp 0x1000b86a
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1000b86a
mov dword [eax + 0x10], ecx
add ebx, 0x14
cmp dword [ebx], 0
jne 0x1000b7f0
push edi
call sym.tcl85.dll_TclInterpInit
add esp, 4
push edi
call sym.tcl85.dll_TclSetupEnv
add esp, 4
push str.cp1252
push 0x100d14e8
push 0x100c51d8
push edi
call sym.tcl85.dll_Tcl_RegisterConfig
push 0xffffffffffffffff
push str.littleEndian
call sym.tcl85.dll_Tcl_NewStringObj
push 0xffffffffffffffff
push str.tcl_platform
mov dword [esp + 0x30], eax
call sym.tcl85.dll_Tcl_NewStringObj
mov ebx, eax
inc dword [ebx]
push 0xffffffffffffffff
push str.byteOrder
call sym.tcl85.dll_Tcl_NewStringObj
mov edx, dword [esp + 0x38]
push 1
push edx
mov esi, eax
inc dword [esi]
push esi
push ebx
push edi
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [ebx]
add esp, 0x3c
cmp dword [ebx], 0
mov dword [esp + 0x10], eax
jg 0x1000b8f3
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
dec dword [esi]
cmp dword [esi], 0
jg 0x1000b903
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000b936
cmp dword [esi + 4], 0
jne 0x1000b936
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000b92a
mov eax, dword [eax]
push eax
push str.UpdateStringProc_should_not_be_invoked_for_type__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xc]
push esi
call edx
add esp, 4
mov esi, dword [0x100d3554]
test esi, esi
jne 0x1000b97d
push 0x960
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000b966
push 0x960
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor esi, esi
mov eax, ebx
mov ecx, 0x64
nop
mov dword [eax + 0x10], esi
mov esi, eax
add eax, 0x18
sub ecx, 1
jne 0x1000b970
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push str.tcl_platform
mov dword [0x100d3554], ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [eax], 4
mov dword [esi + 0xc], 0x100d1604
call sym.tcl85.dll_Tcl_NewStringObj
mov ebx, eax
inc dword [ebx]
push 0xffffffffffffffff
push str.wordSize
call sym.tcl85.dll_Tcl_NewStringObj
inc dword [eax]
push 1
push esi
push eax
push ebx
push edi
mov dword [esp + 0x34], eax
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [ebx]
add esp, 0x24
cmp dword [ebx], 0
jg 0x1000b9e3
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov eax, dword [esp + 0x10]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000b9f7
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov esi, dword [0x100d3554]
test esi, esi
jne 0x1000ba3d
push 0x960
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000ba27
push 0x960
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
xor esi, esi
mov eax, ebx
mov ecx, 0x64
mov dword [eax + 0x10], esi
mov esi, eax
add eax, 0x18
sub ecx, 1
jne 0x1000ba30
mov edx, dword [esi + 0x10]
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push str.tcl_platform
mov dword [0x100d3554], edx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [eax], 4
mov dword [esi + 0xc], 0x100d1604
call sym.tcl85.dll_Tcl_NewStringObj
mov ebx, eax
inc dword [ebx]
push 0xffffffffffffffff
push str.pointerSize
call sym.tcl85.dll_Tcl_NewStringObj
inc dword [eax]
push 1
push esi
push eax
push ebx
push edi
mov dword [esp + 0x34], eax
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [ebx]
add esp, 0x24
cmp dword [ebx], 0
jg 0x1000baa3
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov eax, dword [esp + 0x10]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000bab7
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
push 0xffffffffffffffff
push 0x100bc0e4
call sym.tcl85.dll_Tcl_NewStringObj
push 0xffffffffffffffff
push str.tcl_patchLevel
mov ebx, eax
call sym.tcl85.dll_Tcl_NewStringObj
push 1
push ebx
mov esi, eax
inc dword [esi]
push 0
push esi
push edi
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [esi]
add esp, 0x24
cmp dword [esi], 0
mov ebx, eax
jg 0x1000baf6
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
test ebx, ebx
je 0x1000bb25
cmp dword [ebx + 4], 0
jne 0x1000bb25
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000bb19
mov eax, dword [eax]
push eax
push str.UpdateStringProc_should_not_be_invoked_for_type__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
push ebx
call edx
add esp, 4
push 0xffffffffffffffff
push 0x100bc0fc
call sym.tcl85.dll_Tcl_NewStringObj
push 0xffffffffffffffff
push str.tcl_version
mov ebx, eax
call sym.tcl85.dll_Tcl_NewStringObj
push 1
push ebx
mov esi, eax
inc dword [esi]
push 0
push esi
push edi
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [esi]
add esp, 0x24
cmp dword [esi], 0
mov ebx, eax
jg 0x1000bb64
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
test ebx, ebx
je 0x1000bb93
cmp dword [ebx + 4], 0
jne 0x1000bb93
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000bb87
mov eax, dword [eax]
push eax
push str.UpdateStringProc_should_not_be_invoked_for_type__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx + 0xc]
push ebx
call edx
add esp, 4
push 0x10
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000bbb3
push 0x10
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push str.tcl_precision
xor edx, edx
mov ebx, edi
mov dword [esi], sym.tcl85.dll_TclPrecTraceProc
mov dword [esi + 4], 0
mov dword [esi + 8], 0x71
call fcn.10093ec0
add esp, 4
test eax, eax
je 0x1000bbe6
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push edi
call fcn.100a75a0
add esp, 4
push 0x100d0a70
push 0x100bc0e4
push 0x100bc11c
push edi
call sym.tcl85.dll_Tcl_PkgProvideEx
push edi
call fcn.1008f7d0
add esp, 0x14
push 0x100d0948
push 0x100bc0e4
push str.tcl::tommath
push edi
call sym.tcl85.dll_Tcl_PkgProvideEx
add esp, 0x10
test eax, eax
je 0x1000bc71
push edi
call sym.tcl85.dll_Tcl_GetObjResult
mov esi, eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
jne 0x1000bc63
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000bc54
mov eax, dword [eax]
push eax
push str.UpdateStringProc_should_not_be_invoked_for_type__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + 0xc]
push esi
call edx
mov eax, dword [esi + 4]
add esp, 4
push eax
push 0x100bc120
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov ecx, dword [esp + 0x3c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b1b48
mov esp, ebp
pop ebp
ret