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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov eax, dword [rsp + 0x118]
dec eax
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
cmp dword [rcx + rax + 0xc], 6
je 0x1400a6c55
lea r9, [0x14027d7b8]
mov r8d, 0x6f
lea rdx, [0x14027d7e0]
lea rcx, str.___L__base___srct___1____tt___LUA_TTABLE_
call fcn.140019820
test eax, eax
je 0x1400a6c55
int3
mov eax, dword [rsp + 0x118]
dec eax
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x120]
dec eax
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
cmp dword [rcx + rax + 0xc], 6
je 0x1400a6cc2
lea r9, [0x14027d860]
mov r8d, 0x70
lea rdx, [0x14027d870]
lea rcx, str.___L__base___dstt___1____tt___LUA_TTABLE_
call fcn.140019820
test eax, eax
je 0x1400a6cc2
int3
mov eax, dword [rsp + 0x120]
dec eax
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 4]
test eax, eax
je 0x1400a6d00
mov rcx, qword [rsp + 0x110]
call fcn.14008ed30
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x130]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x128]
dec eax
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 8]
jae 0x1400a70e0
mov eax, dword [rsp + 0x138]
dec eax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 8]
jae 0x1400a70e0
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 8]
ja 0x1400a70e0
mov eax, dword [rsp + 0x138]
mov ecx, dword [rsp + 0x20]
lea eax, [rax + rcx - 1]
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 8]
ja 0x1400a70e0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x130]
cmp dword [rsp + 0x138], eax
jg 0x1400a6de6
mov eax, dword [rsp + 0x128]
cmp dword [rsp + 0x138], eax
jle 0x1400a6de6
mov eax, dword [rsp + 0x118]
cmp dword [rsp + 0x120], eax
je 0x1400a6f09
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
je 0x1400a6f09
mov dword [rsp + 0x38], 0
jmp 0x1400a6dfa
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x38], eax
jge 0x1400a6f04
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx - 1]
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x138]
mov ecx, dword [rsp + 0x38]
lea eax, [rax + rcx - 1]
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x78], rax
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xc8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
cmp dword [rax + 0xc], 5
jl 0x1400a6eff
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + 0xc], eax
jne 0x1400a6ed8
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1400a6eff
lea r9, [0x14027d8f0]
mov r8d, 0x85
lea rdx, [0x14027d900]
lea rcx, [0x14027d950]
call fcn.140019820
test eax, eax
je 0x1400a6eff
int3
jmp 0x1400a6df0
jmp 0x1400a7038
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x3c], eax
jmp 0x1400a6f1f
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jl 0x1400a7038
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx - 1]
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x138]
mov ecx, dword [rsp + 0x3c]
lea eax, [rax + rcx - 1]
cdqe
imul rax, rax, 0x10
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xe0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0xc], 5
jl 0x1400a7033
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0xc], eax
jne 0x1400a700c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
movzx eax, byte [rax + 1]
and eax, 0xb
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x18]
movzx ecx, byte [rcx + 0x20]
xor ecx, 3
and ecx, 3
cmp eax, ecx
jne 0x1400a7033
lea r9, [0x14027d9b8]
mov r8d, 0x8e
lea rdx, [0x14027d9f0]
lea rcx, [0x14027da40]
call fcn.140019820
test eax, eax
je 0x1400a7033
int3
jmp 0x1400a6f15
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 5
jge 0x1400a706c
lea r9, [0x14027daa8]
mov r8d, 0x92
lea rdx, [0x14027dae0]
lea rcx, [0x14027db30]
call fcn.140019820
test eax, eax
je 0x1400a706c
int3
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 1]
and eax, 4
test eax, eax
je 0x1400a70db
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
cmp eax, 5
jge 0x1400a70c1
lea r9, [0x14027db50]
mov r8d, 0x92
lea rdx, [0x14027db60]
lea rcx, str.___dst___tt____LUA_TSTRING_
call fcn.140019820
test eax, eax
je 0x1400a70c1
int3
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
call fcn.140093050
jmp 0x1400a7589
lea rcx, [0x1402f2f00]
call fcn.140014450
movzx eax, al
test eax, eax
je 0x1400a7484
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
je 0x1400a7484
cmp dword [rsp + 0x128], 1
jge 0x1400a711b
mov dword [rsp + 0x5c], 0
jmp 0x1400a714f
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x128], eax
jle 0x1400a713a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov dword [rsp + 0x58], eax
jmp 0x1400a7147
mov eax, dword [rsp + 0x128]
dec eax
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x130], 1
jge 0x1400a716b
mov dword [rsp + 0x64], 0
jmp 0x1400a719d
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x130], eax
jle 0x1400a718a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
mov dword [rsp + 0x60], eax
jmp 0x1400a7195
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jle 0x1400a71d6
lea r9, [0x14027dbd0]
mov r8d, 0x99
lea rdx, [0x14027dbe0]
lea rcx, str.slicestart___sliceend
call fcn.140019820
test eax, eax
je 0x1400a71d6
int3
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jle 0x1400a728f
cmp dword [rsp + 0x128], 1
jge 0x1400a720c
mov eax, dword [rsp + 0x128]
neg eax
inc eax
mov dword [rsp + 0x6c], eax
jmp 0x1400a7214
mov dword [rsp + 0x6c], 0
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x40], 0
jmp 0x1400a7233
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x40], eax
jge 0x1400a728f
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
lea eax, [rax + rcx + 1]
mov r8d, eax
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14007e280
mov eax, dword [rsp + 0x138]
mov ecx, dword [rsp + 0x90]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x40]
mov r8d, eax
mov edx, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call fcn.14007e8b0
jmp 0x1400a7229
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 6]
mov ecx, 1
mov dword [rsp + 0x88], ecx
movzx ecx, al
mov eax, dword [rsp + 0x88]
shl eax, cl
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x20], eax
jg 0x1400a734e
mov dword [rsp + 0x24], 0
jmp 0x1400a72d6
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jge 0x1400a7349
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x24]
lea eax, [rax + rcx - 1]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx + 8]
jae 0x1400a72fb
jmp 0x1400a72cc
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14007e280
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x138]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call fcn.14007e8b0
jmp 0x1400a72cc
jmp 0x1400a747f
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x8c], 0
je 0x1400a747f
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x1c]
and eax, 0xf
cmp eax, 3
jne 0x1400a747a
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x1c]
and eax, 0xf
cmp eax, 3
je 0x1400a73e4
lea r9, str.moveelements
mov r8d, 0xc4
lea rdx, [0x14027dc40]
lea rcx, str._____node___key____tt___LUA_TNUMBER_
call fcn.140019820
test eax, eax
je 0x1400a73e4
int3
mov rax, qword [rsp + 0x98]
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0xb0], xmm0
cvttsd2si eax, qword [rsp + 0xb0]
mov dword [rsp + 0x44], eax
cvtsi2sd xmm0, dword [rsp + 0x44]
ucomisd xmm0, qword [rsp + 0xb0]
jp 0x1400a747a
jne 0x1400a747a
mov eax, dword [rsp + 0x128]
cmp dword [rsp + 0x44], eax
jl 0x1400a747a
mov eax, dword [rsp + 0x130]
cmp dword [rsp + 0x44], eax
jg 0x1400a747a
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14007e280
mov eax, dword [rsp + 0x128]
mov ecx, dword [rsp + 0x138]
sub ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x44]
mov r8d, eax
mov edx, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call fcn.14007e8b0
jmp 0x1400a7356
jmp 0x1400a7589
mov eax, dword [rsp + 0x130]
cmp dword [rsp + 0x138], eax
jg 0x1400a74b0
mov eax, dword [rsp + 0x128]
cmp dword [rsp + 0x138], eax
jle 0x1400a74b0
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x30], rax
je 0x1400a751e
mov dword [rsp + 0x48], 0
jmp 0x1400a74c4
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x48], eax
jge 0x1400a751c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14007e280
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x138]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call fcn.14007e8b0
jmp 0x1400a74ba
jmp 0x1400a7589
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x4c], eax
jmp 0x1400a7534
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jl 0x1400a7589
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x128]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x118]
mov rcx, qword [rsp + 0x110]
call fcn.14007e280
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x138]
add ecx, eax
mov eax, ecx
mov r8d, eax
mov edx, dword [rsp + 0x120]
mov rcx, qword [rsp + 0x110]
call fcn.14007e8b0
jmp 0x1400a752a
add rsp, 0xf8
pop rdi
pop rsi
ret