Function at 0x42f6b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
movzx ecx, byte [eax + 0x9e]
test ecx, ecx
je 0x42f91f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x60]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x60]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x40]
call fcn.0042f630
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jle 0x42f8e2
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x40
call fcn.0043aab0
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx + 0x24], eax
push 0x3f
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x50]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [ebp - 0x40]
add edx, 0xbc
push edx
push 0
push 5
push 0
push 1
push 0xcc
push 0
push 0
push 0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xe0]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xdc]
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x118]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
push ecx
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xf0]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
push 0x10
push 4
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004250c0
add esp, 0x14
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xe4]
push eax
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00427050
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 2
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x24]
push ecx
call fcn.0043aa90
add esp, 4
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x60]
push eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
mov esp, ebp
pop ebp
ret 8