Function at 0x42a130
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bbe3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4c0180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 7
je 0x42a18b
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x42a714
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
or ebx, 0xffffffff
mov dword [ecx], eax
jmp 0x42a614
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x42a714
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x42a714
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42a1e6
test dx, dx
je 0x42a1e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42a1e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x42a1c0
xor eax, eax
jmp 0x42a1eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x42a380
cmp dword [ebx - 0xc], 0
je 0x42a380
push ecx
mov edi, esp
lea ecx, [ebx - 0x10]
mov dword [ebp + 0xe4], edi
call fcn.004046a0
add eax, 0x10
mov dword [edi], eax
call fcn.0042aae0
test al, al
je 0x42a298
push ecx
mov edi, esp
mov dword [ebp + 0xe4], edi
mov ecx, dword [ebp + 0x18]
lea ecx, [ecx - 0x10]
call fcn.004046a0
add eax, 0x10
mov dword [edi], eax
call fcn.0042a740
test al, al
je 0x42a298
mov edx, dword [ebp + 0x18]
lea ebx, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, ebx
je 0x42a298
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42a289
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42a289
call fcn.004046a0
or edi, 0xffffffff
mov dword [ebp + 0xe4], eax
mov ecx, edi
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42a281
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 0xe4]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x42a29b
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.004047f0
mov esi, dword [ebp - 0x10]
or edi, 0xffffffff
mov eax, dword [esi - 0xc]
test eax, eax
je 0x42a2fa
cmp eax, 0x1e
jle 0x42a2fa
push 0x1b
push 0
lea eax, [ebp + 0xe4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042b080
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00404ca0
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp + 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a2e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
push 0x4ade64
lea ecx, [ebp - 0x10]
call fcn.0042b1d0
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov ecx, esi
call fcn.004046a0
mov ecx, dword [ebp + 8]
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [ecx], eax
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a324
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a35f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42a6fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42a6fd
push ecx
mov edi, esp
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0x1c]
add ecx, 0xfffffff0
call fcn.004046a0
add eax, 0x10
mov dword [edi], eax
call fcn.0042aae0
test al, al
je 0x42a670
push ecx
mov edi, esp
mov dword [ebp - 0x14], edi
mov ecx, dword [ebp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004046a0
add eax, 0x10
mov dword [edi], eax
call fcn.0042a740
test al, al
je 0x42a670
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x42a714
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
push dword [ebp + 0xe4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x42a595
lea ebx, [eax + 1]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x42a418
push ebx
lea ecx, [ebp - 0x14]
call fcn.00404790
mov edi, dword [ebp - 0x14]
cmp ebx, dword [edi - 8]
jg 0x42a728
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [edi - 4], 1
jle 0x42a43e
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.00404950
mov edi, dword [ebp - 0x14]
push ebx
push edi
push dword [ebp + 0xe4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
lea eax, [edi - 0x10]
mov ebx, esp
mov dword [ebp + 0xe4], ebx
mov ecx, eax
mov dword [ebp + 0xe4], eax
call fcn.004046a0
add eax, 0x10
mov dword [ebx], eax
call fcn.0042aae0
test al, al
je 0x42a5bc
push ecx
mov ebx, esp
lea ecx, [edi - 0x10]
mov dword [ebp - 0x1c], ebx
call fcn.004046a0
add eax, 0x10
mov dword [ebx], eax
call fcn.0042a740
test al, al
je 0x42a5bc
lea ebx, [esi - 0x10]
lea ecx, [edi - 0x10]
cmp ecx, ebx
je 0x42a4ec
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x42a4dd
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x42a4dd
call fcn.004046a0
mov dword [ebp + 0xe4], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x42a4d5
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 0xe4]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x42a4ec
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
push edi
call fcn.004047f0
mov esi, dword [ebp - 0x10]
push 0x2d
push esi
call fcn.004726a3
add esp, 8
test eax, eax
je 0x42a595
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x42a595
mov ecx, dword [esi - 0xc]
lea ebx, [eax + 2]
cmp ecx, ebx
jle 0x42a595
add eax, 1
js 0x42a728
cmp eax, ecx
jg 0x42a728
cmp word [esi + eax*2], 0x20
jne 0x42a595
test ebx, ebx
js 0x42a728
movzx eax, word [esi + ebx*2]
push eax
call fcn.0047f383
add esp, 4
test eax, eax
je 0x42a595
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
sub eax, ebx
push eax
push ebx
lea eax, [ebp + 0xe4]
push eax
call fcn.0042b080
lea eax, [ebp + 0xe4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ca0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp + 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a592
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a29b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42a29b
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x42a71e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xe4]
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a5f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a614
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a635
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a64f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42a6fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42a6fd
call fcn.00405150
mov ecx, eax
test ecx, ecx
je 0x42a714
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 8]
add eax, 0x10
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov dword [ecx], eax
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a6aa
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a6cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a6e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42a6fd
mov ecx, dword [eax]
push eax
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 0xe0
push 0x80004005
call fcn.00404f30
push 0x80004005
call fcn.00404f30
push 0x80070057
call fcn.00404f30
int3