Function at 0x48b1c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56807b
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
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 edi, ecx
push 3
push 0x3c
mov ecx, 0x5de840
call fcn.00514890
test eax, eax
je 0x48b6a5
cmp dword [edi + 0x1b4], 0
jne 0x48b6a5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x48b6a5
mov ebx, dword [eax]
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48b23c
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], ecx
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
mov dword [ebp - 0x14], 0xffffffff
jge 0x48b280
push 0x104
lea ecx, [ebp - 0x10]
call fcn.0045b530
mov eax, dword [ebp - 0x10]
push 0x104
push eax
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x1c]
call fcn.0045c070
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48b2b4
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
call fcn.0045adc0
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x48b2df
push 0x80004005
call fcn.0045a8f0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push 1
lea esi, [edi + 0x174]
mov byte [ebp - 4], 2
push esi
lea eax, [ebp - 0x24]
mov ecx, 0x5de07c
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x5de07c]
call dword [eax + 0x28]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x48b31f
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0045a580
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x48b35a
mov ecx, dword [0x5de90c]
test ecx, ecx
je 0x48b35a
push esi
call fcn.004e3d10
test eax, eax
je 0x48b35a
cmp byte [edi + 0x159], 0
jne 0x48b35a
lea eax, [ebp - 0x24]
lea ecx, [edi + 0x184]
push eax
call fcn.0045a580
mov byte [edi + 0x159], 1
cmp dword [0x5de044], 0
je 0x48b3d4
lea eax, [ebp - 0x10]
push str.MozillaWindowClass
push eax
call fcn.0045c220
add esp, 8
test al, al
je 0x48b3cb
push dword [0x5de044]
mov esi, dword [sym.imp.USER32.dll_UnhookWinEvent]
call esi
push dword [0x5de040]
mov dword [0x5de044], 0
call esi
lea ecx, [ebp + 8]
mov dword [0x5de040], 0
call fcn.0045a530
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
push 0x5de064
call fcn.004975e0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.0048ceb0
cmp dword [0x5de044], 0
jne 0x48b42d
lea eax, [ebp - 0x10]
push str.MozillaWindowClass
push eax
call fcn.00461e40
add esp, 8
test al, al
je 0x48b42d
lea ecx, [edi + 0x20c]
call fcn.00496560
lea eax, [ebp + 8]
mov ecx, 0x5de07c
push eax
mov eax, dword [0x5de07c]
call dword [eax + 8]
push 2
push 0
push dword [ebp + 8]
push 0x489ca0
push 0
push 0x8006
push 0x8000
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [0x5de044], eax
jmp 0x48b641
lea eax, [ebp - 0x10]
push str.MozillaDialogClass
push eax
call fcn.0045c220
add esp, 8
test al, al
jne 0x48b641
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 1
lea ecx, [ebp - 0x1c]
lea esi, [eax + 1]
lea eax, [edi + 0x208]
push esi
push eax
call fcn.0045bca0
push esi
push dword [eax + 4]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x1c]
call fcn.0045c070
push str.MozillaDialogClass
call fcn.00489b80
add esp, 4
cmp eax, 1
jne 0x48b58c
push 0
lea eax, [edi + 0x168]
push eax
lea esi, [edi + 0x208]
push esi
call fcn.004e2260
mov dword [ebp + 8], eax
lea eax, [edi + 0x16c]
push 0
push eax
push esi
call fcn.004e2260
mov ecx, eax
add esp, 0x18
mov eax, dword [ebp + 8]
test eax, eax
jne 0x48b4c2
test ecx, ecx
je 0x48b4fd
cmp byte [0x5de0a4], 0
jne 0x48b4fd
cmp dword [edi + 0x198], 0
jne 0x48b4ea
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
push 0
call fcn.0048aa60
mov dword [edi + 0x198], eax
mov eax, dword [ebp + 8]
push dword [edi + 0x198]
lea ecx, [edi + 0x20c]
push eax
push ebx
call fcn.00495ed0
lea ecx, [ebp - 0x78]
call fcn.004cbcb0
push edi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.004cc340
mov eax, 0x15
mov word [ebp - 0x20], ax
mov eax, ebx
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x78]
call fcn.004cc5d0
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call ebx
push dword [esi]
xor eax, eax
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
call fcn.00461c30
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x78]
call fcn.004cc650
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call ebx
lea eax, [ebp - 0x78]
mov ecx, 0x5de970
push eax
push 9
call fcn.0051c6f0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0046e1a0
jmp 0x48b592
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xc4]
call fcn.004cbcb0
push edi
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 7
call fcn.004cc340
xor eax, eax
mov dword [ebp - 0x8c], 1
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jns 0x48b5cd
push eax
call fcn.0045a8f0
mov eax, 8
push 0x57f780
mov word [ebp - 0x20], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x48b602
mov eax, 0xa
mov dword [ebp - 0x18], 0x8007000e
push 0x8007000e
mov word [ebp - 0x20], ax
call fcn.0045a8f0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc4]
call fcn.004cc5d0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call ebx
lea eax, [ebp - 0xc4]
mov ecx, 0x5de970
push eax
push 8
call fcn.0051c6f0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0046e1a0
mov edx, dword [ebp - 0x24]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x48b664
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48b684
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x48b6a5
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 4