Function at 0x1000bb70
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.10045dd0
push 0x328
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
jne 0x1000bbb4
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 [0x100d45d8]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
cmp eax, ebx
jne 0x1000bbd5
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d45d8]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x100d25c4]
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 [0x100d45d8], ecx
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000bc17
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 0x1000bc5e
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 0x1000bc84
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 0x1000bcaa
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 0x1000bcd0
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 + 0x30], fcn.10055740
lea ecx, [eax + 4]
mov dword [eax], ecx
mov esi, 4
mov dword [eax + 0x14], esi
mov edx, 0x10055710
mov dword [eax + 0x2c], 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], edx
mov dword [eax + 0x30], fcn.10055740
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], edx
mov dword [eax + 0x30], fcn.10055740
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], edx
mov dword [eax + 0x30], fcn.10055740
mov dword [edi + 0x2a0], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x1f8], ebx
mov dword [edi + 0x1fc], ebx
cmp dword [0x100d45d8], ebx
jne 0x1000be0d
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d45d8]
mov dword [edi + 0x200], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x200]
push 0xc
mov dword [0x100d45d8], eax
mov dword [ecx], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1000be4a
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 [0x100bd180]
mov dword [eax + 4], ecx
mov dx, word [0x100bd184]
mov word [eax + 8], dx
mov cl, byte [0x100bd186]
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 [0x100d45d8], ebx
jne 0x1000bec2
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d45d8]
mov dword [edi + 0x208], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [edi + 0x208]
push 0xc
mov dword [0x100d45d8], eax
mov dword [ecx], ebx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x1000beff
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 [0x100bd18c]
mov dword [eax + 4], ecx
mov dx, word [0x100bd190]
mov word [eax + 8], dx
mov cl, byte [0x100bd192]
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], 0x10055710
mov dword [edi + 0xb4], fcn.10055740
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 [0x100d45d8]
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 0x1000c0ab
call sym.tcl85.dll_TclAllocateFreeObjects
mov eax, dword [0x100d45d8]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x100d25c4]
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 [0x100d45d8], 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 0x1000c0f8
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, 0x10055710
mov dword [edi + 0x2d4], edx
mov ecx, fcn.10055740
mov dword [edi + 0x2d8], ecx
push ebx
lea eax, [edi + 0x2e4]
push 0x100bc9f9
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 0x1000c1ed
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 0x1000c20d
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 0x1000c22d
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.10046390
mov dword [edi + 0x110], eax
mov eax, edi
mov dword [edi + 0x280], ebx
mov dword [edi + 0xc], 0x100d1a70
mov dword [edi + 0x274], ebx
mov dword [edi + 0x278], ebx
mov dword [edi + 0x27c], ebx
call fcn.10059df0
mov dword [edi + 0x318], ebx
mov dword [edi + 0x31c], ebx
call fcn.1000bb10
lea ecx, [edi + 0x324]
push ecx
mov dword [edi + 0x320], eax
call fcn.1009f450
add esp, 4
cmp dword [str.append], ebx
je 0x1000c358
mov esi, 0x100ba50c
mov dword [esp + 0x14], esi
cmp dword [esi], ebx
jne 0x1000c2bb
cmp dword [esi + 4], ebx
jne 0x1000c2bb
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 0x1000c348
push 0x38
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1000c300
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 0x1000c2a5
push edi
call fcn.10064da0
add esp, 4
push 0x100b94f0
mov edx, str.dict
mov ecx, edi
call fcn.10074e10
add esp, 4
push 0x100ba258
mov edx, str.info
mov ecx, edi
call fcn.10074e10
add esp, 4
push 0x100ba140
mov edx, str.string
mov ecx, edi
call fcn.10074e10
add esp, 4
mov ebx, edi
call fcn.100142f0
push 0
push 0
push 0x100451f0
push str.::tcl::Bgerror
push edi
call sym.tcl85.dll_Tcl_CreateObjCommand
add esp, 0x14
push 0
push 0
push 0x10084c30
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 0x1000c3f7
push str.Cant_create_math_function_namespace
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov eax, dword [0x100bd2e8]
mov ecx, dword [str.::tcl::mathfunc::]
mov edx, dword [0x100bd2e4]
mov dword [esp + 0x24], eax
mov eax, dword [0x100baa08]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x100bd2ec]
mov dword [esp + 0x20], edx
mov dx, word [0x100bd2f0]
mov dword [esp + 0x28], ecx
mov word [esp + 0x2c], dx
mov ebx, 0x100baa08
test eax, eax
je 0x1000c47b
lea edx, [esp + 0x2d]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1000c440
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 0x1000c438
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 0x1000c4a0
push str.cant_create_math_operator_namespace
call sym.tcl85.dll_Tcl_Panic
add esp, 4
push 1
push 0x100bce14
push esi
push edi
call sym.tcl85.dll_Tcl_Export
mov ecx, dword [str.::tcl::mathop::]
mov edx, dword [0x100bd330]
mov eax, dword [0x100bd334]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x100bd338]
add esp, 0x10
cmp dword [0x100bab70], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov ebx, 0x100bab70
je 0x1000c576
lea ebx, [ebx]
push 0xc
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000c510
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 [eax + edx], cl
inc eax
test cl, cl
jne 0x1000c528
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 0x1000c560
mov ecx, dword [ebx]
push ecx
push str.failed_to_create_math_operator__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
jmp 0x1000c56a
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x1000c56a
mov dword [eax + 0x10], ecx
add ebx, 0x14
cmp dword [ebx], 0
jne 0x1000c4f0
push edi
call sym.tcl85.dll_TclInterpInit
add esp, 4
push edi
call sym.tcl85.dll_TclSetupEnv
add esp, 4
push str.cp1252
push 0x100d24e8
push 0x100c64a0
push edi
call sym.tcl85.dll_Tcl_RegisterConfig
push 0xffffffffffffffff
push 0x100bd360
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.engine
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 0x1000c5f3
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
dec dword [esi]
cmp dword [esi], 0
jg 0x1000c603
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000c636
cmp dword [esi + 4], 0
jne 0x1000c636
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000c62a
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
push 0xffffffffffffffff
push str.littleEndian
call sym.tcl85.dll_Tcl_NewStringObj
push 0xffffffffffffffff
push str.tcl_platform
mov dword [esp + 0x20], 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 esi, eax
mov eax, dword [esp + 0x28]
inc dword [esi]
push 1
push eax
push esi
push ebx
push edi
call sym.tcl85.dll_Tcl_ObjSetVar2
dec dword [ebx]
add esp, 0x2c
cmp dword [ebx], 0
mov dword [esp + 0x10], eax
jg 0x1000c68c
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
dec dword [esi]
cmp dword [esi], 0
jg 0x1000c69c
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1000c6cf
cmp dword [esi + 4], 0
jne 0x1000c6cf
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000c6c3
mov ecx, dword [eax]
push ecx
push str.UpdateStringProc_should_not_be_invoked_for_type__s
call sym.tcl85.dll_Tcl_Panic
add esp, 8
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0xc]
push esi
call eax
add esp, 4
mov esi, dword [0x100d45d8]
test esi, esi
jne 0x1000c715
push 0x960
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000c6ff
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 0x1000c708
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push str.tcl_platform
mov dword [0x100d45d8], ecx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [eax], 4
mov dword [esi + 0xc], 0x100d2604
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 0x1000c77b
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov eax, dword [esp + 0x10]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000c78f
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov esi, dword [0x100d45d8]
test esi, esi
jne 0x1000c7d5
push 0x960
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1000c7bf
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 0x1000c7c8
mov edx, dword [esi + 0x10]
lea eax, [esi + 0x10]
push 0xffffffffffffffff
push str.tcl_platform
mov dword [0x100d45d8], edx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [eax], 4
mov dword [esi + 0xc], 0x100d2604
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 0x1000c83b
push ebx
call sym.tcl85.dll_TclFreeObj
add esp, 4
mov eax, dword [esp + 0x10]
dec dword [eax]
cmp dword [eax], 0
jg 0x1000c84f
push eax
call sym.tcl85.dll_TclFreeObj
add esp, 4
push 0xffffffffffffffff
push 0x100bd3b0
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 0x1000c88e
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
test ebx, ebx
je 0x1000c8bd
cmp dword [ebx + 4], 0
jne 0x1000c8bd
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000c8b1
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 0x100bd3c8
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 0x1000c8fc
push esi
call sym.tcl85.dll_TclFreeObj
add esp, 4
test ebx, ebx
je 0x1000c92b
cmp dword [ebx + 4], 0
jne 0x1000c92b
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000c91f
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 0x1000c94b
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.10094f70
add esp, 4
test eax, eax
je 0x1000c97e
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push edi
call fcn.100a8b10
add esp, 4
push 0x100d1a70
push 0x100bd3b0
push 0x100bd360
push edi
call sym.tcl85.dll_Tcl_PkgProvideEx
push edi
call fcn.10090870
add esp, 0x14
push 0x100d1948
push 0x100bd3b0
push str.tcl::tommath
push edi
call sym.tcl85.dll_Tcl_PkgProvideEx
add esp, 0x10
test eax, eax
je 0x1000ca09
push edi
call sym.tcl85.dll_Tcl_GetObjResult
mov esi, eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
jne 0x1000c9fb
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jne 0x1000c9ec
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 0x100bd3e8
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.100b30c8
mov esp, ebp
pop ebp
ret