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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001eab
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001eab
mov edx, 0x8664
cmp word [rax + 4], dx
jne 0x140001eab
mov edx, 0x20b
cmp word [rax + 0x18], dx
jne 0x140001eab
cmp dword [rax + 0x84], 0
jbe 0x140001eab
cmp dword [rax + 0x8c], 0
je 0x140001eab
mov eax, dword [rax + 0x88]
add rax, rcx
ret
xor eax, eax
ret
Function at 0x1400122c0
Capabilities:
Write file on windows

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

Function at 0x140012330
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1402d9144]
mov rbx, rcx
test esi, esi
jle 0x140012460
mov rax, qword [0x1402d9148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001237b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140012405
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140012360
mov rcx, rbx
call fcn.140012d80
mov rdi, rax
test rax, rax
je 0x140012482
mov rax, qword [0x1402d9148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140012ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1402d9148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140012467
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400123fe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140012410
add dword [0x1402d9144], 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 [0x1402d9148]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400123fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400122c0
nop dword [rax]
xor esi, esi
jmp 0x140012388
mov rax, qword [0x1402d9148]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400122c0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400122c0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400129f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1402d91a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1402d9180]
test rbx, rbx
je 0x140012a4c
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 0x140012a43
test rsi, rsi
je 0x140012a43
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140012a28
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 0x140012d80
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140012e00
Capabilities:
Parse pe header

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

Function at 0x140012ec0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1402b2fa0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140012edf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140012ee8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400803a0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400803e8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x1400803ba
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

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

Disassembly:
lea rcx, [0x1402ab5c0]
jmp 0x140013bd0

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

Disassembly:
lea rcx, [0x1402ab5c0]
jmp 0x140013bd0
Function at 0x14000970c
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov esi, r8d
mov rbx, rdx
xor edi, edi
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14000976a
test byte [rcx + 0x1c], 4
je 0x14000976a
cmp byte [rcx + 0x19], 5
jb 0x14000976a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xea
call fcn.140001010
lea rcx, str.SentItems
test esi, esi
lea rax, str.Inbox
mov r9, rbx
cmovne rax, rcx
lea r8, [0x140080e30]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x104
call fcn.1400028c0
mov ebx, eax
test eax, eax
jns 0x1400097ea
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400097d2
test byte [rcx + 0x1c], 4
je 0x1400097d2
cmp byte [rcx + 0x19], 2
jb 0x1400097d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xeb
mov r9d, eax
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov eax, ebx
jmp 0x140009839
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140009837
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140009837
test byte [rcx + 0x1c], 4
je 0x140009837
cmp byte [rcx + 0x19], 2
jb 0x140009837
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0xec
mov dword [rsp + 0x20], eax
lea r8, [0x140081340]
call fcn.140001250
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop r14
pop rdi
pop rsi
ret
Function at 0x140009860
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, qword [rsp + 0x2a0]
mov rsi, r9
mov ebp, r8d
mov rbx, rdx
mov rcx, qword [str.___t_]
lea r15, str.___t_
lea r12, [0x140081340]
cmp rcx, r15
je 0x1400098cd
test byte [rcx + 0x1c], 4
je 0x1400098cd
cmp byte [rcx + 0x19], 5
jb 0x1400098cd
mov rcx, qword [rcx + 0x10]
mov edx, 0xed
mov r8, r12
call fcn.140001010
lea rcx, str.SentItems
test ebp, ebp
lea rax, str.Inbox
mov r9, rbx
cmovne rax, rcx
lea r8, [0x140080e30]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x104
call fcn.1400028c0
mov ebx, eax
test eax, eax
jns 0x14000994a
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009931
test byte [rcx + 0x1c], 4
je 0x140009931
cmp byte [rcx + 0x19], 2
jb 0x140009931
mov rcx, qword [rcx + 0x10]
mov edx, 0xee
mov r9d, eax
mov r8, r12
call fcn.140001030
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x140009a24
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140009a17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x1400099e3
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14000999b
test byte [rcx + 0x1c], 4
je 0x14000999b
cmp byte [rcx + 0x19], 5
jb 0x14000999b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x38]
lea r9, [rsp + 0x30]
mov r8, r12
call fcn.1400011f0
lea rdx, [rsp + 0x30]
call fcn.14000964c
test eax, eax
jne 0x1400099df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009a24
test byte [rcx + 0x1c], 4
je 0x140009a24
cmp byte [rcx + 0x19], 2
jb 0x140009a24
mov rcx, qword [rcx + 0x10]
mov edx, 0xf0
mov r9d, eax
mov r8, r12
call fcn.140001030
jmp 0x140009a24
xor eax, eax
jmp 0x140009a1c
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009a24
test byte [rcx + 0x1c], 4
je 0x140009a24
cmp byte [rcx + 0x19], 2
jb 0x140009a24
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0xf1
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.140001250
jmp 0x140009a24
mov eax, 1
xor ebx, ebx
cmp dword [rdi], ebx
je 0x140009a24
mov dword [rdi], eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009d54
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x290
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, r8
mov rdi, rdx
xor ebp, ebp
mov rcx, qword [str.___t_]
lea r12, str.___t_
cmp rcx, r12
je 0x140009db5
test byte [rcx + 0x1c], 4
je 0x140009db5
cmp byte [rcx + 0x19], 5
jb 0x140009db5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xfa
call fcn.140001010
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140009e32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140009e09
test byte [rcx + 0x1c], 4
je 0x140009e09
cmp byte [rcx + 0x19], 3
jb 0x140009e09
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xfb
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001064
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rsp + 0x4c]
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x50]
shl rcx, 0x20
or rcx, rax
add rbp, rcx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140009e32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
je 0x140009e98
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140009e98
test byte [rcx + 0x1c], 4
je 0x140009e98
cmp byte [rcx + 0x19], 2
jb 0x140009e98
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xfc
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001064
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x140009eda
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140009eda
test byte [rcx + 0x1c], 4
je 0x140009eda
cmp byte [rcx + 0x19], 2
jb 0x140009eda
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081340]
mov edx, 0xfd
mov qword [rsp + 0x20], rdi
mov r9d, ebx
call fcn.140001064
cmp ebx, 0x12
jne 0x140009e09
mov qword [r14], rbp
xor eax, eax
jmp 0x140009e0b
Function at 0x14000a904
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14000a950
test byte [rcx + 0x1c], 4
je 0x14000a950
cmp byte [rcx + 0x19], 5
jb 0x14000a950
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081410]
mov edx, 0x20
call fcn.140001010
mov r9d, 2
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.140065ea8
xor ebx, ebx
mov rsi, rax
test rax, rax
jne 0x14000a9bb
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14000aa10
test byte [rax + 0x1c], 4
je 0x14000aa10
cmp byte [rax + 0x19], 3
jb 0x14000aa10
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rsi + 0x21]
mov r9, rdi
mov dword [rsp + 0x20], eax
lea r8, [0x140081410]
mov rcx, qword [rcx + 0x10]
call fcn.140001250
jmp 0x14000aa10
lea rdx, str.NTUserName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14000aa07
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14000aa07
test byte [rcx + 0x1c], 4
je 0x14000aa07
cmp byte [rcx + 0x19], 3
jb 0x14000aa07
mov rcx, qword [rcx + 0x10]
lea r9, str.NTUserName
mov edx, 0x22
mov dword [rsp + 0x20], eax
lea r8, [0x140081410]
call fcn.140001250
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.1400666b4
test eax, eax
jne 0x14000aa5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14000aa5f
test byte [rcx + 0x1c], 4
je 0x14000aa5f
cmp byte [rcx + 0x19], 2
jb 0x14000aa5f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081410]
mov edx, 0x23
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001250
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14000b45c
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14000b4b2
test byte [rcx + 0x1c], 4
je 0x14000b4b2
cmp byte [rcx + 0x19], 5
jb 0x14000b4b2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081410]
mov edx, 0x44
call fcn.140001010
mov rax, qword [rsi + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000b4dc
mov rbp, qword [rbx + 0x10]
mov rcx, r14
mov rdx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14000b4f9
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 8]
jne 0x14000b4be
xor eax, eax
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
test rdi, rdi
je 0x14000b501
mov qword [rdi], rbx
mov rax, rbp
jmp 0x14000b4de
Function at 0x14000f010
Capabilities:
Compare security identifiers

Disassembly:
push rbx
sub rsp, 0x20
mov r10d, dword [rcx + 0x24]
test edx, r10d
jne 0x14000f023
xor eax, eax
jmp 0x14000f060
lea eax, [r10 - 4]
test eax, 0xfffffffb
je 0x14000f05b
xor ebx, ebx
test r8d, r8d
jne 0x14000f05b
cmp r10d, 2
jne 0x14000f042
mov rcx, qword [rcx + 0x248]
mov rdx, qword [rcx + 0x198]
mov rcx, r9
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne bl
mov eax, ebx
jmp 0x14000f060
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140021454
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x60
xor ebp, ebp
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov esi, ebp
lea edx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x1400214b4
test byte [rcx + 0x1c], 4
je 0x1400214b4
cmp byte [rcx + 0x19], 5
jb 0x1400214b4
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x17]
lea r8, str._Z
call fcn.140001010
call fcn.1400682b8
lea rax, [0x140080e20]
mov qword [0x140098080], rbp
lea rbx, [0x140098070]
mov qword [0x140098098], rax
mov qword [str.___t_], rbx
lea rdi, [0x140098098]
mov qword [0x140098070], rbp
mov qword [0x140098088], 1
mov r8, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
lea rcx, [0x140020780]
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r8
lea rdi, [rdi + 8]
mov qword [rsp + 0x50], rbp
mov r9d, 1
mov qword [rsp + 0x28], rbp
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov qword [rbx + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400214f5
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140021580
test byte [rax + 0x1c], 4
je 0x140021580
cmp byte [rax + 0x19], 5
jb 0x140021580
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov rcx, qword [str.___t_]
lea edx, [rbx + 0x18]
mov r9d, eax
lea r8, str._Z
mov rcx, qword [rcx + 0x10]
call fcn.140001030
mov ecx, 1
call qword [sym.imp.GDI32.dll_EnableEUDC]
test eax, eax
je 0x1400215de
lea rcx, [0x140094008]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14002160b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x14002163b
test byte [rbx + 0x1c], 4
je 0x140021612
cmp byte [rbx + 0x19], 2
jb 0x140021612
mov rcx, qword [rbx + 0x10]
lea r8, str._Z
mov edx, 0x19
mov r9d, eax
call fcn.140001030
jmp 0x14002160b
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x14002163b
test byte [rbx + 0x1c], 4
je 0x140021612
cmp byte [rbx + 0x19], 2
jb 0x140021612
mov rcx, qword [rbx + 0x10]
lea r8, str._Z
mov edx, 0x1a
call fcn.140001010
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x14002163b
jmp 0x14002162f
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002162c
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov qword [rbx + 8], rbp
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140021619
mov qword [str.___t_], r14
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [0x140098544], eax
add eax, ebx
jne 0x140021666
mov rcx, qword [0x140094d40]
cmp rcx, rbx
je 0x140021666
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140094d40], rbx
lea r11, [rsp + 0x60]
mov eax, esi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140021f34
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x140021f7d
test byte [rcx + 0x1c], 4
je 0x140021f7d
cmp byte [rcx + 0x19], 5
jb 0x140021f7d
mov rcx, qword [rcx + 0x10]
lea r8, str._Z
mov edx, 0x2b
call fcn.140001010
mov r9d, 0x2001f
lea rdx, str.SoftwareMicrosoftFaxReceipts
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140065ea8
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x140021fef
mov rax, qword [str.___t_]
cmp rax, r14
je 0x1400220e4
test byte [rax + 0x1c], 4
je 0x1400220e4
cmp byte [rax + 0x19], 2
jb 0x1400220e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x2c]
mov r9d, eax
lea r8, str._Z
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x1400220e4
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400714e0
mov rbx, rax
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x1400220b7
test eax, eax
je 0x140022073
test rbx, rbx
lea r8, [0x140080e08]
mov rcx, rdi
cmovne r8, rbx
call fcn.14007113c
test eax, eax
jne 0x1400220b7
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140022073
test byte [rax + 0x1c], 4
je 0x140022073
cmp byte [rax + 0x19], 2
jb 0x140022073
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, str._Z
mov r9d, eax
mov edx, 0x2d
mov rcx, qword [rcx + 0x10]
call fcn.140001030
lea rdx, str.Password
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400220b7
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400220b7
test byte [rcx + 0x1c], 4
je 0x1400220b7
cmp byte [rcx + 0x19], 2
jb 0x1400220b7
mov rcx, qword [rcx + 0x10]
lea r8, str._Z
mov edx, 0x2e
mov r9d, eax
call fcn.140001030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400220e4
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x1400220c9
add rcx, rcx
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call fcn.140062654
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400232f8
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x20
mov rcx, qword [str.___t_]
lea rsi, str.___t_
lea rbp, str._Z
cmp rcx, rsi
je 0x14002333e
test byte [rcx + 0x1c], 4
je 0x14002333e
cmp byte [rcx + 0x19], 5
jb 0x14002333e
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, rbp
call fcn.140001010
call fcn.1400230ec
mov ebx, eax
test eax, eax
je 0x14002337c
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023375
test byte [rcx + 0x1c], 4
je 0x140023375
cmp byte [rcx + 0x19], 2
jb 0x140023375
mov edx, 0x64
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, rbp
call fcn.140001030
mov eax, ebx
jmp 0x1400234b2
call fcn.1400670ac
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x140023422
cmp eax, 0x20
je 0x140023422
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov ebx, eax
test eax, eax
je 0x140023422
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400233da
test byte [rcx + 0x1c], 4
je 0x1400233da
cmp byte [rcx + 0x19], 2
jb 0x1400233da
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov r9d, eax
mov r8, rbp
call fcn.140001030
xor edx, edx
lea rcx, [0x14007d770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x140023375
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023375
test byte [rcx + 0x1c], 4
je 0x140023375
cmp byte [rcx + 0x19], 2
jb 0x140023375
mov edx, 0x66
mov r9d, eax
jmp 0x140023369
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
test eax, eax
je 0x1400234b0
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023467
test byte [rcx + 0x1c], 4
je 0x140023467
cmp byte [rcx + 0x19], 2
jb 0x140023467
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
mov r9d, eax
mov r8, rbp
call fcn.140001030
xor edx, edx
lea rcx, [0x14007d770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x140023375
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023375
test byte [rcx + 0x1c], 4
je 0x140023375
cmp byte [rcx + 0x19], 2
jb 0x140023375
mov edx, 0x68
jmp 0x14002341a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret