Function at 0x140003680
Capabilities:
Accept command line arguments
Create thread
Terminate process

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3a0
call fcn.140002df0
mov dword [rsp + 0x60], eax
call fcn.140004470
call fcn.1400047d0
test eax, eax
jne 0x1400036b5
jmp 0x1400036ef
lea rax, [rsp + 0x190]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x140009a00]
mov rcx, rax
call qword [0x140018070]
call fcn.140004c70
test eax, eax
jne 0x1400036ef
jmp 0x1400036c9
call fcn.140002c20
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x14000370d
mov dword [rsp + 0x38], 1
jmp 0x140003715
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
mov dword [0x140017020], eax
mov r8d, 0x206
lea rdx, [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [fcn.140002450]
call fcn.140005400
lea rcx, str.setAppCallback
call fcn.140002fc0
mov dword [rsp + 0x3c], 0
lea rcx, str.StartServiceDispatcher
call fcn.140002fc0
call fcn.140004040
test eax, eax
jne 0x1400039e7
lea rcx, str.Could_not_start_as_service._Starting_as_application
call fcn.140002fc0
call fcn.140004f40
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x4000
jae 0x14000389e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov edx, 0x20
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_strrchr
inc rax
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x48]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
cmp byte [rsp + 0x30], 0
jne 0x1400037de
lea rcx, [rsp + 0x80]
call fcn.140006b30
test eax, eax
jne 0x140003830
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, str.____integrity_level_too_low
call fcn.140002fc0
lea rcx, str._i__restart_with_high_IL
call fcn.140002fc0
lea rcx, str.TrustedInstaller
call fcn.140002280
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14000387e
lea rdx, [rsp + 0x190]
mov ecx, dword [rsp + 0x40]
call fcn.140005420
lea rcx, str._i__Wait..
call fcn.140002fc0
jmp 0x14000388a
lea rcx, str.StartTrustedInstallerService___Filed
call fcn.140002fc0
mov ecx, 0x1835
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
jmp 0x1400039f1
lea rcx, str.___integrity_level_is_sufficient
call fcn.140002fc0
lea rcx, str.Try_QueryService
call fcn.140002fc0
call fcn.140005160
mov dword [rsp + 0x34], eax
mov edx, dword [rsp + 0x34]
lea rcx, str.QueryService___d
call fcn.140002fc0
cmp dword [rsp + 0x34], 0
jle 0x140003952
lea rcx, str.service_already_exists..._stopping.._wait...
call fcn.140002fc0
cmp dword [rsp + 0x34], 4
jne 0x14000394b
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000394b
mov rdx, qword [rsp + 0x58]
mov rcx, qword [str.PandaAAV]
call fcn.1400040b0
test eax, eax
je 0x140003929
lea rcx, str.WinMain:_myservice_stopped
call fcn.140002fc0
jmp 0x140003935
lea rcx, str.WinMain:_Error_stop_myservice
call fcn.140002fc0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003952
lea rcx, str.WinMain:_service_not_exist
call fcn.140002fc0
call section..text
test eax, eax
jne 0x1400039d4
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [0x14000e3c8]
lea r8, [0x140006bf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.WinMain:_service_installed
call fcn.140002fc0
lea rcx, str.try_to_start_service
call fcn.140002fc0
call fcn.140002cb0
test eax, eax
jne 0x1400039bf
lea rcx, str.WinMain:_service_started
call fcn.140002fc0
jmp 0x1400039d2
lea rcx, str.WinMain:_Start_service_error._nWorking_as_App.
call fcn.140002fc0
xor ecx, ecx
call fcn.140002450
jmp 0x1400039e7
lea rcx, str.WinMain:_Install_serivce_error__nWorking_as_App.
call fcn.140002fc0
xor ecx, ecx
call fcn.140002450
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
add rsp, 0x3a0
pop rdi
ret