Function at 0x10077a20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e7b68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1011efb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
push str.isolate__p
call fcn.10004dc0
add esp, 8
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10c9c7bc]
push dword [ebp - 0x48]
push str.context__p
call fcn.10004dc0
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x10077cc1
xor ebx, ebx
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.10078930
add esp, 8
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x5c], bl
je 0x10077afe
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push ebx
cmovae eax, dword [ebp - 0x74]
push 0x80
push 3
push ebx
push 1
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x10077aea
cmp esi, 0xffffffff
je 0x10077aea
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10077aea
cmp dword [ebp - 0x54], ebx
jl 0x10077aea
jg 0x10077ae5
cmp dword [ebp - 0x58], 0xc800000
jbe 0x10077aea
mov ebx, 1
mov byte [ebp - 4], 1
test esi, esi
je 0x10077afe
cmp esi, 0xffffffff
je 0x10077afe
push esi
call dword [0x100eebdc]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.10017c90
mov eax, dword [0x10c9c7b0]
push str.JSSOURCE
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
push str.lunajspatch
push eax
call fcn.10004f50
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x10077b3c
mov esi, dword [esi]
push 0
push ebx
push esi
push 0
push 0
call fcn.10079650
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10015d40
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.1001e7e0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x28]
push 1
push eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 3
push edi
push eax
call dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
add esp, 0x20
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10077bbf
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077cdf
push edx
push ecx
call fcn.100b9eff
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10077c0c
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10077c02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10077ce4
push edx
push ecx
call fcn.100b9eff
add esp, 8
push dword [ebp - 0x50]
mov dword [ebp - 0x30], 0
push str.v8string__p
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10004dc0
mov eax, dword [ebp - 0x50]
add esp, 8
test eax, eax
je 0x10077cc1
cmp dword [0x10c9c7b8], 0
je 0x10077c74
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
call dword [0x10c9c7c0]
push dword [ebp - 0x44]
push str.script__p
call fcn.10004dc0
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test ecx, ecx
je 0x10077cc1
lea eax, [ebp - 0x4c]
push eax
call dword [0x10c9c7c4]
jmp 0x10077cb1
cmp dword [0x10c9c7b4], 0
je 0x10077cc1
push 0
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call dword [0x10c9c7c0]
push dword [ebp - 0x44]
push str.script__p
call fcn.10004dc0
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test ecx, ecx
je 0x10077cc1
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
push eax
call dword [0x10c9c7c4]
push dword [ebp - 0x4c]
push str.useless__p
call fcn.10004dc0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b9f0d
mov esp, ebp
pop ebp
ret 8
call fcn.100c51d9
call fcn.100c51d9
int3