Function at 0x451400
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b624e
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x61f138]
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
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
mov ecx, dword [ebx + 0x10]
call fcn.00450e00
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], edx
call fcn.00436b10
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x68], ecx
add ebx, 0x20
mov dword [ebp - 0x60], edx
mov eax, ecx
xor esi, esi
bts esi, eax
xor edi, edi
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
mov ecx, esi
cmovae edi, esi
and ecx, dword [ebp - 0x6c]
mov eax, edi
and eax, dword [ebp - 0x70]
or ecx, eax
je 0x4517cc
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov eax, dword [eax + 0x10]
add eax, 0x10
add eax, edx
xchg dword [eax], ecx
test ecx, ecx
je 0x4514a5
mov eax, dword [ebp - 0x80]
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebx], ecx
mov dword [ebx - 4], eax
jmp 0x4517cc
lea eax, [ebx - 8]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x90]
call fcn.00449dc0
add esp, 4
push 0
push 0xf4240
push dword [eax + 4]
push dword [eax]
call fcn.005b3f40
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
test edx, edx
jl 0x4517cc
jg 0x4514ec
cmp eax, 0x7530
jbe 0x4517cc
mov eax, dword [ebx]
test eax, eax
je 0x4517cc
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x45151e
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
add ecx, 0x18
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [eax + 0x10]
add edx, ecx
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x64], ecx
jmp 0x451550
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x451550
sub eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.00445cb0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax + 0x14]
mov dword [ebp - 0x74], eax
call fcn.00453020
sub esp, 8
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x140]
call fcn.00443510
mov edx, str.RUN_APP
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call fcn.00449a40
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x140]
call fcn.004433d0
push 0xbf
mov edx, str.apprestarter.cpp
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004c2da0
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x45160a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451600
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45180b
push edx
push ecx
call fcn.0056eec5
add esp, 8
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0
call fcn.0043aef0
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.00453300
mov byte [ebp - 0x78], al
test al, al
je 0x45163d
mov eax, dword [ebp - 0x5c]
not edi
push ecx
push edi
not esi
mov ecx, dword [eax + 0x10]
push esi
call fcn.00450e40
sub esp, 8
lea ecx, [ebp - 0x1f0]
call fcn.00442390
mov eax, dword [ebp - 0x5c]
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
cmovae esi, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45166b
call fcn.00450e90
jmp 0x45166d
xor eax, eax
push dword [ebp - 0x84]
mov edx, str.Restart_app_
push dword [ebp - 0x88]
push dword [ebx]
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x1e0]
call fcn.0044a500
add esp, 4
mov ecx, eax
call fcn.00451f00
push ecx
mov edx, 0x5eca30
mov ecx, eax
call fcn.0044a500
add esp, 4
mov ecx, eax
call fcn.00442ba0
mov edx, 0x5eca30
mov ecx, eax
call fcn.0044a500
mov edx, esi
mov ecx, eax
call fcn.0044a500
push ecx
mov edx, str.____sessid:
mov ecx, eax
call fcn.0044a500
add esp, 4
mov ecx, eax
call fcn.00442ba0
push ecx
mov edx, str.__pid:
mov ecx, eax
call fcn.0044a500
add esp, 4
mov ecx, eax
call fcn.00442ba0
mov edx, str.__timeout:
mov ecx, eax
call fcn.0044a500
mov ecx, eax
call fcn.00451d60
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.004466f0
push 0xc6
mov edx, str.apprestarter.cpp
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004c37b0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x451770
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45180b
push edx
push ecx
call fcn.0056eec5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0043ae30
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4517cc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4517c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45180b
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov eax, dword [ebp - 0x60]
add ebx, 0x10
mov ecx, dword [ebp - 0x68]
add eax, 0x2008
inc ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], ecx
cmp eax, 0x80200
jae 0x4517ef
mov edx, eax
jmp 0x451456
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.0056eeb4
mov esp, ebp
pop ebp
ret
call fcn.00591dc6
int3