Function at 0x140005d04
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
lea rdx, str.Tcl_Init
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e30], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_CreateInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e38], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e40], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e48], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e50], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e58], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e60], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e68], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e70], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e78], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e80], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e88], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e90], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039e98], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ea0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ea8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039eb0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039eb8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ec0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ec8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ed0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ed8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ee0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ee8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ef0], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039ef8], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039f00], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039f08], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039f10], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039f18], rax
test rax, rax
je 0x1400060e3
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140039f20], rax
neg rax
sbb eax, eax
neg eax
dec eax
jmp 0x1400060e6
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret