joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b660
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14001c0a4]
mov rbx, rcx
test esi, esi
jle 0x14000b790
mov rax, qword [0x14001c0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b6ab
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b735
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b690
mov rcx, rbx
call fcn.14000c0d0
mov rdi, rax
test rax, rax
je 0x14000b7b2
mov rax, qword [0x14001c0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000c210
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14001c0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b797
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b72e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b740
add dword [0x14001c0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14001c0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b72e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b5f0
nop dword [rax]
xor esi, esi
jmp 0x14000b6b8
mov rax, qword [0x14001c0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b5f0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b5f0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000bd40
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14001c100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14001c0e0]
test rbx, rbx
je 0x14000bd9c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000bd93
test eax, eax
jne 0x14000bd93
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000bd78
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14000c0d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140018440]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000c0f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000c0f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000c0f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000c14d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000c144
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000c0f0
add rax, 0x28
cmp rax, r9
jne 0x14000c130
xor eax, eax
ret

Function at 0x14000c150
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018440]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000c16f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000c178
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000c16f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000c210
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140018440]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000c22f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000c238
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140014230
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140015180]
jmp 0x14000cd90
Function at 0x1400119b0
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 0x1400119d2
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 0x140011a4c
mov rdi, r14
mov rcx, rbx
call fcn.140014500
test rax, rax
jle 0x140011a24
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.14009bb80
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 0x140011a3c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140011a44
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400119e6
sub r14, rdi
jmp 0x140011b39
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140011a63
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140011a65
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140011a9a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14009bb80
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 0x140011b36
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140011ad5
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 0x140011b11
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400aa9b4
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140011b4f
cmp rbp, rax
ja 0x140011ae1
mov r8, rdi
test rdi, rdi
je 0x140011b36
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400aa9b4
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 0x140011b39
Function at 0x140011f60
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 0x140011f8d
xor eax, eax
jmp 0x1400120d3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011fc7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140011fc7
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 0x1400120d3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400120c6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001200a
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 0x140012019
movsx ecx, dil
jmp 0x14001206d
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 0x140012087
sub eax, 1
je 0x140012087
cmp eax, 2
jne 0x1400120c6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.1400a8868
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400120cb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400120b4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400aa220
cmp rsi, rax
jne 0x1400120c6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400120cb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005c5a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140025f60
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 0x140026052
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 0x140026028
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140023570
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140026028
mov rdx, rsi
mov rcx, rbx
call fcn.140028930
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140026028
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x140026028
mov edx, edi
mov rcx, rbx
call fcn.140026900
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14005c5a0
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.14005c860
test rax, rax
je 0x140026208
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.14009c250
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 0x140026128
mov rdx, qword [rsp + 0x138]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140026110
mov rcx, r14
call fcn.1400043e0
jmp 0x1400261a9
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 0x14002619f
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140023570
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14002619f
mov rdx, rbp
mov rcx, rbx
call fcn.140028930
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14002619f
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x14002619f
mov edx, edi
mov rcx, rbx
call fcn.140026900
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 0x140026200
mov rdx, qword [rsp + 0x148]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400261fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140026208
call fcn.14005c5c0
movzx eax, bl
jmp 0x140026034
call fcn.1400a87d8
int3
Function at 0x140026210
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 0x1400263ba
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 0x1400262e4
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140023570
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400262e4
mov rdx, rbp
mov rcx, rbx
call fcn.140028930
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400262e4
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], r14b
je 0x1400262e4
mov edx, esi
mov rcx, rbx
call fcn.140026900
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 0x1400263ba
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 0x1400263a9
lea rdx, str.RegCreateKeyEx
mov rcx, rax
call fcn.140023570
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x1400263a9
mov rdx, rbp
mov rcx, rbx
call fcn.140028930
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x1400263a9
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x1400263a9
mov edx, esi
mov rcx, rbx
call fcn.140026900
nop
lea rcx, [rsp + 0x50]
call fcn.14000ccb0
xor al, al
jmp 0x14002649c
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x1400263c1
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 0x140026489
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 0x14002647f
lea rdx, str.RegSetValueEx
mov rcx, rax
call fcn.140023570
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x14002647f
lea rdx, str.lang
mov rcx, rbx
call fcn.140028930
movzx ecx, byte [rbx + 0x80]
test cl, cl
je 0x14002647f
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x14002647f
mov edx, edi
mov rcx, rbx
call fcn.140026900
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.14005c5a0
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 0x1400264d0
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 0x1400265b8
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 0x1400265a7
lea rdx, str.RegOpenKeyEx
mov rcx, rbx
call fcn.140023570
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400265a7
lea rdx, str..DEFAULTSoftwareSetID
mov rcx, rbx
call fcn.140028930
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400265a7
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x1400265a7
mov edx, edi
mov rcx, rbx
call fcn.140026900
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
xor al, al
jmp 0x1400266a6
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 0x14002660e
cmp dword [rsp + 0x134], 4
je 0x140026693
jmp 0x1400266a6
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 0x140026689
lea rdx, str.RegQueryValueEx
mov rcx, rbx
call fcn.140023570
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140026689
lea rdx, [0x1400e02d8]
mov rcx, rbx
call fcn.140028930
movzx eax, byte [rbx + 0x80]
test al, al
je 0x140026689
lea rdx, str._failed
mov rcx, rbx
call fcn.140023570
cmp byte [rbx + 0x80], 0
je 0x140026689
mov edx, edi
mov rcx, rbx
call fcn.140026900
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.14005c5a0
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x1400314d0
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 0x14003150e
mov rsi, qword [rdx]
xor r14d, r14d
mov ebx, r14d
test rdi, rdi
je 0x14003155b
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 0x14003155b
mov eax, dword [rsp + 0x128]
add rbx, rax
cmp rbx, rdi
jb 0x140031520
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 0x140031599
mov rcx, rax
call fcn.140028930
nop
lea rcx, [rsp + 0x30]
call fcn.14000ccb0
cmp rbx, rdi
sete al
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14005c5a0
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 0x140032fd0
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 0x140032ffa
mov r11, qword [rbx]
xor r9d, r9d
movabs rax, 0xcbf29ce484222325
mov r8, rax
mov r10d, r9d
movabs rsi, 0x100000001b3
test rdx, rdx
je 0x140033034
nop dword [rax]
movzx ecx, byte [r10 + r11]
inc r10
xor r8, rcx
imul r8, rsi
cmp r10, rdx
jb 0x140033020
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 0x140033075
mov r10, qword [r10]
mov rdx, rax
mov r8, r9
test r11, r11
je 0x140033094
movzx ecx, byte [r8 + r10]
inc r8
xor rdx, rcx
imul rdx, rsi
cmp r8, r11
jb 0x140033080
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 0x1400330c2
mov rdx, qword [rdx]
test r8, r8
je 0x1400330e4
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, rsi
cmp r9, r8
jb 0x1400330d0
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 0x140062170
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 0x140062257
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x1400621d7
mov rcx, rbx
call fcn.140076b50
test al, al
jne 0x1400621b2
jmp 0x14006223c
mov edi, 1
test ebp, ebp
je 0x1400621f2
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, edi
call fcn.1400aa220
jmp 0x140062201
mov r8, r14
lea rdx, [0x1400d05dc]
call fcn.140088790
cmp qword [0x1400fc108], 0
jl 0x14006221e
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 0x140062238
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400a8c78
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.14005c750
cmp dword [0x1400fc110], 0xffffffff
jne 0x1400621c0
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1400fc108], rcx
lea rcx, [0x1400fc110]
call fcn.14005c6f0
jmp 0x1400621c0

Function at 0x140062290
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 0x14006237a
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x1400622f7
mov rcx, rbx
call fcn.140076b50
test al, al
jne 0x1400622d2
jmp 0x14006235f
test ebp, ebp
je 0x140062310
mov r9, rcx
mov r8, rbp
mov rcx, r14
mov edx, 2
call fcn.1400aa220
jmp 0x14006231f
mov r8, r14
lea rdx, [0x1400e0598]
call fcn.1400887e0
cmp qword [0x1400fc118], 0
jl 0x14006233c
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 0x14006235b
xor ecx, ecx
xchg dword [rbx + 0x40], ecx
mov rcx, qword [rbx + 0x28]
call fcn.1400a8c78
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.14005c750
cmp dword [0x1400fc120], 0xffffffff
jne 0x1400622e0
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + 0x18]
mov qword [0x1400fc118], rcx
lea rcx, [0x1400fc120]
call fcn.14005c6f0
jmp 0x1400622e0