joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005a300
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
movabs rax, 0x84222325cbf29ce4
test dl, dl
mov rbx, rcx
setne dil
inc rdi
xor rdi, rax
movabs rax, 0x100000001b3
imul rdi, rax
mov rax, qword [rcx + 0x18]
add rax, 8
cmp rax, qword [rcx + 0x20]
jbe 0x14005a346
call fcn.140061d60
mov rcx, qword [rbx + 0x18]
lea rax, [rcx + 8]
mov qword [rbx + 0x18], rax
mov al, 1
mov rbx, qword [rsp + 0x30]
mov qword [rcx], rdi
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
movabs rax, 0x84222325cbf29ce4
xor rbx, rax
mov rdi, rcx
movabs rcx, 0x100000001b3
xor edx, edx
imul rbx, rcx
test r9, r9
je 0x14005b654
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rbx, rax
imul rbx, rcx
cmp rdx, r9
jb 0x14005b640
mov rax, qword [rdi + 0x18]
add rax, 8
cmp rax, qword [rdi + 0x20]
jbe 0x14005b66a
mov rcx, rdi
call fcn.140061d60
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + 8]
mov qword [rdi + 0x18], rax
mov al, 1
mov qword [rcx], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400600b0
Capabilities:
Encrypt data using rc4 prga

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
sub rsp, 0x30
mov rax, rdx
mov qword [rsp + 0x20], rdx
mov rsi, rcx
lea rdx, [rsp + 0x28]
xor ebx, ebx
mov rcx, rax
movzx r12d, r9b
mov dword [rsp + 0x28], ebx
movzx r13d, r8b
call fcn.14005e060
mov r15d, dword [rsp + 0x28]
lea r14, [rsi + 0x18]
test al, al
lea rbp, [rsi + 0x48]
mov rax, qword [r14 + 0x10]
cmove r15d, ebx
mov qword [r14 + 0x18], rax
mov rax, qword [rsi]
xor edx, edx
mov dword [rsp + 0x28], r15d
mov ecx, dword [rax + 0x64]
add ecx, 0x1f
shr ecx, 5
shl ecx, 2
mov edi, ecx
mov r8d, ecx
mov rcx, qword [rsi + 0x78]
mov qword [rsp + 0x60], rdi
call fcn.1401803b0
mov rax, qword [rsi]
mov rdx, r14
mov rcx, rsi
mov r8d, dword [rax + 0x60]
call fcn.140060480
mov rcx, qword [r14 + 0x10]
movzx r11d, al
cmp qword [r14 + 0x18], rcx
je 0x140060296
nop word [rax + rax]
mov ebx, r15d
test r15d, r15d
je 0x140060296
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.14005e060
mov r15d, dword [rsp + 0x28]
test al, al
mov rcx, qword [rsi + 0x78]
mov eax, 0
cmove r15d, eax
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x28], r15d
call fcn.1401803b0
mov rax, qword [rbp + 0x10]
xor r11b, r11b
mov qword [rbp + 0x18], rax
mov rdi, qword [r14 + 0x10]
cmp rdi, qword [r14 + 0x18]
je 0x140060275
nop word [rax + rax]
mov r10, qword [rsi]
mov r9d, dword [rdi]
shl r9, 4
add r9, qword [r10 + 0x10]
mov eax, dword [r9 + 0xc]
cmp eax, ebx
je 0x14006022c
cmp eax, 0xffffffff
je 0x14006022c
cmp eax, 0xfffffffe
jne 0x140060250
mov edx, dword [r9 + 8]
mov r10, qword [r10 + 0x40]
lea rcx, [rdx + rdx*2]
mov r8d, dword [r10 + rcx*4]
shr r8d, 0x1f
not r8b
and r8b, 1
cmp edx, 0xffffffff
je 0x140060223
mov eax, edx
lea rcx, [rax + rax*2]
mov eax, dword [r10 + rcx*4]
btr eax, 0x1f
cmp ebx, eax
jb 0x140060219
cmp ebx, dword [r10 + rcx*4 + 4]
jbe 0x140060227
mov edx, dword [r10 + rcx*4 + 8]
cmp edx, 0xffffffff
jne 0x140060200
xor r8b, 1
test r8b, r8b
je 0x140060250
mov r8d, dword [r9]
mov rdx, rbp
mov rcx, rsi
call fcn.140060480
test al, al
jne 0x140060243
test r11b, r11b
je 0x140060246
mov r11b, 1
test r12b, r12b
jne 0x140060250
test r11b, r11b
jne 0x140060292
test r13b, r13b
jne 0x140060267
mov rax, qword [rsi]
mov rdx, rbp
mov rcx, rsi
mov r8d, dword [rax + 0x60]
call fcn.140060480
add rdi, 4
cmp rdi, qword [r14 + 0x18]
jne 0x1400601c0
mov rax, r14
mov r14, rbp
mov rbp, rax
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], rax
je 0x140060296
mov rdi, qword [rsp + 0x60]
jmp 0x140060160
mov al, 1
jmp 0x14006029a
movzx eax, r11b
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400673f0
Capabilities:
Read file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x10000]
mov eax, 0x10100
call fcn.14017e050
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x10120], rbx
mov qword [rsp + 0x10128], rdi
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rbp + 0xfff0], rax
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x14006743e
mov rdx, qword [rdx]
lea r8, [0x14022cff4]
lea rcx, [rbp - 0x80]
call fcn.1401c02a8
mov ebx, eax
test eax, eax
jne 0x14006752a
mov r9, qword [rbp - 0x80]
test r9, r9
je 0x140067538
xor eax, eax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], r9
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 0x10000
xor ebx, ebx
mov qword [rbp - 0x38], rbx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rbx
mov byte [rbp - 0x18], bl
mov qword [rbp - 0x20], rbx
lea edx, [rbx + 1]
mov r8d, 0x10000
lea rcx, [rbp - 0x10]
call fcn.1401c0620
mov qword [rbp - 0x28], rax
mov rdx, qword [rbp - 0x48]
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
cmp rax, qword [rbp - 0x40]
jae 0x1400674d2
mov byte [rax + rdx], bl
inc qword [rbp - 0x38]
mov byte [rbp - 0x18], 1
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], ebx
mov byte [rbp - 0x60], bl
lea rcx, [rbp - 0x78]
call fcn.140050ea0
movsxd rax, dword [rbp - 0x70]
lea rdx, [0x14022bbb8]
mov rdx, qword [rdx + rax*8]
mov qword [rbp - 0x68], rdx
mov rcx, qword [rbp - 0x78]
call rdx
mov dword [rbp - 0x6c], eax
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.140057080
mov rcx, qword [rbp - 0x80]
call fcn.1401af8a0
jmp 0x140067581
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140067538
call fcn.1401af8a0
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140035990
nop
mov r8, rax
lea rdx, str.Could_not_open_json_file._Status:
lea rcx, [rsp + 0x60]
call fcn.140039aa0
nop
mov rcx, rax
call fcn.140005d70
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001fe0
lea rdx, [0x1402788b0]
lea rcx, [rsp + 0x28]
call fcn.1401826f8
nop
mov rcx, qword [rbp + 0xfff0]
xor rcx, rsp
call fcn.14017e000
lea r11, [rsp + 0x10100]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x140069070
Capabilities:
Get thread local storage value

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
lea rdi, [0x140285df8]
mov qword [rsp + 0x28], rdi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x30], 1
cmp qword [0x140285df0], 0
jne 0x1400690ac
xor bl, bl
jmp 0x1400690d5
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rdx, rax
mov rax, qword [0x140285df0]
cmp qword [rax + 0x18], rdx
sete bl
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14006c460
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov dword [rbp - 0x48], 0
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x28]
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rcx
test rax, rax
je 0x14006c4cb
add rax, 0x10
lea r15, vtable.SqliteStatement.0
mov qword [rbp - 0x40], r15
mov dword [rbp - 0x38], ecx
mov qword [rbp - 0x30], rax
lea rdx, str.SELECT_PIN_ACTION_FROM_PINNED_APPLICATIONS_WHERE_FILE_ID___file_id
mov qword [rbp - 0x28], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x10], cl
mov r8d, 6
lea rcx, str.SELECT
call fcn.14018c230
movzx ecx, byte [rbp - 0x10]
mov edx, 1
test eax, eax
cmove ecx, edx
mov byte [rbp - 0x10], cl
lea rax, vtable.TransactionSafeStatement.0
mov qword [rbp - 0x40], rax
mov r8, rbx
lea rcx, [rbp - 0x40]
call fcn.140023760
mov ebx, eax
test eax, eax
jne 0x14006c53e
lea rcx, [rbp - 0x40]
call fcn.140023bb0
mov ebx, eax
lea r14, [0x14027fe70]
cmp ebx, 0x64
jne 0x14006c584
lea r8, [rbp - 0x48]
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140023a40
mov ebx, eax
test eax, eax
je 0x14006c5b7
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x14006c5be
test dword [rcx + 0x44], 0x20000
je 0x14006c5be
cmp byte [rcx + 0x41], 2
jb 0x14006c5be
mov edx, 0x12
mov r9d, eax
jmp 0x14006c5a7
mov rcx, qword [0x14027fe70]
cmp rcx, r14
je 0x14006c5be
test dword [rcx + 0x44], 0x20000
je 0x14006c5be
cmp byte [rcx + 0x41], 2
jb 0x14006c5be
mov edx, 0x13
mov r9d, ebx
lea r8, [0x1401f5018]
mov rcx, qword [rcx + 0x38]
call fcn.140030fe0
mov rcx, qword [0x14027fe70]
mov edi, dword [rbp - 0x48]
cmp edi, 3
jbe 0x14006c5f7
cmp rcx, r14
je 0x14006c5f2
test dword [rcx + 0x44], 0x20000
je 0x14006c5f2
cmp byte [rcx + 0x41], 2
jb 0x14006c5f2
mov edx, 0x14
mov r9d, ebx
lea r8, [0x1401f5018]
mov rcx, qword [rcx + 0x38]
call fcn.140030fe0
xor edi, edi
mov dword [rbp - 0x48], edi
mov qword [rbp - 0x40], r15
lea rcx, [rbp - 0x40]
call fcn.140023c60
nop
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14017e000
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14006d3e0
Capabilities:
Get thread local storage value

Disassembly:
push r14
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov esi, r9d
mov rbp, r8
mov rbx, rcx
mov qword [rcx], rdx
mov byte [rcx + 8], 0
movzx eax, byte [rsp + 0x70]
mov byte [rcx + 9], al
mov qword [rcx + 0x10], 0
movzx eax, byte [rsp + 0x78]
mov byte [rcx + 0x20], al
mov qword [rcx + 0x28], r8
mov dword [rcx + 0x30], r9d
lea r9, str.CREATING
mov r8d, esi
mov rdx, rbp
call fcn.1400a6ee0
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x14006d47d
xor r8d, r8d
lea rdx, str.Retrieving_thread_context_failed._Queuing
mov rcx, rbx
call fcn.1400a6e80
jmp 0x14006d56b
mov edi, 0x65
lea r14, [0x140285df8]
mov qword [rsp + 0x28], r14
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov byte [rsp + 0x30], 1
cmp byte [rbx + 9], 0
je 0x14006d4cb
mov rax, qword [0x140285de8]
test rax, rax
jne 0x14006d4be
mov qword [0x140285de8], rbx
mov qword [0x140285de0], rbx
jmp 0x14006d4eb
mov qword [rax + 0x10], rbx
mov qword [0x140285de8], rbx
jmp 0x14006d4eb
mov rax, qword [0x140285dd8]
test rax, rax
jne 0x14006d4e0
mov qword [0x140285dd0], rbx
jmp 0x14006d4e4
mov qword [rax + 0x10], rbx
mov qword [0x140285dd8], rbx
inc qword [0x140285db0]
cmp byte [0x140285dc8], 0
jne 0x14006d505
mov rcx, rbx
call fcn.14006df40
mov edi, eax
mov byte [rsp + 0x30], 0
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp edi, 0x65
je 0x14006d52a
mov r8d, edi
lea rdx, str.Begin
mov rcx, rbx
call fcn.1400a6e80
lea r9, str.WAITTING
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.1400a6ee0
mov rax, qword [rbx + 0x18]
or edx, 0xffffffff
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea r9, str.ENTERED
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.1400a6ee0
inc qword [0x140285dc0]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400705b0
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 8]
mov rdi, rdx
test rsi, rsi
je 0x14007061b
lea rbx, [rdx + 8]
test rbx, rbx
je 0x14007061b
cmp byte [rcx + 0x4c], 0
je 0x14007061b
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_IsValidSid]
test eax, eax
je 0x14007061b
cmp byte [rdi + 0x4c], 0
je 0x14007061b
mov rcx, rbx
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_IsValidSid]
test eax, eax
je 0x14007061b
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_EqualSid]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140077210
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rdi, rcx
lea rax, vtable.Component.0
mov qword [rcx], rax
mov dword [rcx + 8], 0xffffffff
xor esi, esi
mov dword [rcx + 0xc], esi
mov qword [rcx + 0x18], rdx
lea rax, [r8 + 0x98]
test r8, r8
cmove rax, rsi
mov qword [rcx + 0x20], rax
lea rax, vtable.PinningController.0
mov qword [rcx], rax
lea rax, vtable.PinningController.1.0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x28], r8
mov qword [rcx + 0x30], rsi
mov qword [rcx + 0x38], rdx
lea rbx, [rcx + 0x40]
mov qword [rsp + 0x48], rbx
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov rcx, rbx
call fcn.140077580
mov qword [rbx], rax
lea rcx, [rbx + 0x10]
mov edx, 0x80000400
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSectionAndSpinCount]
lea rax, str.pinning_sequence_number
mov qword [rdi + 0x78], rax
mov qword [rdi + 0x80], rsi
mov rcx, qword [rdi + 0x38]
lea rax, vtable.SqliteStatement.0
mov qword [rdi + 0x88], rax
mov dword [rdi + 0x90], esi
lea rax, [rcx + 0x10]
test rcx, rcx
cmove rax, rsi
mov qword [rdi + 0x98], rax
lea rdx, str._SELECT_SUM_VALUE_________SELECT_VALUE_FROM_STATISTICS_WHERE_ID__1_________SELECT_SUM_CLUSTERS__FROM_SEGMENTS_WHERE______________FILE_ID__0xFFFFFF___32__OR_______________FILE_ID_IN__SELECT_FILE_ID_FROM_SYSTEM_FILES____AND___________SEGMENT_ID__0_____FROM_STATISTICS__WHERE_ID__6_OR_ID__7
mov qword [rdi + 0xa0], rdx
mov qword [rdi + 0xa8], rsi
mov qword [rdi + 0xb0], rsi
mov byte [rdi + 0xb8], sil
lea r8d, [rsi + 6]
lea rcx, str.SELECT
call fcn.14018c230
test eax, eax
jne 0x140077321
mov byte [rdi + 0xb8], 1
lea rax, vtable.TransactionSafeStatement.0
mov qword [rdi + 0x88], rax
mov edx, 0x80000400
lea rcx, [rdi + 0xc0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSectionAndSpinCount]
mov qword [rdi + 0xe8], rsi
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14007e770
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rcx, qword [0x140285e30]
mov rbx, rax
mov rdx, qword [rcx]
call qword [rdx + 0x80]
mov ecx, eax
xor edx, edx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test rbx, rbx
je 0x14007e7d8
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14007e7c6
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov edx, 8
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14017de68
add rsp, 0x20
pop rbx
ret

Function at 0x14007fe60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14007fe8b
mov eax, 0x1392
add rsp, 0x28
ret
mov ecx, 8
mov qword [rsp + 0x30], rbx
call fcn.14017deb0
mov rbx, rax
test rax, rax
je 0x14007ff43
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov qword [rax], 0xffffffffffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x14007fed7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x14007ff0f
mov rcx, qword [0x140285e30]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ecx, eax
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
je 0x14007ff07
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x14007ff25
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx], 0xffffffffffffffff
mov edx, 8
mov rcx, rbx
call fcn.14017de68
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0xe
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14007ff60
Capabilities:
Listen for remote procedure calls

Disassembly:
sub rsp, 0x28
mov r8d, 1
mov edx, 0x4d2
mov ecx, r8d
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
test eax, eax
jne 0x14007ff81
add rsp, 0x28
ret
mov rcx, qword [0x14027fe70]
lea rdx, [0x14027fe70]
cmp rcx, rdx
je 0x14007ffbb
test dword [rcx + 0x44], 0x400000
je 0x14007ffbb
cmp byte [rcx + 0x41], 2
jb 0x14007ffbb
mov rcx, qword [rcx + 0x38]
lea r8, [0x1401f7ee0]
mov edx, 0x1a
mov r9d, eax
call fcn.14001ef30
mov eax, 0x1f
add rsp, 0x28
ret
Function at 0x14008dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov qword [rsp + 0x30], 0
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov rsi, rcx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14008ddf5
mov rdx, qword [rsi + 8]
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14008ddf5
mov eax, dword [rsp + 0x38]
mov dword [rdi], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14017e000
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14008e0e0
Capabilities:
Set registry value

Disassembly:
jmp 0x14008e0f0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0x30]
mov rdx, qword [rcx]
mov rdi, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], 0
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14008e16c
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14017e000
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x14008e0f0
Capabilities:
Set registry value

Disassembly:
jmp 0x14008e0f0
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0x30]
mov rdx, qword [rcx]
mov rdi, rcx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], 0
mov r9d, 0x20006
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14008e16c
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14017e000
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14008fb80
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov r15, r8
mov rbp, rdx
mov r14, rcx
xor esi, esi
mov dword [rsp + 0x88], esi
cmp qword [rdx + 8], rsi
jne 0x14008fd1a
lea r12, [0x14027fe70]
mov rcx, qword [0x14027fe70]
cmp rcx, r12
je 0x14008fbed
test byte [rcx + 0x44], 8
je 0x14008fbed
cmp byte [rcx + 0x41], 4
jb 0x14008fbed
lea edx, [rsi + 0x2e]
lea r8, [0x1401f9d28]
mov rcx, qword [rcx + 0x38]
call fcn.14001d350
rdtsc
shl rdx, 0x20
or rax, rdx
mov rbx, rax
lea rcx, [r14 + 0x6f0]
mov r8, r15
lea rdx, [rsp + 0x38]
call fcn.14008c610
nop
mov rdx, rax
mov rcx, rbp
call fcn.14002d420
nop
lea rcx, [rsp + 0x38]
call fcn.14002d880
rdtsc
shl rdx, 0x20
or rax, rdx
lea rcx, [r14 + 0x568]
mov r9, qword [rcx]
mov r8, rax
mov rdx, rbx
call qword [r9 + 0x38]
mov rdi, qword [0x14027fe70]
cmp rdi, r12
je 0x14008fcab
test byte [rdi + 0x44], 8
je 0x14008fcab
cmp byte [rdi + 0x41], 3
jb 0x14008fcab
lea rdx, [rsp + 0x98]
mov rcx, rbp
call fcn.14002d3a0
mov rbx, rax
lea rdx, [rsp + 0x88]
mov rcx, rbp
call fcn.14002d390
mov esi, 3
lea edx, [rsi + 0x2c]
mov qword [rsp + 0x28], r15
mov r8, qword [rbx]
mov qword [rsp + 0x20], r8
mov r9, qword [rax]
lea r8, [0x1401f9d28]
mov rcx, qword [rdi + 0x38]
call fcn.14001e6a0
mov rdi, qword [0x14027fe70]
test sil, 2
je 0x14008fcc8
and esi, 0xfffffffd
lea rcx, [rsp + 0x88]
call fcn.14002d3e0
mov rdi, qword [0x14027fe70]
test sil, 1
je 0x14008fce2
lea rcx, [rsp + 0x98]
call fcn.14002d3e0
mov rdi, qword [0x14027fe70]
cmp qword [rbp + 8], 0
jne 0x14008fd1a
cmp rdi, r12
je 0x14008fd13
test byte [rdi + 0x44], 8
je 0x14008fd13
cmp byte [rdi + 0x41], 3
jb 0x14008fd13
lea r9, [r14 + 0x10]
mov edx, 0x30
lea r8, [0x1401f9d28]
mov rcx, qword [rdi + 0x38]
call fcn.140023320
mov eax, 0x70
jmp 0x14008fd1c
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret