Function at 0x1400076c0
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 [0x140041ee8], rax
test rax, rax
jne 0x14000771b
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, [0x14002c768]
call fcn.140002c50
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 [0x140041ef0], rax
test rax, rax
jne 0x140007746
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateInterp
jmp 0x1400076f6
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041ef8], rax
test rax, rax
jne 0x140007771
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_FindExecutable
jmp 0x1400076f6
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f00], rax
test rax, rax
jne 0x14000779f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_DoOneEvent
jmp 0x1400076f6
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f08], rax
test rax, rax
jne 0x1400077cd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Finalize
jmp 0x1400076f6
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f10], rax
test rax, rax
jne 0x1400077fb
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_FinalizeThread
jmp 0x1400076f6
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f18], rax
test rax, rax
jne 0x140007829
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_DeleteInterp
jmp 0x1400076f6
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f20], rax
test rax, rax
jne 0x140007857
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateThread
jmp 0x1400076f6
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f28], rax
test rax, rax
jne 0x140007885
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetCurrentThread
jmp 0x1400076f6
lea rdx, str.Tcl_JoinThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f30], rax
test rax, rax
jne 0x1400078b3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_JoinThread
jmp 0x1400076f6
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f38], rax
test rax, rax
jne 0x1400078e1
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexLock
jmp 0x1400076f6
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f40], rax
test rax, rax
jne 0x14000790f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexUnlock
jmp 0x1400076f6
lea rdx, str.Tcl_MutexFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f48], rax
test rax, rax
jne 0x14000793d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexFinalize
jmp 0x1400076f6
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f50], rax
test rax, rax
jne 0x14000796b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionFinalize
jmp 0x1400076f6
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f58], rax
test rax, rax
jne 0x140007999
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionNotify
jmp 0x1400076f6
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f60], rax
test rax, rax
jne 0x1400079c7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionWait
jmp 0x1400076f6
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f68], rax
test rax, rax
jne 0x1400079f5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ThreadQueueEvent
jmp 0x1400076f6
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f70], rax
test rax, rax
jne 0x140007a23
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ThreadAlert
jmp 0x1400076f6
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f78], rax
test rax, rax
jne 0x140007a51
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetVar2
jmp 0x1400076f6
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f80], rax
test rax, rax
jne 0x140007a7f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_SetVar2
jmp 0x1400076f6
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f88], rax
test rax, rax
jne 0x140007aad
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateObjCommand
jmp 0x1400076f6
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f90], rax
test rax, rax
jne 0x140007adb
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetString
jmp 0x1400076f6
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f98], rax
test rax, rax
jne 0x140007b09
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_NewStringObj
jmp 0x1400076f6
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fa0], rax
test rax, rax
jne 0x140007b37
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_NewByteArrayObj
jmp 0x1400076f6
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fa8], rax
test rax, rax
jne 0x140007b65
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_SetVar2Ex
jmp 0x1400076f6
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fb0], rax
test rax, rax
jne 0x140007b93
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetObjResult
jmp 0x1400076f6
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fb8], rax
test rax, rax
jne 0x140007bc1
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalFile
jmp 0x1400076f6
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fc0], rax
test rax, rax
jne 0x140007bef
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalEx
jmp 0x1400076f6
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fc8], rax
test rax, rax
jne 0x140007c1d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalObjv
jmp 0x1400076f6
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fd0], rax
test rax, rax
jne 0x140007c4b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Alloc
jmp 0x1400076f6
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fd8], rax
test rax, rax
jne 0x140007c79
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Free
jmp 0x1400076f6
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fe0], rax
test rax, rax
jne 0x140007ca7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tk_Init
jmp 0x1400076f6
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fe8], rax
test rax, rax
jne 0x140007cd5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tk_GetNumMainWindows
jmp 0x1400076f6
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret