Function at 0x1400076b0
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 0x14000770b
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 0x140007736
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateInterp
jmp 0x1400076e6
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041ef8], rax
test rax, rax
jne 0x140007761
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_FindExecutable
jmp 0x1400076e6
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f00], rax
test rax, rax
jne 0x14000778f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_DoOneEvent
jmp 0x1400076e6
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f08], rax
test rax, rax
jne 0x1400077bd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Finalize
jmp 0x1400076e6
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f10], rax
test rax, rax
jne 0x1400077eb
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_FinalizeThread
jmp 0x1400076e6
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f18], rax
test rax, rax
jne 0x140007819
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_DeleteInterp
jmp 0x1400076e6
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f20], rax
test rax, rax
jne 0x140007847
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateThread
jmp 0x1400076e6
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f28], rax
test rax, rax
jne 0x140007875
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetCurrentThread
jmp 0x1400076e6
lea rdx, str.Tcl_JoinThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f30], rax
test rax, rax
jne 0x1400078a3
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_JoinThread
jmp 0x1400076e6
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f38], rax
test rax, rax
jne 0x1400078d1
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexLock
jmp 0x1400076e6
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f40], rax
test rax, rax
jne 0x1400078ff
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexUnlock
jmp 0x1400076e6
lea rdx, str.Tcl_MutexFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f48], rax
test rax, rax
jne 0x14000792d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_MutexFinalize
jmp 0x1400076e6
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f50], rax
test rax, rax
jne 0x14000795b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionFinalize
jmp 0x1400076e6
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f58], rax
test rax, rax
jne 0x140007989
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionNotify
jmp 0x1400076e6
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f60], rax
test rax, rax
jne 0x1400079b7
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ConditionWait
jmp 0x1400076e6
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f68], rax
test rax, rax
jne 0x1400079e5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ThreadQueueEvent
jmp 0x1400076e6
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f70], rax
test rax, rax
jne 0x140007a13
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_ThreadAlert
jmp 0x1400076e6
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f78], rax
test rax, rax
jne 0x140007a41
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetVar2
jmp 0x1400076e6
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f80], rax
test rax, rax
jne 0x140007a6f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_SetVar2
jmp 0x1400076e6
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f88], rax
test rax, rax
jne 0x140007a9d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_CreateObjCommand
jmp 0x1400076e6
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f90], rax
test rax, rax
jne 0x140007acb
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetString
jmp 0x1400076e6
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041f98], rax
test rax, rax
jne 0x140007af9
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_NewStringObj
jmp 0x1400076e6
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fa0], rax
test rax, rax
jne 0x140007b27
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_NewByteArrayObj
jmp 0x1400076e6
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fa8], rax
test rax, rax
jne 0x140007b55
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_SetVar2Ex
jmp 0x1400076e6
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fb0], rax
test rax, rax
jne 0x140007b83
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_GetObjResult
jmp 0x1400076e6
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fb8], rax
test rax, rax
jne 0x140007bb1
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalFile
jmp 0x1400076e6
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fc0], rax
test rax, rax
jne 0x140007bdf
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalEx
jmp 0x1400076e6
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fc8], rax
test rax, rax
jne 0x140007c0d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_EvalObjv
jmp 0x1400076e6
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fd0], rax
test rax, rax
jne 0x140007c3b
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Alloc
jmp 0x1400076e6
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fd8], rax
test rax, rax
jne 0x140007c69
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tcl_Free
jmp 0x1400076e6
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fe0], rax
test rax, rax
jne 0x140007c97
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tk_Init
jmp 0x1400076e6
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140041fe8], rax
test rax, rax
jne 0x140007cc5
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea r9, str.Tk_GetNumMainWindows
jmp 0x1400076e6
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret