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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 8], edx
mov esi, ecx
mov eax, dword [0x803100]
xor eax, ebp
mov dword [esp + 0xa8], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x10]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0xffffffff
mov ecx, ebx
call fcn.0062879c
test esi, esi
je 0x627c9b
cmp word [esi], 0
je 0x627c9b
xor edi, edi
inc edi
mov dword [esp + 4], 0
push ebx
push esi
call fcn.00627961
add esp, 8
mov ebx, eax
jmp 0x627cb6
mov ecx, dword [ebp + 0xc]
xor edi, edi
lea edx, [esp + 0x10]
push edi
push edi
call 0x627f7b
add esp, 8
mov ebx, eax
mov al, 1
mov dword [esp + 4], eax
mov esi, ebx
test ebx, ebx
jne 0x627cde
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x10]
call fcn.00628a2e
push esi
push dword [ebp + 8]
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.00629150
add esp, 0x18
mov esi, eax
test esi, esi
js 0x627d03
lea ecx, [esp + 0x10]
call fcn.006287b0
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00649c68
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
sete bl
mov eax, dword [0x8038a0]
mov ecx, dword [0x8038bc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x627f31
mov eax, dword [0x80389c]
test eax, eax
je 0x627ce2
push 0x7fb002
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x627ce2
mov eax, dword [0x8030b4]
movdqu xmm0, xmmword [eax - 0x10]
movdqa xmmword [esp + 0x30], xmm0
mov eax, dword [0x8030c8]
or eax, dword [0x8030cc]
jne 0x627f74
pxor xmm0, xmm0
movq qword [0x8030d0], xmm0
lea edi, [esp + 0x30]
push 0x8030c8
push 0x8030b0
push 0x628389
push edi
call dword [sym.imp.advapi32.dll_EventRegister]
test eax, eax
jne 0x627ce2
mov eax, dword [0x8030b4]
movzx ecx, word [eax]
push ecx
push eax
push 2
push dword [0x8030cc]
push dword [0x8030c8]
call dword [sym.imp.advapi32.dll_EventSetInformation]
cmp dword [0x8030b0], 3
jb 0x627f05
test byte [0x8030bd], 0x40
je 0x627f05
mov eax, 0x4000
not eax
and eax, dword [0x8030c4]
or eax, dword [0x8030c0]
jne 0x627f05
xor eax, eax
lea edx, [esp + 0x24]
mov ecx, dword [esp + 4]
mov byte [edx], cl
lea ecx, [esp + 0x28]
mov dword [ecx + 4], eax
mov dword [ecx], 0x1000000
xor eax, eax
dec eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [esp + 0x38], xmm0
mov dword [esp + 0x80], ecx
xor eax, eax
mov dword [esp + 0x84], eax
movsd xmm0, qword [0x7fac90]
movsd qword [esp + 0x88], xmm0
mov dword [esp + 0x70], edx
lea ecx, [esp + 0x20]
mov byte [ecx], bl
mov eax, 0
mov dword [esp + 0x74], eax
movsd xmm0, qword [0x7faca0]
movsd qword [esp + 0x78], xmm0
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x1c]
mov dword [ecx], esi
mov dword [esp + 0x64], eax
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x54], eax
mov eax, 0
mov dword [esp + 0x50], ecx
movsd xmm0, qword [0x661c60]
movsd qword [esp + 0x58], xmm0
movsd xmm0, qword [0x7facb0]
lea ebx, [esp + 0x98]
movsd qword [ebx], xmm0
mov ecx, 0x4000
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], eax
mov ecx, dword [0x8030b4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
movzx ecx, word [ecx]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0x7fc7dc
movq xmm0, qword [0x7facc0]
movq qword [esp + 0x48], xmm0
xor ecx, ecx
dec ecx
mov dword [esp + 0xc], ecx
mov ecx, str.ETW0
mov edx, 0x7fc880
sub edx, ecx
mov dword [esp + 0xc], edx
push edi
push 6
push eax
push eax
push ebx
push dword [0x8030cc]
push dword [0x8030c8]
call dword [sym.imp.advapi32.dll_EventWriteTransfer]
mov eax, dword [0x8030c8]
mov ecx, dword [0x8030cc]
xor edx, edx
mov dword [0x8030b0], edx
mov dword [0x8030c8], edx
mov dword [0x8030cc], edx
push ecx
push eax
call dword [sym.imp.advapi32.dll_EventUnregister]
jmp 0x627ce2
push 0x8038a0
call fcn.00649e36
add esp, 4
cmp dword [0x8038a0], 0xffffffff
jne 0x627d29
push 0x800
push 0
push 0x7fafe8
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [0x80389c], eax
push 0x8038a0
call fcn.00649de5
add esp, 4
jmp 0x627d29
mov ecx, 5
int 0x29
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, edx
mov dword [esp + 0x24], ecx
mov eax, dword [0x803100]
xor eax, ebp
mov dword [esp + 0x78], eax
lea esi, [esp + 0x2c]
xor eax, eax
mov dword [esp + 0xc], edx
mov edi, 4
sub edi, eax
cmp dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
cmovne edi, eax
pcmpeqd xmm0, xmm0
movq qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], 0xffffffff
mov ecx, esi
call fcn.0062879c
push esi
push edi
call fcn.00627841
add esp, 8
mov ecx, esi
call fcn.00628a2e
mov ecx, eax
xor edx, edx
push ebx
push dword [ebp + 8]
call fcn.0062840c
add esp, 8
test al, al
jne 0x6282a1
mov ecx, esi
call fcn.00628a2e
mov ecx, eax
xor edx, edx
inc edx
push ebx
push dword [ebp + 8]
call fcn.0062840c
add esp, 8
test al, al
jne 0x6282a1
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
mov eax, dword [0x8038a8]
mov ecx, dword [0x8038bc]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x628259
mov ecx, dword [0x8038a4]
test ecx, ecx
je 0x6280eb
mov dword [esp + 0x3c], 0xffffffff
xor esi, esi
mov dword [esp + 0x38], esi
call dword [0x6615ac]
lea eax, [esp + 0x3c]
push eax
push esi
lea eax, [esp + 0x40]
push eax
push 1
call ecx
cmp eax, 0x7a
jne 0x6280e7
cmp dword [esp + 0x38], 0
je 0x6280e7
pcmpeqd xmm0, xmm0
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0xffffffff
lea esi, [esp + 0x40]
mov ecx, esi
call fcn.0062879c
mov ecx, esi
push dword [esp + 0x38]
call fcn.00628a0a
test al, al
je 0x6280da
mov esi, dword [0x8038a4]
lea ecx, [esp + 0x40]
call fcn.00628a2e
mov ebx, eax
mov ecx, esi
call dword [0x6615ac]
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x40]
push eax
push 1
call esi
test eax, eax
je 0x628105
lea ecx, [esp + 0x40]
call fcn.006287b0
mov ebx, dword [esp + 0xc]
lea esi, [esp + 0x2c]
mov ecx, esi
call fcn.006287b0
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 5
jne 0x627fa5
jmp 0x6282c1
lea ecx, [esp + 0x40]
call fcn.00628a2e
cmp dword [esp + 0x3c], 0
je 0x6280da
mov esi, eax
mov eax, dword [edi*4 + 0x7fb244]
mov dword [esp + 0x10], eax
add esi, 0x1c
xor ebx, ebx
push dword [esp + 0x10]
push dword [esi - 0xc]
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
add esp, 8
test eax, eax
je 0x628146
inc ebx
add esi, 0x34
cmp ebx, dword [esp + 0x3c]
jb 0x628127
jmp 0x6280da
movq xmm0, qword [esi]
punpcklwd xmm0, xmmword [0x7facd0]
movdqa xmmword [esp + 0x10], xmm0
pshufd xmm0, xmm0, 0x1b
movdqa xmmword [esp + 0x60], xmm0
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push dword [esi - 0x14]
call fcn.0062888a
lea esi, [esp + 0x40]
mov ecx, esi
call fcn.006287b0
lea ecx, [esp + 0x60]
mov edx, ebx
call fcn.00628521
cmp dword [ebp + 8], 0
je 0x62824b
test al, al
je 0x62824b
mov ecx, dword [ebp + 8]
push 0xf
call fcn.00628812
xor eax, eax
dec eax
mov dword [esp + 0x52], eax
mov dword [esp + 0x4e], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
pshufd xmm0, xmmword [esp + 0x10], 0xff
sub esp, 0x10
mov dword [esp + 4], esi
movdqa xmmword [esp + 0x20], xmm0
movd dword [esp], xmm0
mov dword [esp + 0xc], 0xa
mov dword [esp + 8], 0xb
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
add esp, 0x10
test eax, eax
jne 0x6280e7
movdqa xmm0, xmmword [esp + 0x10]
movd dword [esp + 0x10], xmm0
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
call fcn.0062888a
mov esi, 3
push 0xa
push 0xb
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x1c]
call sub.api_ms_win_crt_convert_l1_1_0.dll__ultow_s
add esp, 0x10
test eax, eax
jne 0x6280e7
mov ecx, dword [ebp + 8]
push 0x7fb2be
call fcn.0062895a
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
call fcn.0062895a
dec esi
jne 0x62820f
jmp 0x6282a1
test al, al
lea esi, [esp + 0x2c]
je 0x6280eb
jmp 0x6282a1
push 0x8038a8
call fcn.00649e36
add esp, 4
cmp dword [0x8038a8], 0xffffffff
jne 0x628045
push str.kernelbase.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.GetCurrentPackageInfo
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x8038a4], eax
push 0x8038a8
call fcn.00649de5
add esp, 4
jmp 0x628045
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x6282b4
push dword [edi*4 + 0x7faf6c]
call fcn.0062888a
lea ecx, [esp + 0x2c]
call fcn.006287b0
xor esi, esi
jmp 0x6282d1
push str.WebView2:_Failed_to_find_an_installed_WebView2_runtime_or_non_stable_Microsoft_Edge_installation._n
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov esi, 0x80070002
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00649c68
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret