Function at 0x424250
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x48d2bc
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [eax + 0x18]
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], ebx
mov cl, byte [ebp + 0x39]
mov byte [esp + 0x64], 1
test cl, 4
je 0x4242ae
test byte [eax + 0x10], 1
jne 0x4242aa
test cl, 8
jne 0x4242aa
xor cl, cl
jmp 0x4242b1
mov cl, 1
jmp 0x4242b1
mov cl, byte [eax + 0x10]
add cl, cl
add cl, cl
xor cl, byte [ebp + 0x38]
add eax, 0x1c
and cl, 4
xor byte [ebp + 0x38], cl
mov edx, dword [eax - 0xc]
shr edx, 4
add dl, dl
add dl, dl
add dl, dl
xor dl, byte [ebp + 0x38]
push eax
and dl, 8
xor byte [ebp + 0x38], dl
mov edx, dword [eax - 0xc]
mov cl, byte [ebp + 0x38]
shr edx, 2
shl dl, 4
xor dl, cl
and dl, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
xor dl, cl
push eax
mov byte [ebp + 0x38], dl
call dword [sym.imp.USER32.dll_CopyRect]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov al, byte [ebp + 0x38]
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
test al, 0x40
jne 0x424348
test al, 8
jne 0x42431c
test byte [ebp + 0x39], 2
je 0x424348
push ebx
call edi
mov ebx, eax
push ebx
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.USER32.dll_FrameRect]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_InflateRect]
test ebx, ebx
je 0x424348
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test byte [ebp + 0x38], 2
je 0x424358
push esi
mov ecx, ebp
call fcn.00424080
jmp 0x424368
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ecx, ebp
call edx
mov al, byte [ebp + 0x38]
test al, 4
je 0x4243be
test al, 0x40
je 0x424390
test al, 0x20
je 0x424572
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ecx, ebp
call edx
jmp 0x424572
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call edi
mov ebx, eax
push ebx
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test ebx, ebx
je 0x424572
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x424572
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call edi
mov ebx, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 0
push 0
call ebx
push 0x16
mov dword [esp + 0x24], eax
call edi
push eax
push 0
push 0
call ebx
push 0x10
mov dword [esp + 0x20], eax
call edi
push eax
push 0
push 0
call ebx
push 0x15
mov dword [esp + 0x1c], eax
call edi
push eax
push 0
push 0
call ebx
mov ebx, eax
mov al, byte [ebp + 0x38]
mov dword [esp + 0x14], ebx
test al, 0x40
je 0x42443c
test al, 1
je 0x424544
test al, 0x20
je 0x424544
push 0x10
call edi
push eax
push 0x14
call edi
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
call fcn.00425160
jmp 0x424544
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edx
push esi
call ebx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
push 0
dec eax
push eax
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push esi
call edi
mov edx, dword [esp + 0x1c]
push edx
push esi
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push 0
dec eax
push eax
inc ecx
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
inc eax
push eax
inc ecx
push ecx
push esi
call edi
mov eax, dword [esp + 0x30]
inc eax
push eax
mov eax, dword [esp + 0x38]
push eax
push esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
push 0
dec eax
push eax
push edx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
dec eax
push eax
dec ecx
push ecx
push esi
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
dec eax
dec ecx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x18]
push eax
push esi
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
push 0
add eax, 0xfffffffe
push eax
inc ecx
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add eax, 0xfffffffe
push eax
add ecx, 0xfffffffe
push ecx
push esi
call edi
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push ecx
add eax, 0xfffffffe
push eax
push esi
call edi
mov edx, dword [esp + 0x70]
push edx
push esi
call ebx
mov ebx, dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
je 0x424551
push ebx
call edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42455c
push eax
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x424567
push eax
call edi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x424572
push eax
call edi
mov eax, dword [0x4b0014]
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 4]
push ecx
mov byte [esp + 0x68], 2
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
push edi
lea ecx, [esp + 0x24]
call fcn.00424e60
mov ebx, dword [esp + 0x20]
test eax, eax
jne 0x4245a2
xor eax, eax
jmp 0x4245ad
xor edx, edx
mov dword [ebx - 8], edi
mov word [ebx + edi*2], dx
mov eax, ebx
inc edi
push edi
push eax
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [ebp + 0x260], 0
je 0x424604
mov al, byte [ebp + 0x38]
mov dl, al
shr dl, 4
and dl, 1
movzx ecx, dl
shr al, 2
push ecx
and al, 1
cmp dword [ebx - 8], 0
movzx edx, al
push edx
setne cl
lea eax, [esp + 0x44]
push eax
movzx edx, cl
push edi
push edx
push esi
mov ecx, ebp
call fcn.00423b70
cmp dword [ebp + 0x278], 0
je 0x42464a
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov al, byte [ebp + 0x38]
mov cl, al
shr cl, 4
and cl, 1
shr al, 2
movzx edx, cl
and al, 1
cmp dword [ebx - 8], 0
push edx
movzx eax, al
push eax
lea ecx, [esp + 0x44]
push ecx
setne dl
movzx eax, dl
push edi
push eax
push esi
mov ecx, ebp
call fcn.00423a30
cmp dword [ebx - 8], 0
je 0x42476e
test byte [ebp + 0x38], 4
je 0x42466f
test byte [ebp + 0x39], 4
jne 0x42466f
push 1
push 1
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
push 0x411
mov dword [esp + 0x50], edx
lea edx, [esp + 0x40]
push edx
push 0xffffffffffffffff
push ebx
push esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], ecx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
sub edi, dword [esp + 0x44]
sub eax, dword [esp + 0x48]
sub edi, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
cdq
sub eax, edx
sar eax, 1
lea edi, [edi + ecx - 0x14]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
lea edx, [esp + 0x44]
push edx
call edi
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov al, byte [ebp + 0x38]
test al, 0x10
je 0x424733
push 1
push 1
lea eax, [esp + 0x44]
push eax
call edi
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x11
lea ecx, [esp + 0x40]
push ecx
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
call edi
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x11
lea eax, [esp + 0x40]
push eax
jmp 0x424764
test al, 5
jne 0x424747
mov eax, dword [ebp + 0x54]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x50]
jmp 0x424755
mov eax, dword [ebp + 0x4c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x48]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x11
lea ecx, [esp + 0x40]
push ecx
push 0xffffffffffffffff
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov al, byte [ebp + 0x38]
test al, 0x40
je 0x424779
test al, al
jns 0x4247b8
test al, 8
je 0x4247b8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push 0xfffffffffffffffd
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
push 0xfffffffffffffffd
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
lea edx, [ebx - 0xc]
mov byte [esp + 0x64], 1
cmp edx, dword [0x4b0010]
je 0x4247df
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x4247df
push esi
call fcn.00474543
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 8