Function at 0x53ed90
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 0x53f254
push ebx
push ebp
test edx, edx
mov edx, dword [esp + 0x64]
push edi
je 0x53f083
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 [0x5f7d58], 0
mov dword [esp + 0x14], esi
mov edi, eax
jge 0x53ee77
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x53edf0
mov ecx, dword [esp + 0x10]
nop
push edi
push ecx
call ebx
test eax, eax
mov edx, dword [0x5f7d58]
lea ecx, [edx*8 + 0x5f7bc8]
mov dword [ecx], eax
je 0x53ee77
mov dword [edx*8 + 0x5f7bcc], edi
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
push edi
call fcn.0053ecb0
test eax, eax
jne 0x53ee63
mov eax, dword [0x5f7d58]
mov esi, dword [eax*8 + 0x5f7bc8]
push 0x5f77c8
push 0x3e7
push 0xd
push esi
call ebp
test eax, eax
jle 0x53ee5f
push 1
push 0x5f77c8
call fcn.005912e0
add esp, 8
test eax, eax
je 0x53ee5f
push 0x5f77c8
push 0
push 0xc
push esi
mov byte [eax], 0x26
call ebp
mov esi, dword [esp + 0x14]
mov eax, dword [0x5f7d58]
inc eax
inc edi
cmp edi, esi
mov dword [0x5f7d58], eax
jl 0x53edeb
mov edx, dword [0x5f7bc8]
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 [0x5f7d58]
xor edi, edi
test eax, eax
jle 0x53ef0f
jmp 0x53eeb0
mov eax, dword [edi*8 + 0x5f7bc8]
lea edx, [esp + 0x50]
push edx
push eax
call ebp
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
cmp eax, esi
jge 0x53eed1
mov esi, eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x2c]
jle 0x53eedf
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jge 0x53eef1
mov ecx, eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
cmp eax, edx
jle 0x53ef03
mov edx, eax
mov dword [esp + 0x28], edx
mov eax, dword [0x5f7d58]
inc edi
cmp edi, eax
jl 0x53eeb0
jmp 0x53ef1b
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 0x53ef6c
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 0x53ef90
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 [0x5f7d58]
xor edi, edi
test eax, eax
jle 0x53f012
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [edi*8 + 0x5f7bc8]
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 + 0x5f7bc8]
push 0x15
push 0
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x5f7d58]
inc edi
cmp edi, eax
jl 0x53efa1
mov eax, dword [0x5f7d58]
xor esi, esi
test eax, eax
jle 0x53f069
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5f14f0]
mov ebx, 0xba
lea ecx, [ecx]
test eax, eax
je 0x53f04d
cmp eax, dword [esp + 0x10]
jne 0x53f04d
cmp dword [esi*8 + 0x5f7bcc], ebx
jne 0x53f04d
mov ecx, dword [0x5f67b8]
test ecx, ecx
je 0x53f05e
mov ecx, dword [esi*8 + 0x5f7bc8]
push 8
push ecx
call edi
mov eax, dword [0x5f14f0]
mov ecx, dword [0x5f7d58]
inc esi
cmp esi, ecx
jl 0x53f030
mov eax, dword [esp + 0x10]
push eax
mov dword [0x5f7bc4], 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 [0x5f7bc4]
test eax, eax
lea ebp, [esi + 0x64]
je 0x53f0de
cmp eax, ecx
je 0x53f0de
xor ecx, ecx
cmp esi, ebp
mov dword [0x5f7d58], ecx
jge 0x53f0e4
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 [0x5f7d58]
mov dword [ecx*8 + 0x5f7bc8], eax
je 0x53f0e8
mov dword [ecx*8 + 0x5f7bcc], esi
inc ecx
inc esi
cmp esi, ebp
mov dword [0x5f7d58], ecx
jl 0x53f0b0
jmp 0x53f0e8
mov ecx, dword [0x5f7d58]
mov ebx, dword [esp + 0x10]
xor esi, esi
test ecx, ecx
jle 0x53f182
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 + 0x5f7bc8]
test eax, eax
je 0x53f17e
push 0
push eax
call ebp
mov ecx, dword [esi*8 + 0x5f7bc8]
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 [0x5f7d58]
inc esi
cmp esi, ecx
jl 0x53f104
mov ebx, dword [esp + 0x10]
xor ebp, ebp
test ecx, ecx
jle 0x53f244
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x53f1a0
mov edx, dword [ebp*8 + 0x5f7bc8]
test edx, edx
je 0x53f244
mov eax, dword [0x5f14f0]
test eax, eax
je 0x53f1e9
cmp eax, ebx
jne 0x53f1e9
mov eax, dword [ebp*8 + 0x5f7bcc]
cmp eax, 0x198
jg 0x53f1dd
je 0x53f23b
sub eax, 0x68
je 0x53f23b
sub eax, 0xb3
je 0x53f23b
sub eax, 0x3b
jmp 0x53f1e7
sub eax, 0x21a
je 0x53f23b
sub eax, 2
je 0x53f23b
push 0
push 0
push 0xc1
push edx
call edi
test eax, eax
jg 0x53f235
mov esi, dword [ebp*8 + 0x5f7bc8]
push 0x5f77c8
push 0x3e7
push 0xd
push esi
call edi
test eax, eax
jle 0x53f235
push 0x26
push 0x5f77c8
call fcn.005912e0
add esp, 8
test eax, eax
je 0x53f235
push 0x5f77c8
push 0
push 0xc
push esi
mov byte [eax], 1
call edi
mov ecx, dword [0x5f7d58]
inc ebp
cmp ebp, ecx
jl 0x53f1a0
push ebx
mov dword [0x5f7bc4], ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x50
ret 8