Function at 0x420466
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0x14
call fcn.00438c81
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4204d4
push 0x21
push 0x4013256
push 6
call fcn.00438c75
add esp, 0xc
test eax, eax
je 0x420763
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0043bfa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420511
push ebx
call fcn.00438c87
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.0043bfa0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42054a
push ebx
call fcn.00438c87
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], esp
push 0xff
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x420582
push 0xa8
push 0x4013256
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0xff
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetClassNameA]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4205b6
push 0xd2
push 0x4013256
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4205e6
push 0x115
push 0x4013256
push 6
call fcn.00438c75
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 8]
test eax, eax
je 0x42063e
push eax
mov ebx, eax
call fcn.00401170
inc eax
push eax
call fcn.00438c81
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x420651
push ebx
call fcn.00438c87
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0x10
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x42067c
push eax
mov ebx, eax
call fcn.00401170
inc eax
push eax
call fcn.00438c81
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42068f
push ebx
call fcn.00438c87
add esp, 4
pop eax
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
push 0x50bd48
push 4
mov eax, 2
call fcn.00439500
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ebx, dword [0x50bd48]
mov dword [ebp - 0x1c], ebx
call fcn.00401b97
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4206dc
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x20]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00438c99
add esp, 8
mov dword [0x50bd48], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x20]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x18]
push edi
push eax
push 0x14
call fcn.00438c81
add esp, 4
pop esi
mov edi, eax
push eax
mov ecx, 3
rep movsd dword es:[edi], dword [esi]
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x42073d
push eax
mov ebx, eax
call fcn.00401170
inc eax
push eax
call fcn.00438c81
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x42075c
push eax
mov ebx, eax
call fcn.00401170
inc eax
push eax
call fcn.00438c81
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420773
push ebx
call fcn.00438c87
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x420783
push ebx
call fcn.00438c87
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x42079a
push ebx
call fcn.00438c87
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4207ae
push ebx
call fcn.00438c87
add esp, 4
pop ebx
call fcn.00438c87
add esp, 4
mov esp, ebp
pop ebp
ret 4