joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011098
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x14009a330]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14009fb04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x14009fb08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x14009fb08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14009fb08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x14009fb04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x14009fb08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x14009fb08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400149d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14009fb60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14009fb40]
test rbx, rbx
je 0x140014a2c
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 eax, eax
jne 0x140014a23
test rsi, rsi
je 0x140014a23
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140014a08
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 0x140014c40
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014c50
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014c60
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call qword [rax]
nop
nop
sub rsp, 0x28
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
call qword [rax]
nop
nop
nop
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140014c78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140014c80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140014d80
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14009a340]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140014da0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140014da8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140014da0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140014dfd
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]
cmp rcx, r8
mov rdx, r8
jb 0x140014df4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140014da0
add rax, 0x28
cmp rax, r9
jne 0x140014de0
xor eax, eax
ret

Function at 0x140014e00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14009a340]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140014e1f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140014e28
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140014e1f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140014ec0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14009a340]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140014edf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140014ee8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001b020
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
mov qword [rsp + 0x20], rax
movabs rax, 0x7520676e696e6165
mov qword [rsp + 0x28], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x30], rax
movabs rax, 0x20726f6620737965
mov qword [rsp + 0x38], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x87], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x14001b12a
lea rcx, [rsp + 0x20]
mov eax, 0x28
jmp 0x14001b102
add rax, 1
cmp rax, 0x6b
je 0x14001b11f
cmp byte [rcx + rax], 0
jne 0x14001b0f8
cmp eax, 0x6a
movsxd rdx, eax
je 0x14001b11f
add eax, 1
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
lea rcx, [rsp + 0x20]
mov eax, 0x28
mov edx, 0x27
jmp 0x14001b113

Function at 0x14001b4a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp dword [0x1400a0650], 1
je 0x14001b518
lea rdi, [0x1400a0650]
mov rcx, rdi
call fcn.14001ada0
lea rbp, [rax + 8]
mov rbx, rax
mov rcx, rbp
call fcn.14001a720
mov esi, dword [0x1400a0650]
test esi, esi
jne 0x14001b528
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x140020678], eax
je 0x14001fef6
mov dword [0x1400a0650], 1
mov rcx, rbp
call fcn.14001aa10
test rbx, rbx
je 0x14001b518
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.14001b140
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp esi, 1
je 0x14001b4f8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, esi
mov r8, rdi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.14001a1f0
jmp 0x14001b4f8
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
Function at 0x14007819a
Capabilities:
Get file version info
Print debug messages

Disassembly:
jmp 0x14008b190
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf58
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2ae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf78]
mov rax, qword [0x1401b4078]
xor rax, rbp
mov qword [rbp + 0xf28], rax
lea rcx, [0x1401cb150]
call fcn.14007b75f
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14008b222
lea rcx, str.Triton:_ERR:_GetModuleFileName_FAIL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x14008b356
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14007b034
mov dword [rbp + 0x234], eax
cmp dword [rbp + 0x234], 0
jbe 0x14008b24a
mov eax, dword [rbp + 0x234]
cmp rax, 0x800
jbe 0x14008b25e
lea rcx, str.Triton:_ERR:_GetFileVersionInfoSize_FAIL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x14008b356
lea r9, [rbp + 0x260]
mov r8d, dword [rbp + 0x234]
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14007b791
test eax, eax
jne 0x14008b28f
lea rcx, str.Triton:_ERR:_GetFileVersionInfo_FAIL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x14008b356
mov dword [rbp + 0xa74], 0
mov qword [rbp + 0xa98], 0
lea r9, [rbp + 0xa74]
lea r8, [rbp + 0xa98]
lea rdx, [0x14017bddc]
lea rcx, [rbp + 0x260]
call fcn.140078a78
test eax, eax
je 0x14008b343
mov rax, qword [rbp + 0xa98]
mov eax, dword [rax + 0x10]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rbp + 0xf50]
mov dword [rcx], eax
mov rax, qword [rbp + 0xa98]
mov eax, dword [rax + 0x10]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rbp + 0xf58]
mov dword [rcx], eax
mov rax, qword [rbp + 0xa98]
mov eax, dword [rax + 0x14]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rbp + 0xf60]
mov dword [rcx], eax
mov rax, qword [rbp + 0xa98]
mov eax, dword [rax + 0x14]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rbp + 0xf68]
mov dword [rcx], eax
jmp 0x14008b354
lea rcx, str.Triton:_ERR:_VerQueryValue_FAIL
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
jmp 0x14008b356
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14017a9d0]
call fcn.14007adc3
mov rax, rdi
mov rcx, qword [rbp + 0xf28]
xor rcx, rbp
call fcn.140079b3f
lea rsp, [rbp + 0xf38]
pop rdi
pop rbp
ret
Function at 0x140078564
Capabilities:
Access the windows event log

Disassembly:
jmp 0x14008c400
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x1401b4078]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov dword [rbp + 4], 0x100
lea rax, [rbp + 0x490]
mov qword [rbp + 0x288], rax
mov rax, qword [rbp + 0x288]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x488]
mov r8d, 0xff
mov edx, 0x100
lea rcx, [rbp + 0x30]
call fcn.1400797f2
mov qword [rbp + 0x288], 0
mov eax, 2
imul rax, rax, 0xff
mov qword [rbp + 0x448], rax
cmp qword [rbp + 0x448], 0x200
jae 0x14008c4c1
jmp 0x14008c4c6
call fcn.14007a7fb
xor eax, eax
mov rcx, qword [rbp + 0x448]
mov word [rbp + rcx + 0x30], ax
mov eax, 8
imul rax, rax, 0
lea rcx, [rbp + 0x30]
mov qword [rbp + rax + 0x268], rcx
mov rax, qword [rbp + 0x480]
cmp dword [rax + 0x26c], 0
jne 0x14008c502
lea rcx, [rbp + 0x30]
call fcn.14007a3eb
mov rax, qword [rbp + 0x480]
add rax, 0x48
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rbp + 0x248], rax
cmp qword [rbp + 0x248], 0
je 0x14008c584
mov eax, 8
imul rax, rax, 0
lea rax, [rbp + rax + 0x268]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov dx, 4
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea rcx, [rbp - 0x50]
lea rdx, [0x14017b520]
call fcn.14007adc3
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.140079b3f
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret
Function at 0x14007860e
Capabilities:
Set registry value

Disassembly:
jmp 0x140091400
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov rax, qword [rbp + 0x160]
cmp qword [rax], 0
jne 0x140091476
mov eax, dword [0x1401b403c]
add eax, 5
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x140091476
int3
xor eax, eax
test eax, eax
jne 0x140091429
cmp qword [rbp + 0x170], 0
je 0x140091492
mov dword [rbp + 0x134], 1
jmp 0x14009149c
mov dword [rbp + 0x134], 0
mov eax, dword [rbp + 0x134]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jne 0x1400914eb
mov eax, dword [0x1401b403c]
add eax, 6
lea rcx, str.__atl_condVal
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x1400914eb
int3
cmp dword [rbp + 0x64], 0
jne 0x1400914f8
mov eax, 0xd
jmp 0x140091577
xor eax, eax
test eax, eax
jne 0x14009147c
mov dword [rbp + 0x24], 0
mov rax, qword [rbp + 0x170]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call fcn.1400783ac
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
mov rcx, qword [rbp + 8]
lea rax, [rcx + rax*2]
mov qword [rbp + 8], rax
mov eax, dword [rbp + 0x44]
mov ecx, dword [rbp + 0x24]
lea rax, [rcx + rax*2]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x44], 1
jne 0x140091514
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x170]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rbp + 0x168]
mov rax, qword [rbp + 0x160]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140078c2b
Capabilities:
Delete registry key

Disassembly:
jmp 0x14008a510
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov rax, qword [rbp + 0x100]
cmp qword [rax], 0
jne 0x14008a580
mov eax, dword [0x1401b401c]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x14008a580
int3
xor eax, eax
test eax, eax
jne 0x14008a534
mov rax, qword [rbp + 0x100]
cmp qword [rax + 0x10], 0
je 0x14008a5ba
mov r8, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.14007b09d
jmp 0x14008a644
movzx eax, byte [0x1401b7e69]
test eax, eax
jne 0x14008a5fc
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14008a5f5
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401b7e60], rax
mov byte [0x1401b7e69], 1
cmp qword [0x1401b7e60], 0
je 0x14008a62d
xor r9d, r9d
mov rax, qword [rbp + 0x100]
mov r8d, dword [rax + 8]
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [0x1401b7e60]
jmp 0x14008a644
mov rdx, qword [rbp + 0x108]
mov rax, qword [rbp + 0x100]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140078f64
Capabilities:
Set registry value

Disassembly:
jmp 0x140091310
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
jne 0x140091385
mov eax, dword [0x1401b4034]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x140091385
int3
xor eax, eax
test eax, eax
jne 0x140091339
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14007903b
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14008e060
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x1401b4078]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov rax, qword [rbp + 0x140]
cmp qword [rax], 0
jne 0x14008e100
mov eax, dword [0x1401b402c]
add eax, 5
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x14008e100
int3
xor eax, eax
test eax, eax
jne 0x14008e0b3
mov dword [rbp + 0x24], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x44]
xor r8d, r8d
mov rdx, qword [rbp + 0x148]
mov rax, qword [rbp + 0x140]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14008e14e
mov eax, dword [rbp + 4]
jmp 0x14008e15d
cmp dword [rbp + 0x44], 4
je 0x14008e15b
mov eax, 0xd
jmp 0x14008e15d
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1401795c0]
call fcn.14007adc3
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140079b3f
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x140079356
Capabilities:
Delete registry value

Disassembly:
jmp 0x14008a6a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x1401cb146]
call fcn.14007b75f
mov rax, qword [rbp + 0xe0]
cmp qword [rax], 0
jne 0x14008a710
mov eax, dword [0x1401b4020]
inc eax
lea rcx, str.m_hKey___0
mov qword [rsp + 0x28], rcx
lea rcx, [0x140178848]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
lea rdx, [0x140178f70]
mov ecx, 2
call fcn.140078613
cmp eax, 1
jne 0x14008a710
int3
xor eax, eax
test eax, eax
jne 0x14008a6c4
mov rdx, qword [rbp + 0xe8]
mov rax, qword [rbp + 0xe0]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x14007952c
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400928a0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x7e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x318]
mov rax, qword [0x1401b4078]
xor rax, rbp
mov qword [rbp + 0x2a8], rax
lea rcx, [0x1401cb150]
call fcn.14007b75f
mov eax, dword [rbp + 0x2e8]
mov dword [rbp + 4], eax
lea r8, [rbp + 4]
mov rdx, qword [rbp + 0x2e0]
mov rcx, qword [rbp + 0x2d8]
call fcn.14007903b
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x140092969
mov eax, dword [rbp + 0x2e8]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x2e0]
mov qword [rsp + 0x20], rax
lea r9, str.TritonStreamATL:_Open_of__s_fail:__d.__Using_default__lu.
mov r8d, 0xc7
mov edx, 0xc8
lea rcx, [rbp + 0x50]
call fcn.14007b502
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14017b920]
call fcn.14007adc3
mov eax, edi
mov rcx, qword [rbp + 0x2a8]
xor rcx, rbp
call fcn.140079b3f
lea rsp, [rbp + 0x2b8]
pop rdi
pop rbp
ret

Function at 0x140079923
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140112790
mov rax, rcx
neg rcx
test rax, 7
je 0x1401127ad
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140112808
test al, 7
jne 0x1401127a0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401127c1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140112832
test dh, dh
je 0x14011282c
shr rdx, 0x10
test dl, dl
je 0x140112826
test dh, dh
je 0x140112820
shr rdx, 0x10
test dl, dl
je 0x14011281a
test dh, dh
je 0x140112814
shr edx, 0x10
test dl, dl
je 0x14011280e
test dh, dh
jne 0x1401127c1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret