Function at 0x1018c7ac
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 esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esp + 0x108], eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x1018c7e7
test edi, edi
mov ecx, 0x2cf0000
mov eax, 0x56000000
cmove eax, ecx
mov dword [esi + 0x10], eax
test edi, edi
je 0x1018c808
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp eax, edi
je 0x1018c813
cmp edi, 0xfffffffd
je 0x1018c81d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1018c822
int3
xor edi, edi
bt eax, 0x1e
jae 0x1018c822
int3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
jmp 0x1018c822
mov edi, 0xfffffffd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
mov ebx, 0x80000000
test eax, eax
mov dword [esp + 0x2c], edi
je 0x1018c860
mov edx, dword [ecx + 0xc]
mov edi, 0x80000000
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
test edx, edx
je 0x1018c875
mov ebx, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jmp 0x1018c875
mov edi, 0x80000000
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x36], 0xffff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov edi, dword [esi + 0x18]
call fcn.1018c4bc
mov ebx, eax
lea esi, [eax + 0x10]
push esi
call dword [sym.imp.kernel32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1018cce7
mov eax, dword [ebx + 4]
cmp eax, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
je 0x1018c8e3
cmp dword [eax + 8], edi
jne 0x1018c8dc
cmp dword [eax + 0xc], ecx
jne 0x1018c8dc
cmp dword [eax + 0x10], edx
je 0x1018cbd6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x1018c8c9
mov dword [esp + 0x20], esi
xor eax, eax
dec eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0xc]
lea ecx, [eax + 1]
mov dword [ebx + 0xc], ecx
lea esi, [esp + 0x80]
push eax
push esi
call fcn.101dad80
add esp, 8
push 0x30
call fcn.1020d865
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0x80000018
mov dword [esp + 0x44], 0x11
movzx ecx, word [0x102981f0]
mov word [eax + 0x20], cx
movups xmm0, xmmword [0x102981e0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [str.Chrome_WidgetWin_]
movups xmmword [eax], xmm0
mov word [eax + 0x22], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1018c96a
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x40]
push eax
push esi
mov esi, ecx
call fcn.1014190a
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
movq xmm0, qword [eax]
movq qword [esp + 0x74], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
cmp byte [esi + 0xb], 0
jns 0x1018c9a4
push dword [esp + 0x40]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x8b], 0
jns 0x1018c9bd
push dword [esp + 0x80]
call fcn.10205096
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp byte [esp + 0x7f], 0
jns 0x1018c9e8
mov ecx, dword [esp + 0x74]
jmp 0x1018c9ec
lea ecx, [esp + 0x74]
xor edx, edx
lea esi, [esp + 0x40]
push esi
push dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push esi
push edx
push eax
push edx
push edx
push edx
push edi
push 0x1018c640
push ecx
call fcn.101bcf60
add esp, 0x2c
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, esi
mov word [esp + 6], ax
test ax, ax
mov eax, dword [esp + 0xc]
jne 0x1018caf1
lea esi, [esp + 0x3c]
mov dword [esi], 0xffffffff
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi], eax
push esi
call fcn.1002a710
add esp, 4
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
cmp byte [esp + 0x7f], 0
jns 0x1018caab
mov eax, dword [esp + 0x74]
jmp 0x1018caaf
lea eax, [esp + 0x74]
lea esi, [esp + 0x80]
push 0x40
push eax
push esi
call fcn.1015e0a0
add esp, 0xc
push esi
call fcn.1002a710
add esp, 4
lea esi, [esp + 0x38]
push 0x98
push str..._.._ui_gfx_win_window_impl.cc
push esi
call fcn.101bbd80
add esp, 0xc
mov ecx, esi
call fcn.101846a0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
lea esi, [esp + 0x8c]
mov dword [esi - 0xc], edi
mov dword [esi - 8], ecx
mov dword [esi - 4], eax
cmp byte [esp + 0x7f], 0
js 0x1018cb1b
mov eax, dword [esp + 0x7c]
mov dword [esi + 8], eax
movq xmm0, qword [esp + 0x74]
movq qword [esi], xmm0
jmp 0x1018cb2a
mov ecx, esi
push dword [esp + 0x78]
push dword [esp + 0x78]
call fcn.10141542
mov edi, dword [esp + 8]
movzx eax, word [esp + 6]
mov word [esp + 0x98], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
push 0x28
call fcn.1020d865
add esp, 4
movsd xmm0, qword [esp + 0x80]
movsd qword [eax + 8], xmm0
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 0x1c], ecx
movsd xmm0, qword [esi]
movsd qword [eax + 0x14], xmm0
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [eax + 0x24], edx
mov dword [eax + 0x20], ecx
mov dword [eax + 4], ebx
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov dword [ebx], eax
inc dword [ebx + 8]
cmp byte [esp + 0x97], 0
jns 0x1018cbbd
push dword [esp + 0x8c]
call fcn.10205096
add esp, 4
cmp byte [esp + 0x7f], 0
mov esi, dword [esp + 0x20]
jns 0x1018cbea
push dword [esp + 0x74]
call fcn.10205096
add esp, 4
jmp 0x1018cbea
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x18], ecx
movzx eax, word [eax + 0x20]
mov word [esp + 6], ax
mov edi, dword [esp + 8]
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
movzx ebx, word [esp + 6]
mov word [esp + 0x36], bx
xor eax, eax
dec eax
lea ecx, [esp + 0x40]
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea ecx, [edi + 0x24]
mov eax, dword [esp + 8]
mov edi, dword [eax + 0x28]
lea esi, [esp + 0x80]
push esi
call fcn.10152000
lea ecx, [esp + 0x40]
push edi
mov edi, dword [esp + 0xc]
push esi
call fcn.10152060
mov ecx, esi
call fcn.10151f50
xor eax, eax
dec eax
mov dword [esp + 0x74], eax
movzx eax, bx
xor ecx, ecx
push edi
push dword [esp + 0x1c]
push ecx
push dword [esp + 0x38]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [edi + 0x10]
push ecx
push eax
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [esp + 0x74], eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test ebx, ebx
je 0x1018cca4
test byte [edi + 0x12], 0xc0
je 0x1018cca4
sub esp, 0x1c
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0x3f
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x1018ccaf
test esi, esi
je 0x1018ccf6
push esi
push eax
call fcn.101daed8
add esp, 8
push ebx
call fcn.101dae84
add esp, 4
cmp eax, edi
jne 0x1018ccf3
lea ecx, [esp + 0x40]
call fcn.10151f50
mov ecx, dword [esp + 0x108]
xor ecx, ebp
call fcn.10205d16
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, esi
call fcn.1016d1b0
jmp 0x1018c8ba
int3
lea esi, [esp + 0x38]
mov byte [esi], 0xff
lea ecx, [esp + 0x40]
call fcn.1018cdce
mov byte [esi], al
push esi
call fcn.1002a710
add esp, 4
lea eax, [esp + 0x74]
push eax
call fcn.1002a710
add esp, 4
lea esi, [esp + 0x36]
push esi
call fcn.1002a710
add esp, 4
mov al, byte [edi + 0x20]
lea ecx, [esp + 0x35]
mov byte [ecx], al
push ecx
call fcn.1002a710
add esp, 4
mov al, byte [edi + 0x21]
lea ecx, [esp + 0x34]
mov byte [ecx], al
push ecx
call fcn.1002a710
add esp, 4
xorps xmm0, xmm0
movups xmmword [esp + 0xa0], xmm0
movups xmmword [esp + 0x94], xmm0
movups xmmword [esp + 0x84], xmm0
mov dword [esp + 0x80], 0x30
lea edi, [esp + 0x3c]
mov dword [edi], 0xffffffff
movzx esi, word [esi]
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
lea ecx, [esp + 0x80]
push ecx
push esi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
mov dword [edi], eax
push edi
call fcn.1002a710
add esp, 4
cmp dword [edi], 0
setne al
cmp dword [esp + 0x88], 0x1018c640
sete cl
and cl, al
lea eax, [esp + 0x33]
mov byte [eax], cl
push eax
call fcn.1002a710
add esp, 4
int3