Function at 0x140003020
Capabilities:
Encode data using xor
Enumerate process modules
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1240]
mov eax, 0x1340
call fcn.1400073e0
sub rsp, rax
movaps xmmword [rsp + 0x1330], xmm6
movaps xmmword [rsp + 0x1320], xmm7
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x1210], rax
xor r12d, r12d
lea rdx, [0x140008900]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005220
lea edx, [r12 + 0x67]
lea rcx, [rbp - 0x70]
call fcn.140002f20
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov rdi, qword [rbp - 0x60]
lea r14, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r14, qword [rbp - 0x70]
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x14000384f
lea eax, [r12 + 0x16]
movabs r15, 0x8000000000000000
mov qword [rsp + 0x38], 0xf
cmp rdi, 0xf
ja 0x140003103
mov qword [rsp + 0x30], rdi
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x140003188
mov rbx, rdi
or rbx, 0xf
cmp rbx, rsi
jbe 0x140003138
mov rbx, rsi
lea rax, [r15 + 0x27]
mov rcx, rax
call fcn.1400065b0
mov rcx, rax
test rax, rax
je 0x14000326f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000316a
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14000315b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003843
jmp 0x140003116
test rcx, rcx
je 0x140003167
call fcn.1400065b0
jmp 0x14000316a
mov rax, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbx
lea r8, [rdi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x20]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140004680
xor r8d, r8d
cmp qword [rsp + 0x30], r8
jbe 0x1400031ed
xor edx, edx
nop dword [rax]
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rax, qword [rsp + 0x20]
movzx ecx, byte [rax + rdx]
xor cl, 0x4b
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov byte [rax + rdx], cl
inc r8d
lea rdx, [rdx + 1]
movsxd rax, r8d
cmp rax, qword [rsp + 0x30]
jb 0x1400031b0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140003226
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003221
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000326f
call fcn.140006834
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000327b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003276
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003276
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006834
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x60], xmm1
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1000]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1000]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140003855
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0x1000]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400032e0
lea rdx, [rbp + 0x1000]
lea rcx, [rsp + 0x40]
call fcn.140001ab0
nop
mov r8d, 0x12
lea rdx, str.AtomicHeartDLC.dll
lea rcx, [rsp + 0x40]
call fcn.140004c30
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x28], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm6
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140003375
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003370
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003370
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006834
movdqa xmm0, xmmword [0x140008b10]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
lea rdi, [rbp - 0x28]
movq r12, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0xf
cmova rdi, r12
movq rbx, xmm6
cmp rbx, rsi
ja 0x140003871
cmp rbx, 0xf
ja 0x1400033ed
mov qword [rbp - 0x80], rbx
mov eax, 0xf
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm0
jmp 0x140003488
mov qword [rbp - 0x78], 0xf
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x140003423
lea rax, [r15 + 0x27]
mov rcx, rax
call fcn.1400065b0
mov rcx, rax
test rax, rax
je 0x14000344f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003464
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov rsi, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x140003456
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003849
jmp 0x140003405
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003462
call fcn.1400065b0
jmp 0x140003464
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea r8, [rbx + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x80]
lea rdx, [rsp + 0x70]
cmp rax, 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, rbx
call fcn.140004aa0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140002d30
test al, al
jne 0x1400034e2
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400028c0
test al, al
je 0x140003814
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
cmp r8, qword [rbp - 0x60]
jne 0x140003511
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003523
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400028c0
test al, al
je 0x14000353c
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
call fcn.140004aa0
lea r8, [rsp + 0x68]
mov edx, 0x1000
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000367f
nop dword [rax + rax]
mov r15d, dword [rsp + 0x68]
shr r15d, 2
xor esi, esi
test r15d, r15d
je 0x140003658
lea rdi, [rbp]
nop dword [rax + rax]
mov r14d, dword [rdi]
test r14d, r14d
je 0x140003649
movups xmm0, xmmword [str._unknown_]
movaps xmmword [rbp + 0x1000], xmm0
mov eax, dword [0x140008888]
mov dword [rbp + 0x1010], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp + 0x1014]
call sub.VCRUNTIME140.dll_memset
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140003609
lea r9, [rbp - 0x30]
mov r8d, 8
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140003609
mov r9d, 0x104
lea r8, [rbp + 0x1000]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
lea rdx, str.AtomicHeart
lea rcx, [rbp + 0x1000]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140003640
lea rdx, str.Shipping
lea rcx, [rbp + 0x1000]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140003640
test rbx, rbx
jne 0x1400036b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add rdi, 4
cmp esi, r15d
jb 0x140003580
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [rsp + 0x68]
mov edx, 0x1000
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
jne 0x140003560
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400036f3
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8d, r14d
lea rdx, [rbp + 0x1000]
lea rcx, str._s___PID:__u__n
call fcn.140001030
lea rcx, [0x14000d0d8]
call fcn.140004610
mov rdx, rax
mov ecx, r14d
call fcn.140001bb0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.140006834
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140003746
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003741
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003741
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006834
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
cmp r13, 0xf
jbe 0x140003797
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000378e
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000378e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140006834
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400037d5
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006834
mov eax, 1
mov rcx, qword [rbp + 0x1210]
xor rcx, rsp
call fcn.140006590
lea r11, [rsp + 0x1340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400053d0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001250
lea rdx, [0x14000a808]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001190
nop
call fcn.140001190
nop
call fcn.140001230
int3
lea rcx, [rsp + 0x20]
call fcn.1400012c0
lea rdx, [0x14000a808]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140001230
int3