Function at 0x1007f520
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c00e8
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._WriteUtf8_String_v8__QBEHPADHPAHH_Z
push esi
mov dword [ebp - 0x74], esi
call edi
push str._Utf8Length_String_v8__QBEHXZ
push esi
mov dword [0x10c5fb10], eax
call edi
cmp dword [0x10c5fb10], 0
mov dword [0x10c5fb14], eax
je 0x1007f68c
test eax, eax
je 0x1007f68c
push 0x608
lea eax, [ebp - 0x6a8]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x528], 0x101
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x508], 0x1007d7e0
mov dword [ebp - 0x500], 0x1007d7a0
push str._Length_String_v8__QBEHXZ
push esi
mov byte [ebp - 0x6d], 0
call edi
test eax, eax
je 0x1007f60d
push str.v8::String::Length
sub esp, 0x608
mov dword [ebp - 0x6a8], eax
mov ecx, 0x182
lea esi, [ebp - 0x6a8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
mov esi, dword [ebp - 0x74]
add esp, 0x60c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [ebp - 0x6d], al
push str._Write_String_v8__QBEHPAGHHH_Z
push esi
call edi
test eax, eax
je 0x1007f650
push str.v8::String::Write
sub esp, 0x608
mov dword [ebp - 0x6a8], eax
mov ecx, 0x182
lea esi, [ebp - 0x6a8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
mov esi, dword [ebp - 0x74]
add esp, 0x60c
or byte [ebp - 0x6d], al
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._Write_String_v8__QBEHPAVIsolate_2_PAGHHH_Z
push esi
call edi
test eax, eax
je 0x1007f690
push str.v8::String::Write::isolate
sub esp, 0x608
mov dword [ebp - 0x6a8], eax
mov ecx, 0x182
lea esi, [ebp - 0x6a8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
add esp, 0x60c
or byte [ebp - 0x6d], al
jmp 0x1007f690
mov byte [ebp - 0x6d], 0
push 0x208
call fcn.100aa3ef
mov edi, eax
push 0x208
push 0
push edi
lea esi, [edi + 0x208]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], esi
call sub.msvcrt.dll_memset
add esp, 0x10
mov dword [ebp - 0x7c], esi
push 0x104
push edi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1007f71c
mov ecx, edi
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f6f7
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0xa0]
call fcn.10016810
mov byte [ebp - 0x88], 1
jmp 0x1007f723
mov byte [ebp - 0x88], 0
test edi, edi
je 0x1007f735
push 0x208
push edi
call fcn.100aa41f
add esp, 8
cmp byte [ebp - 0x88], 0
mov dword [ebp - 4], 1
je 0x1007fb7f
movups xmm0, xmmword [ebp - 0xa0]
xor eax, eax
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
push 0x11
push str.disable.clipboard
mov byte [ebp - 4], 2
call fcn.10097e31
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1007ea00
cmp dword [ebp - 0x20], 7
lea edi, [ebp - 0x34]
mov eax, dword [ebp - 0x24]
cmova edi, dword [ebp - 0x34]
mov byte [ebp - 4], 4
lea esi, [edi + eax*2]
push esi
push edi
call fcn.1007eb60
add esp, 0x18
cmp eax, esi
je 0x1007f7f5
nop dword [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x1007f7cd
cmp ecx, 0x2f
jne 0x1007f7d4
add eax, 2
cmp eax, esi
jne 0x1007f7c0
cmp eax, esi
je 0x1007f7f5
nop dword [eax + eax]
movzx ecx, word [esi - 2]
cmp ecx, 0x5c
je 0x1007f7f5
cmp ecx, 0x2f
je 0x1007f7f5
add esi, 0xfffffffe
cmp eax, esi
jne 0x1007f7e0
sub esi, edi
sar esi, 1
cmp dword [ebp - 0x24], esi
jb 0x1007fb84
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], esi
cmova eax, dword [ebp - 0x34]
xor ecx, ecx
mov byte [ebp - 4], 3
mov word [eax + esi*2], cx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x34]
call fcn.1007e6b0
mov esi, eax
cmp dword [esi + 0x14], 7
jbe 0x1007f830
mov eax, dword [esi]
push 0xffffffffffffffff
push 3
lea ecx, [ebp - 0x6c]
push ecx
push eax
call fcn.10097f69
mov edx, eax
test edx, edx
jne 0x1007f88d
mov eax, dword [ebp - 0x5c]
mov ecx, 0x1ff
test al, 1
mov edi, 0x16d
cmovne ecx, edi
mov dword [ebp - 0x7c], ecx
test eax, 0x400
je 0x1007f87f
mov ecx, dword [ebp - 0x58]
cmp ecx, 0xa000000c
jne 0x1007f870
lea eax, [edx + 4]
jmp 0x1007f8b3
cmp ecx, 0xa0000003
jne 0x1007f87f
mov eax, 0xa
jmp 0x1007f8b3
movzx eax, al
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1007f8b3
lea eax, [edx - 2]
mov dword [ebp - 0x7c], 0xffff
cmp eax, 0x79
ja case.0x1007f8a3.4
movzx eax, byte [eax + 0x1007fba8]
jmp dword [eax*4 + 0x1007fba0]
mov eax, 1
jmp 0x1007f8b3
xor eax, eax
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], 0x100e5e14
test eax, eax
je 0x1007f9b7
cmp eax, 1
sete byte [ebp - 0x6e]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x1007f90a
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f900
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007fb89
push ecx
push edx
call fcn.100aa41f
add esp, 8
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 1
cmp ecx, 7
jbe 0x1007f95c
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007fb89
push ecx
push edx
call fcn.100aa41f
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x88], al
je 0x1007f9d2
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x1007f9d2
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007f9c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007fb89
jmp 0x1007f9c8
mov byte [ebp - 0x6e], 1
test edx, edx
jne 0x1007fb8e
jmp 0x1007f8cc
push ecx
push edx
call fcn.100aa41f
add esp, 8
cmp byte [ebp - 0x6e], 0
je 0x1007fb5f
mov edi, dword [ebp - 0x74]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._GetCurrent_Isolate_v8__SAPAV12_XZ
push edi
call esi
test eax, eax
jne 0x1007f9fd
push str._TryGetCurrent_Isolate_v8__SAPAV12_XZ
push edi
call esi
test eax, eax
je 0x1007fa13
call eax
test eax, eax
je 0x1007fa13
push eax
call fcn.1007fc30
add esp, 4
mov cl, al
jmp 0x1007fae6
lea eax, [ebp - 0x10]
mov dword [ebp - 0x1c], str._New_Number_v8__SA_AV__Local_VNumber_v8___2_PEAVIsolate_2_N_Z
mov dword [ebp - 0x78], eax
xor cl, cl
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x6e], cl
mov edx, eax
mov dword [ebp - 0x18], str._New_Number_v8__SA_AV__Local_VNumber_v8___2_PAVIsolate_2_N_Z
mov dword [ebp - 0x14], str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
mov dword [ebp - 0x84], eax
cmp edx, dword [ebp - 0x78]
je 0x1007fae6
push dword [eax]
push edi
call esi
mov esi, eax
test esi, esi
je 0x1007fac3
push 0x19c
lea eax, [ebp - 0x6a4]
mov dword [0x10c5faf0], edi
push 0
push eax
call sub.msvcrt.dll_memset
push 0x464
lea eax, [ebp - 0x504]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
mov dword [ebp - 0x6a8], esi
mov ecx, 0x182
mov dword [ebp - 0x508], 0x1007fd80
lea esi, [ebp - 0x6a8]
push str.isolategetter
sub esp, 0x608
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
mov cl, byte [ebp - 0x6e]
add esp, 0x60c
mov edi, dword [ebp - 0x74]
or cl, al
mov byte [ebp - 0x6e], cl
jmp 0x1007fac6
mov cl, byte [ebp - 0x6e]
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add eax, 4
mov dword [ebp - 0x84], eax
cmp eax, edx
jne 0x1007fa47
test cl, cl
je 0x1007fb5f
push 0x608
lea eax, [ebp - 0x6a8]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [sym.imp.USER32.dll_SetClipboardData]
lea esi, [ebp - 0x6a8]
add esp, 0xc
mov dword [ebp - 0x6a8], eax
mov ecx, 0x182
mov dword [ebp - 0x528], 0x240003
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x508], 0x1007d830
push str.hookClipboard
sub esp, 0x608
mov dword [ebp - 0x4f0], 0x1007d7c0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.10005ae0
mov cl, byte [ebp - 0x6d]
add esp, 0x60c
or cl, al
jmp 0x1007fb62
mov cl, byte [ebp - 0x6d]
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100aa42d
mov esp, ebp
pop ebp
ret
call fcn.10017a40
call fcn.10007910
call fcn.100ab910
push esi
lea eax, [ebp - 0x7c]
push eax
push str.exists
call fcn.1007ef70
nop dword [eax]
stosb byte es:[edi], al
clc
pop es
adc byte [ecx + 0x1007f8], dh
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3