Function at 0x491310
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x3f7
mov eax, dword [esi]
call dword [eax + 0x8c]
push eax
call fcn.00405b90
mov edx, dword [esi]
add esp, 4
mov ecx, esi
mov dword [ebp - 0x98], eax
push 0
push 0x40b
call dword [edx + 0x8c]
push eax
call fcn.004bd660
add esp, 8
test eax, eax
jne 0x49137f
push dword [esi + 0x10]
push str.UNSUPPORTED_CHARS_IN_PWD
call fcn.00419a00
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x24]
push ebx
lea ebx, [esi + 0x834]
cmp eax, 1
jne 0x491398
mov eax, dword [esi + 0x82c]
mov dword [ebx], eax
jmp 0x4913d6
cmp dword [ebx], 0
jne 0x4913d6
test eax, eax
jne 0x4913d6
mov eax, dword [esi]
mov ecx, esi
push 0x40b
call dword [eax + 0x8c]
push eax
call fcn.004bd740
add esp, 4
test eax, eax
jne 0x4913d6
push dword [esi + 0x10]
push str.PASSWORD_LENGTH_WARNING
call fcn.00419610
add esp, 8
cmp eax, 6
jne 0x49161c
push edi
push 0x41
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0x3ec
call dword [eax + 0x8c]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call edi
lea ecx, [ebp - 0x48]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491400
mov eax, dword [esi + 0x24]
sub ecx, edx
dec eax
mov dword [ebp - 0x4c], ecx
cmp eax, 2
ja 0x49144d
movups xmm0, xmmword [ebp - 0x48]
mov al, byte [ebp - 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x50], al
lea edx, [ecx + 1]
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491444
jmp 0x491478
push 0x41
lea eax, [ebp - 0x90]
mov ecx, esi
push eax
mov eax, dword [esi]
push 0x40b
call dword [eax + 0x8c]
push eax
call edi
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x491471
sub ecx, edx
mov dword [ebp - 0x94], ecx
call fcn.00421850
cmp dword [esi + 0x82c], 0
je 0x4914a3
push dword [esi + 0x10]
lea eax, [ebp - 0x4c]
push dword [esi + 0x830]
push eax
call fcn.004b9c20
add esp, 0xc
cmp dword [ebx], 0
je 0x4914d8
cmp dword [esi + 0x24], 1
jne 0x4914b6
mov eax, dword [esi + 0x830]
jmp 0x4914bc
mov eax, dword [esi + 0x838]
push dword [esi + 0x10]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004b9c20
add esp, 0xc
test eax, eax
jne 0x4914d8
lea ebx, [eax + 0x1c]
jmp 0x49153f
push dword [ebp - 0x98]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x4c]
push eax
lea edi, [esi + 0x28]
push edi
push dword [esi + 0x10]
call fcn.004d2460
mov ebx, eax
add esp, 0x14
cmp ebx, 1
jne 0x49153f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x49153f
call fcn.0041c240
test eax, eax
je 0x49153f
push edi
call fcn.00429b60
add esp, 4
test eax, eax
je 0x49153f
push dword [ebp - 0x98]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
push dword [esi + 0x10]
call fcn.004a5250
add esp, 0x14
mov ebx, eax
lea eax, [ebp - 0x4c]
mov ecx, 0x48
mov edi, ecx
mov edx, eax
nop dword [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x491550
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x491560
lea eax, [ebp - 0x94]
mov ecx, 0x48
mov edi, ecx
mov edx, eax
nop word [eax + eax]
mov byte [edx], 0
lea edx, [edx + 1]
sub edi, 1
jne 0x491580
pop edi
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x491590
call fcn.00421690
test ebx, ebx
jne 0x49161c
mov eax, dword [esi]
mov ecx, esi
push 1
push 0x40
push 0x40b
call dword [eax + 0x8c]
push eax
call fcn.004157b0
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 1
push 0x40
push 0x3ec
call dword [eax + 0x8c]
push eax
call fcn.004157b0
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
push 1
push 0x40
push 0x3ea
call dword [eax + 0x8c]
push eax
call fcn.004157b0
lea eax, [esi + 0x834]
push eax
call fcn.004ba4b0
lea eax, [esi + 0x82c]
push eax
call fcn.004ba4b0
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push 1
call dword [eax + 0xf4]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret