Function at 0x10009066
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10087004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push edi
lea edi, [ebp - 0x34]
mov dword [ebp - 0x40], eax
movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x40]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [edi + 0x21], 1
jne 0x100090ab
push dword [edi + 0x58]
jmp 0x100090c0
push eax
push eax
push 0x31
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x100090c6
push eax
push ebx
call esi
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x10083450]
push 0x400
movups xmmword [ebp - 0x18], xmm0
call fcn.10029ea7
mov esi, eax
mov dword [ebp - 0x3c], esi
pop ecx
test esi, esi
je 0x100092b5
push 0x3e8
push esi
mov byte [esi], 0
push dword [edi + 8]
mov byte [ebp - 0x19], 1
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esi], 0
jne 0x10009114
push 0x10081174
push esi
mov byte [ebp - 0x19], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.100458b0
mov dword [esp], 0x400
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push ebx
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_DrawTextA]
cmp byte [edi + 0x21], 1
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
jne 0x10009151
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffb
jmp 0x1000915a
add eax, 0xa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
push dword [edi + 0x24]
mov dword [ebp - 0x14], eax
push dword [edi + 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreatePen]
lea ecx, [edi + 0x2c]
mov dword [ebp - 0x44], eax
push ecx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x48]
mov dword [ebp - 0x5c], eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
cmp byte [edi + 0x21], 1
mov dword [ebp - 0x24], ecx
jne 0x100091ce
cmp byte [ebp - 0x19], 0
je 0x10009207
push 2
push 2
lea eax, [ecx + 6]
push eax
push dword [ebp - 0x2c]
lea eax, [ecx + 5]
push eax
jmp 0x100091fd
cmp byte [ebp - 0x19], 0
je 0x100091f2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x18]
add eax, edx
push eax
mov eax, dword [ebp - 0x50]
add eax, ecx
push eax
push edx
push ecx
push ebx
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
mov ecx, dword [ebp - 0x24]
push 2
push 2
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
push dword [ebp - 0x34]
push ebx
call dword [sym.imp.GDI32.dll_RoundRect]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp byte [ebp - 0x19], 0
je 0x10009285
push ebx
call dword [sym.imp.GDI32.dll_GetBkMode]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [esi + 0x20], 0
jne 0x1000924b
cmp dword [esi + 0x24], 0
jne 0x1000924b
cmp dword [esi + 0x38], 0
je 0x10009250
push 2
push ebx
call eax
push dword [esi + 0x34]
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
jmp 0x10009250
push 1
push ebx
call eax
push dword [edi + 0x38]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push ebx
call edi
push 0x20
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push esi
push ebx
call edi
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
push dword [ebp - 0x5c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x60]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push esi
call fcn.10029e99
pop ecx
pop ecx
cmp byte [edi + 0x21], 1
jne 0x100092ce
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10029e88
leave
ret