Function at 0x1005fbc0
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, esp
mov dword [esi + 0x30], ebp
mov edi, ecx
mov edx, dword [ebp + 8]
lea eax, [esi + 0x3c]
mov dword [eax - 8], esp
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 8], 0x102ad7f0
mov dword [eax + 4], 0x10207130
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov eax, dword [edx]
cmp dword [eax], 0
je 0x1005fe36
test edi, edi
je 0x1005fc19
lea eax, [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push eax
call dword [ecx + 4]
mov eax, dword [edi + 0x104]
mov dword [esi + 0x48], 0
push eax
mov dword [esi], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov eax, dword [ebp + 8]
je 0x1005fe40
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [ecx + 0x108], eax
call fcn.1002cfcd
mov eax, dword [esi]
mov dword [eax + 0x10], 0x46010000
mov dword [eax + 0x14], 0
mov dword [esi + 0x48], 0xffffffff
xorps xmm0, xmm0
lea ecx, [esi + 0x10]
movaps xmmword [ecx], xmm0
mov dword [esi + 0x48], 1
call fcn.1005b47e
mov ecx, dword [esi]
lea eax, [esi + 0x10]
push eax
push dword [ecx + 0x104]
call fcn.1018c7ac
mov dword [esi + 0x48], 0xffffffff
mov ebx, dword [esi]
mov eax, dword [ebx + 0x100]
dec eax
cmp eax, 1
ja 0x1005fe80
mov ecx, ebx
mov edx, 0x80000000
push 0x8080000
call fcn.10061ac4
add esp, 4
lea eax, [esi + 8]
mov dword [eax], 0
mov ecx, dword [ebx + 0xd8]
mov edx, dword [ecx]
push eax
push 0x1025bc80
push ecx
call dword [edx]
test eax, eax
js 0x1005fff3
mov edi, dword [esi + 8]
mov eax, ebx
add ebx, 0xdc
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x1005fcf8
mov dword [ebx], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push ebx
push 0x1025ba9c
push edi
call dword [eax + 0x6c]
test eax, eax
js 0x1006008e
mov ebx, dword [esi]
cmp dword [ebx + 0x100], 1
jne 0x1005fd69
mov edi, dword [ebx + 0xd8]
mov eax, dword [ebx + 0xe0]
add ebx, 0xe0
test eax, eax
je 0x1005fd39
mov dword [ebx], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
push ebx
push 1
mov ebx, dword [esi]
push dword [ebx + 0x1c]
push edi
call dword [eax + 0x18]
test eax, eax
js 0x1005fff3
mov eax, dword [ebx + 0xe0]
mov ecx, dword [eax]
push dword [ebx + 0xdc]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1005fff3
lea eax, [esi + 0xc]
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
push dword [ebx + 0xdc]
push ecx
call dword [edx + 0x70]
mov edi, eax
test eax, eax
js 0x100600bb
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x24]
mov dword [ecx], 0
push eax
call fcn.1002e1cc
lea eax, [esi + 0x28]
mov dword [eax], 0xffffffff
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x94]
test eax, eax
js 0x10060201
xor ebx, ebx
dec ebx
lea edi, [esi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi], ebx
xor eax, eax
push dword [esi + 0x28]
push eax
push 0x440
call dword [sym.imp.kernel32.dll_OpenProcess]
mov ecx, edi
push eax
call fcn.1016c420
lea eax, [esi + 0x20]
mov dword [eax], ebx
mov ecx, edi
call fcn.1016c640
mov edi, eax
mov ebx, dword [esi + 0x24]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 2
xor ecx, ecx
push ecx
push ecx
lea ecx, [esi + 0x20]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
test eax, eax
mov ebx, dword [esi]
je 0x10060094
mov ecx, dword [ebx + 0x60]
push dword [esi + 0x20]
call fcn.10080f50
mov eax, dword [ebx + 0xd8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, dword [esi + 4]
jmp 0x100600ab
mov eax, 0x80004005
jmp 0x10060147
mov dword [esi + 4], 0x80070578
test byte [0x102b22ec], 0x19
je 0x1006012b
mov dword [esi + 0x48], 0xffffffff
mov eax, dword [esi]
mov eax, dword [eax + 0x104]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov dword [esi + 0x48], 0
call fcn.1006027e
mov dword [esi + 0x48], 0xffffffff
jmp 0x1006012b
call fcn.1018d7e0
mov eax, dword [0x102b6648]
mov dword [esi + 0x10], eax
mov ebx, dword [0x102b664c]
mov dword [esi + 0x14], ebx
mov ecx, dword [0x102b6650]
mov dword [esi + 4], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [0x102b6654]
mov dword [esi + 0x1c], ecx
xor edx, edx
xor ecx, ecx
inc ecx
push edx
push ecx
push eax
mov eax, dword [esi]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
xor eax, eax
push eax
xor eax, eax
inc eax
push eax
push ebx
mov ebx, dword [esi]
push dword [ebx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
call edi
xor eax, eax
push eax
xor eax, eax
inc eax
push eax
push dword [esi + 4]
push dword [ebx + 0x1c]
call edi
xor eax, eax
push eax
xor eax, eax
inc eax
push eax
push dword [esi + 0x1c]
push dword [ebx + 0x1c]
call edi
xor eax, eax
mov dword [esi + 8], eax
mov ecx, ebx
mov edx, 0x40000000
push eax
xor edi, edi
call fcn.10061ac4
add esp, 4
xor eax, eax
inc eax
push eax
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov eax, dword [ebx + 0x108]
sub esp, 0x1c
mov dword [esp + 0x14], edi
movaps xmm0, xmmword [0x1025aee0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0x13
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x1005ffd4
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [esi + 0xc], ecx
test ecx, ecx
jns 0x1005ff79
test byte [0x102b22ec], 0x19
jne 0x10060171
push str.SetWindowPos_failed_before_parenting_browser_window_with_error:
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, dword [esi + 0xc]
mov ebx, 0x10257354
lea edi, [esi + 0x10]
mov dword [edi], ebx
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.10061b1c
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov dword [edi], ebx
mov eax, dword [edi + 8]
test eax, eax
je 0x1005ffb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
mov ebx, dword [esi]
je 0x1005ffc9
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x1025b68c
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
push dword [ebx + 0x1c]
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
je 0x1005fffa
mov dword [esi + 4], 0
jmp 0x10060109
mov edi, eax
jmp 0x100600bb
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
jns 0x10060022
test byte [0x102b22ec], 0x19
jne 0x100601b9
push str.SetParent_failed_while_parenting_browser_window_with_error:
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, dword [esi + 8]
mov ebx, 0x10257354
lea edi, [esi + 0x10]
mov dword [edi], ebx
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.10061b1c
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov dword [edi], ebx
mov eax, dword [edi + 8]
test eax, eax
je 0x10060062
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x10060070
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x1025b68c
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
test eax, eax
jns 0x10060109
jmp 0x1006012b
mov edi, eax
mov ebx, dword [esi]
jmp 0x100600bb
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x1006015b
movzx edi, ax
or edi, 0x80070000
lea ecx, [esi + 0x10]
call fcn.10151a70
lea ecx, [esi + 0x24]
call fcn.1002e208
mov eax, dword [esi + 8]
test eax, eax
je 0x100600cf
mov dword [esi + 8], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 4], edi
test edi, edi
js 0x1006012b
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x108]
mov dword [esi + 0x48], 0
push ecx
push str.CrossProcessChildHWND
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi]
push dword [eax + 0x1c]
push str.CrossProcessParentHWND
push dword [eax + 0x108]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi]
mov eax, dword [eax + 0x104]
mov dword [esi + 0x48], 0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [esi]
add ecx, 0x2c
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x10]
mov ecx, dword [esi]
test ecx, ecx
je 0x10060144
mov eax, dword [ecx + 0x2c]
add ecx, 0x2c
mov eax, dword [eax + 8]
mov dword [esi + 0x48], 0xffffffff
push ecx
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x3c]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi + 4], 0
test eax, eax
jns 0x1005fe17
mov edi, eax
jmp 0x100600ab
sub esp, 0x2c
lea eax, [esi + 0xc]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0x1025baac
mov dword [esp + 8], str.WebView2_SetWindowPos
mov dword [esp + 4], 0x102b22ec
mov dword [esp], 0x49
call fcn.10040bc0
add esp, 0x2c
jmp 0x1005ff79
sub esp, 0x2c
lea eax, [esi + 8]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x24], 0x1025baac
mov dword [esp + 8], str.WebView2_SetParent
mov dword [esp + 4], 0x102b22ec
mov dword [esp], 0x49
call fcn.10040bc0
add esp, 0x2c
jmp 0x10060022
int3