Function at 0x4065f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb78c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x64fb4a], 0
jne 0x40662e
mov eax, 1
jmp 0x406b68
xor eax, eax
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push eax
push str.YQSDRWnd
push eax
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push eax
call esi
mov edi, eax
test edi, edi
je 0x406754
mov ebx, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
nop
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push edi
call ebx
cmp dword [ebp - 0x14], 0
jbe 0x406728
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00411240
mov byte [ebp - 4], 2
push dword [ebp - 0x14]
push edi
push str.App_wnd__0x_x__pid___d_
push dword [eax]
call fcn.00411420
add esp, 0x10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x4066fd
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4066fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4066fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x406716
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406fa0
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push 0
push 0x4402
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push str.YQSDRWnd
push edi
push 0
call esi
mov edi, eax
test edi, edi
jne 0x406670
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
nop dword [eax]
push 0
push str.YQSDRWnd
push 0
push 0
call esi
test eax, eax
je 0x406816
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00411240
mov byte [ebp - 4], 5
push str.Wait_app_exit
push dword [eax]
call fcn.00411550
add esp, 8
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x4067e6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4067e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4067e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x4067ff
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
push 0x3e8
call ebx
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
inc edi
cmp edi, 5
jl 0x406760
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov esi, eax
cmp eax, dword [ebp - 0x1c]
je 0x4069c7
nop
mov edi, dword [esi]
mov ebx, 2
mov dword [ebp - 0x14], edi
nop word [eax + eax]
mov ecx, edi
dec ebx
call fcn.00419b30
test eax, eax
je 0x4068f2
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x50]
call fcn.00411240
push edi
mov byte [ebp - 4], 8
push str.App_pid_runing___d_
push dword [eax]
call fcn.00411420
add esp, 0xc
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x4068c2
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4068c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4068c2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x4068db
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x14]
test ebx, ebx
jg 0x406840
dec ebx
test ebx, ebx
jg 0x4069af
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.00411240
push edi
mov byte [ebp - 4], 0xb
push str.Kill___d_
push dword [eax]
call fcn.00411420
add esp, 0xc
mov byte [ebp - 4], 0xc
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x40696c
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x40696c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40696c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x406985
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
mov edi, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
push 0
push 0x1fffff
call ebx
test eax, eax
jne 0x4069a6
push edi
push eax
push 1
call ebx
test eax, eax
je 0x4069af
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add esi, 4
cmp esi, dword [ebp - 0x1c]
jne 0x406830
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [0x64fb50], 0
je 0x406a8b
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x60]
call fcn.00411240
mov byte [ebp - 4], 0xe
push dword [0x64fb50]
push str.Kill_parent___d_
push dword [eax]
call fcn.00411420
add esp, 0xc
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x406a4b
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x406a4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x406a4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x406a64
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
mov esi, dword [0x64fb50]
push esi
push 0
push 0x1fffff
call edi
test eax, eax
jne 0x406a82
push esi
push eax
push 1
call edi
test eax, eax
je 0x406a8b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
call ebx
push 0
push str.YQSDRWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x406b4b
push 4
xor eax, eax
mov dword [ebp - 0x24], 7
push str.main
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.004088c0
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x68]
call fcn.00411240
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x3c]
inc ecx
push ecx
push str.Wait_app_not_exit__retry___d_
push dword [eax]
mov dword [ebp - 0x3c], ecx
call fcn.00411550
add esp, 0xc
mov byte [ebp - 4], 0x12
mov esi, dword [ebp - 0x64]
test esi, esi
je 0x406b24
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x406b24
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x406b24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x406b3d
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00408aa0
cmp dword [ebp - 0x3c], 3
jl 0x406821
xor esi, esi
jmp 0x406b50
mov esi, 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x406b66
mov ecx, dword [ebp - 0x44]
sub ecx, eax
sar ecx, 2
push ecx
push eax
call fcn.00407630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret