Function at 0x4fa1b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723b5e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
call fcn.004d2dc0
mov ecx, eax
test ecx, ecx
je 0x4fa702
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x11c], edi
push dword [esi + 0x24]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edx, [eax + 1]
mov dword [ebp - 0x110], edx
test edx, edx
js 0x4fa6f8
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4fa24e
push edx
lea ecx, [ebp - 0x11c]
call fcn.004d5ad0
mov edi, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x110]
push edx
push edi
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x4fa26a
push dword [edi - 8]
push edi
call fcn.006fbebc
add esp, 8
test eax, eax
js 0x4fa6f8
cmp eax, dword [edi - 8]
jg 0x4fa6f8
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
cmp dword [edi - 0xc], ecx
jne 0x4fa2a3
push 0xe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4fa6bc
mov esi, dword [ebp + 8]
cmp dword [esi + 4], ecx
je 0x4fa6bc
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], cl
push 0xfde9
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], eax
call fcn.004d3ce0
mov edx, dword [ebp - 0x10c]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 2
mov dword [ebp - 0x48], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x110], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fa310
sub ecx, dword [ebp - 0x110]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.0044f130
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 4
cmp eax, ecx
je 0x4fa344
push eax
call fcn.006fa47e
add esp, 4
mov eax, dword [esi]
mov dword [ebp - 0x114], eax
mov esi, dword [eax]
mov dword [ebp - 0x110], esi
cmp esi, eax
je 0x4fa54b
nop dword [eax]
push 4
push str.user
lea ecx, [ebp - 0x40]
call fcn.0044ef80
push 1
push 0x73230c
lea ecx, [ebp - 0x40]
call fcn.0044ef80
mov ecx, dword [esi + 0x20]
add esi, 0x10
mov eax, closesocket
sub eax, ecx
cmp eax, 8
jb 0x4fa70c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4fa39e
mov eax, dword [esi]
push 8
push str._LIKE__
push ecx
push eax
push esi
push dword [ebp - 0x114]
lea ecx, [ebp - 0x88]
call fcn.004cc200
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
push eax
mov byte [ebp - 4], 5
call fcn.0044ef80
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 2
push 0x738cec
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0044ef80
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x70], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
push dword [ebp - 0x60]
movd eax, xmm1
mov byte [ebp - 4], 7
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0044ef80
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x4fa499
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa48f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4fa4d1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa4c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x4fa51e
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa514
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push edx
push ecx
call fcn.006f4b9f
add esp, 8
lea ecx, [ebp - 0x110]
call fcn.004ccfb0
mov esi, dword [ebp - 0x110]
cmp esi, dword [ebp - 0x114]
je 0x4fa54b
push 4
push str._OR
lea ecx, [ebp - 0x40]
call fcn.0044ef80
jmp 0x4fa360
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x1c]
push 0xc8
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
push 0
call fcn.004e8810
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x4fa5f0
cmp esi, dword [ebp - 0x18]
je 0x4fa5a3
mov ecx, esi
call fcn.004e6bc0
add esi, 0x50
cmp esi, dword [ebp - 0x18]
jne 0x4fa594
mov ecx, dword [ebp - 0x14]
mov eax, 0x66666667
mov esi, dword [ebp - 0x1c]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 4
cmp ecx, 0x1000
jb 0x4fa5e0
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push ecx
push esi
call fcn.006f4b9f
mov eax, dword [ebp - 0x114]
add esp, 8
mov esi, dword [ebp - 0x118]
cmp eax, 1
jne 0x4fa610
mov eax, dword [esi + 0x2e8]
mov ecx, esi
add eax, 0xa3
push eax
push 4
call fcn.004f3b70
mov eax, dword [esi + 0x2e8]
cmp eax, 1
jne 0x4fa629
push 0
push 9
push 0x110b
push dword [esi + 0x54]
jmp 0x4fa638
test eax, eax
jne 0x4fa63e
push eax
push 9
push 0x110b
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4fa676
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa66c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4fa6aa
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa6a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa711
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4fa6db
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004cf5d0
push 0x80004005
call fcn.004cf5d0
call fcn.0044f120
call fcn.006fb96e
int3