Function at 0x100ad140
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x868
mov eax, dword [ecx + 0x94]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ecx
je 0x100ad6ba
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100ad6ba
mov ecx, dword [0x10270d80]
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x100ad235
mov edx, ebp
shl edx, 5
add edx, ebp
lea ebx, [ebp + edx*4]
shl ebx, 2
mov eax, dword [0x10274670]
test eax, eax
je 0x100ad1c6
mov eax, dword [0x10270d7c]
mov ecx, dword [ebx + eax + 0x210]
lea edx, [ebx + eax + 8]
mov eax, dword [ebx + eax + 4]
push ecx
push edx
push eax
push ebp
push str._TM___TM2013SetText_CTencentWnd::s_arrEIMQQEmbededItem__index:__d__hwnd:__08x__name:__s__bActive:__d_
push str.IMCD
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x20
mov ecx, dword [0x10270d7c]
lea edi, [esp + 0x248]
lea esi, [ebx + ecx]
mov ecx, 0x85
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x24c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100ad226
mov eax, dword [0x10270d80]
sub eax, ebp
dec eax
je 0x100ad220
mov ecx, eax
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [0x10270d7c]
shl edx, 2
push edx
lea ecx, [ebx + eax + 0x214]
lea edx, [ebx + eax]
push ecx
push edx
call fcn.100ca970
add esp, 0xc
dec dword [0x10270d80]
dec ebp
sub ebx, 0x214
test ebp, ebp
jge 0x100ad18c
mov esi, dword [esp + 0x87c]
test esi, esi
je 0x100ad6ba
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x45c]
push 0x103
push eax
push esi
mov dword [esp + 0x28], 0x101cabc0
mov dword [esp + 0x2c], 0x101caba4
mov dword [esp + 0x30], str.___is_inputting___Chats
mov dword [esp + 0x34], 0x101caa74
mov dword [esp + 0x38], 0x101caa64
mov dword [esp + 0x3c], str.___Chats
mov dword [esp + 0x40], 0x101ca9c4
mov dword [esp + 0x44], 0x101ca9b0
mov dword [esp + 0x48], str.___is_inputting
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x45c]
push ecx
call fcn.100c9da4
add esp, 4
test eax, eax
jbe 0x100ad6ba
xor ebp, ebp
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], bp
lea ebx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov edx, dword [ebx]
lea eax, [esp + 0x45c]
push edx
push eax
call fcn.10014590
add esp, 8
test eax, eax
jne 0x100ad49f
inc edi
add ebx, 4
cmp edi, 9
jb 0x100ad2f0
lea eax, [esp + 0x45c]
push eax
call fcn.100c9da4
add esp, 4
mov edi, eax
cmp edi, ebp
jle 0x100ad6ba
cmp dword [0x10274670], ebp
je 0x100ad358
lea ecx, [esp + 0x45c]
push ecx
push esi
push str._TM___TM2013SetText__hwnd:__08x__Title:__s_
push str.IMCD
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
lea edx, [esp + 0x45c]
push edi
lea eax, [esp + 0x44]
push edx
push eax
call fcn.100c9dc1
mov eax, dword [0x10274670]
add esp, 0xc
cmp eax, ebp
je 0x100ad396
lea ecx, [esp + 0x40]
push ecx
push esi
push str._TM___TM2013SetText__hwnd:__08x__name:__s_
push str.IMCD
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
mov eax, dword [0x10270d80]
test eax, eax
jle 0x100ad410
xor ebx, ebx
mov edx, dword [0x10270d7c]
mov ecx, 0x85
lea edi, [esp + 0x248]
lea eax, [ebx + edx]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x87c]
mov edx, dword [esp + 0x24c]
cmp edx, ecx
jne 0x100ad3f9
mov esi, eax
lea edx, [esp + 0x40]
mov ecx, 0x85
lea edi, [esp + 0x664]
lea eax, [esp + 0x66c]
push edx
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x100ad6a4
mov eax, dword [0x10270d80]
inc ebp
add ebx, 0x214
cmp ebp, eax
jl 0x100ad3a1
mov esi, dword [esp + 0x87c]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x250]
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.100c9da4
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x258]
push edx
push eax
call fcn.100c9dc1
mov edx, dword [0x10270d80]
add esp, 0x10
mov ebp, edx
xor esi, esi
cmp ebp, edx
mov dword [esp + 0x458], esi
mov dword [esp + 0x18], ebp
jl 0x100ad63e
lea ebx, [ebp + 1]
cmp ebx, esi
jne 0x100ad4d9
mov eax, dword [0x10270d7c]
cmp eax, esi
je 0x100ad48e
push eax
call fcn.10173959
add esp, 4
mov dword [0x10270d7c], esi
mov dword [0x10270d84], esi
mov dword [0x10270d80], esi
jmp 0x100ad63e
cmp edi, 0xffffffff
je 0x100ad314
mov ecx, dword [esp + edi*4 + 0x1c]
push ecx
call fcn.100c9da4
lea edx, [esp + 0x460]
mov ebx, eax
push edx
call fcn.100c9da4
mov edi, eax
push 0x101c24e4
sub edi, ebx
call fcn.100c9da4
add esp, 0xc
add edi, eax
jmp 0x100ad326
mov edi, dword [0x10270d7c]
cmp edi, esi
jne 0x100ad524
mov ecx, ebx
shl ecx, 5
add ecx, ebx
lea esi, [ebx + ecx*4]
shl esi, 2
push esi
call fcn.10173930
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [0x10270d7c], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x10270d84], ebx
mov dword [0x10270d80], ebx
jmp 0x100ad63e
mov ecx, dword [0x10270d84]
cmp ebx, ecx
jg 0x100ad56b
cmp ebx, edx
jle 0x100ad560
mov eax, edx
mov ecx, ebx
shl eax, 5
add eax, edx
sub ecx, edx
lea edx, [edx + eax*4]
mov eax, ecx
shl eax, 5
add eax, ecx
lea edi, [edi + edx*4]
lea ecx, [ecx + eax*4]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x10270d80], ebx
jmp 0x100ad63e
mov eax, dword [0x10270d88]
cmp eax, esi
jne 0x100ad597
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x100ad58b
mov eax, 4
jmp 0x100ad597
cmp eax, 0x400
jle 0x100ad597
mov eax, 0x400
lea ebp, [eax + ecx]
cmp ebx, ebp
jl 0x100ad5a0
mov ebp, ebx
mov eax, ebp
shl eax, 5
add eax, ebp
lea ecx, [ebp + eax*4]
shl ecx, 2
push ecx
call fcn.10173930
mov edx, eax
mov eax, dword [0x10270d80]
mov ecx, eax
mov esi, dword [0x10270d7c]
shl ecx, 5
add ecx, eax
mov edi, edx
mov dword [esp + 0x18], edx
lea ecx, [eax + ecx*4]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x10270d80]
mov esi, ecx
sub eax, ecx
shl esi, 5
add esi, ecx
lea ecx, [ecx + esi*4]
lea edi, [edx + ecx*4]
mov edx, eax
shl edx, 5
add edx, eax
lea ecx, [eax + edx*4]
xor eax, eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x10270d7c]
push eax
call fcn.10173959
mov ecx, dword [esp + 0x1c]
mov dword [0x10270d84], ebp
mov ebp, dword [esp + 0x20]
add esp, 8
mov dword [0x10270d7c], ecx
mov dword [0x10270d80], ebx
mov ecx, dword [0x10270d7c]
mov edx, ebp
shl edx, 5
add edx, ebp
lea esi, [esp + 0x248]
lea eax, [ebp + edx*4]
lea edx, [esp + 0x40]
push edx
lea edi, [ecx + eax*4]
mov ecx, 0x85
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x880]
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
call fcn.100ad6d0
lea eax, [esp + 0x40]
mov ecx, edi
push eax
push esi
call fcn.100ad9f0
lea ecx, [esp + 0x40]
push 0
push ecx
push esi
mov ecx, 0x101fadf8
call fcn.1001af20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret 4
mov eax, dword [esp + 0x87c]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.100ad9f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x868
ret 4