Function at 0x419050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e006
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x46e320]
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 eax, dword [edi + 4]
lea ecx, [ebp - 0x190]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x194], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x198], eax
mov dword [ebp - 4], ebx
mov esi, eax
mov eax, dword [edi + 4]
lea edx, [ebp - 0x210]
push edx
push eax
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x204], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push esi
mov dword [ebp - method.CBkModeDC.virtual_0], vtable.CBkModeDC.0
mov dword [ebp - 0x1fc], esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x1f8], eax
mov byte [ebp - 4], 1
mov ecx, dword [0x462b58]
mov dx, word [0x462b5c]
push 0x3a
lea eax, [ebp - 0x12e]
push ebx
push eax
mov dword [ebp - 0x150], 0xfffffff4
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], 0x190
mov byte [ebp - 0x13c], bl
mov byte [ebp - 0x13b], bl
mov byte [ebp - 0x13a], bl
mov byte [ebp - 0x139], 1
mov byte [ebp - 0x138], 6
mov byte [ebp - 0x137], bl
mov byte [ebp - 0x136], bl
mov byte [ebp - 0x135], bl
mov dword [ebp - 0x134], ecx
mov word [ebp - 0x130], dx
call fcn.004480d0
add esp, 0xc
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1b4], ebx
cmp dword [edi + 0xb4], ebx
je 0x4193e2
lea esi, [edi + 0xa0]
lea edi, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], ebx
call fcn.0042f120
mov eax, dword [ebp - 0x1c8]
cmp eax, ebx
jle 0x419240
mov ecx, dword [ebp - 0x1c4]
cmp ecx, ebx
jle 0x419240
push ecx
push eax
push ebx
push ebx
lea ecx, [ebp - 0x1c0]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [ebp - 0x19c]
mov eax, dword [edi + 0x124]
add eax, dword [edi + 0x11c]
lea esi, [ebp - 0x1c0]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0042fa70
mov edx, dword [edi + 0x118]
sub edx, dword [ebp - 0x1c0]
push ebx
add edx, 5
push edx
mov eax, esi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x1a0]
mov ecx, esi
push ecx
push edx
lea ecx, [edi + 0xa0]
call fcn.0042f190
jmp 0x419246
mov edi, dword [ebp - 0x19c]
push 0x7e
lea ecx, [ebp - 0x8e]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x90], ax
call fcn.004480d0
mov eax, dword [edi + 4]
add esp, 0xc
push 0x40
lea edx, [ebp - 0x90]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x90], bx
je 0x4193dc
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1b8]
mov edx, dword [eax + 0x11c]
add ecx, 5
mov dword [ebp - 0x1b0], ecx
mov ecx, dword [eax + 0x120]
mov dword [ebp - 0x1ac], edx
mov edx, dword [eax + 0x124]
mov eax, dword [0x462b58]
sub ecx, 0x32
push 0x3a
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a8], ecx
mov cx, word [0x462b5c]
lea edx, [ebp - 0xce]
push ebx
push edx
mov dword [ebp - 0xf0], 0xfffffff4
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], 0x190
mov byte [ebp - 0xdc], bl
mov byte [ebp - 0xdb], bl
mov byte [ebp - 0xda], bl
mov byte [ebp - 0xd9], 1
mov byte [ebp - 0xd8], 6
mov byte [ebp - 0xd7], bl
mov byte [ebp - 0xd6], bl
mov byte [ebp - 0xd5], bl
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xd0], cx
call fcn.004480d0
mov edi, dword [ebp - 0x1a0]
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
lea esi, [ebp - 0x1e0]
mov dword [ebp - method.CFontDC.virtual_0], vtable.CFontDC.0
mov dword [ebp - 0x1dc], ebx
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1d4], ebx
mov byte [ebp - 0x1d0], bl
call fcn.00430300
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
push edi
call esi
push 0xffffff
push edi
call esi
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x90]
lea ecx, [eax + 2]
jmp 0x4193a0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4193a0
push 0x24
sub eax, ecx
lea ecx, [ebp - 0x1b0]
push ecx
sar eax, 1
push eax
lea edx, [ebp - 0x90]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1c4]
push eax
push edi
call esi
lea ecx, [ebp - 0x1e0]
call fcn.004302c0
mov edi, dword [ebp - 0x19c]
lea eax, [edi + 0x138]
cmp eax, ebx
je 0x419403
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
jle 0x4194cf
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 4]
jle 0x4194cf
cmp dword [edi + 0xcc], ebx
je 0x4194cf
lea esi, [edi + 0xb8]
lea edi, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], ebx
call fcn.0042f120
mov eax, dword [ebp - 0x1c8]
cmp eax, ebx
jle 0x4194c9
mov ecx, dword [ebp - 0x1c4]
cmp ecx, ebx
jle 0x4194c9
mov edi, dword [ebp - 0x19c]
cdq
and edx, 3
add eax, edx
mov dword [ebp - 0x1a4], ecx
movzx ecx, word [edi + 0x70]
sar eax, 2
mov edx, 0x2001
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], eax
cmp cx, dx
jne 0x41948c
cmp word [edi + 0x84], dx
jne 0x41948c
push ebx
add eax, eax
push eax
jmp 0x4194a2
mov edx, 0x2001
push ebx
cmp cx, dx
jne 0x4194a1
push eax
lea eax, [ebp - 0x1b0]
push eax
jmp 0x4194a9
push ebx
lea ecx, [ebp - 0x1b0]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x1a0]
lea eax, [edi + 0x138]
push eax
push edx
push esi
lea edi, [ebp - 0x1b0]
call fcn.0042f310
mov edi, dword [ebp - 0x19c]
lea eax, [edi + 0x128]
cmp eax, ebx
je 0x4194f0
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
jle 0x4195c1
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 4]
jle 0x4195c1
cmp dword [edi + 0xe4], ebx
je 0x4195c1
lea esi, [edi + 0xd0]
lea edi, [ebp - 0x1c8]
mov dword [ebp - 0x1c8], ebx
mov dword [ebp - 0x1c4], ebx
call fcn.0042f120
mov ecx, dword [ebp - 0x1c8]
cmp ecx, ebx
jle 0x4195bb
mov edi, dword [ebp - 0x1c4]
cmp edi, ebx
jle 0x4195bb
mov eax, 0x55555556
imul ecx
mov eax, edx
mov dword [ebp - 0x1a4], edi
mov edi, dword [ebp - 0x19c]
movzx ecx, word [edi + 0x70]
shr eax, 0x1f
add eax, edx
mov edx, 0x2002
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], eax
cmp cx, dx
jne 0x41957e
cmp word [edi + 0x84], dx
jne 0x41957e
push ebx
add eax, eax
push eax
jmp 0x419594
mov edx, 0x2002
push ebx
cmp cx, dx
jne 0x419593
push eax
lea eax, [ebp - 0x1b0]
push eax
jmp 0x41959b
push ebx
lea ecx, [ebp - 0x1b0]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [ebp - 0x1a0]
lea eax, [edi + 0x128]
push eax
push edx
push esi
lea edi, [ebp - 0x1b0]
call fcn.0042f310
mov edi, dword [ebp - 0x19c]
lea eax, [edi + 0x158]
cmp eax, ebx
je 0x4195da
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
jle 0x4195ed
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 4]
jle 0x4195ed
push eax
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [edi + 0x100]
call fcn.0042f190
lea eax, [edi + 0x148]
cmp eax, ebx
je 0x41960e
mov ecx, dword [eax + 8]
cmp ecx, dword [eax]
jle 0x419827
mov edx, dword [eax + 0xc]
cmp edx, dword [eax + 4]
jle 0x419827
cmp dword [edi + 0x198], ebx
je 0x419827
mov eax, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x150]
push ecx
lea esi, [ebp - 0x1f4]
mov dword [ebp - method.CFontDC.virtual_0], vtable.CFontDC.0
mov dword [ebp - 0x1f0], ebx
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e8], ebx
mov byte [ebp - 0x1e4], bl
call fcn.00430300
mov esi, dword [ebp - 0x1a0]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [edi + 0x150]
sub edx, dword [edi + 0x148]
cmp dword [edi + 0x19c], 8
mov dword [ebp - 0x1d0], eax
mov eax, dword [edi + 0x198]
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1bc], ebx
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b8], edx
jb 0x4196b1
mov ecx, dword [edi + 0x188]
jmp 0x4196b7
lea ecx, [edi + 0x188]
push 0x400
lea edx, [ebp - 0x1c0]
push edx
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [edi + 0x14c]
mov ecx, dword [edi + 0x150]
mov edx, dword [edi + 0x154]
mov esi, dword [edi + 0x148]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1a0]
push eax
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a4], edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [ebp - 0x1ac]
sub edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x1b8]
mov ecx, esi
sub ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c0], esi
add eax, ecx
mov ecx, dword [ebp - 0x1b4]
add ecx, edx
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1bc], edx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b8], eax
sub edx, esi
sub eax, esi
cmp eax, edx
mov dword [ebp - 0x1b4], ecx
jge 0x419778
mov eax, dword [ebp - 0x1a8]
add eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp - 0x1c0]
call fcn.0042fa40
mov ecx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x1a4]
mov edx, dword [ebp - 0x1ac]
sub ecx, dword [ebp - 0x1bc]
mov esi, eax
sub esi, edx
cmp ecx, esi
jge 0x4197a5
add eax, edx
cdq
sub eax, edx
sar eax, 1
push eax
lea esi, [ebp - 0x1c0]
call fcn.0042fa70
mov ecx, dword [edi + 0x154]
mov edx, dword [edi + 0x150]
mov eax, dword [edi + 0x14c]
mov esi, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [edi + 0x148]
push edx
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
cmp dword [edi + 0x19c], 8
mov eax, dword [edi + 0x198]
jb 0x4197e5
mov edi, dword [edi + 0x188]
jmp 0x4197eb
add edi, 0x188
push ebx
lea edx, [ebp - 0x1c0]
push edx
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x1c4]
cmp eax, ebx
je 0x41980e
push eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ecx, [ebp - 0x1f4]
call fcn.004302c0
mov eax, dword [ebp - 0x1f8]
cmp eax, ebx
je 0x41983f
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp - 0x194]
lea edx, [ebp - 0x190]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
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.00441af5
mov esp, ebp
pop ebp
ret