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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x110
mov eax, dword [0x103c2010]
xor eax, ebp
mov dword [esp + 0x108], eax
cmp byte [0x103c8220], 0
je 0x10089c54
mov edx, ecx
mov ecx, dword [0x103c821c]
test ecx, ecx
je 0x10089cc5
lea esi, [esp + 0x60]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi - 4], esi
mov ebx, dword [0x103c8210]
mov dword [esp + 0x74], ebx
cmp ebx, 0x103c8214
je 0x10089965
lea edi, [esp + 0x74]
mov esi, edx
cmp dword [ebx + 0x18], edx
jne 0x10089942
cmp dword [ebx + 0x30], 0
je 0x10089942
lea eax, [ebx + 0x20]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 8], 0x10352a73
lea ecx, [esp + 0x5c]
call fcn.1008a626
sub esp, 0x14
mov ecx, dword [esp + 0x80]
add ecx, 0x18
mov eax, dword [ebx + 0x28]
add ebx, 0x2c
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.1008a5ce
sub esp, 8
mov ecx, edi
call fcn.1008a9a0
mov ebx, dword [esp + 0x74]
cmp ebx, 0x103c8214
mov edx, esi
jne 0x100898dd
mov ecx, dword [0x103c821c]
test ecx, ecx
je 0x10089d45
mov dword [esp + 0x54], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xf0], xmm0
movdqa xmmword [esp + 0xe0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x64], 0
mov dword [esp + 0x44], 0
mov edi, 0
je 0x10089de4
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x74], ebx
lea eax, [esp + 0x60]
cmp ebx, eax
je 0x10089dc0
xor edi, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + edi*4 + 0x80], eax
inc edi
cmp edi, 0x20
je 0x10089dcc
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x70], eax
add ebx, 0x1c
cmp eax, ebx
je 0x10089c2b
mov esi, dword [eax + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 4], esi
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x18], 2
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
je 0x10089b15
mov eax, dword [esp + 0x6c]
mov dword [esp + edi*4 + 0x80], eax
cmp edi, 0x20
jae 0x10089fa4
mov esi, ebx
mov bl, byte [0x103c4c60]
test bl, 0x19
jne 0x10089b27
xor ecx, ecx
xor eax, eax
dec eax
mov edx, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], edi
inc edi
cmp edi, 0x20
jne 0x10089acd
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], edx
test byte [0x103c4c60], 0x19
jne 0x10089bb0
mov al, 1
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
test bl, 0x19
je 0x10089afb
cmp byte [ecx], 0
je 0x10089afb
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x7c], edx
movq xmm0, qword [esp + 0x78]
movq qword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.101e81e0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x50]
bts eax, ecx
mov dword [esp + 0x44], eax
cmp edi, 0x20
je 0x10089c26
mov ebx, esi
lea ecx, [esp + 0x70]
call fcn.1008a9a0
mov eax, dword [esp + 0x70]
jmp 0x10089a1d
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
sub esp, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
sub esp, 4
mov dword [esp + 0x68], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], str.RenderProcID
mov dword [esp + 0x24], str.BrowserProcID
mov dword [esp + 8], str.WebView2_FGBoost_ProcID
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008ac9b
mov dword [esp + 0x3c], edx
mov edx, eax
mov eax, str.WebView2_FGBoost_ProcID
mov ecx, 0x103c4c60
jmp 0x10089aa0
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WebView2_FGBoost_MaxHandles
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
mov dword [esp + 0x38], ecx
call fcn.1008a549
mov ecx, dword [esp + 0x38]
cmp byte [0x103c4c60], 0
je 0x10089abf
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
movq xmm0, qword [esp + 0x78]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.WebView2_FGBoost_MaxHandles
mov dword [esp], 0x103c4c60
call fcn.101e81e0
mov ecx, dword [esp + 0x38]
jmp 0x10089abf
mov edi, 0x20
test byte [esp + 0x38], 1
jne 0x10089dde
lea ecx, [esp + 0x74]
call fcn.1008a9a0
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x60]
cmp ebx, eax
jne 0x100899fb
jmp 0x10089dde
test byte [0x103c4c60], 0x19
je 0x10089eb2
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WebView2_FGBoost_disabled.
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008a549
cmp byte [0x103c4c60], 0
je 0x10089eb2
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.WebView2_FGBoost_disabled.
jmp 0x10089d34
test byte [0x103c4c60], 0x19
je 0x10089eb2
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WebView2_FGBoost_not_supported.
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008a549
cmp byte [0x103c4c60], 0
je 0x10089eb2
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.WebView2_FGBoost_not_supported.
mov dword [esp], 0x103c4c60
call fcn.101e81e0
jmp 0x10089eb2
test byte [0x103c4c60], 0x19
je 0x10089ea0
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WebView2_FGBoost_not_supported_for_caller.
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008a549
cmp byte [0x103c4c60], 0
je 0x10089ea0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.WebView2_FGBoost_not_supported_for_caller.
mov dword [esp], 0x103c4c60
jmp 0x10089e9b
mov dword [esp + 0x44], 0
xor edi, edi
jmp 0x10089dde
test byte [0x103c4c60], 0x19
jne 0x10089f3a
mov edi, 0x20
mov ecx, dword [0x103c821c]
call dword [section..00cfg]
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov esi, dword [esp + 0x54]
mov dword [esp], esi
call ecx
sub esp, 0xc
test eax, eax
setne byte [esp + 0x74]
mov al, byte [0x103c4c60]
test al, 0x19
mov byte [esp + 0x50], al
jne 0x10089ec8
xor eax, eax
dec eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
test edi, edi
jle 0x10089e60
mov ebx, edi
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x20
je 0x10089fa4
mov eax, dword [esp + 0x44]
bt eax, edi
jae 0x10089e5b
mov eax, dword [esp + edi*4 + 0x80]
mov dword [esp], eax
call esi
sub esp, 4
inc edi
cmp ebx, edi
jne 0x10089e3a
test byte [esp + 0x50], 0x19
je 0x10089ea0
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
je 0x10089ea0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x7c], eax
movq xmm0, qword [esp + 0x78]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.101e81e0
lea ecx, [esp + 0x5c]
mov eax, dword [ecx + 4]
mov dword [esp], eax
call fcn.1008ae80
sub esp, 4
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.102f4c53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
lea ecx, [esp + 0x78]
mov dword [ecx + 4], eax
mov dword [ecx], esi
lea edx, [esp + 0x74]
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], str.Boosted
mov dword [esp + 0x24], str.HWND
mov dword [esp + 8], str.WebView2_FGBoost_Boosted
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008ad5b
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], str.WebView2_FGBoost_Boosted
mov dword [esp + 0x4c], 0x103c4c60
jmp 0x10089e2c
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.WebView2_FGBoost_MaxHandles
mov dword [esp + 4], 0x103c4c60
mov dword [esp], 0x58
call fcn.1008a549
cmp byte [0x103c4c60], 0
je 0x10089dd9
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
movq xmm0, qword [esp + 0x78]
movq qword [esp + 8], xmm0
mov dword [esp + 4], str.WebView2_FGBoost_MaxHandles
mov dword [esp], 0x103c4c60
call fcn.101e81e0
jmp 0x10089dd9
call fcn.10308bbb
int3