Function at 0x4b69c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5616ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x5ca1c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
push 0x9329e8
push dword [0x5de268]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, 0x9329e8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6a31
sub ecx, edx
push ecx
push 0x9329e8
lea ecx, [ebp - 0x2c]
call fcn.0040f680
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004bd830
push 0x593042
push dword [0x5de268]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4b6e1e
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
cmova ecx, edx
cmp esi, 1
jne 0x4b6aed
mov edx, esi
mov edi, 0x5a8a6c
sub edx, 4
jb 0x4b6aa4
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6aa9
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6a93
cmp edx, 0xfffffffc
je 0x4b6add
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6ad6
cmp edx, 0xfffffffd
je 0x4b6add
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6ad6
cmp edx, 0xfffffffe
je 0x4b6add
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6ad6
cmp edx, 0xffffffff
je 0x4b6add
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6add
sbb eax, eax
or eax, 1
jmp 0x4b6adf
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 2
jne 0x4b6b61
mov edx, esi
mov edi, 0x5a8a80
sub edx, 4
jb 0x4b6b18
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6b1d
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6b07
cmp edx, 0xfffffffc
je 0x4b6b51
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6b4a
cmp edx, 0xfffffffd
je 0x4b6b51
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6b4a
cmp edx, 0xfffffffe
je 0x4b6b51
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6b4a
cmp edx, 0xffffffff
je 0x4b6b51
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6b51
sbb eax, eax
or eax, 1
jmp 0x4b6b53
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 5
jne 0x4b6bda
mov edx, esi
mov edi, str._quit
sub edx, 4
jb 0x4b6b91
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6b96
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6b80
cmp edx, 0xfffffffc
je 0x4b6bca
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6bc3
cmp edx, 0xfffffffd
je 0x4b6bca
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6bc3
cmp edx, 0xfffffffe
je 0x4b6bca
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6bc3
cmp edx, 0xffffffff
je 0x4b6bca
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6bca
sbb eax, eax
or eax, 1
jmp 0x4b6bcc
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 4
jne 0x4b6c4d
mov edx, esi
mov edi, str.quit
sub edx, esi
jb 0x4b6c04
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6c09
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6bf3
cmp edx, 0xfffffffc
je 0x4b6c3d
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6c36
cmp edx, 0xfffffffd
je 0x4b6c3d
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6c36
cmp edx, 0xfffffffe
je 0x4b6c3d
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6c36
cmp edx, 0xffffffff
je 0x4b6c3d
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6c3d
sbb eax, eax
or eax, 1
jmp 0x4b6c3f
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 1
jne 0x4b6cc1
mov edx, esi
mov edi, 0x5a8a88
sub edx, 4
jb 0x4b6c78
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6c7d
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6c67
cmp edx, 0xfffffffc
je 0x4b6cb1
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6caa
cmp edx, 0xfffffffd
je 0x4b6cb1
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6caa
cmp edx, 0xfffffffe
je 0x4b6cb1
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6caa
cmp edx, 0xffffffff
je 0x4b6cb1
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6cb1
sbb eax, eax
or eax, 1
jmp 0x4b6cb3
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 2
jne 0x4b6d3a
mov edx, esi
mov edi, 0x5a8a84
sub edx, 4
jb 0x4b6cf1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6cf6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6ce0
cmp edx, 0xfffffffc
je 0x4b6d2a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6d23
cmp edx, 0xfffffffd
je 0x4b6d2a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6d23
cmp edx, 0xfffffffe
je 0x4b6d2a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6d23
cmp edx, 0xffffffff
je 0x4b6d2a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6d2a
sbb eax, eax
or eax, 1
jmp 0x4b6d2c
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 4
jne 0x4b6da9
mov edx, esi
mov edi, str.exit
sub edx, esi
jb 0x4b6d64
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4b6d69
add ecx, 4
add edi, 4
sub edx, 4
jae 0x4b6d53
cmp edx, 0xfffffffc
je 0x4b6d9d
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x4b6d96
cmp edx, 0xfffffffd
je 0x4b6d9d
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x4b6d96
cmp edx, 0xfffffffe
je 0x4b6d9d
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x4b6d96
cmp edx, 0xffffffff
je 0x4b6d9d
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x4b6d9d
sbb eax, eax
or eax, 1
jmp 0x4b6d9f
xor eax, eax
test eax, eax
je 0x4b6e11
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edx
cmp esi, 5
jne 0x4b6e15
mov edx, str._exit
sub esi, 4
jb 0x4b6dd2
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4b6dd7
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4b6dc1
cmp esi, 0xfffffffc
je 0x4b6e0b
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4b6e04
cmp esi, 0xfffffffd
je 0x4b6e0b
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4b6e04
cmp esi, 0xfffffffe
je 0x4b6e0b
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4b6e04
cmp esi, 0xffffffff
je 0x4b6e0b
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4b6e0b
sbb eax, eax
or eax, 1
jmp 0x4b6e0d
xor eax, eax
test eax, eax
jne 0x4b6e15
mov al, 1
jmp 0x4b6e17
xor al, al
mov ecx, 0x5de33b
xchg byte [ecx], al
mov al, byte [0x5de33b]
mov byte [ebp - 0x2d], al
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4b6e56
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b6e4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b6e77
push ecx
push edx
call fcn.00524a57
add esp, 8
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052450f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0053ce3a
int3