Function at 0x140046740
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
mov rax, qword [str.lua53.dll]
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x20], rdi
mov edi, ebx
test rax, rax
je 0x14004678c
lea rsi, str.lua53.dll
nop word [rax + rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
jne 0x1400467c0
inc edi
mov rax, qword [rsi + rdi*8]
test rax, rax
jne 0x140046770
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.liblua:_failed_to_load_Lua_shared_library_n
call fcn.140001010
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____HINT:_you_must_install_Lua_library_n
call fcn.140001010
lea rdx, str.lua_version
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x38]
mov qword [0x1401723e0], rax
test rax, rax
jne 0x140046805
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_version
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_close
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723e8], rax
test rax, rax
jne 0x140046840
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_close
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_getfield
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723a8], rax
test rax, rax
jne 0x14004687b
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_getfield
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_getglobal
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172478], rax
test rax, rax
jne 0x1400468b6
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_getglobal
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_geti
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172470], rax
test rax, rax
jne 0x1400468f1
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_geti
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_gettop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172390], rax
test rax, rax
jne 0x14004692c
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_gettop
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_isnumber
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172320], rax
test rax, rax
jne 0x140046967
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_isnumber
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_isstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172468], rax
test rax, rax
jne 0x1400469a2
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_isstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_iscfunction
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172398], rax
test rax, rax
jne 0x1400469dd
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_iscfunction
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_isinteger
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172458], rax
test rax, rax
jne 0x140046a18
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_isinteger
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_isuserdata
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172358], rax
test rax, rax
jne 0x140046a53
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_isuserdata
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_newthread
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172370], rax
test rax, rax
jne 0x140046a8e
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_newthread
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_newuserdata
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172418], rax
test rax, rax
jne 0x140046ac9
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_newuserdata
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pcallk
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723c8], rax
test rax, rax
jne 0x140046b04
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pcallk
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushcclosure
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172310], rax
test rax, rax
jne 0x140046b3f
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushcclosure
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushinteger
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172318], rax
test rax, rax
jne 0x140046b7a
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushinteger
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushlstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172330], rax
test rax, rax
jne 0x140046bb5
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushlstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushnumber
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172388], rax
test rax, rax
jne 0x140046bf0
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushnumber
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172368], rax
test rax, rax
jne 0x140046c2b
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_pushvalue
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172440], rax
test rax, rax
jne 0x140046c66
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_pushvalue
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_resume
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723c0], rax
test rax, rax
jne 0x140046ca1
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_resume
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_setfield
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172400], rax
test rax, rax
jne 0x140046cdc
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_setfield
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_setglobal
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172420], rax
test rax, rax
jne 0x140046d17
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_setglobal
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_seti
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172338], rax
test rax, rax
jne 0x140046d52
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_seti
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_settop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172430], rax
test rax, rax
jne 0x140046d8d
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_settop
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_toboolean
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723b8], rax
test rax, rax
jne 0x140046dc8
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_toboolean
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_tointegerx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172450], rax
test rax, rax
jne 0x140046e03
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_tointegerx
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_tolstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172460], rax
test rax, rax
jne 0x140046e3e
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_tolstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_tonumberx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172380], rax
test rax, rax
jne 0x140046e79
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_tonumberx
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_type
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172448], rax
test rax, rax
jne 0x140046eb4
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_type
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_typename
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723b0], rax
test rax, rax
jne 0x140046eef
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_typename
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_version
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723e0], rax
test rax, rax
jne 0x140046f2a
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_version
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_xmove
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172350], rax
test rax, rax
jne 0x140046f65
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_xmove
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.lua_yieldk
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723a0], rax
test rax, rax
jne 0x140046fa0
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.lua_yieldk
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_checkinteger
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172340], rax
test rax, rax
jne 0x140046fdb
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_checkinteger
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_checklstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723f8], rax
test rax, rax
jne 0x140047016
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_checklstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_checkudata
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172428], rax
test rax, rax
jne 0x140047051
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_checkudata
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_len
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172480], rax
test rax, rax
jne 0x14004708c
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_len
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_loadbufferx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172360], rax
test rax, rax
jne 0x1400470c7
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_loadbufferx
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_loadfilex
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723d0], rax
test rax, rax
jne 0x140047102
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_loadfilex
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_loadstring
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172328], rax
test rax, rax
jne 0x14004713d
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_loadstring
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_newmetatable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172438], rax
test rax, rax
jne 0x140047178
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_newmetatable
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_newstate
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723d8], rax
test rax, rax
jne 0x1400471b3
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_newstate
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_openlibs
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401723f0], rax
test rax, rax
jne 0x1400471ee
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_openlibs
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_ref
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172348], rax
test rax, rax
jne 0x140047229
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_ref
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_setfuncs
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172410], rax
test rax, rax
jne 0x140047264
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_setfuncs
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_setmetatable
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140172408], rax
test rax, rax
jne 0x14004729f
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_setmetatable
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
lea rdx, str.luaL_unref
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, qword [rsp + 0x30]
mov qword [0x140172378], rax
test rax, rax
jne 0x1400472df
lea ecx, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.luaL_unref
lea rdx, str.liblua:__s:_failed_n
call fcn.140001010
xor eax, eax
add rsp, 0x28
ret