Function at 0x422390
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4252ea
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x42d190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x1c], 0
jne 0x4223c8
xor eax, eax
jmp 0x422681
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x20], 0
jne 0x42245b
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x30], eax
mov edx, dword [ebp - 0x60]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x3c
push 0x50
push 0
push 0
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.00421c30
push 0x1e
push 0x2d
push 0x19
push 0x23
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.00421c30
push 0xff00ff
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x54]
mov dword [ecx], edx
mov eax, dword [ebp - 0x50]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x2c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.00421c80
push 0x15
mov eax, dword [ebp - 0x58]
sub eax, 0x32
push eax
push 5
push 8
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00421c30
push 0
push 0
push 0x7f
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x422528
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
je 0x42255a
push 3
push 0
push 0
push 0x10
push 0x10
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edx, dword [ebp - 0x44]
add edx, 0x19
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x42261b
lea ecx, [ebp - 0x64]
call fcn.004067f0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
add edx, 1
push edx
mov eax, dword [ebp - 0x34]
add eax, 1
push eax
lea ecx, [ebp - 0x64]
call fcn.00406750
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00406790
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x40824
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00405500
push eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004068b0
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.00422040
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 4]
add ecx, 0x28
push ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x6c]
call fcn.00422040
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 4]
add edx, 0x50
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00422250
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x20]
push edx
mov ecx, dword [ebp - 0x6c]
call fcn.00422250
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret