Function at 0x46c3c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534098
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x14]
call fcn.0046fc30
test al, al
jne 0x46c409
mov dword [esi], 0
mov eax, 1
jmp 0x46c6a6
lea eax, [ebp - 0x74]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00515fd2
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x64]
or ebx, 0xffffffff
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
test eax, eax
je 0x46c483
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 2
push 0
push 0
push 0x31
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [edi + 4]
mov esi, dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
push esi
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x46c4ff
push 1
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_SetBkMode]
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_FillRect]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
lea esi, [eax + 1]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test esi, esi
je 0x46c583
cmp esi, 0x7fffffff
ja 0x46c6c4
push esi
lea ecx, [ebp - 0x1c]
lfence
call fcn.00471470
mov dword [ebp - 0x1c], eax
lea ecx, [esi + esi]
mov dword [ebp - 0x18], eax
add eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push ecx
push 0
push eax
lea esi, [ecx + eax]
call fcn.00515fd2
add esp, 0xc
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 4]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
mov dword [ebp - 0x78], eax
and ecx, 0xc
mov edi, 0x10
cmp cl, 0xc
mov edx, 0x20
mov cl, al
cmovne edx, edi
mov edi, edx
or edi, 1
and cl, 1
cmove edi, edx
shr eax, 1
mov ebx, edi
or ebx, 2
and al, 1
cmove ebx, edi
mov edi, dword [ebp - 0x78]
mov eax, edi
shr eax, 7
test al, 1
je 0x46c5ed
or ebx, 0x800
jmp 0x46c607
push 0
push 0
push 0x129
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 2
je 0x46c607
or ebx, 0x100000
mov ecx, ebx
mov eax, edi
shr eax, 0xf
or ecx, 0x4000
and al, 1
cmove ecx, ebx
mov ebx, dword [ebp - 0x78]
mov eax, ebx
mov edx, ecx
and eax, 0xc000
or edx, 0x40000
cmp eax, 0xc000
cmovne edx, ecx
shr ebx, 0xe
mov eax, edx
or eax, 0x8000
and bl, 1
cmove eax, edx
push eax
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_DrawTextW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00431480
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x7c]
cmp eax, 0xffffffff
je 0x46c682
push eax
push dword [ebp - 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 4], 5
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret 0x10
call fcn.00431c90
int3