Function at 0x4020b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498346
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x51a900]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x100
push 0
push eax
call fcn.00472e80
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, str.World_of_Warcraft
lea eax, [ebp - 0x210]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402136
test dl, dl
je 0x402132
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402136
add eax, 2
add ecx, 2
test dl, dl
jne 0x402116
xor eax, eax
jmp 0x40213b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x402357
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [ebp - 0x254]
test esi, esi
je 0x402357
mov edi, dword [edi]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x240], 0
movups xmmword [ebp - 0x250], xmm0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x234], eax
push esi
push eax
mov dword [ebp - 4], eax
push 0x1fffff
mov dword [ebp - 0x264], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x402206
xorps xmm0, xmm0
mov dword [ebp - 0x218], esi
movups xmmword [ebp - 0x230], xmm0
push eax
movups xmm0, xmmword [ebp - 0x250]
mov dword [ebp - 0x214], eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [ebp - 0x220], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jmp 0x4022cf
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00472e80
add esp, 0xc
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x25c]
push eax
push 0x100
lea eax, [ebp - 0x110]
push eax
push 0xc79620
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x402287
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402257
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.00405530
mov eax, dword [ebp - 0x234]
mov esi, dword [ebp - 0x238]
mov dword [ebp - 0x258], eax
jmp 0x402289
xor eax, eax
push dword [ebp - 0x260]
xorps xmm0, xmm0
mov dword [ebp - 0x218], esi
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x214], eax
movups xmm0, xmmword [ebp - 0x250]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [ebp - 0x220], xmm0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 4], 2
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x402312
movups xmm0, xmmword [ebp - 0x250]
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x240]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], ecx
add dword [edi + 4], 0x20
jmp 0x402321
lea ecx, [ebp - 0x230]
push ecx
push eax
mov ecx, edi
call fcn.0040b400
mov ecx, dword [ebp - 0x21c]
cmp ecx, 0xf
jbe 0x402357
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40234d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402376
push ecx
push edx
call fcn.00471a37
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471a29
mov esp, ebp
pop ebp
ret 4
call fcn.0047694f
int3