Function at 0x4141e6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
mov eax, dword [0x461008]
xor eax, esp
mov dword [esp + 0x290], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ebx
cmp eax, dword [edi + 0x50]
jne 0x413f0c
test ecx, ecx
jne 0x413e5f
push ecx
push 0x1f4
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x413f01
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
call fcn.0040c0c0
cmp dword [eax + 0x14], 8
jb 0x413e7f
mov eax, dword [eax]
push eax
push 0
push 0xc
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x94], 8
jb 0x413ea6
push dword [esp + 0x80]
call fcn.0043198a
add esp, 4
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413efa
lea eax, [esp + 0x60]
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [esp + 0x64]
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 2
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x18]
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 5
push 0
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x413f01
push 5
push dword [edi + 0x54]
call esi
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov eax, dword [ebp + 8]
cmp eax, 0x111
ja 0x414341
je 0x414269
mov esi, dword [ebp + 8]
lea eax, [esi - 1]
cmp eax, 0x2a
ja case.0x414358.276
movzx eax, byte [eax + 0x4144b4]
jmp dword [eax*4 + 0x41449c]
push 0
push 0
push 0x80
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x414358.276
push ebx
push ecx
push esi
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp case.0x414358.276
lea eax, [esp + 0x60]
push eax
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x24]
mov esi, dword [esp + 0xc]
test ecx, ecx
je 0x413f90
sub esp, 8
push esi
call fcn.0041a330
mov eax, dword [edi + 0x24]
mov eax, dword [eax + 0xc]
add dword [esp + 0x64], eax
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [esp + 0x64]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x6c]
mov ecx, dword [edi + 0x28]
sub eax, 0x29
mov dword [esp + 0x6c], eax
test ecx, ecx
je 0x41403a
push dword [ecx + 0xc]
mov esi, dword [esp + 0x6c]
push dword [ecx + 8]
sub eax, dword [ecx + 0xc]
sub esi, dword [ecx + 8]
sub esp, 8
sub eax, 0x15
sub esi, 0x15
mov dword [esp + 0x2c], eax
push eax
push esi
push dword [esp + 0x38]
call fcn.0041a390
mov eax, dword [esp + 0x6c]
add eax, 0xffffffeb
push eax
mov eax, dword [esp + 0x6c]
add eax, 0xffffffeb
push eax
push dword [esp + 0x24]
lea eax, [edi + 0x2c]
push esi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x6c]
sub dword [esp + 0x68], 0x15
add eax, 0xffffff70
add dword [esp + 0x60], 0x5c
mov esi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
call esi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x84]
push eax
call esi
push dword [edi + 0x10]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [esp + 0x70]
push 0x420
push eax
push dword [edi + 0x68]
push dword [edi + 0x60]
push dword [esp + 0x30]
call esi
push 0x420
lea eax, [esp + 0x84]
push eax
push dword [edi + 0x6c]
push dword [edi + 0x64]
push dword [esp + 0x30]
call esi
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x4140e2
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
push 0x20
lea eax, [esp + 0x74]
push eax
push dword [edi + 0x68]
push dword [edi + 0x60]
push dword [esp + 0x30]
call esi
add dword [esp + 0x74], 0x19
lea eax, [esp + 0x70]
push 0x20
push eax
push dword [edi + 0x6c]
push dword [edi + 0x64]
push dword [esp + 0x30]
call esi
push dword [edi + 0x14]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
add eax, 0xc
push 0x20
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
push dword [edi + 0x78]
push dword [edi + 0x70]
push dword [esp + 0x30]
call esi
add dword [esp + 0x74], 0x19
lea eax, [esp + 0x70]
push 0x20
push eax
push dword [edi + 0x7c]
push dword [edi + 0x74]
push dword [esp + 0x30]
call esi
cmp byte [edi + 0x80], 0
je 0x4141c1
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4141c1
push dword [edi + 0x14]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x74]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
sub dword [esp + 0x74], 0x2c
lea eax, [esp + 0x70]
push 0
push eax
push dword [edi + 0x88]
push dword [edi + 0x84]
push dword [esp + 0x30]
call esi
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x14]
cmp eax, dword [edi + 0x54]
jne case.0x414358.276
mov esi, dword [ebx + 0x18]
push 0xa0a0a0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x80]
push eax
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x98]
push eax
push 0x100
push 0xd
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
lea ecx, [esp + 0x84]
push ecx
push eax
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x1c], ebx
je 0x4142fc
cmp dword [edi + 0x20], ebx
jne 0x4142e2
mov eax, dword [edi + 0x5c]
push dword [eax + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4142d4
mov eax, dword [edi + 0x5c]
push 0
push dword [eax + 8]
call esi
lea ebx, [edi + 0x3c]
mov edi, 5
lea esp, [esp]
mov eax, dword [ebx]
push 5
push dword [eax + 0x1c]
call esi
lea ebx, [ebx + 4]
dec edi
jne 0x4142a0
mov edi, dword [esp + 0x18]
push 5
push dword [edi + 0x1c]
call esi
mov eax, dword [edi + 0x58]
push 5
push dword [eax + 4]
call esi
mov ecx, edi
call fcn.00413510
mov ebx, dword [esp + 0x1c]
jmp case.0x414358.276
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x414358.276
xor edx, edx
lea ecx, [edi + 0x3c]
mov eax, dword [ecx]
cmp dword [eax + 0x1c], ebx
je 0x4142fc
inc edx
add ecx, 4
cmp edx, 5
jb 0x4142e7
jmp case.0x414358.276
lea ebx, [edi + 0x3c]
mov edi, 5
mov eax, dword [ebx]
push 0
push dword [eax + 0x1c]
call esi
lea ebx, [ebx + 4]
dec edi
jne 0x414304
push edi
mov edi, dword [esp + 0x1c]
push dword [edi + 0x54]
call esi
push 0
push dword [edi + 0x1c]
call esi
mov eax, dword [edi + 0x58]
push 0
push dword [eax + 4]
call esi
mov eax, dword [edi + 0x5c]
push 1
push dword [eax + 8]
call esi
mov ebx, dword [esp + 0x1c]
jmp case.0x414358.276
add eax, 0xfffffeed
cmp eax, 0xef
ja case.0x414358.276
movzx eax, byte [eax + 0x4144f0]
jmp dword [eax*4 + 0x4144e0]
mov eax, dword [edi + 0x58]
cmp ebx, dword [eax + 4]
jne 0x41436e
push 0xc37d00
jmp 0x414373
push 0xffffff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [esp + 0xc]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret 0xc
mov eax, ebx
movsx ecx, bx
shr eax, 0x10
cwde
push eax
push ecx
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.0x414358.276
lea eax, [esp + 0x1c]
xor esi, esi
push eax
push 0x20119
push esi
push 0x456494
push 0x80000002
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x1c]
test edi, edi
je case.0x414358.276
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push esi
push esi
push esi
push str.BrandingURL
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414448
push dword [esp + 0x18]
call fcn.00432432
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x414448
lea ecx, [esp + 0x18]
push ecx
push eax
push esi
push esi
push str.BrandingURL
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41443e
mov esi, dword [esp + 0x14]
jmp 0x414448
push 0
call fcn.004323fa
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je case.0x414358.276
mov ecx, esi
call fcn.004154b0
push esi
call fcn.004323fa
add esp, 4
jmp case.0x414358.276
cmp ecx, 1
jne case.0x414358.276
push 0
push dword [edi + 0x54]
call esi
mov esi, dword [esp + 0xc]
push ebx
push esi
push dword [ebp + 8]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043183b
mov esp, ebp
pop ebp
ret 0xc