Function at 0x48a910
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 0x505e65
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x55b18c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5694a4
mov dword [ebp - 0x34], 0x5694a4
call fcn.004d136c
add esp, 4
test eax, eax
jne 0x48ae25
cmp dword [0x5694d0], 0x7fffffff
je 0x48ae2c
push 0x800
push 0x5cd770
mov dword [ebp - 4], eax
push dword [0x5653cc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, 0x5cd770
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 0x48a9b0
sub ecx, edx
push ecx
push 0x5cd770
lea ecx, [ebp - 0x2c]
call fcn.00417660
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004917b0
push 0x532bd2
push dword [0x5653cc]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x5653b4]
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x48adad
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
cmovae ecx, edx
cmp esi, 1
jne 0x48aa7a
mov edi, esi
mov edx, 0x544dc4
sub edi, 4
jb 0x48aa31
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48aa36
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48aa20
cmp edi, 0xfffffffc
je 0x48aa6a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48aa63
cmp edi, 0xfffffffd
je 0x48aa6a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48aa63
cmp edi, 0xfffffffe
je 0x48aa6a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48aa63
cmp edi, 0xffffffff
je 0x48aa6a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48aa6a
sbb eax, eax
or eax, 1
jmp 0x48aa6c
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 2
jne 0x48aaee
mov edi, esi
mov edx, 0x544dc8
sub edi, 4
jb 0x48aaa5
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48aaaa
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48aa94
cmp edi, 0xfffffffc
je 0x48aade
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48aad7
cmp edi, 0xfffffffd
je 0x48aade
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48aad7
cmp edi, 0xfffffffe
je 0x48aade
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48aad7
cmp edi, 0xffffffff
je 0x48aade
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48aade
sbb eax, eax
or eax, 1
jmp 0x48aae0
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 5
jne 0x48ab62
mov edi, esi
mov edx, str._quit
sub edi, 4
jb 0x48ab19
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ab1e
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48ab08
cmp edi, 0xfffffffc
je 0x48ab52
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48ab4b
cmp edi, 0xfffffffd
je 0x48ab52
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48ab4b
cmp edi, 0xfffffffe
je 0x48ab52
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48ab4b
cmp edi, 0xffffffff
je 0x48ab52
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48ab52
sbb eax, eax
or eax, 1
jmp 0x48ab54
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 4
jne 0x48abda
mov edi, esi
mov edx, str.quit
sub edi, esi
jb 0x48ab91
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ab96
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48ab80
cmp edi, 0xfffffffc
je 0x48abca
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48abc3
cmp edi, 0xfffffffd
je 0x48abca
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48abc3
cmp edi, 0xfffffffe
je 0x48abca
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48abc3
cmp edi, 0xffffffff
je 0x48abca
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48abca
sbb eax, eax
or eax, 1
jmp 0x48abcc
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 1
jne 0x48ac4e
mov edi, esi
mov edx, 0x544dd4
sub edi, 4
jb 0x48ac05
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ac0a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48abf4
cmp edi, 0xfffffffc
je 0x48ac3e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48ac37
cmp edi, 0xfffffffd
je 0x48ac3e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48ac37
cmp edi, 0xfffffffe
je 0x48ac3e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48ac37
cmp edi, 0xffffffff
je 0x48ac3e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48ac3e
sbb eax, eax
or eax, 1
jmp 0x48ac40
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 2
jne 0x48acc2
mov edi, esi
mov edx, 0x544dd8
sub edi, 4
jb 0x48ac79
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ac7e
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48ac68
cmp edi, 0xfffffffc
je 0x48acb2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48acab
cmp edi, 0xfffffffd
je 0x48acb2
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48acab
cmp edi, 0xfffffffe
je 0x48acb2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48acab
cmp edi, 0xffffffff
je 0x48acb2
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48acb2
sbb eax, eax
or eax, 1
jmp 0x48acb4
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 4
jne 0x48ad36
mov edi, esi
mov edx, str.exit
sub edi, esi
jb 0x48acf1
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48acf6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48ace0
cmp edi, 0xfffffffc
je 0x48ad2a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48ad23
cmp edi, 0xfffffffd
je 0x48ad2a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48ad23
cmp edi, 0xfffffffe
je 0x48ad2a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48ad23
cmp edi, 0xffffffff
je 0x48ad2a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48ad2a
sbb eax, eax
or eax, 1
jmp 0x48ad2c
xor eax, eax
test eax, eax
je 0x48ada0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp eax, 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, edx
cmp esi, 5
jne 0x48ada4
mov edx, str._exit
sub esi, 4
jb 0x48ad61
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48ad66
add ecx, 4
add edx, 4
sub esi, 4
jae 0x48ad50
cmp esi, 0xfffffffc
je 0x48ad9a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48ad93
cmp esi, 0xfffffffd
je 0x48ad9a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48ad93
cmp esi, 0xfffffffe
je 0x48ad9a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48ad93
cmp esi, 0xffffffff
je 0x48ad9a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48ad9a
sbb eax, eax
or eax, 1
jmp 0x48ad9c
xor eax, eax
test eax, eax
jne 0x48ada4
mov al, 1
jmp 0x48ada6
xor al, al
mov ecx, 0x5653ac
xchg byte [ecx], al
mov al, byte [0x5653ac]
mov byte [ebp - 0x2d], al
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x48ade5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48addb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ae3d
push ecx
push edx
call fcn.004d25e8
add esp, 8
push 0x5694a4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004d1391
mov al, byte [ebp - 0x2d]
add esp, 4
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.004d20a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 5
call fcn.004d10cf
push 6
mov dword [0x5694d0], 0x7ffffffe
call fcn.004d10cf
call fcn.004e5df6
int3