Function at 0x140004440
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x10
call fcn.140005e50
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140005e50
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
test rcx, rcx
je 0x14000448a
test rax, rax
je 0x14000448a
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x140004ca0
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140001cb0
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
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 [0x140042d50], rax
test rax, rax
jne 0x140004cec
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, [0x140024b68]
call fcn.140001d10
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 [0x140042d58], rax
test rax, rax
jne 0x140004d11
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
jmp 0x140004cd0
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d60], rax
test rax, rax
jne 0x140004d36
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
jmp 0x140004cd0
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d68], rax
test rax, rax
jne 0x140004d5e
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
jmp 0x140004cd0
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d70], rax
test rax, rax
jne 0x140004d86
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
jmp 0x140004cd0
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d78], rax
test rax, rax
jne 0x140004dae
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
jmp 0x140004cd0
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d80], rax
test rax, rax
jne 0x140004dd6
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
jmp 0x140004cd0
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d88], rax
test rax, rax
jne 0x140004dfe
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
jmp 0x140004cd0
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d90], rax
test rax, rax
jne 0x140004e26
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
jmp 0x140004cd0
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042d98], rax
test rax, rax
jne 0x140004e4e
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
jmp 0x140004cd0
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042da0], rax
test rax, rax
jne 0x140004e76
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
jmp 0x140004cd0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042da8], rax
test rax, rax
jne 0x140004e9e
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
jmp 0x140004cd0
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042db0], rax
test rax, rax
jne 0x140004ec6
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
jmp 0x140004cd0
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042db8], rax
test rax, rax
jne 0x140004eee
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
jmp 0x140004cd0
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042dc0], rax
test rax, rax
jne 0x140004f16
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
jmp 0x140004cd0
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042dc8], rax
test rax, rax
jne 0x140004f3e
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
jmp 0x140004cd0
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042dd0], rax
test rax, rax
jne 0x140004f66
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
jmp 0x140004cd0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042dd8], rax
test rax, rax
jne 0x140004f8e
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
jmp 0x140004cd0
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042de0], rax
test rax, rax
jne 0x140004fb6
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
jmp 0x140004cd0
lea rdx, str.Tcl_GetString
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042de8], rax
test rax, rax
jne 0x140004fde
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
jmp 0x140004cd0
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042df0], rax
test rax, rax
jne 0x140005006
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
jmp 0x140004cd0
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042df8], rax
test rax, rax
jne 0x14000502e
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
jmp 0x140004cd0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e00], rax
test rax, rax
jne 0x140005056
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
jmp 0x140004cd0
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e08], rax
test rax, rax
jne 0x14000507e
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
jmp 0x140004cd0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e10], rax
test rax, rax
jne 0x1400050a6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
jmp 0x140004cd0
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e18], rax
test rax, rax
jne 0x1400050ce
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
jmp 0x140004cd0
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e20], rax
test rax, rax
jne 0x1400050f6
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
jmp 0x140004cd0
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e28], rax
test rax, rax
jne 0x14000511e
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
jmp 0x140004cd0
lea rdx, str.Tcl_Free
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e30], rax
test rax, rax
jne 0x140005146
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
jmp 0x140004cd0
lea rdx, str.Tk_Init
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e38], rax
test rax, rax
jne 0x14000516e
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
jmp 0x140004cd0
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140042e40], rax
test rax, rax
jne 0x140005196
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
jmp 0x140004cd0
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret