Function at 0x4e90a0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x65465d
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x28], ebx
mov ecx, dword [esi + 4]
xor ebp, ebp
mov byte [esi + 0x129], bl
mov byte [esi + 0x128], bl
cmp byte [ecx + 0x511], bl
je 0x4e9118
lea eax, [esp + 0x17]
push eax
mov byte [esp + 0x1b], bl
call fcn.00541cc0
xor eax, eax
cmp byte [esp + 0x17], al
sete al
jmp 0x4e94b2
call fcn.004e8e80
mov edi, 0xf
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x7f00
push ebp
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push ebp
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [0x6b8b40]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], 0x4e8c30
mov dword [esp + 0x54], str.LoginWindow
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebp
push 0x82ca0000
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0x132
mov dword [esp + 0x30], 0xa2
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esi + 4]
cmp dword [eax + 0x694], ebp
je 0x4e91c4
add eax, 0x680
jmp 0x4e91e2
push str.PopCap_Beta_Login...
lea ecx, [esp + 0x58]
call fcn.00402130
mov ebx, 1
mov dword [esp + 0x198], ebp
mov dword [esp + 0x28], ebx
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebp
mov byte [esp + 0x80], 0
call fcn.00401d10
test bl, 1
mov dword [esp + 0x198], 2
je 0x4e9236
cmp dword [esp + 0x6c], 0x10
jb 0x4e9229
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0062493b
add esp, 4
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x4e9248
lea eax, [esp + 0x74]
mov edx, dword [0x6b8b40]
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push ebp
push edx
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push ebp
push ebp
push ecx
push edx
push 0x40
push 0x40
push 0x82ca0000
push eax
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 + 0x17c], 0x10
jb 0x4e92b8
mov eax, dword [esi + 0x168]
jmp 0x4e92be
lea eax, [esi + 0x168]
mov edx, dword [0x6b8b40]
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 0x67d1d8
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 + 0x198], 0x10
jb 0x4e930c
mov eax, dword [esi + 0x184]
jmp 0x4e9312
lea eax, [esi + 0x184]
mov ecx, dword [0x6b8b40]
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 0x67d1d8
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 [0x6b8b40]
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 [0x6b8b40]
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.004e89c0
cmp dword [esi + 0x194], 0
jbe 0x4e93cd
push ebp
jmp 0x4e93d1
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.004e8a40
cmp byte [esi + 0x128], 0
jne 0x4e9473
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x100
lea ecx, [esp + 0x90]
push ecx
push edx
call edi
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e9418
sub eax, edx
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esi + 0x164]
call fcn.00402300
mov edx, dword [esi + 0x24]
push 0x100
lea ecx, [esp + 0x90]
push ecx
push edx
call edi
lea eax, [esp + 0x8c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e9454
sub eax, edx
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esi + 0x180]
call fcn.00402300
mov ecx, dword [esi + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 4]
lea edi, [esi + 0x128]
push edi
mov dword [esi + 0x18], 0
call fcn.00541cc0
cmp byte [edi], 0
sete bl
cmp dword [esp + 0x88], 0x10
jb 0x4e94b0
mov edx, dword [esp + 0x74]
push edx
call fcn.0062493b
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.00624940
add esp, 0x188
ret