Function at 0x108c332
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x111121c]
push ebx
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x44]
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x48], eax
je 0x108c4e2
mov ecx, ebx
call fcn.0105dccf
test eax, eax
je 0x108c4e2
push esi
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x40], edi
je 0x108c3b4
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [ebx + 4]
jne 0x108c3b4
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
movsd dword es:[edi], dword [esi]
push 0xfffffffffffffffe
lea eax, [ebp - 0x78]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
mov eax, dword [ebx + 0x50]
add dword [ebp - 0x58], 4
add dword [ebp - 0x54], eax
sub dword [ebp - 0x50], 4
sub dword [ebp - 0x4c], 4
cmp dword [ebx + 0x30], 0xffffffff
je 0x108c400
mov ecx, dword [0x1113528]
push 0x10
pop esi
push esi
push esi
push edi
call fcn.0104bf9f
cmp eax, edi
je 0x108c400
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebx + 0x30]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_DrawEx]
add dword [ebp - 0x58], 0x13
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
cmp esi, edi
jle 0x108c4e1
lea eax, [esi + esi + 2]
push eax
call fcn.0105f04e
cmp eax, edi
pop ecx
mov dword [ebp - 0x5c], eax
je 0x108c4e1
inc esi
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x108c4d8
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x108c4d8
cmp dword [ebx + 0x40], edi
je 0x108c456
cmp dword [ebx + 0x48], edi
je 0x108c4d8
cmp dword [ebx + 0x3c], edi
je 0x108c45e
mov eax, dword [ebx + 0x48]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x3c], edi
mov dword [ebp - 0x68], eax
je 0x108c477
mov eax, 0x2ff0000
jmp 0x108c47f
push dword [ebx + 0x38]
call fcn.0107689c
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push dword [ebp - 0x48]
call esi
push dword [ebx + 0x34]
mov dword [ebp - 0x60], eax
call fcn.0107689c
mov edi, dword [sym.imp.GDI32.dll_SetBkColor]
push eax
push dword [ebp - 0x48]
call edi
push 0x810
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x58]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x5c]
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x60]
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x64]
push dword [ebp - 0x48]
call edi
push dword [ebp - 0x5c]
call fcn.0105eff6
pop ecx
pop esi
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0105eca9
leave
ret