Function at 0x5a6bb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x144
mov eax, dword [0x867e6c]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, esi
mov byte [esi + 0x1cd], 0
mov byte [esi + 0x1cc], 0
call fcn.005a6990
xor ebp, ebp
push 0xf
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.user32.dll_GetSysColor]
push eax
call dword [sym.imp.gdi32.dll_CreateSolidBrush]
push 0x7f00
push ebp
mov dword [esp + 0x44], eax
call dword [sym.imp.user32.dll_LoadCursorA]
push 0x7f02
push ebp
mov dword [esp + 0x40], eax
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [esp + 0x34], eax
mov eax, dword [0x8859cc]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], 0x5a6790
mov dword [esp + 0x48], str.LoginWindow
mov dword [esp + 0x44], ebp
call dword [sym.imp.user32.dll_RegisterClassA]
push ebp
push 0x82ca0000
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x132
mov dword [esp + 0x28], 0xa2
call dword [sym.imp.user32.dll_AdjustWindowRect]
mov eax, dword [0x8859cc]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
push ebp
mov edi, dword [sym.imp.user32.dll_CreateWindowExA]
push eax
push ebp
push ebp
push ecx
push edx
push pe_nt_image_headers32
push pe_nt_image_headers32
push 0x82ca0000
push str.PopCap_Beta_Login...
push str.LoginWindow
push ebp
call edi
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.user32.dll_SetWindowLongA]
mov eax, dword [esi + 0x18]
mov ebx, dword [sym.imp.user32.dll_SetTimer]
push ebp
push 0x14
push ebp
push eax
call ebx
mov ecx, dword [esi + 0x18]
push ebp
push 0x3e8
push 1
push ecx
call ebx
cmp dword [esi + 0x220], 0x10
jb 0x5a6ce4
mov eax, dword [esi + 0x20c]
jmp 0x5a6cea
lea eax, [esi + 0x20c]
mov edx, dword [0x8859cc]
mov ecx, dword [esi + 0x18]
push ebp
push edx
push ebp
push ecx
push 0x16
push 0xcc
push 0x14
push 6
push 0x50810000
push eax
push 0x821c0c
push 0x200
call edi
mov edx, dword [esi + 8]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
push edx
push 0x30
push eax
mov dword [esi + 0x20], eax
call ebx
cmp dword [esi + 0x23c], 0x10
jb 0x5a6d38
mov eax, dword [esi + 0x228]
jmp 0x5a6d3e
lea eax, [esi + 0x228]
mov ecx, dword [0x8859cc]
mov edx, dword [esi + 0x18]
push ebp
push ecx
push ebp
push edx
push 0x16
push 0xcc
push 0x41
push 6
push 0x50810020
push eax
push 0x821c0c
push 0x200
call edi
mov ecx, dword [esi + 8]
push ebp
push ecx
push 0x30
push eax
mov dword [esi + 0x24], eax
call ebx
mov edx, dword [0x8859cc]
mov eax, dword [esi + 0x18]
push ebp
push edx
push 1
push eax
push 0x14
push 0x48
push 6
push 0xde
push 0x50010001
push str.Login
push str.BUTTON
push ebp
call edi
mov ecx, dword [esi + 8]
push 0
push ecx
mov ebp, eax
push 0x30
push ebp
call ebx
mov edx, dword [0x8859cc]
mov eax, dword [esi + 0x18]
push 0
push edx
push 2
push eax
push 0x14
push 0x48
push 0x20
push 0xde
push 0x50010000
push str.Cancel
push str.BUTTON
push 0
call edi
mov ecx, dword [esi + 8]
push 0
push ecx
push 0x30
push eax
call ebx
mov ebx, dword [esi + 0x18]
call fcn.005a6530
cmp dword [esi + 0x238], 0
jbe 0x5a6df9
push ebp
jmp 0x5a6dfd
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.user32.dll_SetFocus]
mov eax, dword [esi + 0x18]
push 1
push eax
call dword [sym.imp.user32.dll_ShowWindow]
call fcn.005a65b0
cmp byte [esi + 0x1cc], 0
jne 0x5a6e8b
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.user32.dll_GetWindowTextA]
push 0x100
lea ecx, [esp + 0x4c]
push ecx
push edx
call edi
lea eax, [esp + 0x48]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5a6e40
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esi + 0x208]
call fcn.004016e0
mov edx, dword [esi + 0x24]
push 0x100
lea ecx, [esp + 0x4c]
push ecx
push edx
call edi
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5a6e71
sub eax, edx
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esi + 0x224]
call fcn.004016e0
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.user32.dll_DestroyWindow]
mov ecx, dword [esp + 0x14c]
xor eax, eax
cmp byte [esi + 0x1cc], al
pop edi
mov dword [esi + 0x18], 0
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.00643db8
add esp, 0x144
ret