Function at 0x140006240
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rcx + 0x10]
call fcn.140007a90
lea rcx, [rbx + 0x1010]
mov qword [rbx + 0x4048], rax
call fcn.140007a90
mov rcx, qword [rbx + 0x4048]
mov qword [rbx + 0x4050], rax
mov rdx, rax
test rax, rax
je 0x140006290
test rcx, rcx
je 0x140006290
add rsp, 0x20
pop rbx
jmp 0x140006930
lea rcx, str.LOADER:_Failed_to_load_tcl_tk_libraries_n
call fcn.140002e10
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rcx
mov rdi, rdx
lea rdx, str.Tcl_Init
call rsi
mov qword [0x140033470], rax
test rax, rax
je 0x140006caf
lea rdx, str.Tcl_CreateInterp
mov rcx, rbx
call rsi
mov qword [0x140033468], rax
test rax, rax
je 0x140006ce4
lea rdx, str.Tcl_FindExecutable
mov rcx, rbx
call rsi
mov qword [0x140033460], rax
test rax, rax
je 0x140006ccf
lea rdx, str.Tcl_DoOneEvent
mov rcx, rbx
call rsi
mov qword [0x140033458], rax
test rax, rax
je 0x140006d0e
lea rdx, str.Tcl_Finalize
mov rcx, rbx
call rsi
mov qword [0x140033450], rax
test rax, rax
je 0x140006cf9
lea rdx, str.Tcl_FinalizeThread
mov rcx, rbx
call rsi
mov qword [0x140033448], rax
test rax, rax
je 0x140006d50
lea rdx, str.Tcl_DeleteInterp
mov rcx, rbx
call rsi
mov qword [0x140033440], rax
test rax, rax
je 0x140006d38
lea rdx, str.Tcl_CreateThread
mov rcx, rbx
call rsi
mov qword [0x140033438], rax
test rax, rax
je 0x140006d23
lea rdx, str.Tcl_GetCurrentThread
mov rcx, rbx
call rsi
mov qword [0x140033430], rax
test rax, rax
je 0x140006d68
lea rdx, str.Tcl_MutexLock
mov rcx, rbx
call rsi
mov qword [0x140033428], rax
test rax, rax
je 0x140006dc8
lea rdx, str.Tcl_MutexUnlock
mov rcx, rbx
call rsi
mov qword [0x140033420], rax
test rax, rax
je 0x140006db0
lea rdx, str.Tcl_ConditionFinalize
mov rcx, rbx
call rsi
mov qword [0x140033418], rax
test rax, rax
je 0x140006d98
lea rdx, str.Tcl_ConditionNotify
mov rcx, rbx
call rsi
mov qword [0x140033410], rax
test rax, rax
je 0x140006d80
lea rdx, str.Tcl_ConditionWait
mov rcx, rbx
call rsi
mov qword [0x140033408], rax
test rax, rax
je 0x140006e28
lea rdx, str.Tcl_ThreadQueueEvent
mov rcx, rbx
call rsi
mov qword [0x140033400], rax
test rax, rax
je 0x140006e10
lea rdx, str.Tcl_ThreadAlert
mov rcx, rbx
call rsi
mov qword [0x1400333f8], rax
test rax, rax
je 0x140006df8
lea rdx, str.Tcl_GetVar2
mov rcx, rbx
call rsi
mov qword [0x1400333f0], rax
test rax, rax
je 0x140006de0
lea rdx, str.Tcl_SetVar2
mov rcx, rbx
call rsi
mov qword [0x1400333e8], rax
test rax, rax
je 0x140006e40
lea rdx, str.Tcl_CreateObjCommand
mov rcx, rbx
call rsi
mov qword [0x1400333e0], rax
test rax, rax
je 0x140006e58
lea rdx, str.Tcl_GetString
mov rcx, rbx
call rsi
mov qword [0x1400333d8], rax
test rax, rax
je 0x140006e88
lea rdx, str.Tcl_NewStringObj
mov rcx, rbx
call rsi
mov qword [0x1400333d0], rax
test rax, rax
je 0x140006e70
lea rdx, str.Tcl_NewByteArrayObj
mov rcx, rbx
call rsi
mov qword [0x1400333c8], rax
test rax, rax
je 0x140006ed0
lea rdx, str.Tcl_SetVar2Ex
mov rcx, rbx
call rsi
mov qword [0x1400333c0], rax
test rax, rax
je 0x140006eb8
lea rdx, str.Tcl_GetObjResult
mov rcx, rbx
call rsi
mov qword [0x1400333b8], rax
test rax, rax
je 0x140006ea0
lea rdx, str.Tcl_EvalFile
mov rcx, rbx
call rsi
mov qword [0x1400333b0], rax
test rax, rax
je 0x140006ee8
lea rdx, str.Tcl_EvalEx
mov rcx, rbx
call rsi
mov qword [0x1400333a8], rax
test rax, rax
je 0x140006f48
lea rdx, str.Tcl_EvalObjv
mov rcx, rbx
call rsi
mov qword [0x1400333a0], rax
test rax, rax
je 0x140006f30
lea rdx, str.Tcl_Alloc
mov rcx, rbx
call rsi
mov qword [0x140033398], rax
test rax, rax
je 0x140006f18
lea rdx, str.Tcl_Free
mov rcx, rbx
call rsi
mov qword [0x140033390], rax
test rax, rax
je 0x140006f00
lea rdx, str.Tk_Init
mov rcx, rdi
call rsi
mov qword [0x140033388], rax
test rax, rax
je 0x140006f60
lea rdx, str.Tk_GetNumMainWindows
mov rcx, rdi
call rsi
mov qword [0x140033380], rax
test rax, rax
je 0x140006f78
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.140002ef0
nop word [rax + rax]
mov eax, 0xffffffff
jmp 0x140006ca7
lea rdx, str.Failed_to_get_address_for_Tcl_FindExecutable_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_CreateInterp_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_Finalize_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_DoOneEvent_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_CreateThread_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_DeleteInterp_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_FinalizeThread_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_GetCurrentThread_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionNotify_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionFinalize_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_MutexUnlock_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_MutexLock_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_GetVar2_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadAlert_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_ThreadQueueEvent_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_ConditionWait_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_CreateObjCommand_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_NewStringObj_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_GetString_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_GetObjResult_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_SetVar2Ex_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_NewByteArrayObj_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_EvalFile_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_Free_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_Alloc_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_EvalObjv_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tcl_EvalEx_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tk_Init_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8
lea rdx, str.Failed_to_get_address_for_Tk_GetNumMainWindows_n
lea rcx, str.GetProcAddress
call fcn.140002ef0
jmp 0x140006cc8