Function at 0x1099e78
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x10c671c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x244]
push eax
push edi
mov dword [ebp - 0x298], edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
push esi
lea ecx, [ebp - 0x250]
call fcn.01056267
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x100
lea eax, [ebp - 0x204]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 3
lea ecx, [ebp - 0x250]
call fcn.01099479
push dword [0x10d2514]
lea ecx, [ebp - 0x284]
push esi
call fcn.01099819
fldz
fst dword [ebp - 0x2c8]
lea eax, [ebp - 0x204]
fst dword [ebp - 0x2c4]
lea edx, [eax + 2]
fild dword [ebp - 0x258]
fstp dword [ebp - 0x2c0]
fild dword [ebp - 0x254]
fstp dword [ebp - 0x2bc]
fst dword [ebp - 0x27c]
fst dword [ebp - 0x278]
fst dword [ebp - 0x274]
fstp dword [ebp - 0x270]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1099f59
sub eax, edx
sar eax, 1
je 0x1099f92
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x284]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x250]
call fcn.010996ab
fld dword [ebp - 0x270]
push ebx
fmul qword [0x1025b20]
call sub.msvcrt.dll__ftol2_sse
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push edi
mov ebx, eax
call esi
push 0xffffffffffffffec
push edi
mov dword [ebp - 0x248], eax
call esi
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x25c]
lea edi, [eax + ebx]
mov eax, 0x300
and ecx, eax
cmp ecx, eax
jne 0x109a000
fld dword [ebp - 0x274]
call sub.msvcrt.dll__ftol2_sse
mov ecx, eax
mov eax, dword [ebp - 0x258]
sub eax, ecx
sub eax, dword [ebp - 0x260]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
jmp 0x109a032
cmp ecx, 0x200
je 0x109a01c
cmp byte [0x10d2508], 0
jne 0x109a01c
mov ebx, dword [ebp - 0x260]
add ebx, 0xa
jmp 0x109a032
fld dword [ebp - 0x274]
call sub.msvcrt.dll__ftol2_sse
mov ebx, dword [ebp - 0x258]
sub ebx, eax
sub ebx, 0xa
mov esi, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push 5
push 5
push dword [ebp - 0x254]
mov dword [ebp - 0x26c], ebx
push dword [ebp - 0x258]
push edi
push 0
call esi
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x254]
push 5
push 5
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0x258]
add eax, 0xfffffffe
push eax
add edi, 2
push edi
push 2
call esi
push dword [ebp - 0x248]
lea ecx, [ebp - 0x2b0]
mov edi, eax
call fcn.010997ec
push edi
lea ecx, [ebp - 0x2b8]
call fcn.010997ec
push dword [ebp - 0x248]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push edi
call esi
fld dword [ebp - 0x274]
add ebx, 0xfffffffe
xor esi, esi
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x2a4], esi
call sub.msvcrt.dll__ftol2_sse
fld dword [ebp - 0x270]
inc eax
inc eax
mov dword [ebp - 0x2a0], eax
call sub.msvcrt.dll__ftol2_sse
mov dword [ebp - 0x29c], eax
push esi
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x250]
call fcn.010997c3
push 4
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x250]
call fcn.010997c3
push 4
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x250]
call fcn.01099791
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x248], 0x80ffffff
call fcn.0109928e
push dword [ebp - 0x254]
lea eax, [ebp - 0x2a4]
push dword [ebp - 0x258]
lea ecx, [ebp - 0x250]
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
push eax
call fcn.01099545
lea eax, [ebp - 0x204]
lea ecx, [eax + 2]
pop ebx
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0x109a169
sub eax, ecx
sar eax, 1
je 0x109a244
test byte [ebp - 0x264], 0xc0
jne 0x109a244
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x288], eax
push esi
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x250]
call fcn.01099791
or dword [ebp - 0x264], 0xffffffff
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x290]
call fcn.0109928e
fild dword [ebp - 0x26c]
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
fstp dword [ebp - 0x26c]
fldz
fstp dword [ebp - 0x268]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x109a203
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x26c]
push ecx
sub eax, edx
lea ecx, [ebp - 0x284]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x250]
call fcn.010995f9
push dword [ebp - 0x28c]
call sub.gdiplus.dll_GdipDeleteBrush
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x298]
call dword [sym.imp.USER32.dll_EndPaint]
push dword [ebp - 0x2a0]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [ebp - 0x2b8]
call sub.gdiplus.dll_GdipDeleteRegion
push dword [ebp - 0x2b0]
call sub.gdiplus.dll_GdipDeleteRegion
push dword [ebp - 0x284]
call sub.gdiplus.dll_GdipDeleteFont
push dword [ebp - 0x250]
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0107591b
leave
ret 4