Function at 0x428fe0
Capabilities:
Get graphical window text

Disassembly:
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x28], eax
push 0
push 0
push 0xf2
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], 0
mov ecx, eax
and ecx, 3
mov dword [esp + 0x30], ecx
cmp ecx, 1
sbb ecx, ecx
and eax, 4
inc ecx
mov dword [esp + 0x54], eax
sar eax, 1
or eax, ecx
mov edx, eax
shl eax, 3
sub eax, edx
add eax, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
jne 0x42904d
add ecx, 2
mov eax, ecx
shl ecx, 3
sub ecx, eax
mov eax, dword [esp + 0x14]
lea edx, [eax + ecx*2]
mov dword [esp + 0x14], edx
test ebp, 0xa
jne 0x42905e
test ebx, ebx
je 0x42905e
cmp ebx, 1
jne 0x429073
lea eax, [esp + 0x64]
push pe_nt_image_headers32
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [esp + 0x24], eax
cmp ebx, 9
ja case.0x42907c.8
jmp dword [ebx*4 + 0x4293e4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x64]
push eax
lea eax, [esp + 0x48]
push ebx
push ecx
push edx
push eax
push esi
push edi
call fcn.00428b80
add esp, 0x1c
jmp case.0x42907c.8
mov dword [esp + 0x18], 0xd
test ebp, 4
je 0x4292c7
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x4292c7
mov eax, dword [0x49a550]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
test ebx, ebx
je 0x4292c0
mov eax, dword [esp + 0x18]
push 0xcc0020
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x48]
push ecx
cmp dword [esp + 0x2c], 0
push edi
push 0xd
push 0xe
je 0x429298
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
sub eax, 0xd
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x54]
push ecx
sub eax, 0xe
jmp 0x4292b0
cmp dword [esp + 0x30], 2
jne case.0x42907c.2
mov dword [esp + 0x18], 0x1a
jmp case.0x42907c.2
test ebp, 6
je case.0x42907c.8
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.00427280
add esp, 0x10
cmp dword [esp + 0x20], 0
jne 0x42917d
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push eax
push ecx
push 0x4757fc
push esi
call fcn.00427280
add esp, 0x10
add dword [esp + 0x34], 4
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x34]
add eax, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x38]
test ebp, 0x20
mov dword [esp + 0x40], eax
je 0x42921a
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x54]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x4c]
push edx
push edi
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
mov dword [esp + 0x64], ecx
call esi
lea ecx, [esp + 0x5c]
push ecx
push edi
call esi
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x1c]
push eax
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
push ecx
call esi
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x1c]
push ecx
push eax
call esi
lea ecx, [esp + 0x54]
push 1
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x154
ret
mov eax, dword [esp + 0x20]
dec dword [esp + 0x4c]
dec dword [esp + 0x50]
push 0xf
cdq
sub eax, edx
push 2
sar eax, 1
push 2
add dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push eax
push esi
call fcn.00427090
lea eax, [esp + 0x58]
add esp, 0x14
push 1
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x44]
push 0xf
push 0
push 0
push ecx
push esi
call fcn.00427090
add esp, 0x14
cmp dword [esp + 0x28], 0
jne 0x42927b
mov eax, dword [0x49a53c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x34]
push 0x20
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
jmp case.0x42907c.8
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
sub eax, 0xd
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebp, 2
je 0x42931a
cmp dword [esp + 0x20], 0
je 0x4292e3
mov eax, dword [esp + 0x4c]
sub eax, 0x12
mov dword [esp + 0x3c], eax
jmp 0x4292ee
mov eax, dword [esp + 0x44]
add eax, 0x12
mov dword [esp + 0x34], eax
cmp dword [esp + 0x28], 0
jne 0x429302
mov eax, dword [0x49a53c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x34]
push 0x24
mov ecx, dword [esp + 0x28]
push eax
lea edx, [esp + 0x6c]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
test ebp, 8
je case.0x42907c.8
lea eax, [esp + 0x30]
lea ecx, [esp + 0x54]
lea edx, [esp + 0x64]
push eax
push ecx
push edx
push esi
call fcn.00427280
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
add esp, 0x10
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x38]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
je 0x429376
sub dword [esp + 0x4c], 0x12
mov dword [esp + 0x34], eax
jmp 0x42937d
add eax, 0x12
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push 1
add eax, dword [esp + 0x38]
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x44], eax
push ecx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x44]
lea eax, [esp + 0x34]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x34]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x2c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x10], 0
je 0x4293d8
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x154
ret