Function at 0x48c640
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5681ee
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
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
push str.MozillaDialogClass
push 0x489bb0
mov dword [0x5de068], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x5de068]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esi + 0x204], eax
mov eax, dword [esi + 0x168]
cmp dword [eax - 0xc], 0
je 0x48c766
push eax
push str.MozillaDialogClass
call ebx
mov dword [ebp - 0x20], eax
test eax, eax
je 0x48c766
cmp dword [esi + 0x198], 0
jne 0x48c6e0
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0
call fcn.0048aa60
mov dword [esi + 0x198], eax
mov eax, dword [ebp - 0x20]
push dword [esi + 0x198]
lea ecx, [esi + 0x20c]
push 1
push eax
call fcn.00495ed0
lea ecx, [ebp - 0x80]
call fcn.004cbcb0
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0
call fcn.004cc340
mov eax, 0x15
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x80]
call fcn.004cc5d0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0
push eax
call edi
push dword [esi + 0x168]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00461c30
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x80]
call fcn.004cc650
mov byte [ebp - 4], 0
jmp 0x48c824
mov eax, dword [esi + 0x16c]
cmp dword [eax - 0xc], 0
je 0x48c849
push eax
push str.MozillaDialogClass
call ebx
mov ebx, eax
test ebx, ebx
je 0x48c849
cmp dword [esi + 0x198], 0
jne 0x48c7a4
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push 0
call fcn.0048aa60
mov dword [esi + 0x198], eax
push dword [esi + 0x198]
lea ecx, [esi + 0x20c]
push 0
push ebx
call fcn.00495ed0
lea ecx, [ebp - 0x80]
call fcn.004cbcb0
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 3
call fcn.004cc340
mov eax, 0x15
mov word [ebp - 0x1c], ax
mov eax, ebx
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x80]
call fcn.004cc5d0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call edi
push dword [esi + 0x16c]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00461c30
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x80]
call fcn.004cc650
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x80]
mov ecx, 0x5de970
push eax
push 9
call fcn.0051c6f0
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.0046e1a0
lea ecx, [ebp - 0xcc]
call fcn.004cbcb0
push esi
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 6
call fcn.004cc340
xor eax, eax
mov dword [ebp - 0x94], 1
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
call edi
test eax, eax
jns 0x48c887
push eax
call fcn.0045a8f0
mov eax, 8
push 0x57f780
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x48c8bc
mov eax, 0xa
mov dword [ebp - 0x28], 0x8007000e
push 0x8007000e
mov word [ebp - 0x30], ax
call fcn.0045a8f0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xcc]
call fcn.004cc5d0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 6
push eax
call edi
lea eax, [ebp - 0xcc]
mov ecx, 0x5de970
push eax
push 8
call fcn.0051c6f0
mov dword [ebp - 0xcc], vtable.APNU::CEventContext.0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 8
test eax, eax
je 0x48c90e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x88]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48c92e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xcc], vtable.APNU::CRuntimeConstant_enum_APNU::_enumEventParam__class_ATL::CComVariant_.0
call fcn.0046dea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret