Function at 0x140007980
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 [0x14003bcf8], rax
test rax, rax
jne 0x1400079db
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Init
mov edx, eax
lea r8, str.Failed_to_get_address_for__hs_n
lea rcx, [0x1400276e8]
call fcn.140002c60
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rdx, str.Tcl_CreateInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd00], rax
test rax, rax
jne 0x140007a06
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateInterp
jmp 0x1400079b6
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd08], rax
test rax, rax
jne 0x140007a31
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FindExecutable
jmp 0x1400079b6
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd10], rax
test rax, rax
jne 0x140007a5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DoOneEvent
jmp 0x1400079b6
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd18], rax
test rax, rax
jne 0x140007a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Finalize
jmp 0x1400079b6
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd20], rax
test rax, rax
jne 0x140007abb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FinalizeThread
jmp 0x1400079b6
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd28], rax
test rax, rax
jne 0x140007ae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DeleteInterp
jmp 0x1400079b6
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd30], rax
test rax, rax
jne 0x140007b17
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateThread
jmp 0x1400079b6
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd38], rax
test rax, rax
jne 0x140007b45
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetCurrentThread
jmp 0x1400079b6
lea rdx, str.Tcl_JoinThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd40], rax
test rax, rax
jne 0x140007b73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_JoinThread
jmp 0x1400079b6
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd48], rax
test rax, rax
jne 0x140007ba1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexLock
jmp 0x1400079b6
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd50], rax
test rax, rax
jne 0x140007bcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexUnlock
jmp 0x1400079b6
lea rdx, str.Tcl_MutexFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd58], rax
test rax, rax
jne 0x140007bfd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexFinalize
jmp 0x1400079b6
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd60], rax
test rax, rax
jne 0x140007c2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionFinalize
jmp 0x1400079b6
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd68], rax
test rax, rax
jne 0x140007c59
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionNotify
jmp 0x1400079b6
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd70], rax
test rax, rax
jne 0x140007c87
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionWait
jmp 0x1400079b6
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd78], rax
test rax, rax
jne 0x140007cb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadQueueEvent
jmp 0x1400079b6
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd80], rax
test rax, rax
jne 0x140007ce3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadAlert
jmp 0x1400079b6
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd88], rax
test rax, rax
jne 0x140007d11
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetVar2
jmp 0x1400079b6
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd90], rax
test rax, rax
jne 0x140007d3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2
jmp 0x1400079b6
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bd98], rax
test rax, rax
jne 0x140007d6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateObjCommand
jmp 0x1400079b6
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bda0], rax
test rax, rax
jne 0x140007d9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetString
jmp 0x1400079b6
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bda8], rax
test rax, rax
jne 0x140007dc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewStringObj
jmp 0x1400079b6
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdb0], rax
test rax, rax
jne 0x140007df7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewByteArrayObj
jmp 0x1400079b6
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdb8], rax
test rax, rax
jne 0x140007e25
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2Ex
jmp 0x1400079b6
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdc0], rax
test rax, rax
jne 0x140007e53
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetObjResult
jmp 0x1400079b6
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdc8], rax
test rax, rax
jne 0x140007e81
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalFile
jmp 0x1400079b6
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdd0], rax
test rax, rax
jne 0x140007eaf
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalEx
jmp 0x1400079b6
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdd8], rax
test rax, rax
jne 0x140007edd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalObjv
jmp 0x1400079b6
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bde0], rax
test rax, rax
jne 0x140007f0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Alloc
jmp 0x1400079b6
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bde8], rax
test rax, rax
jne 0x140007f39
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Free
jmp 0x1400079b6
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdf0], rax
test rax, rax
jne 0x140007f67
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_Init
jmp 0x1400079b6
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003bdf8], rax
test rax, rax
jne 0x140007f95
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_GetNumMainWindows
jmp 0x1400079b6
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret