Function at 0x1058879
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x108e1f8]
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.01055d29
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x224]
call fcn.01056474
cmp dword [0x1098654], 0
je 0x105893d
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 [0x1098640], 0
push 2
push dword [ebx]
push dword [edi]
push dword [ebp - 0x210]
jne 0x1058914
push dword [ebp - 0x214]
jmp 0x1058928
mov ecx, dword [0x1098654]
call fcn.0104d9d8
sub eax, dword [edi]
sub eax, dword [ebp - 0x214]
push eax
push 0
push 0
push dword [0x1098654]
lea ecx, [ebp - 0x224]
call fcn.010585d9
mov ecx, dword [0x10986c8]
xor edx, edx
cmp ecx, edx
je 0x1058bb3
cmp dword [0x10986c4], edx
je 0x1058bb3
cmp dword [0x10986c0], edx
je 0x1058bb3
cmp dword [0x10986b8], edx
je 0x1058bb3
cmp dword [0x10986b4], edx
je 0x1058bb3
mov eax, dword [0x10986bc]
cmp eax, edx
je 0x1058bb3
test byte [esi + 0x10], 0x40
jne 0x10589f8
mov edx, dword [0x1098648]
cmp edx, dword [esi + 0x14]
je 0x10589f8
mov ecx, eax
call fcn.0104d9d8
mov ecx, dword [0x10986b8]
mov dword [ebp - 0x22c], eax
call fcn.0104d9d8
mov ecx, dword [0x10986b4]
mov dword [ebp - 0x228], eax
call fcn.0104d9d8
mov ecx, dword [0x10986b4]
mov dword [ebp - 0x230], eax
call fcn.0104da04
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10986bc]
mov dword [ebp - 0x238], eax
mov eax, dword [0x10986b8]
mov dword [ebp - 0x208], eax
mov eax, dword [0x10986b4]
jmp 0x1058a51
call fcn.0104d9d8
mov ecx, dword [0x10986c4]
mov dword [ebp - 0x22c], eax
call fcn.0104d9d8
mov ecx, dword [0x10986c0]
mov dword [ebp - 0x228], eax
call fcn.0104d9d8
mov ecx, dword [0x10986c0]
mov dword [ebp - 0x230], eax
call fcn.0104da04
mov dword [ebp - 0x23c], eax
mov eax, dword [0x10986c8]
mov dword [ebp - 0x238], eax
mov eax, dword [0x10986c4]
mov dword [ebp - 0x208], eax
mov eax, dword [0x10986c0]
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.010582a4
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.01056521
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.0105861e
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.01056521
test byte [esi + 0x10], 0x11
je 0x1058ba8
fld dword [0x1012584]
push ecx
lea eax, [ebp - 0x210]
fstp dword [esp]
push eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0xc0ffffff
call fcn.01056ef5
push 1
lea ecx, [ebp - 0x20c]
call fcn.0105831d
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.01058456
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 0x1058d07
push 3
lea ecx, [ebp - 0x224]
call fcn.010564a8
or dword [ebp - 0x210], 0xffffffff
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x248]
call fcn.0105639f
push dword [0x109864c]
lea ecx, [ebp - 0x21c]
push dword [esi + 0x18]
call fcn.01058707
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.01055c8b
push 1
lea ecx, [ebp - 0x20c]
call fcn.01056451
push 1
lea ecx, [ebp - 0x20c]
call fcn.01058341
push 1
lea ecx, [ebp - 0x20c]
call fcn.0105642e
cmp byte [0x1098640], 0
lea ecx, [ebp - 0x20c]
je 0x1058c96
push 0x1001
jmp 0x1058c9b
push 0x1000
call fcn.0105640b
lea eax, [ebp - 0x204]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1058ca9
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.010564cc
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.01058364
push dword [ebx]
lea eax, [ebp - 0x26c]
push dword [edi]
lea ecx, [ebp - 0x21c]
push 0
push 0
push eax
call fcn.01056521
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.01034b69
leave
ret 4