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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x54]
push esi
mov esi, dword [eax + 0x54]
test esi, esi
mov dword [esp + 4], ecx
je 0x52c714
push ebx
push ebp
test edx, edx
mov edx, dword [esp + 0x64]
push edi
je 0x52c543
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
imul edx, edx, 0x5c
add eax, edx
mov dword [esp + 0x68], eax
mov eax, dword [eax + 0x38]
lea esi, [eax + 0x2d]
cmp eax, esi
mov dword [0x5b2dd0], 0
mov dword [esp + 0x14], esi
mov edi, eax
jge 0x52c337
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x52c2b0
mov ecx, dword [esp + 0x10]
nop
push edi
push ecx
call ebx
test eax, eax
mov edx, dword [0x5b2dd0]
lea ecx, [edx*8 + 0x5b2c40]
mov dword [ecx], eax
je 0x52c337
mov dword [edx*8 + 0x5b2c44], edi
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
push edi
call fcn.0052c170
test eax, eax
jne 0x52c323
mov eax, dword [0x5b2dd0]
mov esi, dword [eax*8 + 0x5b2c40]
push 0x5b2840
push 0x3e7
push 0xd
push esi
call ebp
test eax, eax
jle 0x52c31f
push 1
push 0x5b2840
call fcn.00570260
add esp, 8
test eax, eax
je 0x52c31f
push 0x5b2840
push 0
push 0xc
push esi
mov byte [eax], 0x26
call ebp
mov esi, dword [esp + 0x14]
mov eax, dword [0x5b2dd0]
inc eax
inc edi
cmp edi, esi
mov dword [0x5b2dd0], eax
jl 0x52c2ab
mov edx, dword [0x5b2c40]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x20]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push 0x66
push ecx
call ebx
push eax
call ebp
mov eax, dword [0x5b2dd0]
xor edi, edi
test eax, eax
jle 0x52c3cf
jmp 0x52c370
mov eax, dword [edi*8 + 0x5b2c40]
lea edx, [esp + 0x50]
push edx
push eax
call ebp
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
cmp eax, esi
jge 0x52c391
mov esi, eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x2c]
jle 0x52c39f
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x52c3b1
mov ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
cmp eax, edx
jle 0x52c3c3
mov edx, eax
mov dword [esp + 0x28], edx
mov eax, dword [0x5b2dd0]
inc edi
cmp edi, eax
jl 0x52c370
jmp 0x52c3db
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x64]
mov edi, dword [eax + 0x48]
mov eax, dword [esp + 0x48]
test edi, edi
mov edi, dword [esp + 0x40]
je 0x52c42c
mov ebx, dword [esp + 0x68]
sub eax, edi
sub eax, edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
sub ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x4c]
sub ecx, edi
mov edi, dword [esp + 0x2c]
dec ecx
mov ebp, ecx
mov ecx, dword [esp + 0x44]
sub eax, ecx
sub eax, edi
mov edi, dword [ebx + 0x40]
add eax, esi
cdq
sub eax, edx
sar eax, 1
sub esi, eax
sub esi, edi
sub esi, ecx
sub esi, 3
jmp 0x52c450
sub eax, edi
sub eax, edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [esp + 0x68]
sub ecx, dword [eax + 0x3c]
sub ecx, edi
dec ecx
mov ebp, ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [esp + 0x44]
sub esi, ecx
sub esi, eax
mov eax, dword [0x5b2dd0]
xor edi, edi
test eax, eax
jle 0x52c4d2
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [edi*8 + 0x5b2c40]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x24], eax
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub eax, ebp
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push edx
sub ecx, esi
push eax
mov dword [esp + 0x24], ecx
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [edi*8 + 0x5b2c40]
push 0x15
push 0
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x5b2dd0]
inc edi
cmp edi, eax
jl 0x52c461
mov eax, dword [0x5b2dd0]
xor esi, esi
test eax, eax
jle 0x52c529
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5ac5d8]
mov ebx, 0xb8
lea ecx, [ecx]
test eax, eax
je 0x52c50d
cmp eax, dword [esp + 0x10]
jne 0x52c50d
cmp dword [esi*8 + 0x5b2c44], ebx
jne 0x52c50d
mov ecx, dword [0x5b1440]
test ecx, ecx
je 0x52c51e
mov ecx, dword [esi*8 + 0x5b2c40]
push 8
push ecx
call edi
mov eax, dword [0x5ac5d8]
mov ecx, dword [0x5b2dd0]
inc esi
cmp esi, ecx
jl 0x52c4f0
mov eax, dword [esp + 0x10]
push eax
mov dword [0x5b2c3c], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret 8
imul edx, edx, 0x5c
mov esi, dword [edx + eax + 0x38]
mov eax, dword [0x5b2c3c]
test eax, eax
lea ebp, [esi + 0x64]
je 0x52c59e
cmp eax, ecx
je 0x52c59e
xor ecx, ecx
cmp esi, ebp
mov dword [0x5b2dd0], ecx
jge 0x52c5a4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea esp, [esp]
mov ebx, dword [esp + 0x10]
push esi
push ebx
call edi
test eax, eax
mov ecx, dword [0x5b2dd0]
mov dword [ecx*8 + 0x5b2c40], eax
je 0x52c5a8
mov dword [ecx*8 + 0x5b2c44], esi
inc ecx
inc esi
cmp esi, ebp
mov dword [0x5b2dd0], ecx
jl 0x52c570
jmp 0x52c5a8
mov ecx, dword [0x5b2dd0]
mov ebx, dword [esp + 0x10]
xor esi, esi
test ecx, ecx
jle 0x52c642
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi*8 + 0x5b2c40]
test eax, eax
je 0x52c63e
push 0
push eax
call ebp
mov ecx, dword [esi*8 + 0x5b2c40]
lea eax, [esp + 0x30]
push eax
push ecx
call edi
mov eax, dword [esp + 0x10]
push 2
lea edx, [esp + 0x34]
push edx
push eax
push 0
call ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, 2
add ecx, eax
sub edx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
add ecx, 4
sub edx, eax
mov dword [esp + 0x38], ecx
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x5b2dd0]
inc esi
cmp esi, ecx
jl 0x52c5c4
mov ebx, dword [esp + 0x10]
xor ebp, ebp
test ecx, ecx
jle 0x52c704
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x52c660
mov edx, dword [ebp*8 + 0x5b2c40]
test edx, edx
je 0x52c704
mov eax, dword [0x5ac5d8]
test eax, eax
je 0x52c6a9
cmp eax, ebx
jne 0x52c6a9
mov eax, dword [ebp*8 + 0x5b2c44]
cmp eax, 0x198
jg 0x52c69d
je 0x52c6fb
sub eax, 0x68
je 0x52c6fb
sub eax, 0xb3
je 0x52c6fb
sub eax, 0x3b
jmp 0x52c6a7
sub eax, 0x215
je 0x52c6fb
sub eax, 2
je 0x52c6fb
push 0
push 0
push 0xc1
push edx
call edi
test eax, eax
jg 0x52c6f5
mov esi, dword [ebp*8 + 0x5b2c40]
push 0x5b2840
push 0x3e7
push 0xd
push esi
call edi
test eax, eax
jle 0x52c6f5
push 0x26
push 0x5b2840
call fcn.00570260
add esp, 8
test eax, eax
je 0x52c6f5
push 0x5b2840
push 0
push 0xc
push esi
mov byte [eax], 1
call edi
mov ecx, dword [0x5b2dd0]
inc ebp
cmp ebp, ecx
jl 0x52c660
push ebx
mov dword [0x5b2c3c], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret 8