joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010370
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [r11 - 0x48], r14d
cmp byte [rdx + 0x90], r14b
je 0x1400104f5
lea rax, [r11 - 0x40]
mov qword [r11 + 0x10], rax
lea rdi, [rdx + 0x50]
mov rdx, rdi
lea rcx, [r11 - 0x40]
call fcn.140003790
nop
mov rbp, qword [rsp + 0x78]
lea r8, [rsp + 0x38]
mov rdx, rbx
call fcn.140011cf0
test al, al
je 0x14001052d
mov byte [rsp + 0x88], r14b
lea r8, [rsp + 0x88]
movzx edx, byte [rbx + 0x44]
call fcn.140011ee0
mov rcx, qword [rsp + 0x78]
test eax, eax
js 0x140010541
cmp byte [rsp + 0x88], r14b
je 0x1400104f5
mov rbp, qword [rsi + 0x138]
cmp byte [rbx + 0x4c], r14b
je 0x14001045a
mov eax, dword [rbx + 0x40]
cmp qword [rdi + 0x18], 8
jb 0x14001041e
mov rdi, qword [rdi]
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x14001042c
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x48]
mov r8, rdi
xor ecx, ecx
call fcn.14000f310
cmp byte [rbx + 0x4d], 0
je 0x1400104f5
test eax, eax
js 0x14001051a
jmp 0x1400104f5
cmp qword [rdi + 0x18], 8
jb 0x140010464
mov rdi, qword [rdi]
lea rsi, [rbx + 0x20]
cmp qword [rsi + 0x18], 8
jb 0x140010472
mov rsi, qword [rsi]
mov ecx, 0x38
call fcn.14003a968
mov qword [rax], rbp
mov ecx, dword [rbx + 0x40]
mov dword [rax + 8], ecx
mov ecx, dword [rbx + 0x48]
mov dword [rax + 0x10], ecx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x28], r14
lea rcx, [fcn.14000f310]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x88], rax
mov ebx, 1
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001e310]
xor edx, edx
xor ecx, ecx
call fcn.140046938
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14001050a
mov qword [rsp + 0x88], r14
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
cmp dword [rsp + 0x40], 0
jne 0x14001054f
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [rsp + 0x40], r14d
mov ecx, 6
call fcn.14003878c
nop
mov rcx, qword [rsp + 0x78]
mov r9d, eax
mov edx, 0xd4
call fcn.14000f1f0
int3
mov edx, 0xc4
mov r9d, 0x80070002
mov rcx, rbp
call fcn.14000f1f0
int3
mov r9d, eax
mov edx, 0xc7
call fcn.14000f1f0
int3
call fcn.140046e90
int3
Function at 0x140012160
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1400121a8
mov byte [rsp + 0x58], bpl
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x5c], eax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, 2
jne 0x1400121ea
jmp 0x140012250
test eax, eax
jne 0x140012294
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x90], 4
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.Install
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x80], 1
je 0x140012272
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140012260
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140012282
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
jle 0x14001229e
movzx eax, ax
or eax, 0x80070000
mov ecx, eax
call fcn.14001b550
mov r9d, eax
mov rcx, qword [rsp + 0x78]
lea rax, str.Error_with_getting_the_key_to_see_if_PowerShell_is_installed.
mov qword [rsp + 0x20], rax
lea r8, str.C:ReleaseAI_toolsmsix_psfPsfLauncherPsfPowershellScriptRunner.h
mov edx, 0x1d8
call fcn.14000f230
int3
Function at 0x14001eeb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
lea rax, [0x1400732b8]
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 8], rsi
mov dword [rcx + 0x10], esi
mov edx, 0x105
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x103
ja 0x14001effd
call fcn.140001400
mov rcx, rax
test rax, rax
je 0x14001f050
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x30]
lea rbp, [rsi - 1]
cmp rax, 0x10000
jae 0x14001ef56
lea rax, [rsp + 0x30]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140001800
jmp 0x14001ef7d
lea rcx, [rsp + 0x30]
mov rax, rbp
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001ef60
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.140001cf0
nop
lea rdx, [0x140079688]
mov rax, rbp
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001ef90
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.140001b30
mov r8d, 0xc
lea rdx, str.kernel32.dll
lea rcx, [rsp + 0x20]
call fcn.140001b30
mov edx, 0x5c
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14003c2c4
test rax, rax
je 0x14001efe6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14001effd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi + 8]
cmp rsi, rax
je 0x14001f016
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 8]
mov qword [rdi + 8], rsi
mov rax, rsi
test rax, rax
jne 0x14001f024
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x10], eax
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14003a0b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400012d0
int3
Function at 0x140027330
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.140022fa0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 4
lea rdx, [0x140074dc0]
lea rcx, [rbp - 0x11]
call fcn.140003db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, 0x10
lea rdx, str.UserDataMigrated
lea rcx, [rbp + 0xf]
call fcn.140003db0
nop
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002743b
mov eax, dword [rbp - 1]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002747b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002754d
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400274cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400274c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027553
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140027519
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027514
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027547
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], bx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14003a0b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14004638c
nop
call fcn.14004638c
nop
call fcn.14004638c
int3
Function at 0x140027730
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.140022fa0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 4
lea rdx, [0x140074dc0]
lea rcx, [rbp - 0x11]
call fcn.140003db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, 0xf
lea rdx, str.AppDataMigrated
lea rcx, [rbp + 0xf]
call fcn.140003db0
nop
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002783b
mov eax, dword [rbp - 1]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002787b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027876
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002794d
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400278cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400278c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027953
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140027919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027947
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], bx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14003a0b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14004638c
nop
call fcn.14004638c
nop
call fcn.14004638c
int3
Function at 0x140027b30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.140022fa0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 4
lea rdx, [0x140074dc0]
lea rcx, [rbp - 0x11]
call fcn.140003db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, 0x14
lea rdx, str.LocalAppDataMigrated
lea rcx, [rbp + 0xf]
call fcn.140003db0
nop
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027c3b
mov eax, dword [rbp - 1]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140027c7b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027c76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027d4d
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140027ccc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027cc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027d53
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140027d19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027d14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027d47
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], bx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14003a0b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14004638c
nop
call fcn.14004638c
nop
call fcn.14004638c
int3
Function at 0x140027f30
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rcx, [rbp + 0x2f]
call fcn.140022fa0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8d, 4
lea rdx, [0x140074dc0]
lea rcx, [rbp - 0x11]
call fcn.140003db0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, 0x13
lea rdx, [0x140079908]
lea rcx, [rbp + 0xf]
call fcn.140003db0
nop
xor ebx, ebx
mov qword [rbp - 0x19], rbx
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14002803b
mov eax, dword [rbp - 1]
lea eax, [rax*2 + 2]
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [rbx + 1]
xor r8d, r8d
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14002807b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028076
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002814d
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x1f], xmm0
mov word [rbp + 0xf], bx
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1400280cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400280c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028153
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 8
jb 0x140028119
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140028114
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028147
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rbp + 0x3f], xmm0
mov word [rbp + 0x2f], bx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14003a0b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret
call fcn.14004638c
nop
call fcn.14004638c
nop
call fcn.14004638c
int3
Function at 0x140029cd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor edi, edi
lea rdx, [rsp + 0x48]
call fcn.140026890
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400031b0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140029d46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029df4
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140029d7d
test al, 0x10
je 0x140029d7d
mov bl, 1
jmp 0x140029d7f
xor bl, bl
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140029dbd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029db8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029dee
call fcn.14003a0d0
movdqa xmm0, xmmword [0x14007c4f0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], di
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003a0b0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
call fcn.14004638c
nop
call fcn.14004638c
nop
int3
Function at 0x14002b970
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x80], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14002b9a5
mov rdx, qword [r8]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov dword [rsp + 0x30], 1
cmp eax, 0xea
jne 0x14002bab9
mov edx, dword [rsp + 0x80]
shr rdx, 1
mov rdi, qword [rbx + 0x10]
mov r9, qword [rbx + 0x18]
cmp rdx, rdi
ja 0x14002ba27
mov rax, rbx
cmp r9, 8
jb 0x14002ba1c
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r14w
jmp 0x14002ba79
mov rcx, rdx
sub rcx, rdi
mov rax, r9
sub rax, rdi
cmp rcx, rax
ja 0x14002ba5f
mov qword [rbx + 0x10], rdx
mov r8, rbx
cmp r9, 8
jb 0x14002ba48
mov r8, qword [rbx]
lea rdi, [r8 + rdi*2]
test rcx, rcx
je 0x14002ba58
movzx eax, r14w
rep stosw word [rdi], ax
mov word [r8 + rdx*2], r14w
jmp 0x14002ba79
mov word [rsp + 0x20], r14w
mov r9, rcx
movzx r8d, byte [rsp + 0x70]
mov rdx, rcx
mov rcx, rbx
call fcn.140003ee0
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14002ba86
mov rax, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14002ba90
mov rsi, qword [rsi]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbx + 0x10]
mov rax, rbx
test rcx, rcx
je 0x14002bb73
mov rdi, qword [rbx + 0x18]
cmp rdi, 8
jb 0x14002bad6
mov rax, qword [rbx]
cmp word [rax + rcx*2 - 2], 0
jne 0x14002bb70
lea rdx, [rcx - 1]
cmp rdx, rcx
ja 0x14002bb0e
mov rax, rbx
cmp rdi, 8
jb 0x14002baf7
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdx
mov word [rax + rdx*2], r14w
mov rax, rbx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, rdi
sub rax, rcx
cmp rax, 0xffffffffffffffff
jb 0x14002bb52
mov qword [rbx + 0x10], rdx
mov r8, rbx
cmp rdi, 8
jb 0x14002bb2a
mov r8, qword [rbx]
lea rdi, [r8 + rcx*2]
movzx eax, r14w
movabs rcx, 0x7fffffffffffffff
rep stosw word [rdi], ax
mov word [r8 + rdx*2], r14w
mov rax, rbx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov word [rsp + 0x20], r14w
mov r9, 0xffffffffffffffff
movzx r8d, byte [rsp + 0x70]
mov rdx, r9
mov rcx, rbx
call fcn.140003ee0
mov rax, rbx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14002de70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14002deb4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002dea0
ret