Function at 0x4287e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x514eb8]
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 + 0x549]
test al, al
je 0x428827
lea eax, [ebp - 5]
push eax
mov byte [ebp - 5], 0
call fcn.00464020
mov cl, byte [ebp - 5]
jmp 0x428b07
push ebx
push edi
mov ecx, esi
call fcn.004286d0
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 [0x516fa0]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x40], 0x41e090
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 [0x516fa0]
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 + 0x15c], 0x10
jb 0x428927
mov eax, dword [esi + 0x148]
jmp 0x42892d
lea eax, [esi + 0x148]
mov ecx, dword [0x516fa0]
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 + 0x178], 0x10
jb 0x42897b
mov eax, dword [esi + 0x164]
jmp 0x428981
lea eax, [esi + 0x164]
mov edx, dword [0x516fa0]
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 [0x516fa0]
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 [0x516fa0]
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.0041dfa0
mov eax, dword [esi + 0x174]
test eax, eax
jbe 0x428a47
mov ecx, dword [ebp - 0x1c]
push ecx
jmp 0x428a4b
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.0041e020
mov al, byte [esi + 0x124]
test al, al
jne 0x428ae3
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 0x428a90
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [esi + 0x144]
call fcn.004025c3
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 0x428ac7
sub eax, edx
push eax
lea eax, [ebp - 0x144]
push eax
lea ecx, [esi + 0x160]
call fcn.004025c3
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.00464020
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.004c478a
mov esp, ebp
pop ebp
ret