Function at 0x404b80
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x422a7a
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x42dc40]
xor eax, esp
mov dword [esp + 0x2e4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42dc40]
xor eax, esp
push eax
lea eax, [esp + 0x2fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30c]
push 0x1f4
lea eax, [esp + 0x108]
push eax
xor edi, edi
mov ebx, 1
push ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
jne 0x404bf0
mov eax, ebx
jmp 0x4051c6
mov esi, 0xf
lea eax, [esp + 0x104]
mov dword [esp + 0x100], esi
mov dword [esp + 0xfc], edi
mov byte [esp + 0xec], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404c15
sub eax, edx
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xf0]
call fcn.00402530
push 0x18
push str.Internet_Explorer_Server
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30c], edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov byte [esp + 0x30], 0
call fcn.00402530
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
mov byte [esp + 0x304], 1
mov dword [esp + 0x14], ebx
jae 0x404c74
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x104]
push eax
push edi
lea ecx, [esp + 0xf8]
call fcn.00401ac0
test eax, eax
je 0x404e31
push 0x12
push str.MozillaWindowClass
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], edi
mov byte [esp + 0xd8], 0
call fcn.00402530
cmp dword [esp + 0xe4], 0x10
mov eax, dword [esp + 0xd0]
mov ebx, 3
mov dword [esp + 0x304], 2
mov dword [esp + 0x14], ebx
jae 0x404cec
lea eax, [esp + 0xd0]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xfc]
push ecx
push eax
push edx
push edi
lea ecx, [esp + 0xf8]
call fcn.00401ac0
test eax, eax
je 0x404e31
push str.Chrome_RenderWidgetHostHWND
lea ecx, [esp + 0x98]
call fcn.00402b80
push eax
mov dword [esp + 0x308], ebx
lea eax, [esp + 0xec]
mov ebx, 7
push eax
mov dword [esp + 0x1c], ebx
call fcn.00401e40
add esp, 8
test al, al
jne 0x404e31
push str.Chrome_WidgetWin_1
lea ecx, [esp + 0xb4]
call fcn.00402b80
push eax
lea ecx, [esp + 0xec]
mov ebx, esi
push ecx
mov dword [esp + 0x30c], 4
mov dword [esp + 0x1c], ebx
call fcn.00401e40
add esp, 8
test al, al
jne 0x404e31
push str.WebViewWindowClass
lea ecx, [esp + 0x60]
call fcn.00402b80
push eax
lea edx, [esp + 0xec]
mov ebx, 0x1f
push edx
mov dword [esp + 0x30c], 5
mov dword [esp + 0x1c], ebx
call fcn.00401e40
add esp, 8
test al, al
jne 0x404e31
push str.OperaWindowClass
lea ecx, [esp + 0x44]
call fcn.00402b80
push eax
lea eax, [esp + 0xec]
mov ebx, 0x3f
push eax
mov dword [esp + 0x30c], 6
mov dword [esp + 0x1c], ebx
call fcn.00401e40
add esp, 8
test al, al
jne 0x404e31
push str.ApplicationFrameWindow
lea ecx, [esp + 0x7c]
call fcn.00402b80
push eax
lea ecx, [esp + 0xec]
mov ebx, 0x7f
push ecx
mov dword [esp + 0x30c], 7
mov dword [esp + 0x1c], ebx
call fcn.00401e40
add esp, 8
test al, al
mov byte [esp + 0x1b], 0
je 0x404e36
mov byte [esp + 0x1b], 1
test bl, 0x40
je 0x404e68
and ebx, 0xffffffbf
cmp dword [esp + 0x90], 0x10
jb 0x404e55
mov edx, dword [esp + 0x7c]
push edx
call fcn.004054f0
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov byte [esp + 0x7c], 0
test bl, 0x20
je 0x404e91
and ebx, 0xffffffdf
cmp dword [esp + 0x58], 0x10
jb 0x404e84
mov eax, dword [esp + 0x44]
push eax
call fcn.004054f0
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
test bl, 0x10
je 0x404eba
and ebx, 0xffffffef
cmp dword [esp + 0x74], 0x10
jb 0x404ead
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004054f0
add esp, 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
mov byte [esp + 0x60], 0
test bl, 8
je 0x404ef2
and ebx, 0xfffffff7
cmp dword [esp + 0xc8], 0x10
jb 0x404edc
mov edx, dword [esp + 0xb4]
push edx
call fcn.004054f0
add esp, 4
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], edi
mov byte [esp + 0xb4], 0
test bl, 4
je 0x404f2a
and ebx, 0xfffffffb
cmp dword [esp + 0xac], 0x10
jb 0x404f14
mov eax, dword [esp + 0x98]
push eax
call fcn.004054f0
add esp, 4
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov byte [esp + 0x98], 0
test bl, 2
je 0x404f62
and ebx, 0xfffffffd
cmp dword [esp + 0xe4], 0x10
jb 0x404f4c
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.004054f0
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
test bl, 1
mov dword [esp + 0x304], edi
je 0x404f82
cmp dword [esp + 0x3c], 0x10
jb 0x404f82
mov edx, dword [esp + 0x28]
push edx
call fcn.004054f0
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x4051a8
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], edi
mov byte [esp + 0xd0], 0
mov byte [esp + 0x304], 8
call fcn.00401880
test eax, eax
je 0x404ffb
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xc8
call esi
push edi
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0x74
push 0x100
push ebp
call edi
push 0x64
call esi
push 0
push 0x74
push 0x101
push ebp
call edi
mov dword [esp + 0x20], 0
mov esi, 0x10
jmp 0x40518f
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.00403ad0
mov ecx, dword [esp + 0x1c]
add esp, 8
push ecx
lea ecx, [esp + 0x20]
call fcn.004016f0
mov esi, dword [eax]
cmp esi, edi
mov byte [esp + 0x304], 9
je 0x40503a
cmp dword [esi + 4], edi
jne 0x405035
mov edx, dword [esi]
push edx
call fcn.00422130
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x40503c
xor esi, esi
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405041
sub eax, edx
push eax
push esi
lea ecx, [esp + 0xd4]
call fcn.00402530
lea ecx, [esp + 0x1c]
mov byte [esp + 0x304], 8
call fcn.00402600
mov eax, dword [esp + 0xd0]
mov esi, 0x10
cmp dword [esp + 0xe4], esi
jae 0x405087
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405090
sub eax, edx
jne 0x4050e5
lea eax, [esp + 0x14]
push eax
call fcn.00402250
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
lea ecx, [esp + 0x20]
call fcn.004016f0
mov ecx, eax
mov byte [esp + 0x304], 0xa
call fcn.004017a0
push eax
lea ecx, [esp + 0xd0]
call fcn.00402bc0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x304], 8
call fcn.00402600
cmp dword [esp + 0xe4], esi
mov eax, dword [esp + 0xd0]
jae 0x4050fc
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405100
sub eax, edx
jne 0x405141
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
add esi, 1
push esi
call fcn.004054f5
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
lea ecx, [esp + 0xd0]
call fcn.00402bc0
xor edi, edi
mov esi, 0x10
cmp dword [esp + 0xe4], esi
mov eax, dword [esp + 0xd0]
jae 0x405158
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
jmp 0x405160
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405160
sub eax, edx
je 0x40518f
sub esp, 0x1c
lea edx, [esp + 0xe8]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov dword [esp + 0x40], edi
call fcn.00402950
call fcn.00404870
add esp, 0x1c
cmp dword [esp + 0xe4], esi
jb 0x4051a8
mov eax, dword [esp + 0xd0]
push eax
call fcn.004054f0
add esp, 4
cmp dword [esp + 0x100], 0x10
jb 0x4051c2
mov ecx, dword [esp + 0xec]
push ecx
call fcn.004054f0
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e4]
xor ecx, esp
call fcn.0041133e
add esp, 0x2f4
ret 8