Function at 0x57f330
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 [0xa2f420]
lea edx, [esp + 0x20]
push edx
push 1
push ebp
push ebp
lea eax, [esp + 0x40]
push eax
push ecx
push str.RangeError
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 0x57f4e5
and eax, 0xffffff
sub eax, 1
je 0x57f4b2
sub eax, 1
je 0x57f402
sub eax, 1
jne 0x57f4e5
test byte [esp + 0x20], 8
je 0x57f4e5
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x57f4e5
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x57f4e5
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x57f4e5
dec dword [esi]
lea ecx, [esp + 0x18]
cmp dword [esi + 8], ecx
jne 0x57f420
mov dword [esi + 8], ebp
cmp dword [esi], ebp
jg 0x57f4e5
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x10], ebp
jle 0x57f49b
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 0x57f478
jmp 0x57f450
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57f465
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 0x57f450
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 0x57f431
mov edx, dword [esi + 4]
push edx
call fcn.005411f0
push esi
mov dword [esi + 4], ebp
call fcn.005411f0
add esp, 8
jmp 0x57f4e5
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x57f4e5
dec dword [esi + 4]
cmp dword [esi + 4], ebp
lea eax, [esi + 4]
jne 0x57f4e5
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 0x57f635
and eax, 0xffffff
sub eax, 1
je 0x57f602
sub eax, 1
je 0x57f548
sub eax, 1
jne 0x57f635
test byte [esp + 0x30], 8
je 0x57f635
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
je 0x57f635
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x57f635
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], esi
cmp esi, ebp
je 0x57f635
dec dword [esi]
lea ecx, [esp + 0x28]
cmp dword [esi + 8], ecx
jne 0x57f566
mov dword [esi + 8], ebp
cmp dword [esi], ebp
jg 0x57f635
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x14], ebp
jle 0x57f5eb
jmp 0x57f580
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 0x57f5c8
lea ebx, [ebx]
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57f5b5
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 0x57f5a0
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 0x57f580
mov edx, dword [esi + 4]
push edx
call fcn.005411f0
push esi
mov dword [esi + 4], ebp
call fcn.005411f0
add esp, 8
jmp 0x57f635
mov esi, dword [esp + 0x28]
cmp esi, ebp
je 0x57f635
dec dword [esi + 4]
cmp dword [esi + 4], ebp
lea eax, [esi + 4]
jne 0x57f635
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 0x57f770
and eax, 0xffffff
sub eax, 1
je 0x57f744
sub eax, 1
je 0x57f699
sub eax, 1
jne 0x57f770
test byte [esp + 0x40], 8
je 0x57f770
xor ecx, ecx
cmp ecx, ebp
je 0x57f770
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 0x57f770
dec dword [esi]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
cmp dword [esi + 8], ecx
jne 0x57f6b3
mov dword [esi + 8], ebp
cmp eax, ebp
jg 0x57f770
cmp dword [esi + 0x10], ebp
mov dword [esp + 0x14], ebp
jle 0x57f727
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 0x57f708
mov edi, edi
mov ecx, dword [esi + 0xc]
dec ecx
test ecx, 0xfffffc
jne 0x57f6f5
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 0x57f6e0
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 0x57f6c4
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 0x57f770
add dword [esi + 4], 0xffffffff
jne 0x57f770
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