Function at 0x4a0090
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x569f5c]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 4], eax
mov byte [esi + 0x125], 0
mov byte [esi + 0x124], 0
mov al, byte [ecx + 0x491]
test al, al
je 0x4a00d7
lea eax, [ebp - 5]
push eax
mov byte [ebp - 5], 0
call fcn.0044de50
mov cl, byte [ebp - 5]
jmp 0x4a03b7
push ebx
push edi
mov ecx, esi
call fcn.0049ff80
xor ebx, ebx
push 0xf
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x7f00
push ebx
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push ebx
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x5a33c0]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], 0x496ea0
mov dword [ebp - 0x20], str.LoginWindow
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebx
push 0x82ca0000
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x132
mov dword [ebp - 0xc], 0xa2
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov ecx, dword [0x5a33c0]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
push ebx
push ecx
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push ebx
sub edx, eax
mov eax, dword [ebp - 0x10]
push edx
sub eax, dword [ebp - 0x18]
push eax
push 0x40
push 0x40
push 0x82ca0000
push str.PopCap_Beta_Login...
push str.LoginWindow
push ebx
call edi
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 0x18]
push ebx
push 0x14
push ebx
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [esi + 0x18]
push ebx
push 0x3e8
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [esi + 0x178], 0x10
jb 0x4a01d7
mov eax, dword [esi + 0x164]
jmp 0x4a01dd
lea eax, [esi + 0x164]
mov ecx, dword [0x5a33c0]
mov edx, dword [esi + 0x18]
push ebx
push ecx
push ebx
push edx
push 0x16
push 0xcc
push 0x14
push 6
push 0x50810000
push eax
push str.EDIT
push 0x200
call edi
mov ecx, dword [esi + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0x30
push eax
mov dword [esi + 0x20], eax
call ebx
cmp dword [esi + 0x194], 0x10
jb 0x4a022b
mov eax, dword [esi + 0x180]
jmp 0x4a0231
lea eax, [esi + 0x180]
mov edx, dword [0x5a33c0]
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 str.EDIT
push 0x200
call edi
mov edx, dword [esi + 8]
push 0
push edx
push 0x30
push eax
mov dword [esi + 0x24], eax
call ebx
mov eax, dword [0x5a33c0]
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 edi
mov edx, dword [esi + 8]
push 0
push edx
push 0x30
push eax
mov dword [ebp - 0x1c], eax
call ebx
mov eax, dword [0x5a33c0]
mov ecx, dword [esi + 0x18]
push 0
push eax
push 2
push ecx
push 0x14
push 0x48
push 0x20
push 0xde
push 0x50010000
push str.Cancel
push str.BUTTON
push 0
call edi
mov edx, dword [esi + 8]
push 0
push edx
push 0x30
push eax
call ebx
mov eax, dword [esi + 0x18]
push eax
mov ecx, esi
call fcn.00496db0
mov eax, dword [esi + 0x190]
test eax, eax
jbe 0x4a02f7
mov ecx, dword [ebp - 0x1c]
push ecx
jmp 0x4a02fb
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]
mov ecx, esi
call fcn.00496e30
mov al, byte [esi + 0x124]
test al, al
jne 0x4a0393
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x100
lea ecx, [ebp - 0x144]
push ecx
push edx
call edi
lea eax, [ebp - 0x144]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a0340
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [esi + 0x160]
call fcn.00403230
mov edx, dword [esi + 0x24]
push 0x100
lea ecx, [ebp - 0x144]
push ecx
push edx
call edi
lea eax, [ebp - 0x144]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a0377
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [esi + 0x17c]
call fcn.00403230
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 4]
lea edi, [esi + 0x124]
push edi
mov dword [esi + 0x18], 0
call fcn.0044de50
mov cl, byte [edi]
pop edi
pop ebx
xor eax, eax
test cl, cl
mov ecx, dword [ebp - 4]
sete al
xor ecx, dword [ebp + 4]
pop esi
call fcn.004fb7a4
mov esp, ebp
pop ebp
ret