Function at 0x7ff7f4e876c0
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 [0x7ff7f4ec1ee8], rax
test rax, rax
jne 0x7ff7f4e8771b
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, [0x7ff7f4eac768]
call fcn.7ff7f4e82c50
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 [0x7ff7f4ec1ef0], rax
test rax, rax
jne 0x7ff7f4e87746
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateInterp
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1ef8], rax
test rax, rax
jne 0x7ff7f4e87771
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FindExecutable
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f00], rax
test rax, rax
jne 0x7ff7f4e8779f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DoOneEvent
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f08], rax
test rax, rax
jne 0x7ff7f4e877cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Finalize
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f10], rax
test rax, rax
jne 0x7ff7f4e877fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_FinalizeThread
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f18], rax
test rax, rax
jne 0x7ff7f4e87829
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_DeleteInterp
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f20], rax
test rax, rax
jne 0x7ff7f4e87857
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateThread
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f28], rax
test rax, rax
jne 0x7ff7f4e87885
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetCurrentThread
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_JoinThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f30], rax
test rax, rax
jne 0x7ff7f4e878b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_JoinThread
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f38], rax
test rax, rax
jne 0x7ff7f4e878e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexLock
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f40], rax
test rax, rax
jne 0x7ff7f4e8790f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexUnlock
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_MutexFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f48], rax
test rax, rax
jne 0x7ff7f4e8793d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_MutexFinalize
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f50], rax
test rax, rax
jne 0x7ff7f4e8796b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionFinalize
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f58], rax
test rax, rax
jne 0x7ff7f4e87999
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionNotify
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f60], rax
test rax, rax
jne 0x7ff7f4e879c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ConditionWait
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f68], rax
test rax, rax
jne 0x7ff7f4e879f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadQueueEvent
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f70], rax
test rax, rax
jne 0x7ff7f4e87a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_ThreadAlert
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f78], rax
test rax, rax
jne 0x7ff7f4e87a51
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetVar2
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f80], rax
test rax, rax
jne 0x7ff7f4e87a7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f88], rax
test rax, rax
jne 0x7ff7f4e87aad
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_CreateObjCommand
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f90], rax
test rax, rax
jne 0x7ff7f4e87adb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetString
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1f98], rax
test rax, rax
jne 0x7ff7f4e87b09
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewStringObj
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fa0], rax
test rax, rax
jne 0x7ff7f4e87b37
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_NewByteArrayObj
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fa8], rax
test rax, rax
jne 0x7ff7f4e87b65
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_SetVar2Ex
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fb0], rax
test rax, rax
jne 0x7ff7f4e87b93
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_GetObjResult
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fb8], rax
test rax, rax
jne 0x7ff7f4e87bc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalFile
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fc0], rax
test rax, rax
jne 0x7ff7f4e87bef
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalEx
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fc8], rax
test rax, rax
jne 0x7ff7f4e87c1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_EvalObjv
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fd0], rax
test rax, rax
jne 0x7ff7f4e87c4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Alloc
jmp 0x7ff7f4e876f6
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fd8], rax
test rax, rax
jne 0x7ff7f4e87c79
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tcl_Free
jmp 0x7ff7f4e876f6
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fe0], rax
test rax, rax
jne 0x7ff7f4e87ca7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_Init
jmp 0x7ff7f4e876f6
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x7ff7f4ec1fe8], rax
test rax, rax
jne 0x7ff7f4e87cd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Tk_GetNumMainWindows
jmp 0x7ff7f4e876f6
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret