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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
push str.lua_State
push 0x1b0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 8]
add esp, 0x18
cmp esi, esp
call fcn.0074703b
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x5bb5a1
xor eax, eax
jmp 0x5bb79c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x88
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 4], 8
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x14], 0x21
mov eax, dword [ebp - 0x20]
movzx ecx, byte [eax + 0x14]
and ecx, 3
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], cl
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 5]
or ecx, 0x60
mov edx, dword [ebp - 0x14]
mov byte [edx + 5], cl
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005bb380
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x70], ecx
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x88], eax
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x8c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x68], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x3c], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x58], 0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x20]
add eax, 0x1c
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x28], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x44], 0x1b0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x50], 0xc8
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x54], 0xc8
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x118], 0
mov eax, dword [ebp - 0x20]
add eax, 0x11c
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x114], eax
mov eax, dword [ebp - 0x20]
add eax, 0x114
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x120], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x11c], 0
mov dword [ebp - 8], 0
jmp 0x5bb748
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xa
jge 0x5bb761
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + eax*4 + 0x98], 0
jmp 0x5bb73f
push 0
push 0x5bb7b0
mov eax, dword [ebp - 0x14]
push eax
call fcn.005c57e0
add esp, 0xc
test eax, eax
je 0x5bb78d
mov eax, dword [ebp - 0x14]
push eax
call fcn.005bb8c0
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x5bb799
mov eax, dword [ebp - 0x14]
push eax
call fcn.005b9600
add esp, 4
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.0074703b
mov esp, ebp
pop ebp
ret