Function at 0x509ca0
Capabilities:
Check mutex on windows
Create process on windows
Schedule task via at

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
mov esi, dword [ebp + 0x10]
push edi
push str._retake
push esi
mov dword [ebp - 0x14], 0
call fcn.00526d32
mov edi, eax
add esp, 8
test edi, edi
je 0x509d71
push 0x64
push 0x5de770
push 0x66
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
push 0x5de770
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x509d67
lea ecx, [edi + 0x10]
push ecx
lea ecx, [ebp + 8]
call fcn.0045a3a0
push 0x57a900
push 0x57b8b4
lea ecx, [ebp + 8]
call fcn.004601f0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0xe5
cmp dword [eax - 4], 1
jle 0x509d2b
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0045ac30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x509d67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0045adc0
mov ecx, eax
test ecx, ecx
je 0x50a168
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00509560
mov edi, dword [ebp - 4]
push edi
push str.TBNotifier.exe_version__s_built:__Apr__4_2018__06:28:38
push 2
call fcn.00509890
add esp, 0x10
push dword [0x5d67c0]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x50a115
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x50a10c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x50a10c
push str._skipDebug
push esi
call fcn.00526d32
add esp, 8
test eax, eax
jne 0x509f78
lea eax, [ebp + 0x10]
push eax
push str.Exit
push str.SoftwareAPNUDebug
push reloc.WS2_32.dll_accept
call fcn.005033e0
add esp, 0x10
test eax, eax
je 0x509f78
cmp dword [ebp + 0x10], 1
jne 0x509f78
push 0x40043
push str.TBNotifier_Alert
push str.Terminating_TBNotifier_due_to_APNUDebug_Exit1__n_n_n_t_tReset_Exit_flag__n_n_t_tCancel_to_continue_TBNotifier
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x509e66
push ebx
push str.Exit
push str.SoftwareAPNUDebug
push reloc.WS2_32.dll_accept
call fcn.004ff980
add esp, 0x10
jmp 0x50a143
cmp eax, 7
jne 0x509f78
lea ecx, [ebp + 8]
call fcn.0045a530
lea eax, [ebp + 8]
push eax
push str.CmdLine
push str.SoftwareAPNUDebug
push reloc.WS2_32.dll_accept
call fcn.00511e70
add esp, 0x10
test eax, eax
je 0x509f69
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x509f69
push eax
lea eax, [ebp + 0x10]
push str.Launch__s_
push eax
call fcn.004cc7d0
add esp, 0xc
push 0x40044
push str.TBNotifier_Alert
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
lea ecx, [ebp + 0x10]
sete bl
call fcn.0048ceb0
test bl, bl
je 0x509f69
push str.__skipDebug
lea ecx, [ebp + 8]
call fcn.0047f960
push 0x40
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], 0x44
push 0
push eax
call fcn.00525ee0
mov esi, dword [ebp + 8]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x509f1d
push dword [esi - 0xc]
lea ecx, [ebp + 8]
call fcn.0045ac30
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x509f69
push esi
lea eax, [ebp + 0x10]
push str.Failed_to_Launched:___s
push eax
call fcn.004cc7d0
add esp, 0xc
push 0
push str.TBNotifier_Alert
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp + 0x10]
call fcn.0048ceb0
lea ecx, [ebp + 8]
call fcn.0048ceb0
xor ebx, ebx
jmp 0x50a143
call fcn.004dcf10
mov dword [ebp - 8], eax
test eax, eax
je 0x509fa1
push esi
lea ecx, [ebp + 0x10]
call fcn.0045a3a0
mov ecx, dword [ebp - 8]
lea eax, [ebp + 0x10]
push eax
call fcn.004dd2f0
lea ecx, [ebp + 0x10]
call fcn.0048ceb0
push str._RegServer
push esi
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50a10c
push str._uninstall
push esi
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50a10c
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x5de6a8
push 0x65
push dword [ebp + 8]
call esi
mov eax, dword [ebp + 8]
push 0x64
push 0x5de770
push 0x66
push eax
call esi
mov esi, dword [ebp + 8]
push esi
call fcn.00509920
push dword [ebp + 0x14]
push esi
call fcn.005096f0
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x50a013
xor ebx, ebx
jmp 0x50a143
mov esi, dword [ebp - 8]
test esi, esi
je 0x50a0a5
push str._noall
lea ecx, [ebp - 0xc]
call fcn.0045a3a0
mov eax, 1
mov ecx, esi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004dd0b0
test eax, eax
je 0x50a06a
push str._test
lea ecx, [ebp - 8]
call fcn.0045a3a0
mov eax, 3
mov ecx, esi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
call fcn.004dd0b0
mov byte [ebp + 0x13], 1
test eax, eax
jne 0x50a06d
mov byte [ebp + 0x13], bl
mov eax, dword [ebp + 0x14]
test al, 2
je 0x50a085
and eax, 0xfffffffd
lea ecx, [ebp - 8]
mov dword [ebp + 0x14], eax
call fcn.0048ceb0
mov eax, dword [ebp + 0x14]
test al, 1
je 0x50a091
lea ecx, [ebp - 0xc]
call fcn.0048ceb0
cmp byte [ebp + 0x13], bl
je 0x50a0a5
push 0
push 0
push 0x10
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp + 8], eax
lea eax, [ebp - 0x30]
push 0
push eax
call esi
test eax, eax
je 0x50a10c
mov edi, dword [ebp + 8]
lea ecx, [ecx]
lea eax, [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x30]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x50a0f6
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push 0
push 0
push 0
push eax
call esi
test eax, eax
jne 0x50a0d0
mov edi, dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5de970
call fcn.0051cfc0
mov ecx, 0x5de970
call fcn.0051c340
mov ecx, 0x5de840
call fcn.00518500
mov ecx, 0x5de840
call fcn.00513da0
call dword [sym.imp.ole32.dll_CoUninitialize]
add edi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50a15d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0045a8f0
int3