Function at 0x1037abe
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1a0], ecx
cmp dword [esi + 0x2c], ebx
je 0x1037d90
cmp dword [ecx + 0xc], 3
jne 0x1037d90
push edi
lea edi, [ebp - 0x208]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x208]
push eax
push dword [esi + 0x24]
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x1e0], 0x10
mov dword [ebp - 0x1dc], 1
mov dword [ebp - 0x1d8], ebx
mov dword [ebp - 0x1d4], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1a0]
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1e0]
push eax
push 2
lea eax, [ebp - 0x208]
push eax
push dword [edi + 0x10]
call dword [sym.imp.UxTheme.dll_BeginBufferedPaint]
mov dword [ebp - 0x1c0], eax
cmp eax, ebx
je 0x1037d8c
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1bc]
push eax
mov ecx, esi
call fcn.01016a89
mov eax, dword [edi + 0x28]
test al, 1
jne 0x105f81c
cmp dword [esi + 0x34], ebx
jne 0x1046d1a
mov dword [ebp - 0x19c], 1
test al, 0x10
jne 0x1046d1a
push 1
push dword [ebp - 0x198]
mov dword [ebp - 0x1ac], ebx
mov dword [ebp - 0x1a8], ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 1
lea eax, [ebp - 0x1ac]
push eax
push dword [esi + 0x20]
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push dword [ebp - 0x198]
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
push ebx
push dword [ebp - 0x198]
push 0x14
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push dword [ebp - 0x198]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.UxTheme.dll_DrawThemeBackground]
push ebx
lea eax, [ebp - 0x1bc]
push eax
push dword [ebp - 0x19c]
xor eax, eax
cmp dword [esi + 0x3c], 0xe
setne al
add eax, 0x25
push eax
push dword [ebp - 0x198]
push dword [esi + 0x2c]
call edi
cmp dword [esi + 0x38], ebx
jne 0x1046d29
mov eax, dword [ebp - 0x19c]
push ebx
lea ecx, [ebp - 0x218]
push ecx
push eax
xor eax, eax
cmp dword [esi + 0x3c], 0xe
setne al
add eax, 0x17
push eax
push dword [ebp - 0x198]
push dword [esi + 0x2c]
call edi
lea eax, [ebp - 0x1bc]
push eax
push eax
push dword [ebp - 0x19c]
xor eax, eax
cmp dword [esi + 0x3c], 0xe
setne al
add eax, 0x25
push eax
push dword [ebp - 0x198]
push dword [esi + 0x2c]
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundContentRect]
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1f8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1f8]
push eax
push ebx
push 0x1603
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x1f8], ebx
jne 0x105f82b
push 0xc8
lea eax, [ebp - 0x194]
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [esi + 0x48]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x198]
call edi
push 0x3c
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x254]
push ebx
push eax
mov dword [ebp - 0x258], 0x40
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.UxTheme.dll_IsCompositionActive]
neg eax
sbb eax, eax
and eax, 0x2000
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x1bc]
push eax
push 0x108025
push 0xffffffffffffffff
lea eax, [ebp - 0x194]
push eax
push dword [ebp - 0x19c]
xor eax, eax
cmp dword [esi + 0x3c], 0xe
setne al
add eax, 0x25
push eax
push dword [ebp - 0x198]
push dword [esi + 0x2c]
call dword [sym.imp.UxTheme.dll_DrawThemeTextEx]
push dword [ebp - 0x1a0]
push dword [ebp - 0x198]
call edi
push 1
push dword [ebp - 0x1c0]
call dword [sym.imp.UxTheme.dll_EndBufferedPaint]
push 4
pop eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 4
mov dword [ebp - 0x19c], 2
jmp 0x1037ba7
push 3
pop eax
jmp 0x1037c5b
mov dword [ebp - 0x19c], 3
jmp 0x1037ba7
cmp dword [ebp - 0x1f8], 0xffffffff
je 0x1037cd5
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1a4]
push eax
push dword [ebp - 0x1f8]
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1a0], ebx
call dword [0x101252c]
test eax, eax
je 0x1037cd5
mov edi, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1bc]
sub eax, edi
add eax, dword [ebp - 0x1b8]
push ebx
push dword [ebp - 0x1f8]
cdq
sub eax, edx
mov edx, dword [ebp - 0x1a4]
sar eax, 1
mov dword [ebp - 0x1cc], eax
add eax, edi
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x19c]
xor eax, eax
mov dword [ebp - 0x1d0], ecx
add ecx, edx
cmp dword [esi + 0x3c], 0xe
mov dword [ebp - 0x1c8], ecx
setne al
add eax, 0x25
push eax
push dword [ebp - 0x198]
push dword [esi + 0x2c]
call dword [sym.imp.UxTheme.dll_DrawThemeIcon]
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1a4]
lea eax, [ecx + eax*2]
add dword [ebp - 0x1bc], eax
jmp 0x1037cd5