Function at 0x49dd11
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4e1d1c
call fcn.0046d048
sub esp, 0x170
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0049d5e3
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.00482e42
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
mov ecx, ebx
call fcn.004aee77
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x49ddba
push 0
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004afaf9
jmp 0x49ddc5
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004afb91
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 0x49de22
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 0x49ddfe
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x49de0f
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], edi
je 0x49e1e5
push dword [ebp - 0x2c]
call esi
jmp 0x49e1e5
push 1
push 0xff00ff
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call fcn.0049b666
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 0x49dfd7
test al, 0x40
je 0x49dee5
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 0x49dfd7
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.0049ae19
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x49debc
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 0x49dfd7
test al, 0x80
je 0x49dfd7
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 0x49dfd7
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 0x49df25
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x70], ecx
jge 0x49df33
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.0049ae19
add esp, 0xc
cmp dword [ebp + 0x10], 1
jne 0x49df6e
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.0049a99f
add esp, 0x28
push dword [ebp + 0x10]
push edi
call esi
test edi, edi
je 0x49dfd7
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x49dfcc
xor edi, edi
test edi, edi
je 0x49dfd7
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 0x49e010
push 1
pop ecx
cmp eax, ecx
je 0x49e012
push 2
pop ecx
cmp eax, ecx
je 0x49e012
xor ecx, ecx
mov eax, dword [edi + 0x14c]
test eax, eax
jne 0x49e021
push 0x20
pop eax
jmp 0x49e035
cmp eax, 1
jne 0x49e02a
push 0x24
jmp 0x49e01e
cmp eax, 2
jne 0x49e033
push 0x28
jmp 0x49e01e
xor eax, eax
or eax, ecx
cmp dword [ebp - 0x38], 0
mov dword [ebp + 0x10], eax
je 0x49e063
mov ecx, dword [ebp - 0x5c]
test ch, 2
je 0x49e04e
and dword [ebp + 0x10], 0xfffffffc
jmp 0x49e063
mov eax, 0x100
and ecx, eax
cmp ecx, eax
jne 0x49e063
mov eax, dword [ebp + 0x10]
and al, 0xfe
or al, 2
mov dword [ebp + 0x10], eax
mov eax, dword [0x51daac]
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.00481a24
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x49e158
mov eax, dword [ebx + 0x7c]
cmp dword [eax + 0xb9c], 0
je 0x49e158
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 0x49e128
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.004817f7
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
cmp dword [ebp - 0x30], ebx
je 0x49e17e
push dword [ebp - 0x30]
call edi
cmp dword [ebp - 0x18], ebx
je 0x49e188
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 0x49e1c0
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x49e1c0
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x49e1ca
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x49e1db
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x2c], ebx
je 0x49e1e5
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