Function at 0x4ab210
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61f030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x880
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov al, byte [esi + 0x2b8]
test al, al
jne 0x4ab608
mov eax, dword [esi + 0x1c0]
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
push 0x104
je 0x4ab28b
mov ecx, dword [esi + 0x1b8]
lea eax, [ebp - 0x28c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4ab608
lea edx, [ebp - 0x28c]
lea ecx, [esi + 0x290]
push edx
call fcn.00402410
jmp 0x4ab2ba
mov ecx, dword [esi + 0x1b8]
lea eax, [ebp - 0x188]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4ab608
lea edx, [ebp - 0x188]
push edi
lea ecx, [esi + 0x290]
push edx
call fcn.00402e00
xor ebx, ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [esi + 0x6c]
jge 0x4ab608
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
mov eax, dword [esi + 0x68]
lea ebx, [ebx + ebx*2]
shl ebx, 4
mov byte [ebp - 4], 1
mov eax, dword [ebx + eax + 8]
add eax, 0x54
mov ecx, dword [eax]
cmp ecx, edi
jne 0x4ab2ef
lea ecx, [eax + 4]
lea edx, [ebp - 0x68c]
lea eax, [ebp - 0x48c]
push edx
push eax
lea edx, [ebp - 0x88c]
lea eax, [ebp - 0x6c]
push edx
push eax
push ecx
call fcn.005e7163
mov eax, dword [esi + 0x290]
add esp, 0x14
cmp eax, edi
jne 0x4ab321
lea eax, [esi + 0x294]
push eax
call fcn.005e639f
mov ecx, dword [esi + 0x290]
add esp, 4
cmp ecx, edi
jne 0x4ab33a
lea ecx, [esi + 0x294]
cmp word [ecx + eax*2 - 2], 0x5c
mov edi, 0x6d0c3c
je 0x4ab34c
mov edi, 0x6a015c
mov eax, dword [esi + 0x290]
test eax, eax
jne 0x4ab35c
lea eax, [esi + 0x294]
mov ecx, str._s_s_s_s
test ecx, ecx
je 0x4ab4f4
test eax, eax
je 0x4ab4f4
test edi, edi
je 0x4ab4f4
lea edx, [ebp - 0x48c]
test edx, edx
je 0x4ab4f4
lea ecx, [ebp - 0x68c]
test ecx, ecx
je 0x4ab4f4
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e5a0
push edi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0040e5a0
lea edx, [ebp - 0x48c]
lea ecx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 3
call fcn.0040e5a0
lea eax, [ebp - 0x68c]
lea ecx, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 4
call fcn.0040e5a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00401070
push str._s_s_s_s
lea ecx, [ebp - 0x58]
call fcn.00402380
mov esi, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [ebp - 0x64]
add edi, eax
call fcn.00402400
push eax
call fcn.005e639f
mov dword [ebp - 0x24], edi
mov edi, eax
add esp, 4
lea ecx, [ebp - 0x40]
add edi, esi
call fcn.00402400
push eax
call fcn.005e639f
mov ecx, dword [ebp - 0x24]
add edi, ecx
lea esi, [eax + edi + 5]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x4ab4b5
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x4c]
call fcn.00402400
push eax
lea ecx, [ebp - 0x34]
call fcn.00402400
push eax
lea ecx, [ebp - 0x64]
call fcn.00402400
push eax
lea ecx, [ebp - 0x40]
call fcn.00402400
push eax
lea ecx, [ebp - 0x58]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005e639f
add esp, 0x20
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x28]
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x60]
push 0
mov eax, dword [ebx + edx + 0x18]
lea edx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [0x6d113c]
push edx
call fcn.00488ca0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ab51b
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x68]
mov ecx, dword [ebx + eax + 8]
call fcn.005b1140
mov ecx, dword [esi + 0x68]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebx + ecx + 8]
lea ecx, [ebp - 0x84]
push ecx
push 0xffffffffffffffff
mov byte [edx + 0x18e], 1
mov edx, dword [esi + 0x198]
push 0x100d
push edx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jl 0x4ab5e6
mov eax, dword [0x6d12f8]
test eax, eax
je 0x4ab598
mov eax, dword [0x6d1160]
test eax, eax
mov ecx, eax
jne 0x4ab580
mov ecx, 0x6d1164
mov eax, dword [0x6d1170]
test eax, eax
jne 0x4ab58e
mov eax, 0x6d1174
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e1c0
mov eax, dword [0x6d12fc]
test eax, eax
je 0x4ab5c9
mov eax, dword [0x6d1140]
test eax, eax
mov ecx, eax
jne 0x4ab5b1
mov ecx, 0x6d1144
mov eax, dword [0x6d1150]
test eax, eax
jne 0x4ab5bf
mov eax, 0x6d1154
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043e1c0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ab5d3
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x198]
push ebx
push 4
push eax
call fcn.0044f3d0
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov eax, dword [ebp - 0x20]
inc eax
xor edi, edi
mov dword [ebp - 0x20], eax
mov ebx, eax
jmp 0x4ab2bf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret