Function at 0x52b7d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x654c54]
xor eax, ebp
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x1f4], ecx
mov eax, dword [ebp - 0x1f4]
mov byte [eax + 0x129], 0
mov ecx, dword [ebp - 0x1f4]
mov byte [ecx + 0x128], 0
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 4]
movzx ecx, byte [eax + 0x581]
test ecx, ecx
je 0x52b83d
mov byte [ebp - 0x49], 0
lea edx, [ebp - 0x49]
push edx
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
call fcn.004ce130
movzx eax, byte [ebp - 0x49]
neg eax
sbb eax, eax
add eax, 1
jmp 0x52bcbf
mov ecx, dword [ebp - 0x1f4]
call fcn.0052b580
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.DLL_CreateSolidBrush]
mov dword [ebp - 0x2c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x30], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x34], eax
mov ecx, dword [0x6a1658]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], 0x52b330
mov dword [ebp - 0x24], str.LoginWindow
mov dword [ebp - 0x28], 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x132
mov dword [ebp - 8], 0xa2
mov dword [ebp - 0x18], 0x82ca0000
push 0
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov dword [ebp - 0x1c], eax
push 0
mov edx, dword [0x6a1658]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
push 0x40
push 0x40
mov edx, dword [ebp - 0x18]
push edx
push str.PopCap_Beta_Login...
push str.LoginWindow
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 0x1f4]
push edx
push 0xffffffffffffffeb
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0x14
push 0
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 1
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x1f4]
add eax, 0x164
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
cmp dword [ecx + 0x18], 0x10
jb 0x52b9a1
mov edx, dword [ebp - 0x154]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1f8], eax
jmp 0x52b9b0
mov ecx, dword [ebp - 0x154]
add ecx, 4
mov dword [ebp - 0x1f8], ecx
push 0
mov edx, dword [0x6a1658]
push edx
push 0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x16
push 0xcc
push 0x14
push 6
push 0x50810000
mov edx, dword [ebp - 0x1f8]
push edx
push 0x6160a0
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 0x20], eax
push 0
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 8]
push eax
push 0x30
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1f4]
add eax, 0x180
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
cmp dword [ecx + 0x18], 0x10
jb 0x52ba41
mov edx, dword [ebp - 0x158]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1fc], eax
jmp 0x52ba50
mov ecx, dword [ebp - 0x158]
add ecx, 4
mov dword [ebp - 0x1fc], ecx
push 0
mov edx, dword [0x6a1658]
push edx
push 0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x16
push 0xcc
push 0x41
push 6
push 0x50810020
mov edx, dword [ebp - 0x1fc]
push edx
push 0x6160a0
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 0x24], eax
push 0
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 8]
push eax
push 0x30
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x24]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [0x6a1658]
push eax
push 1
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x18]
push edx
push 0x14
push 0x48
push 6
push 0xde
push 0x50010001
push str.Login
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x20], eax
push 0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 8]
push ecx
push 0x30
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [0x6a1658]
push eax
push 2
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x18]
push edx
push 0x14
push 0x48
push 0x20
push 0xde
push 0x50010000
push str.Cancel
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 8]
push ecx
push 0x30
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp - 0x1f4]
call fcn.0052b060
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x194]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jbe 0x52bb91
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x52bba1
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 1
mov ecx, dword [ebp - 0x1f4]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x1f4]
call fcn.0052b0f0
mov eax, dword [ebp - 0x1f4]
movzx ecx, byte [eax + 0x128]
test ecx, ecx
jne 0x52bc73
push 0x100
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x150]
push edx
call fcn.005cdf90
add esp, 4
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
push eax
lea ecx, [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x164
call fcn.0040b080
push 0x100
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x150]
push edx
call fcn.005cdf90
add esp, 4
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
push eax
lea ecx, [ebp - 0x150]
push ecx
mov ecx, dword [ebp - 0x1f4]
add ecx, 0x180
call fcn.0040b080
mov edx, dword [ebp - 0x1f4]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x1f4]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x1f4]
add edx, 0x128
push edx
mov eax, dword [ebp - 0x1f4]
mov ecx, dword [eax + 4]
call fcn.004ce130
mov ecx, dword [ebp - 0x1f4]
movzx eax, byte [ecx + 0x128]
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 0x50]
xor ecx, ebp
call fcn.005cbcb1
mov esp, ebp
pop ebp
ret