Function at 0x42dd40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a00f5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c6180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 4], 7
je 0x42ddab
mov dword [ebp - 4], 0
call fcn.0040a3a0
test eax, eax
je 0x42e185
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 1
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x42e185
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], 2
lea edi, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, edi
add edx, 0x34
mov dword [ebp - 0x14], edi
call fcn.0042ec90
test al, al
je 0x42decc
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x42decc
push ecx
mov edi, esp
add ecx, 0xfffffff0
mov dword [ebp + 0x10], edi
call fcn.004064d0
add eax, 0x10
mov dword [edi], eax
call fcn.0042e630
test al, al
je 0x42de43
mov ebx, dword [ebp - 0x14]
push ecx
mov edi, esp
mov dword [ebp + 0x10], edi
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.004064d0
add eax, 0x10
mov dword [edi], eax
call fcn.0042e1b0
test al, al
je 0x42de43
push ebx
lea ecx, [ebp + 0xc]
call fcn.00409ef0
mov esi, dword [ebp + 0xc]
or edi, 0xffffffff
mov eax, dword [esi - 0xc]
test eax, eax
je 0x42de9f
cmp eax, 0x1e
jle 0x42de9f
push 0x1b
push 0
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042ed30
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
call fcn.00409ef0
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42de8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
push 0x4b2174
lea ecx, [ebp + 0xc]
call fcn.0042ee80
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov ecx, esi
call fcn.004064d0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov dword [ecx], eax
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42e16e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42e16e
push ecx
mov ecx, dword [ebx + 0x10]
mov edi, esp
sub ecx, 0x10
mov dword [ebp - 0x14], edi
call fcn.004064d0
add eax, 0x10
mov dword [edi], eax
call fcn.0042e630
test al, al
je 0x42e13a
push ecx
mov ecx, dword [ebx + 0x10]
mov edi, esp
sub ecx, 0x10
mov dword [ebp - 0x14], edi
call fcn.004064d0
add eax, 0x10
mov dword [edi], eax
call fcn.0042e1b0
test al, al
je 0x42e13a
mov byte [ebp - 4], 4
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x42e1a3
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42e0c2
lea ebx, [eax + 1]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x42df65
push ebx
lea ecx, [ebp - 0x10]
call fcn.004099f0
mov edi, dword [ebp - 0x10]
cmp ebx, dword [edi - 8]
jg 0x42e199
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [edi - 4], 1
jle 0x42df8b
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00409bb0
mov edi, dword [ebp - 0x10]
push ebx
push edi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [edi - 0x10]
mov ebx, esp
mov dword [ebp + 0x10], ebx
mov ecx, eax
mov dword [ebp + 0x10], eax
call fcn.004064d0
add eax, 0x10
mov dword [ebx], eax
call fcn.0042e630
test al, al
je 0x42e0e9
push ecx
mov ebx, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.004064d0
add eax, 0x10
mov dword [ebx], eax
call fcn.0042e1b0
test al, al
je 0x42e0e9
lea ebx, [esi - 0x10]
lea ecx, [edi - 0x10]
cmp ecx, ebx
je 0x42e02a
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42e01b
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42e01b
call fcn.004064d0
mov dword [ebp + 0x10], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42e013
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
jmp 0x42e02a
push dword [edi - 0xc]
lea ecx, [ebp + 0xc]
push edi
call fcn.00409a50
mov esi, dword [ebp + 0xc]
push 0x2d
push esi
call fcn.004764f3
add esp, 8
test eax, eax
je 0x42e0c2
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42e0c2
mov ecx, dword [esi - 0xc]
lea ebx, [eax + 2]
cmp ecx, ebx
jle 0x42e0c2
add eax, 1
js 0x42e199
cmp eax, ecx
jg 0x42e199
cmp word [esi + eax*2], 0x20
jne 0x42e0c2
test ebx, ebx
js 0x42e199
movzx eax, word [esi + ebx*2]
push eax
call fcn.00483309
add esp, 4
test eax, eax
je 0x42e0c2
mov eax, dword [esi - 0xc]
lea ecx, [ebp + 0xc]
sub eax, ebx
push eax
push ebx
lea eax, [ebp + 0x10]
push eax
call fcn.0042ed30
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 0xc]
call fcn.00409ef0
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e0bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42de46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42de46
mov byte [ebp - 4], 6
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x42e18f
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
mov edx, dword [ebp + 0x10]
or ebx, 0xffffffff
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e123
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42e16e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42e16e
mov byte [ebp - 4], 3
call fcn.0040a3a0
mov ecx, eax
test ecx, ecx
je 0x42e1a3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
add esi, 0xfffffff0
mov dword [ecx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e16e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00407590
push 0x80004005
call fcn.00407590
push 0x80070057
call fcn.00407590
push 0x80004005
call fcn.00407590
int3