Function at 0x109998b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x10c671c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x26200a
lea ebx, [esi + 0x28]
push dword [ebx]
lea edi, [esi + 0x24]
push dword [edi]
lea ecx, [ebp - 0x26c]
call fcn.01097ec4
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x224]
call fcn.010993f6
cmp dword [0x10d251c], 0
je 0x1099a4f
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x214], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x210], eax
push 1
lea eax, [ebp - 0x214]
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [0x10d2508], 0
push 2
push dword [ebx]
push dword [edi]
push dword [ebp - 0x210]
jne 0x1099a26
push dword [ebp - 0x214]
jmp 0x1099a3a
mov ecx, dword [0x10d251c]
call fcn.010561e8
sub eax, dword [edi]
sub eax, dword [ebp - 0x214]
push eax
push 0
push 0
push dword [0x10d251c]
lea ecx, [ebp - 0x224]
call fcn.010996eb
mov ecx, dword [0x10d2590]
xor edx, edx
cmp ecx, edx
je 0x1099cc5
cmp dword [0x10d258c], edx
je 0x1099cc5
cmp dword [0x10d2588], edx
je 0x1099cc5
cmp dword [0x10d2580], edx
je 0x1099cc5
cmp dword [0x10d257c], edx
je 0x1099cc5
mov eax, dword [0x10d2584]
cmp eax, edx
je 0x1099cc5
test byte [esi + 0x10], 0x40
jne 0x1099b0a
mov edx, dword [0x10d2510]
cmp edx, dword [esi + 0x14]
je 0x1099b0a
mov ecx, eax
call fcn.010561e8
mov ecx, dword [0x10d2580]
mov dword [ebp - 0x22c], eax
call fcn.010561e8
mov ecx, dword [0x10d257c]
mov dword [ebp - 0x228], eax
call fcn.010561e8
mov ecx, dword [0x10d257c]
mov dword [ebp - 0x230], eax
call fcn.01056214
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10d2584]
mov dword [ebp - 0x238], eax
mov eax, dword [0x10d2580]
mov dword [ebp - 0x208], eax
mov eax, dword [0x10d257c]
jmp 0x1099b63
call fcn.010561e8
mov ecx, dword [0x10d258c]
mov dword [ebp - 0x22c], eax
call fcn.010561e8
mov ecx, dword [0x10d2588]
mov dword [ebp - 0x228], eax
call fcn.010561e8
mov ecx, dword [0x10d2588]
mov dword [ebp - 0x230], eax
call fcn.01056214
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10d2590]
mov dword [ebp - 0x238], eax
mov eax, dword [0x10d258c]
mov dword [ebp - 0x208], eax
mov eax, dword [0x10d2588]
and dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x21c]
push eax
call sub.gdiplus.dll_GdipCreateImageAttributes
mov dword [ebp - 0x218], eax
push 0
lea eax, [ebp - 0x210]
push eax
push 3
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x210], 0xff000000
call fcn.01099261
mov edx, dword [edi]
sub edx, dword [ebp - 0x228]
mov eax, dword [esi + 0x1c]
sub edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x244], edx
mov edx, dword [ebx]
push edx
push dword [ebp - 0x22c]
add ecx, eax
mov dword [ebp - 0x24c], ecx
mov ecx, dword [esi + 0x20]
push ecx
push eax
push dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x240], edx
call fcn.01057004
xor eax, eax
push eax
push eax
lea ecx, [ebp - 0x21c]
push ecx
push 2
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x230]
push eax
push eax
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x234]
call fcn.01099730
push dword [ebx]
mov eax, dword [edi]
push dword [ebp - 0x228]
sub eax, dword [ebp - 0x228]
push dword [esi + 0x20]
lea ecx, [ebp - 0x224]
push eax
push dword [ebp - 0x208]
call fcn.01057004
test byte [esi + 0x10], 0x11
je 0x1099cba
fld dword [0x10346fc]
push ecx
lea eax, [ebp - 0x210]
fstp dword [esp]
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0xc0ffffff
call fcn.01097dee
push 1
lea ecx, [ebp - 0x20c]
call fcn.01099346
mov eax, dword [ebx]
sub eax, 0xa
push eax
mov eax, dword [edi]
sub eax, 0xa
push eax
mov eax, dword [esi + 0x20]
add eax, 5
push eax
mov eax, dword [esi + 0x1c]
add eax, 5
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
call fcn.01099513
push dword [ebp - 0x20c]
call sub.gdiplus.dll_GdipDeletePen
push dword [ebp - 0x21c]
call sub.gdiplus.dll_GdipDisposeImageAttributes
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 dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1099e19
push 3
lea ecx, [ebp - 0x224]
call fcn.01099479
or dword [ebp - 0x210], 0xffffffff
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x248]
call fcn.0109928e
push dword [0x10d2514]
lea ecx, [ebp - 0x21c]
push dword [esi + 0x18]
call fcn.01099819
fild dword [esi + 0x1c]
push 0
push 0
fstp dword [ebp - 0x25c]
lea ecx, [ebp - 0x20c]
fild dword [esi + 0x20]
fstp dword [ebp - 0x258]
fild dword [edi]
fstp dword [ebp - 0x254]
fild dword [ebx]
fstp dword [ebp - 0x250]
call fcn.01097e1d
push 1
lea ecx, [ebp - 0x20c]
call fcn.010993b0
push 1
lea ecx, [ebp - 0x20c]
call fcn.010993d3
push 1
lea ecx, [ebp - 0x20c]
call fcn.0109938d
cmp byte [0x10d2508], 0
lea ecx, [ebp - 0x20c]
je 0x1099da8
push 0x1001
jmp 0x1099dad
push 0x1000
call fcn.0109936a
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1099dbb
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x25c]
push ecx
sub eax, edx
lea ecx, [ebp - 0x21c]
push ecx
sar eax, 1
push eax
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x224]
call fcn.010995a4
push dword [ebp - 0x20c]
call sub.gdiplus.dll_GdipDeleteStringFormat
push dword [ebp - 0x21c]
call sub.gdiplus.dll_GdipDeleteFont
push dword [ebp - 0x244]
call sub.gdiplus.dll_GdipDeleteBrush
push dword [esi + 0x18]
lea ecx, [ebp - 0x21c]
call fcn.01056267
push dword [ebx]
lea eax, [ebp - 0x26c]
push dword [edi]
lea ecx, [ebp - 0x21c]
push 0
push 0
push eax
call fcn.01057004
push dword [ebp - 0x21c]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0x224]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0x268]
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0107591b
leave
ret 4