Function at 0x406010
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rcx + 0x10]
call fcn.004078f0
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.004078f0
mov rcx, qword [rbx + 0x4048]
test rax, rax
mov qword [rbx + 0x4050], rax
je 0x406060
test rcx, rcx
je 0x406060
mov rdx, rax
add rsp, 0x20
pop rbx
jmp 0x406700
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.00402b10
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rcx
mov rdi, rdx
lea rdx, str.Tcl_Init
call rbx
test rax, rax
mov qword [0x004283f0], rax
je 0x406a7f
lea rdx, str.Tcl_CreateInterp
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283e8], rax
je 0x406ab3
lea rdx, str.Tcl_FindExecutable
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283e0], rax
je 0x406a99
lea rdx, str.Tcl_DoOneEvent
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283d8], rax
je 0x406ae7
lea rdx, str.Tcl_Finalize
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283d0], rax
je 0x406acd
lea rdx, str.Tcl_FinalizeThread
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283c8], rax
je 0x406b3e
lea rdx, str.Tcl_DeleteInterp
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283c0], rax
je 0x406b21
lea rdx, str.Tcl_CreateThread
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283b8], rax
je 0x406b04
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283b0], rax
je 0x406b5b
lea rdx, str.Tcl_MutexLock
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283a8], rax
je 0x406bcf
lea rdx, str.Tcl_MutexUnlock
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x004283a0], rax
je 0x406bb2
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428398], rax
je 0x406b95
lea rdx, str.Tcl_ConditionNotify
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428390], rax
je 0x406b78
lea rdx, str.Tcl_ConditionWait
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428388], rax
je 0x406c43
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428380], rax
je 0x406c26
lea rdx, str.Tcl_ThreadAlert
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428378], rax
je 0x406c09
lea rdx, str.Tcl_GetVar2
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428370], rax
je 0x406bec
lea rdx, str.Tcl_SetVar2
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428368], rax
je 0x406c60
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428360], rax
je 0x406c7d
lea rdx, str.Tcl_GetString
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428358], rax
je 0x406cb7
lea rdx, str.Tcl_NewStringObj
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428350], rax
je 0x406c9a
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428348], rax
je 0x406d0e
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428340], rax
je 0x406cf1
lea rdx, str.Tcl_GetObjResult
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428338], rax
je 0x406cd4
lea rdx, str.Tcl_EvalFile
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428330], rax
je 0x406d2b
lea rdx, str.Tcl_EvalEx
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428328], rax
je 0x406d9f
lea rdx, str.Tcl_EvalObjv
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428320], rax
je 0x406d82
lea rdx, str.Tcl_Alloc
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428318], rax
je 0x406d65
lea rdx, str.Tcl_Free
mov rcx, rsi
call rbx
test rax, rax
mov qword [0x00428310], rax
je 0x406d48
lea rdx, str.Tk_Init
mov rcx, rdi
call rbx
test rax, rax
mov qword [0x00428308], rax
je 0x406dbc
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call rbx
test rax, rax
mov qword [0x00428300], rax
je 0x406dd9
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
lea rdx, str.Failed_to_get_address_for_Tcl_Init_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
lea rcx, str.GetProcAddress
call fcn.00402bf0
mov eax, 0xffffffff
jmp 0x406a77