Function at 0x42dbf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
nop dword [eax]
cmp edi, 5
ja case.0x42dc15.0
jmp dword [edi*4 + 0x42de9c]
add ecx, 0x78
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x42dc66
add ecx, 0x60
jmp 0x42dc1f
add ecx, 0x68
jmp 0x42dc1f
add ecx, 0x70
jmp 0x42dc1f
mov eax, dword [esi + 8]
add ecx, 0x58
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
cmp edi, 5
je 0x42de80
push dword [ecx + 4]
call fcn.00427050
mov edx, eax
neg edx
mov dword [esp + 0x18], edx
lea ecx, [edx + 0x270f]
cmp ecx, 0x270e
ja 0x42dc99
push ebx
call dword [sym.imp.lua51.dll_lua_gettop]
mov edx, dword [esp + 0x1c]
add esp, 4
inc edx
add edx, eax
mov dword [esp + 0x18], edx
cmp byte [esi + 5], 0
mov ecx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
je 0x42dcf4
mov edx, dword [esi + 0x3c]
test edx, edx
jne 0x42dcb5
mov eax, dword [esi + 0x34]
jmp 0x42dcc7
mov ecx, dword [esi + 0x38]
mov eax, dword [esp + 0x14]
mov eax, dword [ecx + eax]
mov eax, dword [eax + edx]
add eax, ecx
add eax, dword [esi + 0x34]
push dword [esi + 0x2c]
lea ecx, [esp + 0x2c]
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x20]
push ecx
push dword [esi + 0x1c]
mov ecx, dword [esp + 0x2c]
push edi
add ecx, eax
mov eax, dword [esi + 0x30]
push ebx
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp byte [esi], 0
je 0x42dd14
cmp edi, 1
je 0x42de74
cmp edi, 3
je 0x42de74
cmp edi, 2
je 0x42de74
cmp byte [esi + 1], 0
jne 0x42de74
cmp byte [esi + 2], 0
jne 0x42de74
cmp byte [esi + 3], 0
jne 0x42de74
cmp byte [esi + 4], 0
jne 0x42de74
cmp byte [esi + 6], 0
mov ecx, ebx
mov edx, dword [esp + 0x10]
je 0x42dd83
call fcn.0042b830
mov eax, dword [esi + 0x10]
push 0x15
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.lua51.dll_lua_checkstack]
add esp, 8
test eax, eax
jne 0x42dd78
push str.not_enough_space_left_on_Lua_stack_to_push_valuees
push str.stack_overflow___s_
push ebx
call dword [sym.imp.lua51.dll_luaL_error]
add esp, 0xc
push 0
push dword [esp + 0x24]
jmp 0x42de54
cmp byte [esi + 7], 0
je 0x42ddb6
mov edi, dword [esi + 0xc]
call fcn.0042b830
push ebx
mov ecx, edi
call fcn.00427050
push dword [esp + 0x18]
push ebx
call dword [sym.imp.lua51.dll_lua_rawset]
mov edi, dword [esp + 0x28]
add esp, 8
push 0xfffffffffffffffe
push dword [esp + 0x30]
jmp 0x42de77
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
call fcn.0042b830
push 0x15
push ebx
call dword [sym.imp.lua51.dll_lua_checkstack]
add esp, 8
test eax, eax
jne 0x42dde6
push str.not_enough_space_left_on_Lua_stack_to_push_valuees
push str.stack_overflow___s_
push ebx
call dword [sym.imp.lua51.dll_luaL_error]
add esp, 0xc
push ebx
call dword [sym.imp.lua51.dll_lua_pushnil]
mov eax, dword [esp + 0x20]
add esp, 4
mov eax, dword [eax + 8]
push 0x15
push ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.lua51.dll_lua_checkstack]
add esp, 8
test eax, eax
jne 0x42de1f
push str.not_enough_space_left_on_Lua_stack_to_push_valuees
push str.stack_overflow___s_
push ebx
call dword [sym.imp.lua51.dll_luaL_error]
add esp, 0xc
push dword [esp + 0x20]
push ebx
call dword [sym.imp.lua51.dll_lua_pushlightuserdata]
push 0x15
push ebx
call dword [sym.imp.lua51.dll_lua_checkstack]
add esp, 0x10
test eax, eax
jne 0x42de4e
push str.not_enough_space_left_on_Lua_stack_to_push_valuees
push str.stack_overflow___s_
push ebx
call dword [sym.imp.lua51.dll_luaL_error]
add esp, 0xc
push 2
push dword [esp + 0x18]
push ebx
call dword [sym.imp.lua51.dll_lua_pushcclosure]
add esp, 0xc
push dword [esp + 0x18]
push ebx
call dword [sym.imp.lua51.dll_lua_rawset]
add esp, 8
push 0xfffffffffffffffe
push dword [esp + 0x30]
jmp 0x42de77
push 0xfffffffffffffffe
push ecx
call dword [sym.imp.lua51.dll_lua_settop]
add esp, 8
mov ecx, dword [esp + 0x24]
inc edi
mov dword [esp + 0x20], edi
cmp edi, 6
jl 0x42dc10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8