Function at 0x14005ec20
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1401a165c]
call fcn.140068b20
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
jmp 0x14005ec54
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
lea rcx, str.lua53.dll
cmp qword [rcx + rax*8], 0
je 0x14005ec88
mov eax, dword [rbp + 0x24]
lea rcx, str.lua53.dll
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14005ec86
jmp 0x14005ec88
jmp 0x14005ec4c
cmp qword [rbp + 8], 0
jne 0x14005ecc3
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.liblua:_failed_to_load_Lua_shared_library_n
mov rcx, rax
call fcn.140001b10
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.____HINT:_you_must_install_Lua_library_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_version
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c030], rax
cmp qword [0x14019c030], 0
jne 0x14005ed06
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_version
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_close
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c120], rax
cmp qword [0x14019c120], 0
jne 0x14005ed49
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_close
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_getfield
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c118], rax
cmp qword [0x14019c118], 0
jne 0x14005ed8c
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_getfield
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_getglobal
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c110], rax
cmp qword [0x14019c110], 0
jne 0x14005edcf
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_getglobal
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_geti
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c108], rax
cmp qword [0x14019c108], 0
jne 0x14005ee12
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_geti
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_gettop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c100], rax
cmp qword [0x14019c100], 0
jne 0x14005ee55
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_gettop
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_isnumber
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0f8], rax
cmp qword [0x14019c0f8], 0
jne 0x14005ee98
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_isnumber
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_isstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0f0], rax
cmp qword [0x14019c0f0], 0
jne 0x14005eedb
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_isstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_iscfunction
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0e8], rax
cmp qword [0x14019c0e8], 0
jne 0x14005ef1e
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_iscfunction
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_isinteger
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0e0], rax
cmp qword [0x14019c0e0], 0
jne 0x14005ef61
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_isinteger
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_isuserdata
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0d8], rax
cmp qword [0x14019c0d8], 0
jne 0x14005efa4
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_isuserdata
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_newthread
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0d0], rax
cmp qword [0x14019c0d0], 0
jne 0x14005efe7
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_newthread
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_newuserdata
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0c8], rax
cmp qword [0x14019c0c8], 0
jne 0x14005f02a
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_newuserdata
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pcallk
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0c0], rax
cmp qword [0x14019c0c0], 0
jne 0x14005f06d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pcallk
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushcclosure
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0b8], rax
cmp qword [0x14019c0b8], 0
jne 0x14005f0b0
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushcclosure
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushinteger
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0b0], rax
cmp qword [0x14019c0b0], 0
jne 0x14005f0f3
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushinteger
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushlstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0a8], rax
cmp qword [0x14019c0a8], 0
jne 0x14005f136
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushlstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushnumber
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c0a0], rax
cmp qword [0x14019c0a0], 0
jne 0x14005f179
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushnumber
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c098], rax
cmp qword [0x14019c098], 0
jne 0x14005f1bc
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_pushvalue
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c090], rax
cmp qword [0x14019c090], 0
jne 0x14005f1ff
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_pushvalue
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_resume
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c088], rax
cmp qword [0x14019c088], 0
jne 0x14005f242
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_resume
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_setfield
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c080], rax
cmp qword [0x14019c080], 0
jne 0x14005f285
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_setfield
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_setglobal
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c078], rax
cmp qword [0x14019c078], 0
jne 0x14005f2c8
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_setglobal
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_seti
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c070], rax
cmp qword [0x14019c070], 0
jne 0x14005f30b
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_seti
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_settop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c068], rax
cmp qword [0x14019c068], 0
jne 0x14005f34e
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_settop
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_toboolean
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c060], rax
cmp qword [0x14019c060], 0
jne 0x14005f391
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_toboolean
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_tointegerx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c058], rax
cmp qword [0x14019c058], 0
jne 0x14005f3d4
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_tointegerx
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_tolstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c050], rax
cmp qword [0x14019c050], 0
jne 0x14005f417
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_tolstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_tonumberx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c048], rax
cmp qword [0x14019c048], 0
jne 0x14005f45a
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_tonumberx
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_type
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c040], rax
cmp qword [0x14019c040], 0
jne 0x14005f49d
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_type
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_typename
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c038], rax
cmp qword [0x14019c038], 0
jne 0x14005f4e0
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_typename
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_version
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c030], rax
cmp qword [0x14019c030], 0
jne 0x14005f523
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_version
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_xmove
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c028], rax
cmp qword [0x14019c028], 0
jne 0x14005f566
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_xmove
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.lua_yieldk
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c020], rax
cmp qword [0x14019c020], 0
jne 0x14005f5a9
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.lua_yieldk
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_checkinteger
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c018], rax
cmp qword [0x14019c018], 0
jne 0x14005f5ec
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_checkinteger
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_checklstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c010], rax
cmp qword [0x14019c010], 0
jne 0x14005f62f
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_checklstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_checkudata
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c008], rax
cmp qword [0x14019c008], 0
jne 0x14005f672
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_checkudata
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_len
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019c000], rax
cmp qword [0x14019c000], 0
jne 0x14005f6b5
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_len
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_loadbufferx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bff8], rax
cmp qword [0x14019bff8], 0
jne 0x14005f6f8
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_loadbufferx
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_loadfilex
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bff0], rax
cmp qword [0x14019bff0], 0
jne 0x14005f73b
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_loadfilex
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_loadstring
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfe8], rax
cmp qword [0x14019bfe8], 0
jne 0x14005f77e
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_loadstring
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_newmetatable
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfe0], rax
cmp qword [0x14019bfe0], 0
jne 0x14005f7c1
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_newmetatable
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_newstate
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfd8], rax
cmp qword [0x14019bfd8], 0
jne 0x14005f804
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_newstate
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_openlibs
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfd0], rax
cmp qword [0x14019bfd0], 0
jne 0x14005f847
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_openlibs
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_ref
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfc8], rax
cmp qword [0x14019bfc8], 0
jne 0x14005f88a
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_ref
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_setfuncs
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfc0], rax
cmp qword [0x14019bfc0], 0
jne 0x14005f8cd
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_setfuncs
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_setmetatable
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfb8], rax
cmp qword [0x14019bfb8], 0
jne 0x14005f910
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_setmetatable
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
lea rdx, str.luaL_unref
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14019bfb0], rax
cmp qword [0x14019bfb0], 0
jne 0x14005f953
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea r8, str.luaL_unref
lea rdx, str.liblua:__s:_failed_n
mov rcx, rax
call fcn.140001b10
xor eax, eax
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret