joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002820
Capabilities:
Delete registry key

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1400028c0
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140002899
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
test rax, rax
je 0x1400028b9
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
test rax, rax
je 0x1400028b9
and qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
nop
jmp 0x1400028a9
cmp dword [rdi + 8], 0
je 0x1400028b9
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov eax, 1
jmp 0x1400028a9
cmp byte [0x14009c7d8], 0
jne 0x14000290d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
test rax, rax
je 0x1400028f9
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov r10, rax
mov qword [0x14009c7e0], rax
jmp 0x140002900
mov r10, qword [0x14009c7e0]
mov eax, 1
mov byte [0x14009c7d8], al
jmp 0x140002914
mov r10, qword [0x14009c7e0]
mov rdx, rsi
mov rcx, qword [rbx]
test r10, r10
je 0x1400028a2
xor r9d, r9d
mov r8d, dword [rbx + 8]
call r10
nop
jmp 0x1400028a9

Function at 0x140002a2c
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.140002930
jmp 0x140002a98
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140002a2c
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x140002b06
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x140002a89
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140002aef
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.140002820
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x140002b11
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000780c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r13d, 4
mov esi, 0xdff7
mov dword [rbp - 0x20], 0xf72e47f1
mov dword [rbp - 0x1c], 0x93badf9b
mov rdi, qword [rax]
mov dword [rbp - 0x18], 0xd7debfe3
mov dword [rbp - 0x14], 0x89e1a3
mov dword [rbp - 0x10], 0xf76547aa
mov eax, dword [rdi + r13]
cmp dword [0x14009cae0], eax
jle 0x1400078cb
lea rcx, [0x14009cae0]
call fcn.14004a96c
cmp dword [0x14009cae0], 0xffffffff
jne 0x1400078cb
movups xmm0, xmmword [rbp - 0x20]
mov eax, dword [rbp - 0x10]
lea rcx, [0x14006c62c]
mov byte [0x14009cdde], 1
movups xmmword [0x14009cdc8], xmm0
mov dword [0x14009cdd8], eax
mov word [0x14009cddc], si
call fcn.14004b0e0
lea rcx, [0x14009cae0]
call fcn.14004a90c
xor esi, esi
lea rdx, [0x14009cdc8]
cmp byte [0x14009cdde], sil
je 0x14000790b
mov r8d, esi
mov cl, r8b
movabs rax, 0xe1d7bf93dff74797
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 0xb
jb 0x1400078e0
mov byte [0x14009cdde], sil
mov rcx, rbx
call fcn.140015020
cmp rax, 0xffffffffffffffff
jne 0x140007a95
mov eax, dword [rdi + r13]
mov r15d, 0x5791
cmp dword [0x14009cf64], eax
mov dword [rbp - 0x20], 0x370c57b0
mov dword [rbp - 0x1c], 0x1f3f7b74
mov dword [rbp - 0x18], 0x7febbf5e
mov dword [rbp - 0x14], 0xbee53e
jle 0x140007992
lea rcx, [0x14009cf64]
call fcn.14004a96c
cmp dword [0x14009cf64], 0xffffffff
jne 0x140007992
movups xmm0, xmmword [rbp - 0x20]
lea rcx, [0x14006c60c]
mov byte [0x14009ceca], 1
mov word [0x14009cec8], r15w
movups xmmword [0x14009ceb8], xmm0
call fcn.14004b0e0
lea rcx, [0x14009cf64]
call fcn.14004a90c
cmp byte [0x14009ceca], sil
lea rdx, [0x14009ceb8]
movabs r15, 0xe57fbf1f7b375791
je 0x1400079d3
mov r8, rsi
mov cl, r8b
mov rax, r15
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 9
jb 0x1400079af
mov byte [0x14009ceca], sil
mov rcx, rbx
call fcn.140015020
cmp rax, 0xffffffffffffffff
je 0x140007a91
mov eax, dword [rdi + r13]
mov r12d, 0xbf1f
cmp dword [0x14009c894], eax
mov dword [rbp - 0x20], 0x61a957ca
mov dword [rbp - 0x1c], 0x1f260970
jle 0x140007a4c
lea rcx, [0x14009c894]
call fcn.14004a96c
cmp dword [0x14009c894], 0xffffffff
jne 0x140007a4c
mov rax, qword [rbp - 0x20]
lea rcx, [0x14006c5ec]
mov qword [0x14009c888], rax
mov byte [0x14009c892], 1
mov word [0x14009c890], r12w
call fcn.14004b0e0
lea rcx, [0x14009c894]
call fcn.14004a90c
cmp byte [0x14009c892], sil
lea rdx, [0x14009c888]
je 0x140007a83
mov r8, rsi
mov cl, r8b
mov rax, r15
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 5
jb 0x140007a5f
mov byte [0x14009c892], sil
mov rcx, rbx
call fcn.140015020
cmp rax, 0xffffffffffffffff
jne 0x140007a95
xor al, al
jmp 0x140007a97
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140007abc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, edx
mov rbx, rcx
mov qword [rbp - 0x31], rcx
movdqa xmm0, xmmword [0x140085ca0]
movdqu xmmword [rbp + 0x27], xmm0
xor r14d, r14d
mov word [rbp + 0x17], r14w
mov ecx, edx
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x140007c1f
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140007c1f
mov ecx, esi
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
cmp esi, 0xd
jne 0x140007b66
test rax, rax
je 0x140007c19
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140007c19
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140017c18
jmp 0x140007c10
test rdi, rdi
je 0x140007c19
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140007c19
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140015318
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140007c78
mov rsi, rax
lea rax, [rbp + 0x17]
cmp rax, rsi
je 0x140007bcf
lea rcx, [rbp + 0x17]
call fcn.140017bb4
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x27], xmm1
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
lea rcx, [rbp - 9]
call fcn.140017bb4
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140007c10
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007c70
call fcn.14004a774
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x27]
movdqa xmm0, xmmword [0x140085ca0]
movups xmmword [rbx + 0x10], xmm1
movdqu xmmword [rbp + 0x27], xmm0
mov word [rbp + 0x17], r14w
lea rcx, [rbp + 0x17]
call fcn.140017bb4
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140055738
nop
int3
Function at 0x140008490
Capabilities:
Parse url

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
and dword [rbp - 0x30], 0
lea rdi, [rcx + 0x68]
cmp rdi, rdx
je 0x140008503
mov rsi, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400084cc
mov rdx, qword [rdx]
cmp rsi, qword [rdi + 0x18]
ja 0x1400084f5
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400084df
mov r14, qword [rdi]
mov qword [rdi + 0x10], rsi
mov r8, rsi
mov rcx, r14
call fcn.14004c670
mov byte [r14 + rsi], 0
jmp 0x140008503
mov r9, rdx
mov rdx, rsi
mov rcx, rdi
call fcn.14001d4f0
mov esi, 0x68
mov r8d, esi
xor edx, edx
mov rcx, rbx
call fcn.14004cad0
mov dword [rbx], esi
lea r14d, [rsi - 0x67]
mov dword [rbx + 0x10], r14d
mov dword [rbx + 0x20], r14d
mov dword [rbx + 0x30], r14d
mov dword [rbx + 0x40], r14d
mov dword [rbx + 0x50], r14d
mov dword [rbx + 0x60], r14d
cmp qword [rdi + 0x18], 0x10
jb 0x14000853d
mov rdi, qword [rdi]
mov r9, rbx
xor r8d, r8d
mov edx, dword [rbx + 0x78]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x140008678
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x1400085a5
mov edi, dword [rbx + 0x20]
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 0x50]
cmp rdi, 0xf
ja 0x140008594
mov qword [rbp - 0x40], rdi
mov r8d, edi
mov rdx, r9
call fcn.14004c670
mov byte [rbp + rdi - 0x50], 0
jmp 0x14000859c
mov rdx, rdi
call fcn.14001d4f0
lea rax, [rbp - 0x50]
mov esi, r14d
jmp 0x1400085ba
lea rdx, [0x140080365]
lea rcx, [rbp - 0x28]
call fcn.140015318
mov esi, 2
lea rdi, [rbx + 0x88]
mov rdx, rax
mov rcx, rdi
call fcn.1400151f8
test sil, 2
je 0x140008622
and esi, 0xfffffffd
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x140008611
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000860c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008693
call fcn.14004a774
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
test r14b, sil
je 0x14000865e
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000865e
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000868d
call fcn.14004a774
cmp qword [rdi + 0x18], 0x10
jb 0x140008668
mov rdi, qword [rdi]
mov qword [rbx + 0x18], rdi
mov ecx, dword [rbx + 0x98]
mov dword [rbx + 0x20], ecx
mov al, r14b
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140055738
nop
call fcn.140055738
nop
int3
Function at 0x14000b734
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
movdqa xmm1, xmmword [0x140085cb0]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], r14b
test rdx, rdx
je 0x14000b930
test r8d, r8d
je 0x14000b930
mov qword [rsp + 0x60], 0x80
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movdqa xmm0, xmmword [0x140085d70]
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x30], r14
mov dword [rbp - 0x28], 0x67452301
mov dword [rbp - 0x24], 0xefcdab89
mov dword [rbp - 0x20], 0x98badcfe
mov dword [rbp - 0x1c], 0x10325476
mov r9d, r8d
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.14000ad1c
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call fcn.14004cad0
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000ae08
nop
movdqa xmm0, xmmword [0x140085cb0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], r14b
mov dword [rsp + 0x20], 2
lea edx, [r14 + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14001c884
mov qword [rsp + 0x38], r14
mov esi, r14d
movzx ebx, byte [rbp + rsi + 0x30]
mov eax, ebx
shr rax, 4
mov r8b, byte [rbp + rax - 0x60]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140015124
and ebx, 0xf
mov r8b, byte [rbp + rbx - 0x60]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.140015124
inc rsi
cmp rsi, 0x10
jb 0x14000b850
lea r9, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae r9, qword [rsp + 0x28]
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [r9 + rsi], r14b
jne 0x14000b8a4
cmp rsi, qword [rbp - 0x38]
ja 0x14000b8d9
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
mov qword [rbp - 0x40], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.14004c670
mov byte [rbx + rsi], r14b
jmp 0x14000b8e6
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.14001d4f0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000b91f
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b91a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b95b
call fcn.14004a774
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x14000b93b
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14004a750
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140055738
nop
int3
Function at 0x14000be60
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea r14, [0x14009cbf0]
and qword [rbp + 0xf], 0
lea rdx, [0x140080365]
lea rcx, [rbp + 0xf]
call fcn.1400149ec
nop
mov ecx, 0x32
mov dword [rbp - 1], ecx
call fcn.14004b0f8
mov rdi, rax
mov ecx, dword [rbp - 1]
call fcn.14004b0f8
mov rsi, rax
mov dword [rbp + 0x17], 1
lea rcx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 0x1f], 9
je 0x14000bef2
cmp word [rbp + 0x1f], 6
mov r9d, 0x20019
jne 0x14000bef8
mov r9d, 0x20119
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, [0x140081eb8]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000bf9a
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, str.EditionID
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000bf9a
test ebx, ebx
jne 0x14000bf9a
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.140014e70
lea rdx, [0x140081ed4]
lea rcx, [rbp + 0xf]
call fcn.140014e70
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.140014e70
mov rcx, rdi
call fcn.14004a774
mov rcx, rsi
call fcn.14004a774
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0xf]
mov rcx, r14
call fcn.140015318
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000bfe1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
nop
mov rax, r14
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140012024
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x1f]
call fcn.140014858
nop
movdqa xmm6, xmmword [0x140085d50]
mov dword [rbp + 0xf], 0xb285c3e3
mov dword [rbp + 0x13], 0x4745f975
mov dword [rbp + 0x17], 0xf38d97f4
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14009c908], eax
jle 0x140012117
lea rcx, [0x14009c908]
call fcn.14004a96c
cmp dword [0x14009c908], 0xffffffff
jne 0x140012117
mov word [0x14009c8b4], 0x145
movups xmmword [0x14009c898], xmm6
movsd xmm0, qword [rbp + 0xf]
movsd qword [0x14009c8a8], xmm0
mov eax, dword [rbp + 0x17]
mov dword [0x14009c8b0], eax
lea rcx, [0x14006c9c0]
call fcn.14004b0e0
lea rcx, [0x14009c908]
call fcn.14004a90c
lea rbx, [0x14009c898]
cmp byte [0x14009c8b5], 0
je 0x140012151
xor edx, edx
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x7d21cb4597bfa7d1
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x1d
jb 0x140012129
mov byte [0x14009c8b5], 0
movzx eax, word [rbp - 5]
movzx ecx, word [rbp - 7]
movzx r10d, word [rbp - 9]
movzx r11d, word [rbp - 0xb]
movzx r9d, word [rbp - 0xf]
movzx r8d, word [rbp - 0x11]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
mov rdx, rbx
mov rbx, qword [rbp + 0x1f]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, rbx
mov rcx, rdi
call fcn.140015318
nop
test rbx, rbx
je 0x1400121d0
mov rdx, qword [rbp + 0x2f]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400121c8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400121f9
mov rcx, rbx
call fcn.14004a774
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.140055738
int3
Function at 0x140013440
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x140085ca0]
movdqu xmmword [rbp + 0xf], xmm0
xor r14d, r14d
mov word [rbp - 1], r14w
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp - 1]
call fcn.140017c18
nop
lea esi, [r14 + 1]
mov dword [rbp - 0x3d], esi
mov dword [rbp - 0x41], 0x800
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov edx, 0x802
lea rcx, [rbp - 0x39]
call fcn.140014b74
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
mov rdx, rbx
lea rcx, [rbp + 0x1f]
call fcn.140017c94
nop
cmp qword [rdi + 0x18], 8
jb 0x1400134e6
mov rdi, qword [rdi]
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x39]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x3d]
mov r8, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140013572
movdqa xmm0, xmmword [0x140085ca0]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r14w
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140017c18
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rdx, qword [rbp + 0x1f]
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp - 0x21]
test eax, eax
jne 0x14001356d
call fcn.140017bb4
jmp 0x140013575
call fcn.140017bb4
mov sil, r14b
lea rcx, [rbp + 0x1f]
call fcn.140017bb4
nop
test rbx, rbx
je 0x1400135bc
mov rax, qword [rbp - 0x29]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400135b3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400135ec
mov rcx, rbx
call fcn.14004a774
nop
lea rcx, [rbp - 1]
call fcn.140017bb4
mov al, sil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14004a750
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140055738
nop
int3
Function at 0x1400135f4
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400971b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x140085ca0]
movdqu xmmword [rbp - 0x38], xmm0
xor esi, esi
mov word [rbp - 0x48], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp - 0x48]
call fcn.140017c18
nop
cmp qword [rdi + 0x10], 2
jbe 0x1400136e0
mov rdx, rdi
mov rcx, rbx
call fcn.140013440
test al, al
je 0x14001366a
lea edi, [rsi + 1]
jmp 0x14001370e
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140017c94
mov eax, dword [rbp - 0x18]
lea ecx, [rax*2 + 2]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
cmp qword [rbx + 0x18], 8
jb 0x1400136a0
mov rbx, qword [rbx]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
mov r8, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete dil
lea rcx, [rbp - 0x28]
call fcn.140017bb4
jmp 0x14001370e
cmp qword [rbx + 0x18], 8
jb 0x1400136ea
mov rbx, qword [rbx]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
sete dil
lea rcx, [rbp - 0x48]
call fcn.140017bb4
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004a750
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret