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

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x3c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
pxor xmm0, xmm0
push eax
lea ecx, [esp + 0x1c]
movq qword [esp + 0x24], xmm0
pxor xmm0, xmm0
push ecx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
movq qword [esp + 0x38], xmm0
call fcn.0054faf0
mov ecx, dword [0xa2f424]
lea edx, [esp + 0x20]
push edx
push 1
push ebp
push ebp
lea eax, [esp + 0x40]
push eax
push ecx
push str.ReferenceError
call fcn.0057c600
lea edx, [esp + 0x4c]
push edx
push 1
push ebp
lea eax, [esp + 0x68]
push ebp
pxor xmm0, xmm0
push eax
mov dword [esp + 0x74], ebp
movq qword [esp + 0x78], xmm0
call fcn.0057bde0
mov eax, dword [esp + 0x5c]
lea ecx, [eax - 1]
add esp, 0x38
test ecx, 0xfffffc
jne 0x57f935
and eax, 0xffffff
sub eax, 1
je 0x57f902
sub eax, 1
je 0x57f852
sub eax, 1
jne 0x57f935
test byte [esp + 0x20], 8
je 0x57f935
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x57f935
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x57f935
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x57f935
dec dword [esi]
lea ecx, [esp + 0x18]
cmp dword [esi + 8], ecx
jne 0x57f870
mov dword [esi + 8], ebp
cmp dword [esi], ebp
jg 0x57f935
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x10], ebp
jle 0x57f8eb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov edi, dword [edx + eax*8]
mov esi, dword [edx + eax*8 + 4]
lea ebx, [edx + eax*8]
shl edi, 4
add edi, esi
cmp esi, edi
jae 0x57f8c8
jmp 0x57f8a0
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57f8b5
push esi
call fcn.00407cf0
add esp, 4
mov dword [esi + 8], ebp
mov dword [esi + 0xc], 5
mov dword [esi], ebp
add esi, 0x10
cmp esi, edi
jb 0x57f8a0
mov edx, dword [ebx + 4]
push edx
call fcn.005411f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add esp, 4
mov dword [ebx + 4], ebp
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
mov esi, ecx
jl 0x57f881
mov edx, dword [esi + 4]
push edx
call fcn.005411f0
push esi
mov dword [esi + 4], ebp
call fcn.005411f0
add esp, 8
jmp 0x57f935
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x57f935
dec dword [esi + 4]
cmp dword [esi + 4], ebp
lea eax, [esi + 4]
jne 0x57f935
mov eax, dword [esi]
push eax
call fcn.0053c0a0
add esp, 4
mov ecx, esi
mov dword [esi], ebp
mov dword [esi + 8], ebp
call fcn.00407aa0
push esi
call fcn.0069570a
add esp, 4
mov eax, dword [esp + 0x34]
lea ecx, [eax - 1]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], ebp
test ecx, 0xfffffc
jne 0x57fa85
and eax, 0xffffff
sub eax, 1
je 0x57fa52
sub eax, 1
je 0x57f998
sub eax, 1
jne 0x57fa85
test byte [esp + 0x30], 8
je 0x57fa85
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x57fa85
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x57fa85
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], esi
cmp esi, ebp
je 0x57fa85
dec dword [esi]
lea ecx, [esp + 0x28]
cmp dword [esi + 8], ecx
jne 0x57f9b6
mov dword [esi + 8], ebp
cmp dword [esi], ebp
jg 0x57fa85
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x14], ebp
jle 0x57fa3b
jmp 0x57f9d0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax*8]
mov esi, dword [edx + eax*8 + 4]
lea ebx, [edx + eax*8]
shl edi, 4
add edi, esi
cmp esi, edi
jae 0x57fa18
lea ebx, [ebx]
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57fa05
push esi
call fcn.00407cf0
add esp, 4
mov dword [esi + 8], ebp
mov dword [esi + 0xc], 5
mov dword [esi], ebp
add esi, 0x10
cmp esi, edi
jb 0x57f9f0
mov edx, dword [ebx + 4]
push edx
call fcn.005411f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc eax
add esp, 4
mov dword [ebx + 4], ebp
cmp eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
mov esi, ecx
jl 0x57f9d0
mov edx, dword [esi + 4]
push edx
call fcn.005411f0
push esi
mov dword [esi + 4], ebp
call fcn.005411f0
add esp, 8
jmp 0x57fa85
mov esi, dword [esp + 0x28]
cmp esi, ebp
je 0x57fa85
dec dword [esi + 4]
cmp dword [esi + 4], ebp
lea eax, [esi + 4]
jne 0x57fa85
mov eax, dword [esi]
push eax
call fcn.0053c0a0
add esp, 4
mov ecx, esi
mov dword [esi], ebp
mov dword [esi + 8], ebp
call fcn.00407aa0
push esi
call fcn.0069570a
add esp, 4
mov eax, dword [esp + 0x44]
lea ecx, [eax - 1]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 5
mov dword [esp + 0x28], ebp
test ecx, 0xfffffc
jne 0x57fbc0
and eax, 0xffffff
sub eax, 1
je 0x57fb94
sub eax, 1
je 0x57fae9
sub eax, 1
jne 0x57fbc0
test byte [esp + 0x40], 8
je 0x57fbc0
xor ecx, ecx
cmp ecx, ebp
je 0x57fbc0
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor esi, esi
cmp esi, ebp
je 0x57fbc0
dec dword [esi]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
cmp dword [esi + 8], ecx
jne 0x57fb03
mov dword [esi + 8], ebp
cmp eax, ebp
jg 0x57fbc0
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x14], ebp
jle 0x57fb77
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + eax*8]
mov esi, dword [edx + eax*8 + 4]
lea ebx, [edx + eax*8]
shl edi, 4
add edi, esi
cmp esi, edi
jae 0x57fb58
mov edi, edi
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57fb45
push esi
call fcn.00407cf0
add esp, 4
mov dword [esi + 8], ebp
mov dword [esi + 0xc], 5
mov dword [esi], ebp
add esi, 0x10
cmp esi, edi
jb 0x57fb30
mov edx, dword [ebx + 4]
push edx
call fcn.005411f0
mov eax, dword [esp + 0x18]
inc eax
xor esi, esi
add esp, 4
mov dword [ebx + 4], ebp
cmp eax, dword [esi + 0x10]
mov dword [esp + 0x14], eax
jl 0x57fb14
mov eax, dword [esi + 4]
push eax
call fcn.005411f0
push esi
mov dword [esi + 4], ebp
call fcn.005411f0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
xor esi, esi
cmp esi, ebp
je 0x57fbc0
add dword [esi + 4], 0xffffffff
jne 0x57fbc0
mov ecx, dword [esi]
push ecx
call fcn.0053c0a0
add esp, 4
mov ecx, esi
mov dword [esi], ebp
mov dword [esi + 8], ebp
call fcn.00407aa0
push esi
call fcn.0069570a
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret