joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060860
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140324b58]
lea rdx, [rsp + 0x40]
and qword [rsp + 0x40], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov rdx, 0xffffffff80000001
mov dword [rsp + 0x20], 0xf003f
mov rax, qword [rcx]
mov rax, qword [rax + 0x108]
call qword [case.0x14008cbac.0]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140060914
mov rcx, qword [0x140324b58]
lea r8, [0x140285210]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x478]
call qword [case.0x14008cbac.0]
mov rcx, qword [0x140324b58]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
mov rdx, qword [rcx]
cmovle ebx, eax
mov rax, qword [rdx + 0x100]
mov rdx, qword [rsp + 0x40]
call qword [case.0x14008cbac.0]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [0x1402d8640]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.140063034
mov ebx, eax
test eax, eax
js 0x14006c04d
mov rcx, qword [0x140324b58]
mov rax, qword [rcx]
mov r10, qword [rax + 0xd0]
mov eax, dword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
lea r9, [0x140285210]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rdx, 0xffffffff80000001
mov rax, r10
call qword [case.0x14008cbac.0]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000a1f8
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
test cl, cl
jne 0x14006bfa0
jmp 0x140060860
mov cl, dl
jmp 0x14006ddf0

Function at 0x1400611c4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400611f2
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140061237
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbx + 0x18], 8
jb 0x140061216
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140061237
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
mov rcx, rdx
jmp 0x1400611c4
Function at 0x1400642b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
lea r14d, [rsi + 1]
mov dword [rsp + 0x40], r14d
mov edi, esi
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor r9d, r9d
lea r8d, [rsi + 0x55]
lea rdx, [rbp + 0x30]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
jne 0x14006433e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140017950
test edi, edi
jns 0x14006445c
mov edi, 0xaa
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400b7f70
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
xor r8d, r8d
lea rdx, [0x1402d8600]
lea rcx, [rsp + 0x58]
call fcn.14000b890
nop
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x38], edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.UserLanguage
lea rcx, str.SoftwareMicrosoftOneDrive
call sub.SHLWAPI.dll_SHRegGetUSValueW
test eax, eax
jne 0x140064436
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.140017950
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140064436
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
cmp rcx, 2
jne 0x140064428
lea rdx, [0x14028574c]
test rcx, rcx
je 0x140064417
sub r8, rdx
movzx eax, word [r8 + rdx]
cmp ax, word [rdx]
jne 0x140064428
add rdx, 2
sub rcx, r14
jne 0x140064404
lea rdx, str.en_US
lea rcx, [rsp + 0x58]
call fcn.140017950
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140017884
nop
lea rcx, [rsp + 0x58]
call fcn.14000a1f8
jmp 0x14006445c
mov qword [rsp + 0x20], r14
lea r9, [0x140280194]
mov r8, r14
mov rdx, rax
mov rcx, rbx
call fcn.14002b000
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140064469
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r14
lea r9, [0x14027f088]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.140021c14
cmp rax, 0xffffffffffffffff
jne 0x140064442
mov rax, rbx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400646dc
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rax, qword [rcx]
cmp rax, qword [rcx + 8]
je 0x140064712
mov qword [rcx + 8], rax
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x30], r14
movdqa xmm0, xmmword [0x1402d8640]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
lea rcx, [rbp - 0x30]
call fcn.1400645e8
mov edi, eax
test eax, eax
js 0x140064861
mov dword [rsp + 0x20], 0xf0000040
lea r9d, [r14 + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x140064791
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x14006483a
mov edx, 4
mov dword [rbp - 0x48], edx
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x4c]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14006483a
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8d, dword [rbp - 0x20]
add r8d, r8d
xor r9d, r9d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne sil
test eax, eax
je 0x140064833
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0x48], eax
mov edx, eax
lea r8, [rbp - 0x50]
mov rcx, rbx
call fcn.14002ce98
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x48]
mov r8, qword [rbx]
mov edx, 2
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne sil
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test sil, sil
jne 0x140064861
jmp 0x140064854
mov dword [rbp - 0x4c], r14d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x140064861
mov qword [rbx + 8], rax
mov eax, 0x80004005
mov rcx, qword [rbx + 8]
cmp qword [rbx], rcx
cmove edi, eax
lea rcx, [rbp - 0x30]
call fcn.14000a1f8
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, rdx
jmp 0x1400646dc
Function at 0x140064d64
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140064d97
mov rax, qword [rcx]
lea rsi, [rcx + 0x10]
xor r14d, r14d
mov qword [rsi], r14
mov word [rax], r14w
mov dword [rbp - 0x2c], r14d
lea r8, [rbp - 0x2c]
xor edx, edx
lea ecx, [rdx + 8]
call sub.Secur32.dll_GetUserNameExW
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x140064e6c
xorps xmm0, xmm0
mov edx, eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x28]
call fcn.14005e158
nop
lea r8, [rbp - 0x2c]
mov rdx, qword [rbp - 0x28]
lea ecx, [r14 + 8]
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x140064e30
mov edx, dword [rbp - 0x2c]
cmp rdx, qword [rdi + 0x18]
ja 0x140064e1f
cmp qword [rdi + 0x18], 8
jb 0x140064e02
mov rdi, qword [rdi]
mov qword [rsi], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.1400b78c0
mov word [rbx + rdi], r14w
jmp 0x140064e30
mov r9, qword [rbp - 0x28]
mov r8b, byte [rbp - 0x30]
mov rcx, rdi
call fcn.14000c018
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140064e6c
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064e67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140064e93
call fcn.1400b4f0c
cmp qword [rsi], r14
setne al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400c9a68
int3
mov rcx, rdx
jmp 0x140064d64

Function at 0x1400650cc
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140068ee0
mov cl, al
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400650ec
mov rcx, rdx
jmp 0x1400650cc

Function at 0x1400650ec
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rdx
mov bpl, cl
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
xor edi, edi
call fcn.1400b7f70
mov al, bpl
lea rdx, [rsp + 0x20]
neg al
sbb r8d, r8d
xor r9d, r9d
and r8d, 0xa
xor ecx, ecx
add r8d, 0x1c
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, [0x1402d8600]
mov rcx, rsi
mov ebx, eax
call fcn.140017950
test ebx, ebx
jne 0x140065163
mov edi, 0x80004005
jmp 0x1400651b0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140017950
mov r8d, 1
lea rdx, [0x14027f410]
mov rcx, rsi
call fcn.14000a25c
test bpl, bpl
lea rax, [0x140284128]
lea rdx, str.MicrosoftOneDrive
cmovne rdx, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14006519e
mov rcx, rsi
call fcn.14000a25c
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x140065458
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov rbp, r9
mov word [rdx], r15w
lea r9, [rsp + 0x20]
mov rsi, r8
mov qword [rsp + 0x20], r15
mov rdi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [0x14028c588]
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
js 0x14006550e
mov r8, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi]
call fcn.14006d58c
mov ebx, eax
test eax, eax
js 0x140065503
mov rdx, qword [rsi]
lea r8, [0x140284220]
xor r9d, r9d
mov rcx, rdi
call fcn.14006a44c
mov ebx, eax
test eax, eax
js 0x140065503
mov rdx, qword [rsi]
xor r9d, r9d
mov r8, r14
mov rcx, rdi
call fcn.14006a44c
mov ebx, eax
test eax, eax
js 0x140065503
mov rdx, qword [rsi]
xor r9d, r9d
mov r8, rbp
mov rcx, rdi
call fcn.14006a44c
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, r9
mov r10, r8
mov r9, qword [rsp + 0x28]
mov rcx, rdx
mov r8, rax
mov rdx, r10
jmp 0x140065458

Function at 0x14006552c
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.1400b7f70
xor r9d, r9d
lea r8d, [rsi + 0x1c]
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x140065688
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x50]
call fcn.1400b7f70
lea edx, [rsi + 1]
lea rcx, [rsp + 0x50]
call fcn.140022350
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140021310
mov rcx, rax
lea rdx, [0x140284220]
call fcn.140021310
mov rcx, rax
lea rdx, [0x14027f410]
call fcn.140021310
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140065606
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.14002fec8
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.14000a0dc
mov dword [rsp + 0x20], 3
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14006565e
mov rcx, rbx
call fcn.14000a1f8
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1402d8640]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x28]
call fcn.14000a1f8
nop
lea rcx, [rbp - 0x18]
call fcn.14002287c
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
call fcn.140090a4c
nop
mov rax, rbx
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x370
pop rdi
pop rsi
pop rbp
ret
Function at 0x140066b2c
Capabilities:
Decode data using base64 via winapi
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14b, cl
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [0x1402d8640]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
call fcn.14007635c
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2e0]
lea rdx, [rsp + 0x48]
mov rcx, r8
call qword [case.0x14008cbac.0]
lea edi, [r15 + 0x64]
test eax, eax
js 0x140066ce5
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebx, eax
test eax, eax
setne sil
xorps xmm0, xmm0
mov edx, dword [rsp + 0x40]
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x60]
call fcn.14005e158
nop
test ebx, ebx
je 0x140066c37
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x60]
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
setne sil
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400b7f70
test sil, sil
je 0x140066ca2
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
mov r8d, 1
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140066ca2
call fcn.14007635c
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x140]
mov r8b, r14b
mov dl, byte [rbp - 0x60]
mov rcx, r9
call qword [case.0x14008cbac.0]
mov edi, eax
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x140066ce5
mov rcx, qword [rsp + 0x70]
sub rcx, r8
sar rcx, 1
lea rdx, [rcx + rcx]
mov rax, r8
cmp rdx, 0x1000
jb 0x140066cdc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d59
mov rcx, r8
call fcn.1400b4f0c
nop
lea rcx, [rsp + 0x78]
call fcn.14000a1f8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140066d28
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066d53
call fcn.1400b4f0c
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400c9a68
nop
call fcn.1400c9a68
nop
int3
mov cl, dl
jmp 0x140066b2c
Function at 0x14006b880
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rcx + 0x18], 8
mov r8, rcx
jb 0x14006b88d
mov r8, qword [rcx]
mov r9, qword [rcx + 0x10]
mov edx, 0
mov ecx, 0x811c9dc5
add r9, r9
je 0x14006b8b5
movzx eax, byte [r8 + rdx]
inc rdx
xor eax, ecx
imul ecx, eax, 0x1000193
cmp rdx, r9
jb 0x14006b8a0
mov eax, ecx
ret

Function at 0x14006bfa0
Capabilities:
Persist via run registry key

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140324b58]
lea rdx, [rsp + 0x40]
and qword [rsp + 0x40], 0
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x28], rdx
xor r9d, r9d
mov rdx, 0xffffffff80000001
mov dword [rsp + 0x20], 0xf003f
mov rax, qword [rcx]
mov rax, qword [rax + 0x108]
call qword [case.0x14008cbac.0]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140060914
mov rcx, qword [0x140324b58]
lea r8, [0x140285210]
mov rdx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x478]
call qword [case.0x14008cbac.0]
mov rcx, qword [0x140324b58]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
mov rdx, qword [rcx]
cmovle ebx, eax
mov rax, qword [rdx + 0x100]
mov rdx, qword [rsp + 0x40]
call qword [case.0x14008cbac.0]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b4b90
add rsp, 0x50
pop rbx
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [0x1402d8640]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call fcn.140063034
mov ebx, eax
test eax, eax
js 0x14006c04d
mov rcx, qword [0x140324b58]
mov rax, qword [rcx]
mov r10, qword [rax + 0xd0]
mov eax, dword [rsp + 0x50]
lea eax, [rax*2 + 2]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
lea r9, [0x140285210]
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rdx, 0xffffffff80000001
mov rax, r10
call qword [case.0x14008cbac.0]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
lea rcx, [rsp + 0x40]
call fcn.14000a1f8
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400b4b90
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
test cl, cl
jne 0x14006bfa0
jmp 0x140060860
mov cl, dl
jmp 0x14006ddf0
Function at 0x140073610
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x140324cc0]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r14, r8
mov esi, edx
mov rbx, rcx
lea rdx, [0x1402d8600]
mov rcx, r8
call fcn.140017950
mov edi, 0x80004004
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
mov rbx, rcx
jmp 0x140073677
cmp dword [rax + 0x20], esi
jge 0x140073671
mov rax, qword [rax + 0x10]
jmp 0x140073677
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140073666
cmp byte [rbx + 0x19], 0
jne 0x140073794
cmp esi, dword [rbx + 0x20]
jl 0x140073794
cmp rbx, rcx
je 0x140073794
and dword [rsp + 0x44], 0
mov esi, 0x400
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400b7f70
mov dword [rsp + 0x40], esi
xor eax, eax
mov qword [rsp + 0x58], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
and qword [rsp + 0x58], rax
lea r8, [rbx + 0x28]
lea r9, [r8 + 8]
mov rcx, qword [r9]
sub rcx, qword [r8]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400726e4
nop
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp rbx, rsi
je 0x14007378a
add rbx, 0x28
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14007371f
mov r8, qword [rbx]
lea rdx, [rbx - 0x20]
cmp qword [rbx - 8], 8
jb 0x14007372d
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001b
mov rcx, qword [rbx - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
jns 0x14007377c
add rbx, 0x50
lea rax, [rbx - 0x28]
cmp rax, rsi
jne 0x140073712
jmp 0x14007378a
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140017950
nop
lea rcx, [rsp + 0x48]
call fcn.14004cef0
mov eax, edi
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400b4b90
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret