Function at 0x46ccc7
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4aee48
call fcn.0043cb10
sub esp, 0x170
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0046c5b5
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea esi, [ebp - 0x48]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
and dword [ebp - 4], 0
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], eax
push dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call edi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
push eax
call esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x78], eax
push 0xf
mov byte [ebp - 4], 2
call fcn.00451f7b
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, ebx
call fcn.0047fbea
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x46cd70
push 0
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004815c7
jmp 0x46cd7b
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0048165f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x7c]
imul eax, eax, 0x174
cmp dword [eax + ecx + 0x214], 0
lea eax, [eax + ecx + 0x210]
mov dword [ebp - 0x34], eax
jne 0x46cdd8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x46cdb4
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x46cdc5
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], edi
je 0x46d19b
push dword [ebp - 0x2c]
call esi
jmp 0x46d19b
push 1
push 0xff00ff
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call fcn.0046a63f
add esp, 0x14
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x38], 0xc0
je 0x46cf8d
test al, 0x40
je 0x46ce9b
xor edi, edi
push edi
push 1
push 0xf6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, edi
mov dword [ebp - 0x18], eax
je 0x46cf8d
and dword [ebp - 0x14], 0xfffffffe
push 0x20
pop eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x24], edi
call fcn.00469df2
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x46ce72
push 1
lea eax, [ebp - 0x28]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x1c]
push 3
sub eax, dword [ebp - 0x24]
push edi
push edi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
jmp 0x46cf8d
test al, 0x80
je 0x46cf8d
push 0
push 0
push 0xf6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x46cf8d
lea ecx, [ebp - 0x74]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
cmp dword [ebp - 0x70], eax
jge 0x46cedb
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x70], ecx
jge 0x46cee9
mov ecx, dword [ebp - 0x70]
push dword [ebp - 0x14]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
inc dword [ebp - 0x70]
inc dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00469df2
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x46cf24
push 1
lea eax, [ebp - 0x28]
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp + 8]
mov byte [ebp - 4], 3
call edi
push dword [ebp - 0x18]
mov edi, eax
mov dword [ebp - 0x30], edi
push edi
call esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push 0xc0c0c0
push 0xcc0020
push 0
push 0
dec eax
push edi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
dec eax
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.00469978
add esp, 0x28
push dword [ebp + 0x10]
push edi
call esi
test edi, edi
je 0x46cf8d
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x46cf82
xor edi, edi
test edi, edi
je 0x46cf8d
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x7c]
add eax, 0x958
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x7c], eax
mov edi, dword [ebp - 0x34]
mov eax, dword [edi + 0x148]
test eax, eax
je 0x46cfc6
push 1
pop ecx
cmp eax, ecx
je 0x46cfc8
push 2
pop ecx
cmp eax, ecx
je 0x46cfc8
xor ecx, ecx
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x46cfd7
push 0x20
pop eax
jmp 0x46cfeb
cmp eax, 1
jne 0x46cfe0
push 0x24
jmp 0x46cfd4
cmp eax, 2
jne 0x46cfe9
push 0x28
jmp 0x46cfd4
xor eax, eax
or eax, ecx
cmp dword [ebp - 0x38], 0
mov dword [ebp + 0x10], eax
je 0x46d019
mov ecx, dword [ebp - 0x5c]
test ch, 2
je 0x46d004
and dword [ebp + 0x10], 0xfffffffc
jmp 0x46d019
mov eax, 0x100
and ecx, eax
cmp ecx, eax
jne 0x46d019
mov eax, dword [ebp + 0x10]
and al, 0xfe
or al, 2
mov dword [ebp + 0x10], eax
mov eax, dword [0x4e448c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x17c]
push 0xff
push eax
mov byte [ebp - 4], 6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x14]
push eax
call fcn.00450b3d
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x46d10e
mov eax, dword [ebx + 0x7c]
cmp dword [eax + 0xb9c], 0
je 0x46d10e
push 1
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [edi + 0x154], 1
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
jne 0x46d0de
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x34]
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x15c]
push eax
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esi + 0x158]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x17c]
push eax
call ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x34]
push dword [edi + 0x150]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [ebp - 0x17c]
push eax
call ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x58]
push ecx
push eax
lea eax, [ebp - 0x17c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004508ff
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
je 0x46d134
push dword [ebp - 0x30]
call edi
cmp dword [ebp - 0x18], ebx
je 0x46d13e
push dword [ebp - 0x18]
call edi
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x10], ebx
je 0x46d176
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x46d176
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x46d180
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x46d191
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], ebx
je 0x46d19b
push dword [ebp - 0x2c]
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14