Function at 0x10020b70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
test edi, edi
jne 0x10020b90
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 8], 0xfffffff4
jne 0x10020b87
cmp dword [edi + 0xc], 3
jne 0x10020f91
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_GetLayout]
test eax, eax
je 0x10020bb8
push 9
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SetLayout]
lea eax, [ebp - 4]
mov dword [ebp - 0x44], 0x10
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x40], 1
push eax
push 2
lea esi, [edi + 0x14]
xorps xmm0, xmm0
push esi
push dword [edi + 0x10]
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0xc], esi
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov ecx, dword [edi + 0x18]
neg ecx
mov dword [ebp - 0x24], eax
push ecx
mov ecx, dword [esi]
neg ecx
push ecx
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push dword [ebx + 8]
movlpd qword [ebp - 0x2c], xmm0
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 4]
push 0x318
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push dword [ebp - 4]
call esi
mov esi, dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
xor eax, eax
cmp dword [ebx + 0x28], eax
mov ecx, 2
setg al
inc eax
test byte [edi + 0x28], 0x10
cmovne eax, ecx
cmp byte [0x1005dbdc], 0
mov dword [ebp - 8], eax
jne 0x10020ca2
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020c92
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10020ca7
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10020ca7
mov eax, dword [0x1005e0e4]
mov edi, dword [ebp - 0xc]
mov ecx, eax
push 0
push edi
push dword [ebp - 8]
push 0x10
push dword [ebp - 4]
call fcn.100333c0
cmp byte [0x1005dbdc], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x20], xmm0
jne 0x10020cff
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020cef
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10020d04
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10020d04
mov eax, dword [0x1005e0e4]
cmp byte [eax + 3], 0
lea eax, [ebp - 0x20]
jne 0x10020d11
push 0xfffffffffffffffe
jmp 0x10020d13
push 0
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp byte [0x1005dbdc], 0
mov dword [ebp - 0x34], 0x14
jne 0x10020d63
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020d52
mov ecx, eax
call fcn.10032660
mov edi, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10020d69
xor edi, edi
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10020d69
mov edi, dword [0x1005e0e4]
mov ecx, ebx
call fcn.10020670
mov ecx, dword [edi + 0x214]
test ecx, ecx
je 0x10020d90
lea edx, [ebp - 0x34]
push edx
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
push eax
push 0
push ecx
call dword [sym.imp.UxTheme.dll_GetThemePartSize]
cmp dword [0x1005dc20], 0
je 0x10020e0a
cmp byte [0x1005dbdc], 0
jne 0x10020dd5
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020dc5
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10020dda
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10020dda
mov eax, dword [0x1005e0e4]
cmp byte [eax + 3], 0
jne 0x10020e0a
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.USER32.dll_SetRect]
push eax
push dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call ebx
push 0
push 0xfffffffffffffffc
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x10020e26
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov ebx, dword [sym.imp.USER32.dll_SetRect]
add eax, ecx
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push ecx
push eax
call ebx
cmp byte [0x1005dbdc], 0
jne 0x10020e66
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020e55
mov ecx, eax
call fcn.10032660
mov edi, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10020e6c
xor edi, edi
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], edi
jmp 0x10020e6c
mov edi, dword [0x1005e0e4]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x54]
push 0
push eax
push dword [ebp - 8]
call fcn.10020670
push eax
push dword [ebp - 4]
mov ecx, edi
call fcn.100333c0
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x170]
push 0x64
push eax
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp - 0x14]
lea eax, [ebp - 0x64]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [edi + 0x20]
push eax
call ebx
cmp byte [0x1005dbdc], 0
jne 0x10020eeb
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020edb
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10020ef0
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10020ef0
mov eax, dword [0x1005e0e4]
push 0x10
mov ecx, eax
call fcn.10032920
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [0x1005dbdc], 0
mov dword [ebp - 0xa8], 0x40
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0x2000
jne 0x10020f5d
push 0x29c
call esi
add esp, 4
test eax, eax
je 0x10020f4d
mov ecx, eax
call fcn.10032660
mov dword [0x1005e0e4], eax
mov byte [0x1005dbdc], 1
jmp 0x10020f62
xor eax, eax
mov byte [0x1005dbdc], 1
mov dword [0x1005e0e4], eax
jmp 0x10020f62
mov eax, dword [0x1005e0e4]
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0x24
push ecx
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 8]
mov ecx, eax
push 0x10
push dword [ebp - 4]
call fcn.10033a30
push 1
push dword [ebp - 0x24]
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret