Function at 0x1007cbe0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ed368
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10124fe8]
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.10004e70
add esp, 8
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call dword [0x10ca2a74]
push dword [ebp - 0x48]
push str.context__p
call fcn.10004e70
add esp, 8
cmp dword [ebp - 0x48], 0
je 0x1007ce81
xor ebx, ebx
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.1007daf0
add esp, 8
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x5c], bl
je 0x1007ccbe
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 0x1007ccaa
cmp esi, 0xffffffff
je 0x1007ccaa
lea eax, [ebp - 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1007ccaa
cmp dword [ebp - 0x54], ebx
jl 0x1007ccaa
jg 0x1007cca5
cmp dword [ebp - 0x58], 0xc800000
jbe 0x1007ccaa
mov ebx, 1
mov byte [ebp - 4], 1
test esi, esi
je 0x1007ccbe
cmp esi, 0xffffffff
je 0x1007ccbe
push esi
call dword [0x100f3bec]
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a420
mov eax, dword [0x10ca2a68]
push str.JSSOURCE
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
push str.lunajspatch
push eax
call fcn.10005000
add esp, 0xc
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 4], 2
jb 0x1007ccfc
mov esi, dword [esi]
push 0
push ebx
push esi
push 0
push 0
call fcn.1007e810
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.100184d0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.10020ec0
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 0x1007cd7f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007cd75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007ce9f
push edx
push ecx
call fcn.100bf1af
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 0x1007cdcc
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1007cdc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007cea4
push edx
push ecx
call fcn.100bf1af
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.10004e70
mov eax, dword [ebp - 0x50]
add esp, 8
test eax, eax
je 0x1007ce81
cmp dword [0x10ca2a70], 0
je 0x1007ce34
push 0
push 0
push eax
lea eax, [ebp - 0x44]
push eax
call dword [0x10ca2a78]
push dword [ebp - 0x44]
push str.script__p
call fcn.10004e70
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test ecx, ecx
je 0x1007ce81
lea eax, [ebp - 0x4c]
push eax
call dword [0x10ca2a7c]
jmp 0x1007ce71
cmp dword [0x10ca2a6c], 0
je 0x1007ce81
push 0
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call dword [0x10ca2a78]
push dword [ebp - 0x44]
push str.script__p
call fcn.10004e70
mov ecx, dword [ebp - 0x44]
add esp, 0x18
test ecx, ecx
je 0x1007ce81
push dword [ebp - 0x48]
lea eax, [ebp - 0x4c]
push eax
call dword [0x10ca2a7c]
push dword [ebp - 0x4c]
push str.useless__p
call fcn.10004e70
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.100bf1bd
mov esp, ebp
pop ebp
ret 8
call fcn.100ca489
call fcn.100ca489
int3