Function at 0x5b2280
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14c
mov eax, dword [0x699fe8]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi + 0x1cc]
mov byte [eax], 0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
mov byte [esi + 0x1cd], 0
cmp byte [eax + 0x511], 0
push edi
je 0x5b22d4
push eax
lea edi, [esp + 0x17]
mov byte [esp + 0x17], 0
call fcn.00545f90
xor eax, eax
cmp byte [esp + 0x13], al
jmp 0x5b25bd
call fcn.005b2040
xor edi, edi
push 0xf
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI42.dll_CreateSolidBrush]
push 0x7f00
push edi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x3c], eax
mov eax, dword [0x6a958c]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], 0x5b1e20
mov dword [esp + 0x50], str.LoginWindow
mov dword [esp + 0x4c], edi
call dword [sym.imp.USER32.dll_RegisterClassA]
push edi
push 0x82ca0000
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0x132
mov dword [esp + 0x2c], 0xa2
call dword [sym.imp.USER32.dll_AdjustWindowRect]
cmp byte [0x6a9ea9], 0
mov eax, str.Partner_Press_Preview_Login
jne 0x5b237e
mov eax, str.PopCap_Beta_Login...
mov ecx, dword [0x6a958c]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x18]
push edi
push ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push edi
push edx
push ecx
push 0x40
push 0x40
push 0x82ca0000
push eax
push str.LoginWindow
push edi
call ebp
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
push edi
push 0x14
push edi
push edx
call ebx
mov eax, dword [esi + 0x18]
push edi
push 0x3e8
push 1
push eax
call ebx
mov edi, 0x10
cmp dword [esi + 0x220], edi
jb 0x5b23f2
mov eax, dword [esi + 0x20c]
jmp 0x5b23f8
lea eax, [esi + 0x20c]
mov ecx, dword [0x6a958c]
mov edx, dword [esi + 0x18]
push 0
push ecx
push 0
push edx
push 0x16
push 0xcc
push 0x14
push 6
push 0x50810000
push eax
push 0x672db4
push 0x200
call ebp
mov ecx, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ecx
push 0x30
push eax
mov dword [esi + 0x20], eax
call ebx
cmp dword [esi + 0x23c], edi
jb 0x5b2448
mov eax, dword [esi + 0x228]
jmp 0x5b244e
lea eax, [esi + 0x228]
mov edx, dword [0x6a958c]
mov ecx, dword [esi + 0x18]
push 0
push edx
push 0
push ecx
push 0x16
push 0xcc
push 0x41
push 6
push 0x50810020
push eax
push 0x672db4
push 0x200
call ebp
mov edx, dword [esi + 8]
push 0
push edx
push 0x30
push eax
mov dword [esi + 0x24], eax
call ebx
mov eax, dword [0x6a958c]
mov ecx, dword [esi + 0x18]
push 0
push eax
push 1
push ecx
push 0x14
push 0x48
push 6
push 0xde
push 0x50010001
push str.Login
push str.BUTTON
push 0
call ebp
mov edx, dword [esi + 8]
push 0
push edx
mov edi, eax
push 0x30
push edi
call ebx
mov eax, dword [0x6a958c]
mov ecx, dword [esi + 0x18]
push 0
push eax
push 2
push ecx
push 0x14
push 0x48
push 0x20
push 0xde
push 0x50010000
push 0x667eb0
push str.BUTTON
push 0
call ebp
mov edx, dword [esi + 8]
push 0
push edx
push 0x30
push eax
call ebx
mov ebx, dword [esi + 0x18]
call fcn.005b1bc0
cmp dword [esi + 0x238], 0
jbe 0x5b250c
push edi
jmp 0x5b2510
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 0x18]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.005b1c40
mov edi, dword [esp + 0x24]
cmp byte [edi], 0
jne 0x5b259f
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x100
lea edx, [esp + 0x54]
push edx
push eax
call ebx
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b2550
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esi + 0x208]
call fcn.00404330
mov eax, dword [esi + 0x24]
push 0x100
lea edx, [esp + 0x54]
push edx
push eax
call ebx
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x5b2583
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esi + 0x224]
call fcn.00404330
mov edx, dword [esi + 0x18]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 4]
push eax
mov dword [esi + 0x18], 0
call fcn.00545f90
xor eax, eax
cmp byte [edi], al
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
sete al
pop ebx
xor ecx, esp
call fcn.0061efd1
add esp, 0x14c
ret