joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456be0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x456c8f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x00456ce0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045e800
xorps xmm15, xmm15
mov r14, qword [0x005c1b30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045e940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.00456be0
Function at 0x460720
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403963
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409720
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403940
cmp byte [0x005c190b], 0
je 0x460735
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45d980
jmp 0x403940

Function at 0x460740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c1be0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c190b], 0
je 0x460775
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005c1ea0]
aesenc xmm0, xmmword [0x005c1eb0]
aesenc xmm0, xmmword [0x005c1ec0]
movq rax, xmm0
ret
jmp 0x409940

Function at 0x460780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005c1be0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005c190b], 0
je 0x4607b6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005c1ea0]
aesenc xmm0, xmmword [0x005c1eb0]
aesenc xmm0, xmmword [0x005c1ec0]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x4624a0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4624d4
mov rcx, 0x28
jmp 0x4624df
shl rcx, 3
add rcx, 0x1480
mov qword [0x005c1b30], rcx
pop rbp
ret
Function at 0x46fb40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46fc0a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x005c1b30]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x46fbef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004ac8c0]
xor ebx, ebx
mov rcx, rdx
call fcn.00448100
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004707e0
inc rbx
cmp rcx, rbx
jae 0x46fbde
mov edi, 1
lea rsi, [0x004ac8c0]
call fcn.004481e0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e7778]
lea rsi, [0x004e6f58]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045e940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0046fb40
Function at 0x1400099e4
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 0x140009a42
test byte [rcx + 0x1c], 4
je 0x140009a42
cmp byte [rcx + 0x19], 5
jb 0x140009a42
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xea
call fcn.140001024
lea rcx, str.SentItems
test esi, esi
lea rax, str.Inbox
mov r9, rbx
cmovne rax, rcx
lea r8, [0x140081e40]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x104
call fcn.1400029e8
mov ebx, eax
test eax, eax
jns 0x140009ac2
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140009aaa
test byte [rcx + 0x1c], 4
je 0x140009aaa
cmp byte [rcx + 0x19], 2
jb 0x140009aaa
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xeb
mov r9d, eax
call fcn.140001048
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
mov eax, ebx
jmp 0x140009b11
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140009b0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140009b0f
test byte [rcx + 0x1c], 4
je 0x140009b0f
cmp byte [rcx + 0x19], 2
jb 0x140009b0f
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0xec
mov dword [rsp + 0x20], eax
lea r8, [0x140082350]
call fcn.1400012fc
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140078ba0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop r14
pop rdi
pop rsi
ret
Function at 0x140009b3c
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, [0x140082350]
cmp rcx, r15
je 0x140009ba9
test byte [rcx + 0x1c], 4
je 0x140009ba9
cmp byte [rcx + 0x19], 5
jb 0x140009ba9
mov rcx, qword [rcx + 0x10]
mov edx, 0xed
mov r8, r12
call fcn.140001024
lea rcx, str.SentItems
test ebp, ebp
lea rax, str.Inbox
mov r9, rbx
cmovne rax, rcx
lea r8, [0x140081e40]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov edx, 0x104
call fcn.1400029e8
mov ebx, eax
test eax, eax
jns 0x140009c26
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009c0d
test byte [rcx + 0x1c], 4
je 0x140009c0d
cmp byte [rcx + 0x19], 2
jb 0x140009c0d
mov rcx, qword [rcx + 0x10]
mov edx, 0xee
mov r9d, eax
mov r8, r12
call fcn.140001048
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x140009d00
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140009cf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x140009cbf
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009c77
test byte [rcx + 0x1c], 4
je 0x140009c77
cmp byte [rcx + 0x19], 5
jb 0x140009c77
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x38]
lea r9, [rsp + 0x30]
mov r8, r12
call fcn.1400011dc
lea rdx, [rsp + 0x30]
call fcn.14000991c
test eax, eax
jne 0x140009cbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009d00
test byte [rcx + 0x1c], 4
je 0x140009d00
cmp byte [rcx + 0x19], 2
jb 0x140009d00
mov rcx, qword [rcx + 0x10]
mov edx, 0xf0
mov r9d, eax
mov r8, r12
call fcn.140001048
jmp 0x140009d00
xor eax, eax
jmp 0x140009cf8
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140009d00
test byte [rcx + 0x1c], 4
je 0x140009d00
cmp byte [rcx + 0x19], 2
jb 0x140009d00
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x30]
mov edx, 0xf1
mov dword [rsp + 0x20], eax
mov r8, r12
call fcn.1400012fc
jmp 0x140009d00
mov eax, 1
xor ebx, ebx
cmp dword [rdi], ebx
je 0x140009d00
mov dword [rdi], eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140078ba0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000a044
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 0x14000a0a5
test byte [rcx + 0x1c], 4
je 0x14000a0a5
cmp byte [rcx + 0x19], 5
jb 0x14000a0a5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xfa
call fcn.140001024
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a122
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14000a0f9
test byte [rcx + 0x1c], 4
je 0x14000a0f9
cmp byte [rcx + 0x19], 3
jb 0x14000a0f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xfb
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001084
mov eax, ebx
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140078ba0
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 0x14000a122
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x12
je 0x14000a188
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14000a188
test byte [rcx + 0x1c], 4
je 0x14000a188
cmp byte [rcx + 0x19], 2
jb 0x14000a188
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xfc
mov qword [rsp + 0x20], rdi
mov r9d, eax
call fcn.140001084
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x14000a1ca
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14000a1ca
test byte [rcx + 0x1c], 4
je 0x14000a1ca
cmp byte [rcx + 0x19], 2
jb 0x14000a1ca
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082350]
mov edx, 0xfd
mov qword [rsp + 0x20], rdi
mov r9d, ebx
call fcn.140001084
cmp ebx, 0x12
jne 0x14000a0f9
mov qword [r14], rbp
xor eax, eax
jmp 0x14000a0fb
Function at 0x14000ac40
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 0x14000ac8c
test byte [rcx + 0x1c], 4
je 0x14000ac8c
cmp byte [rcx + 0x19], 5
jb 0x14000ac8c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082420]
mov edx, 0x20
call fcn.140001024
mov r9d, 2
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.140066b60
xor ebx, ebx
mov rsi, rax
test rax, rax
jne 0x14000acf7
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14000ad4c
test byte [rax + 0x1c], 4
je 0x14000ad4c
cmp byte [rax + 0x19], 3
jb 0x14000ad4c
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, [0x140082420]
mov rcx, qword [rcx + 0x10]
call fcn.1400012fc
jmp 0x14000ad4c
lea rdx, str.NTUserName
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x14000ad43
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14000ad43
test byte [rcx + 0x1c], 4
je 0x14000ad43
cmp byte [rcx + 0x19], 3
jb 0x14000ad43
mov rcx, qword [rcx + 0x10]
lea r9, str.NTUserName
mov edx, 0x22
mov dword [rsp + 0x20], eax
lea r8, [0x140082420]
call fcn.1400012fc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.14006738c
test eax, eax
jne 0x14000ad9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14000ad9b
test byte [rcx + 0x1c], 4
je 0x14000ad9b
cmp byte [rcx + 0x19], 2
jb 0x14000ad9b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082420]
mov edx, 0x23
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.1400012fc
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 0x14000b7d8
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 0x14000b82e
test byte [rcx + 0x1c], 4
je 0x14000b82e
cmp byte [rcx + 0x19], 5
jb 0x14000b82e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082420]
mov edx, 0x44
call fcn.140001024
mov rax, qword [rsi + 8]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000b858
mov rbp, qword [rbx + 0x10]
mov rcx, r14
mov rdx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14000b875
mov rbx, qword [rbx]
cmp rbx, qword [rsi + 8]
jne 0x14000b83a
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 0x14000b87d
mov qword [rdi], rbx
mov rax, rbp
jmp 0x14000b85a
Function at 0x14000f428
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov r10d, dword [rcx + 0x24]
test edx, r10d
jne 0x14000f439
xor eax, eax
jmp 0x14000f46f
lea eax, [r10 - 4]
test eax, 0xfffffffb
je 0x14000f46a
test r8d, r8d
jne 0x14000f46a
cmp r10d, 2
jne 0x14000f456
mov rcx, qword [rcx + 0x248]
mov rdx, qword [rcx + 0x198]
mov rcx, r9
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x14000f435
mov eax, 1
add rsp, 0x28
ret
Function at 0x140021c88
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 0x140021ce8
test byte [rcx + 0x1c], 4
je 0x140021ce8
cmp byte [rcx + 0x19], 5
jb 0x140021ce8
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x17]
lea r8, [0x1400828c0]
call fcn.140001024
call fcn.140068fe8
lea rax, [0x140081e30]
mov qword [0x140098060], rbp
lea rbx, [0x140098050]
mov qword [0x140098078], rax
mov qword [str.___t_], rbx
lea rdi, [0x140098078]
mov qword [0x140098050], rbp
mov qword [0x140098068], 1
mov r8, qword [rdi]
lea rax, [rbx + 8]
mov qword [rsp + 0x38], rax
lea rcx, [0x140020f80]
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 0x140021d29
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140021db4
test byte [rax + 0x1c], 4
je 0x140021db4
cmp byte [rax + 0x19], 5
jb 0x140021db4
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov rcx, qword [str.___t_]
lea edx, [rbx + 0x18]
mov r9d, eax
lea r8, [0x1400828c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001048
mov ecx, 1
call qword [sym.imp.GDI32.dll_EnableEUDC]
test eax, eax
je 0x140021e12
lea rcx, str.8_b_
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140021e3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x140021e6f
test byte [rbx + 0x1c], 4
je 0x140021e46
cmp byte [rbx + 0x19], 2
jb 0x140021e46
mov rcx, qword [rbx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x19
mov r9d, eax
call fcn.140001048
jmp 0x140021e3f
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x140021e6f
test byte [rbx + 0x1c], 4
je 0x140021e46
cmp byte [rbx + 0x19], 2
jb 0x140021e46
mov rcx, qword [rbx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x1a
call fcn.140001024
mov rbx, qword [str.___t_]
cmp rbx, r14
je 0x140021e6f
jmp 0x140021e63
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140021e60
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov qword [rbx + 8], rbp
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140021e4d
mov qword [str.___t_], r14
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [0x140098524], eax
add eax, ebx
jne 0x140021e9a
mov rcx, qword [0x140094d40]
cmp rcx, rbx
je 0x140021e9a
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 0x140022700
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 0x140022749
test byte [rcx + 0x1c], 4
je 0x140022749
cmp byte [rcx + 0x19], 5
jb 0x140022749
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x2b
call fcn.140001024
mov r9d, 0x2001f
lea rdx, str.SoftwareMicrosoftFaxReceipts
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.140066b60
xor esi, esi
mov rdi, rax
test rax, rax
jne 0x1400227bb
mov rax, qword [str.___t_]
cmp rax, r14
je 0x1400228b0
test byte [rax + 0x1c], 4
je 0x1400228b0
cmp byte [rax + 0x19], 2
jb 0x1400228b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rdi + 0x2c]
mov r9d, eax
lea r8, [0x1400828c0]
mov rcx, qword [rcx + 0x10]
call fcn.140001048
jmp 0x1400228b0
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14007265c
mov rbx, rax
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x140022883
test eax, eax
je 0x14002283f
test rbx, rbx
lea r8, [0x140081e18]
mov rcx, rdi
cmovne r8, rbx
call fcn.1400722a8
test eax, eax
jne 0x140022883
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002283f
test byte [rax + 0x1c], 4
je 0x14002283f
cmp byte [rax + 0x19], 2
jb 0x14002283f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x1400828c0]
mov r9d, eax
mov edx, 0x2d
mov rcx, qword [rcx + 0x10]
call fcn.140001048
lea rdx, str.Password
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x140022883
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140022883
test byte [rcx + 0x1c], 4
je 0x140022883
cmp byte [rcx + 0x19], 2
jb 0x140022883
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400828c0]
mov edx, 0x2e
mov r9d, eax
call fcn.140001048
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x1400228b0
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rbx + rcx*2], si
jne 0x140022895
add rcx, rcx
xor eax, eax
mov rdi, rbx
rep stosb byte [rdi], al
mov rcx, rbx
call fcn.1400634d4
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140023af4
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, [0x1400828c0]
cmp rcx, rsi
je 0x140023b3a
test byte [rcx + 0x1c], 4
je 0x140023b3a
cmp byte [rcx + 0x19], 5
jb 0x140023b3a
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, rbp
call fcn.140001024
call fcn.1400238e4
mov ebx, eax
test eax, eax
je 0x140023b78
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023b71
test byte [rcx + 0x1c], 4
je 0x140023b71
cmp byte [rcx + 0x19], 2
jb 0x140023b71
mov edx, 0x64
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, rbp
call fcn.140001048
mov eax, ebx
jmp 0x140023cae
call fcn.140067d80
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x140023c1e
cmp eax, 0x20
je 0x140023c1e
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 0x140023c1e
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023bd6
test byte [rcx + 0x1c], 4
je 0x140023bd6
cmp byte [rcx + 0x19], 2
jb 0x140023bd6
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov r9d, eax
mov r8, rbp
call fcn.140001048
xor edx, edx
lea rcx, [0x14007e770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x140023b71
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023b71
test byte [rcx + 0x1c], 4
je 0x140023b71
cmp byte [rcx + 0x19], 2
jb 0x140023b71
mov edx, 0x66
mov r9d, eax
jmp 0x140023b65
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
test eax, eax
je 0x140023cac
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023c63
test byte [rcx + 0x1c], 4
je 0x140023c63
cmp byte [rcx + 0x19], 2
jb 0x140023c63
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
mov r9d, eax
mov r8, rbp
call fcn.140001048
xor edx, edx
lea rcx, [0x14007e770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x140023b71
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140023b71
test byte [rcx + 0x1c], 4
je 0x140023b71
cmp byte [rcx + 0x19], 2
jb 0x140023b71
mov edx, 0x68
jmp 0x140023c16
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x1400262b4
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r12, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14002631f
test byte [rcx + 0x1c], 4
je 0x14002631f
cmp byte [rcx + 0x19], 5
jb 0x14002631f
lea edx, [rbx + 0xa]
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x140098294], ebx
jne 0x14002633f
jmp 0x1400264c5
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.14002715c
test eax, eax
jne 0x140026388
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x14002637e
test byte [rcx + 0x1c], 4
je 0x14002637e
cmp byte [rcx + 0x19], 2
jb 0x14002637e
lea edx, [rax + 0xb]
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov edi, 0xe
jmp 0x140026494
xor ecx, ecx
call fcn.140029e00
test eax, eax
je 0x14002641e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x1400263c4
test byte [rcx + 0x1c], 4
je 0x1400263c4
cmp byte [rcx + 0x19], 5
jb 0x1400263c4
mov edx, 0xd
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
xor ecx, ecx
call fcn.140029fe0
mov edi, eax
test eax, eax
je 0x14002641e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140026401
test byte [rcx + 0x1c], 4
je 0x140026401
cmp byte [rcx + 0x19], 2
jb 0x140026401
mov edx, 0xe
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001048
cmp dword [0x140098294], ebx
je 0x140026490
mov rcx, qword [0x140098080]
cmp rcx, 0xffffffffffffffff
je 0x140026490
mov edi, ebx
jmp 0x140026425
mov rcx, qword [0x140098080]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
add r8d, r8d
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140026490
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140026490
test byte [rcx + 0x1c], 4
je 0x140026490
cmp byte [rcx + 0x19], 2
jb 0x140026490
mov edx, 0xf
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001048
jmp 0x140026490
test edi, edi
je 0x1400264b3
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x1400264af
mov rcx, qword [rsp + 0x50]
call fcn.1400786fc
xor eax, eax
jmp 0x1400264ca
cmp qword [rsp + 0x68], 8
jb 0x1400264c5
mov rcx, qword [rsp + 0x50]
call fcn.1400786fc
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140078ba0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret