Function at 0x10107f40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x40], ebp
mov edi, ecx
mov edx, dword [ebp + 8]
lea eax, [esi + 0x4c]
mov dword [eax - 8], esp
mov dword [eax + 0xc], 0xffffffff
mov dword [eax + 8], 0x102ad814
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 0x101081bb
test edi, edi
je 0x10107f99
lea eax, [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push eax
call dword [ecx + 4]
mov eax, dword [edi + 0x104]
mov dword [esi + 0x58], 0
push eax
mov dword [esi + 4], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov eax, dword [ebp + 8]
je 0x101081c5
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x108], eax
call fcn.1002cfcd
mov eax, dword [esi + 4]
mov dword [eax + 0x10], 0x46010000
mov dword [eax + 0x14], 0
mov dword [esi + 0x58], 0xffffffff
xorps xmm0, xmm0
lea ecx, [esi + 0x10]
movaps xmmword [ecx], xmm0
mov dword [esi + 0x58], 1
call fcn.1005b47e
mov ecx, dword [esi + 4]
lea eax, [esi + 0x10]
push eax
push dword [ecx + 0x104]
call fcn.1018c7ac
mov dword [esi + 0x58], 0xffffffff
mov ebx, dword [esi + 4]
mov eax, dword [ebx + 0x100]
dec eax
cmp eax, 1
ja 0x101081cf
mov ecx, ebx
xor edx, edx
push 0x8080020
call fcn.10061ac4
add esp, 4
lea eax, [esi + 0xc]
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 0x101083ad
mov edi, dword [esi + 0xc]
mov eax, ebx
add ebx, 0xdc
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x1010807a
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 0x101083b1
mov ebx, dword [esi + 4]
cmp dword [ebx + 0x100], 1
jne 0x101080ed
mov edi, dword [ebx + 0xd8]
mov eax, dword [ebx + 0xe0]
add ebx, 0xe0
test eax, eax
je 0x101080bc
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 + 4]
push dword [ebx + 0x1c]
push edi
call dword [eax + 0x18]
test eax, eax
js 0x101083ad
mov eax, dword [ebx + 0xe0]
mov ecx, dword [eax]
push dword [ebx + 0xdc]
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x101083ad
lea eax, [esi + 0x38]
mov dword [eax], 0xffffffff
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push eax
push dword [ebx + 0xdc]
push ecx
call dword [edx + 0x70]
mov edi, eax
test eax, eax
js 0x101083df
mov dword [esi + 8], edi
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x2c]
mov dword [ecx], 0
push eax
call fcn.1002e1cc
lea eax, [esi + 0x34]
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 0x1010849a
xor ebx, ebx
dec ebx
lea edi, [esi + 0x10]
mov dword [edi + 4], ebx
mov dword [edi], ebx
xor eax, eax
push dword [esi + 0x34]
push eax
push 0x440
call dword [sym.imp.kernel32.dll_OpenProcess]
mov ecx, edi
push eax
call fcn.1016c420
lea eax, [esi + 0x28]
mov dword [eax], ebx
mov ecx, edi
call fcn.1016c640
mov edi, eax
mov ebx, dword [esi + 0x2c]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push 2
xor ecx, ecx
push ecx
push ecx
lea ecx, [esi + 0x28]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.kernel32.dll_DuplicateHandle]
test eax, eax
mov ebx, dword [esi + 4]
je 0x101083b8
mov ecx, dword [ebx + 0x60]
push dword [esi + 0x28]
call fcn.10080f50
mov eax, dword [ebx + 0xd8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, dword [esi + 8]
jmp 0x101083cf
mov edi, 0x80004005
jmp 0x1010846f
mov edi, 0x80070578
jmp 0x10108455
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 + 8], ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [0x102b6654]
mov dword [esi + 0x1c], ecx
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push edx
push eax
mov eax, dword [esi + 4]
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 + 4]
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 + 8]
push dword [ebx + 0x1c]
call edi
mov ecx, edi
xor eax, eax
push eax
xor edi, edi
xor eax, eax
inc eax
push eax
push dword [esi + 0x1c]
push dword [ebx + 0x1c]
call ecx
mov ecx, ebx
mov edx, 0x40000000
push 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 [esi + 8], 0
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 0x1010830d
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
push str.SetWindowPos_failed_before_parenting_browser_window_with_error:
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, 0x10257354
lea edi, [esi + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
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 eax, 0x10257354
mov dword [edi], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x101082f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x101082ff
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x1025b68c
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ebx, dword [esi + 4]
push dword [ebx + 0x1c]
push dword [ebx + 0x108]
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x1010842e
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
push str.SetParent_failed_while_parenting_browser_window_with_error:
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov eax, 0x10257354
lea edi, [esi + 0x10]
mov dword [edi], eax
mov dword [esi + 0x30], ebx
mov dword [edi + 4], ebx
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 eax, 0x10257354
mov dword [edi], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x1010837d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1010838b
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
push 0x1025b68c
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov dword [esi + 8], 0
mov edi, dword [esi + 0x30]
test edi, edi
jns 0x1010842e
jmp 0x10108455
mov edi, eax
jmp 0x101083df
mov edi, eax
mov ebx, dword [esi + 4]
jmp 0x101083df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x10108484
movzx edi, ax
or edi, 0x80070000
lea ecx, [esi + 0x10]
call fcn.10151a70
lea ecx, [esi + 0x2c]
call fcn.1002e208
mov eax, dword [esi + 0xc]
test eax, eax
je 0x101083f3
mov dword [esi + 0xc], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
js 0x10108455
mov dword [esi + 8], edi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x108]
mov dword [esi + 0x58], 0
push ecx
push str.CrossProcessChildHWND
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 4]
push dword [eax + 0x1c]
push str.CrossProcessParentHWND
push dword [eax + 0x108]
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x104]
mov dword [esi + 0x58], 0
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ecx, dword [esi + 4]
add ecx, 0x3c
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x10]
mov edi, dword [esi + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1010846f
mov eax, dword [ecx + 0x2c]
add ecx, 0x2c
mov eax, dword [eax + 8]
mov dword [esi + 0x58], 0xffffffff
push ecx
call eax
mov eax, dword [esi + 0x4c]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi + 8], 0
test eax, eax
jns 0x1010819c
mov edi, eax
jmp 0x101083cf
int3