Function at 0x140008020
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 [0x140045f28], rax
test rax, rax
jne 0x14000807b
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, [0x14002e4b8]
call fcn.140002ec0
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 [0x140045f30], rax
test rax, rax
jne 0x1400080a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateInterp
jmp 0x140008056
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f38], rax
test rax, rax
jne 0x1400080d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FindExecutable
jmp 0x140008056
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f40], rax
test rax, rax
jne 0x1400080ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DoOneEvent
jmp 0x140008056
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f48], rax
test rax, rax
jne 0x14000812d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Finalize
jmp 0x140008056
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f50], rax
test rax, rax
jne 0x14000815b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FinalizeThread
jmp 0x140008056
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f58], rax
test rax, rax
jne 0x140008189
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DeleteInterp
jmp 0x140008056
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f60], rax
test rax, rax
jne 0x1400081b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateThread
jmp 0x140008056
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f68], rax
test rax, rax
jne 0x1400081e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetCurrentThread
jmp 0x140008056
lea rdx, str.Tcl_JoinThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f70], rax
test rax, rax
jne 0x140008213
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_JoinThread
jmp 0x140008056
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f78], rax
test rax, rax
jne 0x140008241
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexLock
jmp 0x140008056
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f80], rax
test rax, rax
jne 0x14000826f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexUnlock
jmp 0x140008056
lea rdx, str.Tcl_MutexFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f88], rax
test rax, rax
jne 0x14000829d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexFinalize
jmp 0x140008056
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f90], rax
test rax, rax
jne 0x1400082cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionFinalize
jmp 0x140008056
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045f98], rax
test rax, rax
jne 0x1400082f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionNotify
jmp 0x140008056
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fa0], rax
test rax, rax
jne 0x140008327
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionWait
jmp 0x140008056
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fa8], rax
test rax, rax
jne 0x140008355
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadQueueEvent
jmp 0x140008056
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fb0], rax
test rax, rax
jne 0x140008383
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadAlert
jmp 0x140008056
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fb8], rax
test rax, rax
jne 0x1400083b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetVar2
jmp 0x140008056
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fc0], rax
test rax, rax
jne 0x1400083df
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2
jmp 0x140008056
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fc8], rax
test rax, rax
jne 0x14000840d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateObjCommand
jmp 0x140008056
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fd0], rax
test rax, rax
jne 0x14000843b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetString
jmp 0x140008056
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fd8], rax
test rax, rax
jne 0x140008469
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewStringObj
jmp 0x140008056
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fe0], rax
test rax, rax
jne 0x140008497
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewByteArrayObj
jmp 0x140008056
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045fe8], rax
test rax, rax
jne 0x1400084c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2Ex
jmp 0x140008056
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045ff0], rax
test rax, rax
jne 0x1400084f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetObjResult
jmp 0x140008056
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140045ff8], rax
test rax, rax
jne 0x140008521
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalFile
jmp 0x140008056
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046000], rax
test rax, rax
jne 0x14000854f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalEx
jmp 0x140008056
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046008], rax
test rax, rax
jne 0x14000857d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalObjv
jmp 0x140008056
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046010], rax
test rax, rax
jne 0x1400085ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Alloc
jmp 0x140008056
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046018], rax
test rax, rax
jne 0x1400085d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Free
jmp 0x140008056
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046020], rax
test rax, rax
jne 0x140008607
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_Init
jmp 0x140008056
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140046028], rax
test rax, rax
jne 0x140008635
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_GetNumMainWindows
jmp 0x140008056
lea rcx, str.LOADER:_loaded_functions_from_Tcl_Tk_shared_libraries._n
call fcn.140002770
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret