Function at 0x408b60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
mov edx, dword [ebp + 0x948]
mov eax, dword [ebp + 0x918]
lea ecx, [esp + 0x30]
push 0x19
push ecx
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], eax
xor edi, edi
call esi
mov ecx, dword [ebp + 0x96c]
lea eax, [esp + 0x1c]
push 0x10
push eax
push ecx
call esi
lea eax, [ebp + 0xeb]
mov dword [esp + 0x10], 5
mov edx, eax
lea esi, [edx - 0x19]
lea eax, [esp + 0x30]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x408bda
test cl, cl
je 0x408bd6
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x408bda
add eax, 2
add esi, 2
test cl, cl
jne 0x408bb6
xor eax, eax
jmp 0x408bdf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408c07
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 1
mov eax, dword [esp + 0x10]
add edx, 0x2d
dec eax
mov dword [esp + 0x10], eax
jne 0x408baf
test edi, edi
jne 0x408cc2
lea edx, [ebp + 0x186]
mov ebp, 4
lea ebx, [edx - 0x2d]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [edx - 0x14]
or ecx, 0xffffffff
add edx, 0x19
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
dec ebp
rep movsb byte es:[edi], byte [esi]
jne 0x408c28
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [edx + 0xd2]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [edx + 0xeb]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x408db5
xor ebx, ebx
test ebx, ebx
jne 0x408ced
push str.UserName
lea ecx, [esp + 0x50]
push 0x41f870
push ecx
call fcn.004131ef
add esp, 0xc
jmp 0x408d05
push ebx
push str.UserName
lea edx, [esp + 0x54]
push str._s_d
push edx
call fcn.004131ef
add esp, 0x10
mov ebp, dword [esp + 0x14]
lea eax, [ebx + ebx*4]
lea ecx, [ebp + eax*8]
lea esi, [eax + ecx]
lea eax, [esp + 0x4c]
lea edx, [esi + 0xd2]
push edx
push eax
call fcn.0040ec40
add esp, 8
test ebx, ebx
jne 0x408d44
push str.UserPwd
lea ecx, [esp + 0x50]
push 0x41f870
push ecx
call fcn.004131ef
add esp, 0xc
jmp 0x408d5c
push ebx
push str.UserPwd
lea edx, [esp + 0x54]
push str._s_d
push edx
call fcn.004131ef
add esp, 0x10
lea edi, [esi + 0xeb]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.0040ad80
lea edx, [esp + 0x1c]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.0040f2a0
add esp, 8
inc ebx
cmp ebx, 5
jl 0x408cd0
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x408e47
xor esi, esi
test esi, esi
jne 0x408dd4
push str.UserName
lea edx, [esp + 0x50]
push 0x41f870
push edx
call fcn.004131ef
add esp, 0xc
jmp 0x408dec
push esi
push str.UserName
lea eax, [esp + 0x54]
push str._s_d
push eax
call fcn.004131ef
add esp, 0x10
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040ec70
add esp, 4
test esi, esi
jne 0x408e16
push str.UserPwd
lea edx, [esp + 0x50]
push 0x41f870
push edx
call fcn.004131ef
add esp, 0xc
jmp 0x408e2e
push esi
push str.UserPwd
lea eax, [esp + 0x54]
push str._s_d
push eax
call fcn.004131ef
add esp, 0x10
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040ec70
add esp, 4
inc esi
cmp esi, 5
jl 0x408db7
push 0
push str.SaveIdPwd
call fcn.0040ecb0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret