joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140133000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x140004c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdx + rbx], 0
jne 0x140004c42
mov rcx, qword [rdi + 0x18]
xor ebp, ebp
mov r8, qword [r8 + 0x10]
mov rax, rcx
sub rax, r8
cmp rbx, rax
ja 0x140004ce8
mov qword [rsp + 0x50], r12
lea rax, [r8 + rbx]
mov qword [rsp + 0x58], r15
mov r15, rdi
mov qword [rdi + 0x10], rax
cmp rcx, 0x10
jb 0x140004c82
mov r15, qword [rdi]
lea rax, [rbx + rdx]
cmp rax, r15
jbe 0x140004ca6
lea rax, [r15 + r8]
cmp rsi, rax
ja 0x140004ca6
cmp r15, rsi
ja 0x140004c9e
mov r12, rbp
jmp 0x140004ca9
mov r12, r15
sub r12, rsi
jmp 0x140004ca9
mov r12, rbx
inc r8
lea rcx, [r15 + rbx]
mov rdx, r15
call fcn.14009b3c0
mov r8, r12
mov rdx, rsi
mov rcx, r15
call fcn.14009b3c0
mov r8, rbx
lea rdx, [r12 + rbx]
sub r8, r12
lea rcx, [r15 + r12]
add rdx, rsi
call fcn.14009b3c0
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
jmp 0x140004d06
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rbx
mov rcx, rdi
call fcn.140006970
sub al, ch
or eax, dword [rax]
add byte [rax], al
Function at 0x14000527b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
mov esi, edx
xor edx, edx
mov r8d, dword [rax + rcx + 0x88]
mov r9, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov r11d, dword [r8 + 0x1c]
mov ebx, dword [r8 + 0x24]
mov edi, dword [r8 + 0x18]
add r10, rcx
add r11, rcx
add rbx, rcx
test edi, edi
je 0x1400052ec
Function at 0x1400111f0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140011212
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14001128c
mov rdi, r14
mov rcx, rbx
call fcn.140013d40
test rax, rax
jle 0x140011264
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14009b3c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001127c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140011284
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140011226
sub r14, rdi
jmp 0x140011379
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400112a3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400112a5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400112da
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14009b3c0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140011376
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140011315
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140011351
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400aa1f4
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14001138f
cmp rbp, rax
ja 0x140011321
mov r8, rdi
test rdi, rdi
je 0x140011376
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400aa1f4
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x140011379
Function at 0x1400117a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400117cd
xor eax, eax
jmp 0x140011913
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011807
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140011807
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140011913
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140011906
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001184a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140011859
movsx ecx, dil
jmp 0x1400118ad
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x1400118c7
sub eax, 1
je 0x1400118c7
cmp eax, 2
jne 0x140011906
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1400a80a8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14001190b
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400118f4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400a9a60
cmp rsi, rax
jne 0x140011906
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x14001190b
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400257a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, r9
mov rbp, r8
mov rsi, rdx
xor ebx, ebx
mov qword [r11 - 0x60], rbx
lea rax, [r11 - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x140025892
lea r8, str.GetRegKeyValue
lea edx, [rbx + 4]
lea rcx, [rsp + 0x30]
call fcn.14000ce50
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140025868
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140022db0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025868
mov rdx, rsi
mov rcx, rbx
call fcn.140028170
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025868
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x140025868
mov edx, edi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14005bde0
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x138], xmm1
mov qword [rsp + 0x148], rbx
mov ecx, 0x10025
call fcn.14005c0a0
test rax, rax
je 0x140025a48
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rsp + 0x138], rcx
lea rbx, [rcx + 0xfffe]
mov qword [rsp + 0x148], rbx
xor edx, edx
mov r8d, 0xfffe
call fcn.14009ba90
mov qword [rsp + 0x140], rbx
mov rcx, qword [rsp + 0x138]
sub rbx, rcx
sar rbx, 1
lea eax, [rbx + rbx]
mov dword [rsp + 0x130], eax
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140025968
mov rdx, qword [rsp + 0x138]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140025950
mov rcx, r14
call fcn.1400043e0
jmp 0x1400259e9
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.14000ce50
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x1400259df
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140022db0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400259df
mov rdx, rbp
mov rcx, rbx
call fcn.140028170
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400259df
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x1400259df
mov edx, edi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140025a40
mov rdx, qword [rsp + 0x148]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x140025a3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140025a48
call fcn.14005be00
movzx eax, bl
jmp 0x140025874
call fcn.1400a8018
int3
Function at 0x140025a50
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, r9
mov rbp, rdx
xor r14d, r14d
mov qword [r11 - 0x30], r14
lea rax, [r11 - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x202
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x140025bfa
lea r8, str.SetRegKeyValue
lea edx, [r14 + 4]
lea rcx, [rsp + 0x50]
call fcn.14000ce50
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140025b24
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140022db0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025b24
mov rdx, rbp
mov rcx, rbx
call fcn.140028170
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025b24
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], r14b
je 0x140025b24
mov edx, esi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x50]
call fcn.14000ccb0
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x148]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
je 0x140025bfa
lea r8, str.SetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.14000ce50
mov rbx, rax
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x140025be9
lea rdx, str.RegCreateKeyEx
mov rcx, rax
call fcn.140022db0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140025be9
mov rdx, rbp
mov rcx, rbx
call fcn.140028170
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140025be9
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x140025be9
mov edx, esi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x50]
call fcn.14000ccb0
xor al, al
jmp 0x140025cdc
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x140025c01
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.lang
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
je 0x140025cc9
lea r8, str.SetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x50]
call fcn.14000ce50
mov rbx, rax
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x140025cbf
lea rdx, str.RegSetValueEx
mov rcx, rax
call fcn.140022db0
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140025cbf
lea rdx, str.lang
mov rcx, rbx
call fcn.140028170
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x140025cbf
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x140025cbf
mov edx, edi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x50]
call fcn.14000ccb0
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14005bde0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140025d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rbx, r9
mov qword [r11 - 0x20], 0
lea rax, [r11 - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x201
xor r8d, r8d
lea rdx, str..DEFAULTSoftwareSetID
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
je 0x140025df8
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.14000ce50
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140025de7
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140022db0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025de7
lea rdx, str..DEFAULTSoftwareSetID
mov rcx, rbx
call fcn.140028170
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025de7
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x140025de7
mov edx, edi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
xor al, al
jmp 0x140025ee6
mov dword [rsp + 0x130], 4
lea rax, [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x134]
xor r8d, r8d
lea rdx, [0x1400e02d8]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140025e4e
cmp dword [rsp + 0x134], 4
je 0x140025ed3
jmp 0x140025ee6
lea r8, str.GetRegKeyValue
mov edx, 4
lea rcx, [rsp + 0x30]
call fcn.14000ce50
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x140025ec9
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140022db0
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025ec9
lea rdx, [0x1400e02d8]
mov rcx, rbx
call fcn.140028170
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140025ec9
lea rdx, str._failed
mov rcx, rbx
call fcn.140022db0
cmp byte [rbx + 0x80], 0
je 0x140025ec9
mov edx, edi
mov rcx, rbx
call fcn.140026140
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete al
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14005bde0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x140030d10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x140
mov rax, qword [0x1400f7060]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, rdx
mov rbp, rcx
mov rdi, qword [rdx + 0x10]
add rdi, rdi
cmp qword [rdx + 0x18], 8
jb 0x140030d4e
mov rsi, qword [rdx]
xor r14d, r14d
mov ebx, r14d
test rdi, rdi
je 0x140030d9b
nop dword [rax]
mov dword [rsp + 0x128], r14d
mov r8d, edi
sub r8d, ebx
lea rdx, [rbx + rsi]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x128]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140030d9b
mov eax, dword [rsp + 0x128]
add rbx, rax
cmp rbx, rdi
jb 0x140030d60
lea r8, str.write_stdout
mov edx, 0x10
lea rcx, [rsp + 0x30]
call fcn.14000ce50
nop
lea rcx, str.success_write
lea rdx, str.fail_write
cmp rbx, rdi
cmove rdx, rcx
cmp byte [rax + 0x80], 0
je 0x140030dd9
mov rcx, rax
call fcn.140028170
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
cmp rbx, rdi
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14005bde0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140032810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rbx, rdx
mov rdx, qword [rdx + 0x10]
mov r11, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003283a
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x140032874
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x140032860
mov r11, qword [rbx + 0x30]
lea r10, [rbx + 0x20]
movabs rbp, 0xc6a4a7935bd1e995
movabs rcx, 0x35a98f4d286a90b9
imul r8, rbp
mov r14d, 0xe6546b64
mov rdi, r8
shr rdi, 0x2f
xor rdi, r8
imul rdi, rcx
add rdi, r14
cmp qword [r10 + 0x18], 0x10
jb 0x1400328b5
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x1400328d4
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x1400328c0
mov r8, qword [rbx + 0x50]
imul rdx, rbp
mov r10, rdx
shr r10, 0x2f
xor r10, rdx
lea rdx, [rbx + 0x40]
imul r10, rbp
xor r10, rdi
imul r10, rbp
add r10, r14
cmp qword [rdx + 0x18], 0x10
jb 0x140032902
mov rdx, qword [rdx]
test r8, r8
je 0x140032924
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x140032910
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
imul rax, rbp
mov rcx, rax
shr rcx, 0x2f
xor rax, rcx
imul rax, rbp
xor rax, r10
imul rax, rbp
mov rbp, qword [rsp + 0x18]
add rax, r14
pop r14
ret
Function at 0x140052a48
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003d946
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003d929
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003d914

Function at 0x1400619b0
Capabilities:
Write file on windows

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
mov r9d, dword [0x1400fb894]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x1400fc110], eax
jg 0x140061a97
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140061a17
mov rcx, rbx
call fcn.140076390
test al, al
jne 0x1400619f2
jmp 0x140061a7c
mov edi, 1
test ebp, ebp
je 0x140061a32
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call fcn.1400a9a60
jmp 0x140061a41
mov r8, r14
lea rdx, [0x1400d05dc]
call fcn.140087fd0
cmp qword [0x1400fc108], 0
jl 0x140061a5e
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x1400fc108]
setge sil
lock xadd dword [rbx + 0x40], edi
inc edi
cmp edi, 1
jne 0x140061a78
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400a84b8
movzx eax, sil
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
lea rcx, [0x1400fc110]
call fcn.14005bf90
cmp dword [0x1400fc110], 0xffffffff
jne 0x140061a00
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1400fc108], rcx
lea rcx, [0x1400fc110]
call fcn.14005bf30
jmp 0x140061a00
Function at 0x140061ad0
Capabilities:
Write file on windows

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
mov r9d, dword [0x1400fb894]
mov rbx, rcx
mov rax, qword gs:[0x58]
xor sil, sil
mov ecx, 0x10
mov r14, rdx
movsxd rbp, r8d
mov rdi, qword [rax + r9*8]
add rdi, rcx
mov eax, dword [rdi]
cmp dword [0x1400fc120], eax
jg 0x140061bba
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x140061b37
mov rcx, rbx
call fcn.140076390
test al, al
jne 0x140061b12
jmp 0x140061b9f
test ebp, ebp
je 0x140061b50
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call fcn.1400a9a60
jmp 0x140061b5f
mov r8, r14
lea rdx, [0x1400e0598]
call fcn.140088020
cmp qword [0x1400fc118], 0
jl 0x140061b7c
cdqe
lock xadd qword [rbx + 0x38], rax
cmp rax, qword [0x1400fc118]
setge sil
mov ecx, 1
lock xadd dword [rbx + 0x40], ecx
inc ecx
cmp ecx, 1
jne 0x140061b9b
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400a84b8
movzx eax, sil
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
lea rcx, [0x1400fc120]
call fcn.14005bf90
cmp dword [0x1400fc120], 0xffffffff
jne 0x140061b20
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1400fc118], rcx
lea rcx, [0x1400fc120]
call fcn.14005bf30
jmp 0x140061b20