Function at 0x4bbd40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
mov ebp, dword [esp + 0x64]
mov edx, dword [esi + 0x24]
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
push ebx
push 0x104b
push edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x30], 0xa
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_SendMessageW]
test dword [esp + 0x2c], ebp
je 0x4bbf95
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x100e
push edi
mov dword [esp + 0x20], 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, 1
jne 0x4bbdf9
xor eax, eax
xor edx, edx
mov al, byte [0x59f712]
mov ecx, eax
mov eax, dword [0x59f710]
shl ecx, 8
mov dl, ah
and eax, 0xff
or ecx, edx
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x10]
mov edi, eax
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x59f758], 4
jne 0x4bbe0e
push 4
call fcn.004c5330
add esp, 4
mov ebx, eax
mov eax, dword [0x5a4ba8]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.004c5330
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub eax, ebx
add edi, eax
mov eax, dword [0x5a4ba8]
mov dword [esp + 0x14], edi
mov edi, 2
add edx, edi
mov dword [esp + 0x18], edx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.004c5330
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub ebx, eax
mov eax, dword [esp + 0x18]
add edx, ebx
add esp, 8
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
sub ecx, edi
push 1
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x10]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
xor edx, edx
shr ecx, 0x10
mov dh, cl
mov dl, ah
and eax, 0xff
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_FrameRect]
mov edi, eax
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call ebx
cmp ebp, 2
jne 0x4bbeef
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
inc ecx
dec eax
dec edx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x10]
push edi
push edx
push eax
mov dword [esp + 0x20], ecx
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0xe
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
xor edx, edx
shr ecx, 0x10
mov dh, cl
mov dl, ah
and eax, 0xff
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x10]
inc eax
inc edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
dec ecx
dec eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x10]
push edi
push eax
push ecx
mov dword [esp + 0x20], edx
call ebx
cmp ebp, 2
jne 0x4bbf81
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
inc ebp
dec edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x10]
push edi
dec ecx
push edx
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ecx
call ebx
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x44
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret