Function at 0x4803d9
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4c2de8
call fcn.004c2540
sub esp, 0x8c8
mov eax, dword [0x4e7384]
push ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
xor ecx, ecx
lea ebx, [ebp - 0x8b4]
call fcn.0040b28a
mov ebx, dword [ebp + 8]
push 0
mov byte [ebp - 4], 1
push dword [ebp - 0x8b4]
lea edi, [ebx + 4]
push dword [ebp + 0xc]
mov dword [ebp - 0x884], edi
push dword [edi]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x8c4]
push eax
push dword [ebx + 0x68]
call esi
lea eax, [ebp - 0x8c4]
call fcn.0040afde
push 4
push 4
lea eax, [ebp - 0x8c4]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x894]
push eax
push dword [ebx + 0xa0]
call esi
lea eax, [ebp - 0x894]
call fcn.0040afde
lea eax, [ebp - 0x894]
push eax
push 0
push 0x1328
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 4
lea eax, [ebp - 0x894]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [ebp - 0x890]
lea esi, [ebp - 0x894]
lea edi, [ebp - 0x87c]
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 dword [ebp - 0x870], eax
mov eax, dword [ebp - 0x8c0]
push 0xfffffffffffffffc
mov dword [ebp - 0x890], eax
mov dword [ebp - 0x878], eax
push 0xfffffffffffffffc
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x4eaf44]
xor edi, edi
cmp eax, edi
je 0x480543
mov ecx, dword [ebp - 0x884]
push 0x4d2464
push dword [ecx]
call eax
mov esi, eax
cmp esi, edi
je 0x480543
mov eax, dword [0x4eaef0]
cmp eax, edi
je 0x480535
push edi
lea ecx, [ebp - 0x8c4]
push ecx
push edi
push 9
push dword [ebp - 0x8b4]
push esi
call eax
push edi
lea eax, [ebp - 0x894]
push eax
push edi
push 9
push dword [ebp - 0x8b4]
push esi
call dword [0x4eaef0]
mov eax, dword [0x4eaefc]
cmp eax, edi
je 0x48056f
push esi
call eax
jmp 0x48056f
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
push 0xf
push 6
lea eax, [ebp - 0x8c4]
push eax
push dword [ebp - 0x8b4]
call esi
push 0xf
push 6
lea eax, [ebp - 0x894]
push eax
push dword [ebp - 0x8b4]
call esi
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x874]
sub edx, dword [ebp - 0x87c]
mov ecx, dword [ebx + 0x98]
push edi
mov esi, eax
mov eax, dword [ebx + 0x90]
mov ebx, dword [ebp - 0x870]
sub ebx, dword [ebp - 0x878]
push edx
push eax
push ecx
mov dword [ebp + 0x10], esi
call fcn.0045989a
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x10
push eax
push esi
mov dword [ebp + 0xc], eax
call ebx
push 0xcc0020
push edi
mov dword [ebp - 0x880], eax
mov eax, dword [ebp - 0x870]
sub eax, dword [ebp - 0x878]
push edi
push esi
push eax
mov eax, dword [ebp - 0x874]
sub eax, dword [ebp - 0x87c]
push eax
push dword [ebp - 0x878]
push dword [ebp - 0x87c]
push dword [ebp - 0x8b4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x880]
push esi
call ebx
lea esi, [ebp - 0x87c]
lea edi, [ebp - 0x8d4]
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 - 0x8c8]
add eax, 4
mov dword [ebp - 0x8d0], eax
add eax, 2
push 0xf
mov dword [ebp - 0x8c8], eax
push 2
lea eax, [ebp - 0x8d4]
push eax
push dword [ebp - 0x8b4]
call dword [sym.imp.USER32.dll_DrawEdge]
lea ecx, [ebp + 0xc]
call fcn.00405ad7
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x48065a
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
add dword [ebp - 0x87c], 4
xor eax, eax
mov word [ebp - 0x86c], si
mov ecx, 0x1ff
lea edi, [ebp - 0x86a]
rep stosd dword es:[edi], eax
push esi
push esi
stosw word es:[edi], ax
mov eax, dword [ebp - 0x884]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x476
push dword [eax]
call edi
cmp eax, esi
je 0x4806d0
mov esi, 0x400
push esi
lea ecx, [ebp - 0x86c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x4806d0
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x86c]
push eax
push 0
push 0
push 0x188
push dword [esi + 0x68]
call edi
push eax
lea eax, [esi + 0x64]
call fcn.0046e48c
jmp 0x4806d3
mov esi, dword [ebp + 8]
push 0
push 0
push 0x31
push dword [esi + 0x68]
call edi
lea ecx, [ebp - 0x6c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 0xe
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebp - 0x8b4]
mov dword [ebp + 8], eax
call ebx
push 1
push dword [ebp - 0x8b4]
mov dword [ebp - 0x880], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 1
push 1
lea eax, [ebp - 0x87c]
push eax
call edi
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push 0x202020
push dword [ebp - 0x8b4]
call esi
push 0x824
lea eax, [ebp - 0x87c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x8b4]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x87c]
push eax
call edi
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp - 0x8b4]
call esi
push 0x824
lea eax, [ebp - 0x87c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x8b4]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x880]
push dword [ebp - 0x8b4]
call ebx
cmp dword [ebp + 8], 0
je 0x4807bf
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea esi, [ebp - 0x8b4]
call fcn.0040b30b
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
inc eax
pop ebx
call fcn.004c2215
leave
ret 0xc