joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ab10
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rcx
mov qword [rsp + 0x48], rcx
mov r14, rdx
mov ebx, r8d
mov dword [rsp + 0x40], ebx
mov r15, r9
mov qword [r11 - 0x60], rbx
mov rcx, qword [rdx + 0x10]
sub rcx, qword [rdx]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jbe 0x14005ab8e
lea rdx, [r11 - 0x60]
mov rcx, r14
call fcn.14005c870
xor ecx, ecx
mov r13d, ecx
test ebx, ebx
je 0x14005ad4e
mov ebx, dword [rsp + 0xe0]
mov r12d, ebx
lea rdi, [r15 + 0x88]
lea rsi, [r15 + 0x90]
mov rax, qword [rdi + 0x18]
cmp r12, rax
ja 0x14005abd5
lea rax, [rdi + 8]
cmp qword [rax + 0x18], 7
jbe 0x14005abca
mov rax, qword [rax]
mov qword [rdi + 0x18], r12
mov word [rax + r12*2], cx
jmp 0x14005abe5
mov rdx, r12
sub rdx, rax
mov rcx, rdi
call fcn.14005bbb0
xor ecx, ecx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], ecx
mov r8, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14005abfa
mov r8, qword [rsi]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
mov edx, r13d
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14005ad50
mov edx, dword [rsp + 0x50]
mov rax, qword [rdi + 0x18]
cmp rdx, rax
ja 0x14005ac54
lea rax, [rdi + 8]
cmp qword [rax + 0x18], 7
jbe 0x14005ac48
mov rax, qword [rax]
mov qword [rdi + 0x18], rdx
xor ecx, ecx
mov word [rax + rdx*2], cx
jmp 0x14005ac5f
sub rdx, rax
mov rcx, rdi
call fcn.14005bbb0
lea rbx, [r15 + 0xa0]
cmp qword [r15 + 0xa8], 7
jbe 0x14005ac83
mov rcx, qword [r15 + 0x90]
mov rax, qword [rbx]
lea rdx, [rcx + rax*2]
mov rcx, qword [rsi]
jmp 0x14005ac91
mov rdx, qword [rbx]
add rdx, 0x48
lea rdx, [r15 + rdx*2]
mov rcx, rsi
xor r8d, r8d
sub rdx, rcx
sar rdx, 1
lea rdx, [rcx + rdx*2]
call fcn.140198da0
lea rdx, [r15 + 0x90]
mov r8, qword [rdx + 0x18]
cmp r8, 7
jbe 0x14005acb7
mov rdx, qword [rdx]
mov rcx, qword [rbx]
lea rdx, [rdx + rcx*2]
cmp rax, rdx
jne 0x14005ad34
mov ebp, dword [rsp + 0x54]
mov dword [rsp + 0x58], ebp
mov rbx, qword [r14 + 8]
cmp rbx, qword [r14 + 0x10]
je 0x14005ad1c
mov rdx, rsi
cmp r8, 7
jbe 0x14005ace1
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x14005ad00
mov rcx, rbx
call fcn.14002a920
mov dword [rbx + 0x20], ebp
add qword [r14 + 8], 0x28
jmp 0x14005ad2f
lea r9, [rsp + 0x58]
mov r8, r15
mov rdx, rbx
mov rcx, r14
call fcn.14005cc50
mov rbp, qword [rsp + 0x48]
inc r13d
cmp r13d, dword [rsp + 0x40]
mov ebx, dword [rsp + 0xe0]
mov ecx, 0
jb 0x14005abb3
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b210
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
mov rbx, rdx
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x200
xor esi, esi
call fcn.1401d80e0
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
mov r9d, 0x200
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
mov dword [rsp + 0x60], 0x200
lea edx, [rsi + 3]
call qword [sym.imp.ntdll.dll_NtQueryKey]
lea rcx, str.Cannot_query_kernel_mode_registry_key_path
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov ecx, eax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
call fcn.140059ec0
mov r8d, dword [rsp + 0x70]
lea rdx, [rsp + 0x74]
xorps xmm0, xmm0
shr r8, 1
movups xmmword [rdi], xmm0
mov rcx, rdi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
call fcn.14002a920
mov rax, rdi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14005b300
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [r11 - 0x48], xmm0
mov r8d, 0xb
lea rdx, [r11 - 0x48]
call fcn.14005e010
nop
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x280], 0
lea rcx, [rsp + 0x40]
call fcn.14005b4b0
nop
lea rcx, [rsp + 0x40]
call fcn.14003da50
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x2a0]
call fcn.14005b210
nop
xor esi, esi
mov qword [rsp + 0x288], rsi
lea rax, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 7
cmova rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x288]
call fcn.14005b0d0
nop
movzx ebx, byte [rdi + 0x240]
mov rcx, qword [rsp + 0x288]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
lea rcx, str.Cannot_delete_registry_key
mov qword [rsp + 0x20], rcx
cmp bl, 1
cmovne rdi, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.140059ec0
nop
mov rcx, qword [rsp + 0x288]
test rcx, rcx
je 0x14005b438
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rsp + 0x288], rsi
lea rcx, [rsp + 0x2a0]
call fcn.14002adf0
nop
mov rcx, qword [rsp + 0x290]
cmp byte [rsp + 0x298], 0
cmove rcx, rsi
mov qword [rsp + 0x290], rcx
test rcx, rcx
je 0x14005b482
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14005b482
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005b4b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r8d, 0xb
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14005e010
nop
movzx ebx, byte [rdi + 0x240]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea rcx, str.Cannot_delete_registry_key_tree
mov qword [rsp + 0x20], rcx
xor esi, esi
cmp bl, 1
cmovne rdi, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.140059ec0
nop
mov rcx, qword [rsp + 0x40]
cmp byte [rsp + 0x48], sil
cmove rcx, rsi
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14005b568
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14005b568
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14005b590
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov rdi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov r8d, 2
lea rdx, [r11 - 0x38]
call fcn.14005e010
nop
lea rax, str.Cannot_delete_registry_value
mov qword [rsp + 0x20], rax
xor esi, esi
mov eax, esi
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x28], rax
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
movups xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rdi]
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140059ec0
nop
mov rcx, qword [rsp + 0x60]
cmp byte [rsp + 0x68], sil
cmove rcx, rsi
mov qword [rsp + 0x60], rcx
test rcx, rcx
je 0x14005b64e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14005b64e
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005b670
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e8]
sub rsp, 0x2e8
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, qword [rbp + 0x230]
mov r14, qword [rbp + 0x238]
mov r15, qword [rbp + 0x240]
mov r12d, dword [rbp + 0x248]
xor r13d, r13d
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movsx rax, byte [rbx + 0x240]
add rax, 1
je 0x14005b84e
cmp rax, 1
je 0x14005b79d
mov rax, qword [rbx]
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x68]
call fcn.14003dde0
mov ecx, dword [rbx + 0x238]
mov eax, dword [rbx + 0x23c]
mov dword [rbp + 0x1cc], eax
or ecx, 6
mov dword [rbp + 0x1c8], ecx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.14005ad70
mov rdi, qword [rax]
mov qword [rbp - 0x80], rdi
mov qword [rax], r13
mov sil, 1
mov byte [rbp - 0x78], sil
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14005b75c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14005b75c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], r13
mov r8, qword [rbp + 0x1c0]
cmp r8, 7
jbe 0x14005b781
mov rdx, qword [rbp + 0x1a8]
lea rcx, [rbp + 0x1a0]
call fcn.14003df00
mov qword [rbp + 0x1b8], r13
mov qword [rbp + 0x1c0], 7
mov word [rbp + 0x1a8], r13w
jmp 0x14005b7ab
mov rdi, qword [rbx]
mov qword [rbp - 0x80], rdi
xor sil, sil
mov byte [rbp - 0x78], sil
lea rax, str.Cannot_write_key_value
mov qword [rsp + 0x38], rax
mov rax, r13
cmp byte [rbx + 0x240], 1
cmove rax, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
mov r9d, dword [rbp + 0x250]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14]
movaps xmmword [rsp + 0x70], xmm1
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140059ec0
nop
test sil, sil
cmove rdi, r13
test rdi, rdi
je 0x14005b82b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14005b82b
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14005d6d0
int3
Function at 0x140062880
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov rax, rdx
mov qword [r11 - 0x20], rdx
mov ecx, 0x10000
call fcn.14019b628
mov rdi, rax
mov qword [rsp + 0x60], rax
mov r8d, 0x8000
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
lea eax, [rcx - 1]
cmp eax, 0x7fff
ja 0x14006292f
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov r8d, ecx
mov rdx, rdi
mov rcx, rbx
call fcn.14002a920
nop
mov rcx, rdi
call fcn.14019af20
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
lea rax, str.Unable_to_retrieve_environment_variable__
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14004a820
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x38]
call fcn.14019cd80
int3
Function at 0x140062e30
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
xor ecx, ecx
mov rax, qword [rsp + 8]
mov qword [rax + 0x28], rcx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x40], rcx
mov qword [rax + 0x48], rcx
mov qword [rax + 0x50], rcx
mov qword [rax + 0x58], rcx
mov qword [rax + 0x60], rcx
mov qword [rax + 0x68], rcx
mov qword [rax + 0x70], rcx
mov qword [rax + 0x78], rcx
mov qword [rax + 0x80], rcx
mov qword [rax + 0x88], rcx
mov qword [rax + 0x90], rcx
mov qword [rax + 0x98], rcx
mov qword [rax + 0xa0], rcx
mov qword [rax + 0xa8], rcx
mov qword [rax + 0xb0], rcx
mov qword [rax + 0xb8], rcx
mov qword [rax + 0xc0], rcx
mov qword [rax + 0xc8], rcx
mov qword [rax + 0xd0], rcx
mov qword [rax + 0xd8], rcx
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], rcx
mov qword [rax + 0xf0], rcx
mov qword [rax + 0xf8], rcx
mov qword [rax + 0x100], rcx
mov qword [rax + 0x108], rcx
mov qword [rax + 0x110], rcx
mov qword [rax + 0x118], rcx
mov qword [rax + 0x120], rcx
mov qword [rax], rcx
mov dword [rax + 8], 0x6a09e667
mov dword [rax + 0xc], 0xbb67ae85
mov dword [rax + 0x10], 0x3c6ef372
mov dword [rax + 0x14], 0xa54ff53a
mov dword [rax + 0x18], 0x510e527f
mov dword [rax + 0x1c], 0x9b05688c
mov dword [rax + 0x20], 0x1f83d9ab
mov dword [rax + 0x24], 0x5be0cd19
ret
Function at 0x1400660b0
Capabilities:
Check for debugger via api

Disassembly:
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov rbx, rdx
movzx esi, r8b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x14006610a
cmp dword [rsp + 0x54], 0
je 0x14006610a
xor al, al
jmp 0x140066219
call fcn.140066340
cmp qword [rbx + 0x18], 7
jbe 0x140066119
mov rbx, qword [rbx]
movzx eax, al
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
mov r9, rbx
xor r8d, r8d
xor edx, edx
lea rcx, [0x140245448]
call qword [sym.imp.RPCRT4.dll_NdrClientCall3]
mov qword [rsp + 0x48], rax
test eax, eax
je 0x14006615d
cmp eax, 0xb7
je 0x14006615d
xor al, al
jmp 0x14006615f
mov al, 1
mov byte [rdi], al
test al, al
je 0x14006620c
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140242d28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140066205
cmp byte [rax], 0xeb
jne 0x14006619f
movsx rcx, byte [rax + 1]
add rbx, 2
add rbx, rcx
mov dword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
mov edx, 8
lea r8d, [rdx + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140066205
and qword [rbx], 0xffffffffff000000
mov rax, qword [rbx]
or rax, 0xc3c031
mov qword [rbx], rax
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov edx, 8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r8d, 8
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
jmp 0x14006620c
jmp 0x140066216
movzx eax, byte [rdi]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret

Function at 0x140066230
Capabilities:
Check for debugger via api

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
cmp byte [rbx], 0
je 0x140066294
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x140066294
cmp dword [rsp + 0x28], 0
je 0x140066294
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x60aa0003
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14019acb0
add rsp, 0x40
pop rbx
ret
Function at 0x1400696a0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x1b0
mov rbx, rdx
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x1400696c7
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400696da
test al, 0x10
jne 0x1400696da
mov cl, 1
jmp 0x1400696dc
xor cl, cl
mov rdi, qword [rsp + 0x1c0]
sub rdi, 0xffffffffffffff80
test cl, cl
jne 0x1400697e0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14006ba20
mov rdx, rax
mov rcx, rdi
call fcn.140024750
lea rcx, [rsp + 0x30]
call fcn.14002adf0
cmp qword [rdi + 0x18], 7
jbe 0x14006971c
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140069732
test al, 0x10
jne 0x140069732
mov al, 1
jmp 0x140069734
xor al, al
test al, al
jne 0x1400697fe
mov dword [rsp + 0x20], 0x35383744
mov dword [rsp + 0x24], 0x46353539
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x108
lea rcx, [rsp + 0x20]
call fcn.140026d50
lea r9, [rsp + 0x30]
mov r8d, 5
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140025780
nop
lea rdx, str.Process_dumper_doesnt_exist_in_path_
lea rcx, [rsp + 0x50]
call fcn.140028820
mov rdx, rbx
mov rcx, rax
call fcn.14002a020
lea rdx, [0x140243560]
mov rcx, rax
call fcn.140028820
nop
lea rcx, [rsp + 0x50]
call fcn.140028440
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
cmp rdi, rbx
je 0x1400697fe
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x1400697f3
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rdi
call fcn.14002a5c0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x14006c630
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov dword [r11 + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
xor ebp, ebp
mov eax, dword [r11 + 0x10]
mov dword [rcx + 0x1c], eax
mov eax, r8d
mov dword [rcx + 0x18], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsRunningInsideAvastService
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
setne al
mov byte [rsi + 0x70], al
cmp dword [rsi + 0x28], ebp
jne 0x14006c7be
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14006c7a9
mov eax, dword [rdx + 8]
test eax, eax
je 0x14006c7a9
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14006c6d4
test eax, eax
je 0x14006c7a9
jmp 0x14006c6c0
mov rdi, qword [rsi]
mov qword [rsp + 0x40], rdi
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x48], rbx
mov ecx, 0x18
call fcn.14019af70
mov qword [rax], rdi
mov qword [rax + 8], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rcx, [0x14006c870]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14000d050]
xor edx, edx
xor ecx, ecx
call fcn.1401af428
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14006c7af
cmp dword [rsi + 0x28], 0
jne 0x14006c7a3
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x20], xmm1
mov ecx, 0x20
call fcn.14019af70
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 8], rbp
lea rcx, [0x1402447d8]
mov qword [rax], rcx
mov dword [rax + 0x10], 0x497c9
mov qword [rax + 0x18], rsi
mov rcx, rax
call fcn.140057110
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14019acb0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
call fcn.1401a9d48
nop
call fcn.14004d5d0
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.1401971d8
nop
lea r8, str.Already_running
mov edx, 0x10dd
lea rcx, [rsp + 0x50]
call fcn.14002d030
lea rdx, [0x1402b9f88]
lea rcx, [rsp + 0x50]
call fcn.14019cd80
int3
Function at 0x140071710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
add rcx, 0x10
add rsp, 0x28
jmp fcn.1400696a0
Function at 0x140072300
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rbx, qword [rbp + 0x110]
xor esi, esi
lea rcx, [rbx + 0x10]
call fcn.140069810
movzx edi, al
test al, al
je 0x14007246c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140051eb0
nop
lea r9d, [rsi + 0x16]
lea r8, str.CrashHandlerInstalled_
xor edx, edx
mov rcx, rax
call fcn.140022d20
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rsp + 0x48]
call fcn.14002adf0
nop
lea rcx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 7
cmova rcx, qword [rbp + 0xd0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x20], 0x35344333
mov dword [rsp + 0x24], 0x46383939
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x86
lea rcx, [rsp + 0x20]
call fcn.140026d50
lea r9, [rsp + 0x30]
lea r8d, [rsi + 2]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140025780
nop
lea rdx, str.CrashGuard_uninstalled_successfully
lea rcx, [rsp + 0x70]
call fcn.140028820
nop
lea rcx, [rsp + 0x70]
call fcn.140028440
nop
lea rcx, [rbp + 0xd0]
call fcn.14002adf0
jmp 0x1400724e5
mov dword [rsp + 0x20], 0x35344333
mov dword [rsp + 0x24], 0x46383939
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 0x8a
lea rcx, [rsp + 0x20]
call fcn.140026d50
lea r9, [rsp + 0x30]
mov r8d, 7
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140025780
nop
lea rdx, str.CrashGuard_uninstallation_failed.
lea rcx, [rsp + 0x70]
call fcn.140028820
nop
lea rcx, [rsp + 0x70]
call fcn.140028440
movzx eax, dil
mov dword [rbx + 8], esi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140072540
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
movsxd r9, dword [rsp + 0x48]
lea r8, [0x14006fa60]
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret