Function at 0x416fb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push 1
push 3
mov eax, dword [ebp + 0xe8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xe8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push 1
dec eax
push eax
mov eax, dword [ebp + 0xe8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov dword [ebp - 0x90], eax
push 0
push 0
push 0xba
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0xf4], eax
push 1
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [ebp - 0x60]
push eax
push 0
push 0xb2
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0x10], 0
je 0x417083
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp + 0x14]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x5c]
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x41709c
mov eax, dword [ebp - 0x54]
push eax
push 0x10
mov eax, dword [ebp - 0x5c]
sub eax, 2
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x68], eax
push 1
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x98], eax
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xf0], eax
cmp dword [ebp + 0x10], 0
je 0x417176
mov eax, dword [ebp + 0xd8]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x100], eax
cmp dword [ebp + 0xd4], 0xffffffff
je 0x41712e
mov eax, dword [ebp + 0xd4]
push eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x104], eax
jmp 0x417145
mov eax, dword [ebp + 0xd0]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 0x104], eax
cmp dword [ebp + 0xcc], 0xffffffff
je 0x417163
mov eax, dword [ebp + 0xcc]
push eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0xfc], eax
jmp 0x417176
mov eax, dword [ebp + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0xfc], eax
cmp dword [ebp + 0x64], 0xffffffff
je 0x41718e
mov eax, dword [ebp + 0x64]
push eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0xdc], eax
jmp 0x41719e
mov eax, dword [ebp + 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [ebp - 0xdc], eax
cmp dword [ebp + 0x10], 0
je 0x4171fc
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0xfc]
push eax
lea eax, [ebp - 0xec]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0xe4]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0xe4]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x417212
mov eax, dword [ebp - 0x30]
push eax
push 0x10
mov eax, dword [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0xdc]
push eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x60]
push eax
push 0
push 0xd7
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x84]
inc eax
add eax, eax
push eax
push 0
mov eax, dword [0x44019c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x44b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x108], eax
jmp 0x4172b7
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
je 0x4172a2
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
jne 0x4172a8
inc dword [ebp - 0x88]
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
dec dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0
jge 0x417290
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov eax, dword [0x44019c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x84]
push eax
push 0
push 0x436
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0xd7
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x84], eax
push eax
push 0
push 0x436
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0xbb
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jle 0x417391
lea eax, [edi - 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
lea eax, [ebp - 0x80]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x44b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
je 0x417391
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
je 0x417391
inc dword [ebp - 0x94]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x1c], eax
jg 0x417391
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
je 0x417391
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
jne 0x417323
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x94], 0
je 0x41766d
inc dword [ebp - 0x7c]
jmp 0x41766d
mov dword [ebp - 0x64], 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0xbb
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jle 0x41740f
lea eax, [edi - 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
lea eax, [ebp - 0x80]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x44b
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
cmp word [eax], 0xd
je 0x41740a
mov eax, dword [ebp - 4]
cmp word [eax], 0xa
je 0x41740a
mov dword [ebp - 0x64], 1
jmp 0x417412
inc dword [ebp - 0x7c]
jmp 0x417412
inc dword [ebp - 0x7c]
push edi
lea eax, [ebp - 0x14]
push eax
push 0xd6
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xdc]
lea esi, [edx + eax]
cmp dword [ebp + 0x10], 0
je 0x417466
push esi
mov eax, dword [ebp + 0x14]
sub eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push esi
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
jmp 0x417479
push esi
push 0x10
mov eax, dword [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
inc dword [ebp - 0x18]
sub esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xe0]
mov dword [ebp - 0x108], eax
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x10]
add esi, eax
mov eax, dword [ebp - 0x108]
add esi, eax
cmp esi, dword [ebp - 0x54]
jg 0x41766d
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x48], eax
jl 0x41766d
mov eax, dword [ebp + 0xe4]
test eax, eax
je 0x41756d
push eax
mov eax, dword [ebp - 0x18]
dec eax
push eax
call fcn.004182b0
test eax, eax
je 0x41756d
mov dword [ebp - 0x10c], 0x10
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x120], edx
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x24]
sub eax, edx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x120]
add eax, edx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x11c]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x118], eax
push 3
push 0
push 0
mov eax, dword [ebp - 0x11c]
push eax
push ecx
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
cmp dword [ebp + 0x10], 0
je 0x41766d
cmp dword [ebp - 0x64], 0
jne 0x4175b9
mov eax, dword [ebp - 0x7c]
push eax
push 0x429a4a
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp + 0x18]
or eax, 0x24
push eax
lea eax, [ebp - 0x4c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
jmp 0x41766d
mov dword [ebp - 0x10c], 0x10
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
cmp dword [ebp + 0x18], 1
jne 0x4175ee
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x110]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x118], eax
jmp 0x417614
cmp dword [ebp + 0x18], 0
jne 0x4175ff
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x118], eax
jmp 0x417614
cmp dword [ebp + 0x18], 2
jne 0x417614
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [ebp - 0x48]
neg eax
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x48]
add eax, edx
mov dword [ebp - 0x114], eax
push 3
push 0
push 0
mov eax, dword [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x18], eax
jle 0x4173af
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0x50]
cmp eax, 2
jne 0x41772d
mov eax, dword [ebp + 0xdc]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0xdc]
lea esi, [edx + eax]
push esi
mov eax, dword [ebp + 0x14]
sub eax, 2
push eax
mov eax, dword [ebp - 0x10]
push eax
push 2
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
inc dword [ebp - 0x18]
sub esi, dword [ebp - 0x10]
mov eax, dword [ebp + 0xe0]
mov dword [ebp - 0x108], eax
sub esi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 0x10]
add esi, eax
mov eax, dword [ebp - 0x108]
add esi, eax
cmp esi, dword [ebp - 0x54]
jg 0x41772d
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x48], eax
jl 0x41772d
cmp dword [ebp + 0x10], 0
je 0x41772d
mov eax, dword [ebp - 0x7c]
inc eax
push eax
push 0x429a4a
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov eax, dword [ebp + 0x18]
or eax, 0x24
push eax
lea eax, [ebp - 0x4c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xd8]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
sub edx, eax
push edx
mov edx, dword [ebp - 0x38]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp + 0x64], 0xffffffff
je 0x41776c
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp + 0x10], 0
je 0x4177aa
cmp dword [ebp + 0xcc], 0xffffffff
jne 0x417788
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x100]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x98]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4177e3
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x4177f4
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xe4