Function at 0x456a70
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x456ab6
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
push 0
push str.IEFrame
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
call ebx
or edi, 0xffffffff
test eax, eax
je 0x456b6d
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.004bee40
add esp, 8
test eax, eax
je 0x456b6d
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x456b6d
push dword [0x53e8e0]
lea ecx, [ebp - 0x14]
call fcn.0043a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bf7d0
mov dword [ebp - 0x1c], eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov edx, edi
add eax, 0xfffffff0
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456b4e
mov ecx, dword [eax]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
jne 0x456b6d
lea eax, [ebp - 0x10]
push 0x19
push eax
call fcn.00457fc0
add esp, 8
test eax, eax
je 0x456b6d
mov dword [esi + 0x10], 1
lea ecx, [ebp - 0x10]
call fcn.0043ac50
push 0
push str.MozillaWindowClass
mov dword [esi + 0x14], 0
call ebx
test eax, eax
je 0x456c11
lea eax, [ebp - 0x10]
push eax
push 3
call fcn.004bee40
add esp, 8
test eax, eax
je 0x456c11
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x456c11
push dword [0x53e8e4]
lea ecx, [ebp - 0x14]
call fcn.0043a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bf7d0
mov dword [ebp - 0x18], eax
add esp, 8
mov eax, dword [ebp - 0x14]
mov edx, edi
add eax, 0xfffffff0
mov byte [ebp - 4], 0
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456bf2
mov ecx, dword [eax]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
jne 0x456c11
lea eax, [ebp - 0x10]
push 0x17
push eax
call fcn.00457fc0
add esp, 8
test eax, eax
je 0x456c11
mov dword [esi + 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.0043ac50
mov dword [esi + 0x18], 0
mov eax, dword [0x53e82c]
test eax, eax
jne 0x456c33
push eax
push str.Chrome_WidgetWin_1
call ebx
jmp 0x456c56
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x457450
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], str.Chrome_WidgetWin_1
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x456cde
lea eax, [ebp - 0x10]
push eax
push 4
call fcn.004bee40
add esp, 8
test eax, eax
je 0x456cde
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x456cde
push dword [0x53e8e8]
lea ecx, [ebp - 0x14]
call fcn.0043a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004bf7d0
mov ebx, dword [ebp - 0x14]
add esp, 8
add ebx, 0xfffffff0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
mov edx, edi
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456cc1
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x456cde
lea eax, [ebp - 0x10]
push 0x18
push eax
call fcn.00457fc0
add esp, 8
test eax, eax
je 0x456cde
mov dword [esi + 0x18], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x456cff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret