Function at 0x11091fb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x4c4], 1
mov dword [ebp - 0x374], esi
jne 0x110924ae
mov eax, dword [esi + 0x4d0]
push ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x11092011
mov ecx, dword [esi + 0x4d0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x4d0], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or eax, 1
mov dword [esi + 0x4d8], eax
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea edx, [ebp - 0x360]
push edx
push 0x11091f70
mov edi, eax
mov dword [ebp - 0x360], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x360]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push eax
call ebx
mov ecx, dword [ebp - 0x360]
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0x364], eax
call ebx
mov edx, dword [ebp - 0x364]
push edi
push eax
mov eax, dword [ebp - 0x360]
push edx
push eax
push str.webrtc_check_for_Fullscreen__hTop_x__sty_x__exSty_x__hFore_x_n
call fcn.111bd7b0
mov eax, dword [ebp - 0x360]
add esp, 0x14
test eax, eax
je 0x110924ac
cmp dword [esi + 0x4d8], 0
jne 0x11092095
cmp dword [esi + 0x4d4], 0
je 0x110924ac
lea ecx, [ebp - 0x364]
push ecx
push eax
mov dword [ebp - 0x364], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x364]
xor edx, edx
push eax
push edx
push 0x1000
mov word [ebp - 0x20c], dx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x110920f7
lea ecx, [ebp - 0x370]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push edi
mov dword [ebp - 0x370], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
push str.topName_s_n
call fcn.111bd7b0
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x110924ac
mov ebx, dword [sym.imp.MSVCR100.dll__wcsicmp]
push 0x112115dc
push edi
call ebx
add esp, 8
test eax, eax
je 0x1109214c
push 0x112115c4
push edi
call ebx
add esp, 8
test eax, eax
jne 0x110924ac
mov edx, dword [ebp - 0x360]
xor eax, eax
push 2
push edx
mov dword [ebp - 0x35c], 0x28
xor ebx, ebx
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edi, eax
push edi
push str.hMon_x_n
call fcn.111bd7b0
add esp, 8
lea eax, [ebp - 0x35c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
jne 0x110921e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.getmoninfo_failed__e_d_n
call fcn.111bd7b0
add esp, 8
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x360]
lea ecx, [ebp - 0x334]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ebp - 0x330]
push eax
mov eax, dword [ebp - 0x334]
push ecx
push edx
push eax
push str.appRect_L_d_T_d_R_d_B_d_n
call fcn.111bd7b0
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x350]
mov eax, dword [ebp - 0x354]
push ecx
mov ecx, dword [ebp - 0x358]
push edx
push eax
push ecx
push str.monRect_L_d_T_d_R_d_B_d_n
call fcn.111bd7b0
mov edx, dword [ebp - 0x334]
add esp, 0x28
cmp edx, dword [ebp - 0x358]
jg 0x110922ae
mov eax, dword [ebp - 0x330]
cmp eax, dword [ebp - 0x354]
jg 0x110922ae
mov ecx, dword [ebp - 0x32c]
cmp ecx, dword [ebp - 0x350]
jl 0x110922ae
mov edx, dword [ebp - 0x328]
cmp edx, dword [ebp - 0x34c]
jl 0x110922ae
mov eax, dword [ebp - 0x364]
cmp eax, dword [esi + 0x4cc]
jne 0x110924ac
pop edi
pop ebx
mov dword [esi + 0x4c4], 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x364]
cmp ecx, dword [esi + 0x4cc]
je 0x110924ac
cmp dword [esi + 0x4d8], ebx
je 0x110924ac
push str.WEBRTC_browser_not_fullscreen__trying_to_fix..._n
call fcn.111bd7b0
push 0x118
lea edx, [ebp - 0x324]
push ebx
push edx
call sub.MSVCR100.dll_memset
add esp, 0x10
lea eax, [ebp - 0x36c]
push eax
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x368], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x350]
cmp dword [ebp - 0x32c], eax
jle 0x11092318
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x328], eax
jle 0x1109232c
mov dword [ebp - 0x328], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov ebx, eax
call esi
sub dword [ebp - 0x368], eax
mov ecx, dword [ebp - 0x334]
sub dword [ebp - 0x36c], ebx
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x32c]
sub eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x330]
add eax, 8
sar edi, 1
add edi, ecx
push eax
push edi
mov dword [ebp - 0x378], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov ecx, dword [ebp - 0x368]
mov edx, dword [ebp - 0x36c]
push ecx
push edx
push eax
push str.hTest_x__pt_d__d_n
call fcn.111bd7b0
add esp, 0x10
push 0x4e
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x314], 0xc001
call esi
mov ecx, eax
mov eax, edi
sub eax, ebx
imul eax, eax, 0xffff
cdq
idiv ecx
push 0x4f
mov dword [ebp - 0x320], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x378]
sub eax, dword [ebp - 0x370]
xor edi, edi
imul eax, eax, 0xffff
cdq
idiv ecx
mov ebx, 2
push 0x4e
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2ec], edi
mov dword [ebp - 0x2dc], 4
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2c0], 0xc001
mov dword [ebp - 0x31c], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x36c]
imul eax, eax, 0xffff
cdq
idiv ecx
push 0x4f
mov dword [ebp - 0x2cc], eax
call esi
mov ecx, eax
mov eax, dword [ebp - 0x368]
imul eax, eax, 0xffff
cdq
idiv ecx
mov edx, 0x7a
mov word [ebp - 0x2b0], dx
mov dword [ebp - 0x2c8], eax
mov eax, 1
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x298], eax
mov eax, edx
push 0x1c
lea ecx, [ebp - 0x324]
push ecx
push 6
mov word [ebp - 0x294], ax
mov dword [ebp - 0x290], ebx
call dword [sym.imp.USER32.dll_SendInput]
mov esi, eax
push esi
push str.sent__d_events_n
call fcn.111bd7b0
add esp, 8
cmp esi, edi
je 0x110924ac
mov edx, dword [ebp - 0x374]
mov dword [edx + 0x4c4], ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret