Function at 0x480df0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5672e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0045adc0
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x480e36
push 0x80004005
call fcn.0045a8f0
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 0x57c2c0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
call ebx
or edi, 0xffffffff
test eax, eax
je 0x480eed
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.00507fc0
add esp, 8
test eax, eax
je 0x480eed
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x480eed
push dword [0x5d692c]
lea ecx, [ebp - 0x14]
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00508570
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 0x480ece
mov ecx, dword [eax]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
jne 0x480eed
lea eax, [ebp - 0x10]
push 0x19
push eax
call fcn.00481ee0
add esp, 8
test eax, eax
je 0x480eed
mov dword [esi + 0x10], 1
lea ecx, [ebp - 0x10]
call fcn.0045abd0
push 0
push str.MozillaWindowClass
mov dword [esi + 0x14], 0
call ebx
test eax, eax
je 0x480f91
lea eax, [ebp - 0x10]
push eax
push 3
call fcn.00507fc0
add esp, 8
test eax, eax
je 0x480f91
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x480f91
push dword [0x5d6930]
lea ecx, [ebp - 0x14]
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00508570
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 0x480f72
mov ecx, dword [eax]
push dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x18], 0
jne 0x480f91
lea eax, [ebp - 0x10]
push 0x17
push eax
call fcn.00481ee0
add esp, 8
test eax, eax
je 0x480f91
mov dword [esi + 0x14], 1
lea ecx, [ebp - 0x10]
call fcn.0045abd0
mov dword [esi + 0x18], 0
mov eax, dword [0x5d6884]
test eax, eax
jne 0x480fb3
push eax
push str.Chrome_WidgetWin_1
call ebx
jmp 0x480fd6
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x481230
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 0x48105e
lea eax, [ebp - 0x10]
push eax
push 4
call fcn.00507fc0
add esp, 8
test eax, eax
je 0x48105e
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x48105e
push dword [0x5d6934]
lea ecx, [ebp - 0x14]
call fcn.0045a3a0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00508570
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 0x481041
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x48105e
lea eax, [ebp - 0x10]
push 0x18
push eax
call fcn.00481ee0
add esp, 8
test eax, eax
je 0x48105e
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 0x48107f
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