Function at 0x42eb30
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.0x42eb55.0
jmp dword [edi*4 + 0x42eddc]
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 0x42eba6
add ecx, 0x60
jmp 0x42eb5f
add ecx, 0x68
jmp 0x42eb5f
add ecx, 0x70
jmp 0x42eb5f
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 0x42edc0
push dword [ecx + 4]
call fcn.00427c00
mov edx, eax
neg edx
mov dword [esp + 0x18], edx
lea ecx, [edx + 0x270f]
cmp ecx, 0x270e
ja 0x42ebd9
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 0x42ec34
mov edx, dword [esi + 0x3c]
test edx, edx
jne 0x42ebf5
mov eax, dword [esi + 0x34]
jmp 0x42ec07
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 0x42ec54
cmp edi, 1
je 0x42edb4
cmp edi, 3
je 0x42edb4
cmp edi, 2
je 0x42edb4
cmp byte [esi + 1], 0
jne 0x42edb4
cmp byte [esi + 2], 0
jne 0x42edb4
cmp byte [esi + 3], 0
jne 0x42edb4
cmp byte [esi + 4], 0
jne 0x42edb4
cmp byte [esi + 6], 0
mov ecx, ebx
mov edx, dword [esp + 0x10]
je 0x42ecc3
call fcn.0042c600
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 0x42ecb8
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 0x42ed94
cmp byte [esi + 7], 0
je 0x42ecf6
mov edi, dword [esi + 0xc]
call fcn.0042c600
push ebx
mov ecx, edi
call fcn.00427c00
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 0x42edb7
mov eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
call fcn.0042c600
push 0x15
push ebx
call dword [sym.imp.lua51.dll_lua_checkstack]
add esp, 8
test eax, eax
jne 0x42ed26
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 0x42ed5f
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 0x42ed8e
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 0x42edb7
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 0x42eb50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8