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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x60
mov rbx, r8
mov qword [rsp + 0x20], rdx
mov rsi, rdx
mov rbp, rcx
call fcn.180075660
test eax, eax
jne 0x180007c62
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r14
jb 0x180007bbe
mov rdx, qword [rbx]
xor r14d, r14d
movabs r9, 0xcbf29ce484222325
mov ecx, r14d
test r8, r8
je 0x180007bf3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x180007be0
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.18000fd00
mov rax, qword [rax + 8]
test rax, rax
jne 0x180007c17
mov rax, qword [rbp + 0xf8]
cmp rax, qword [rbp + 0xf8]
jne 0x180007c29
mov qword [rsi], r14
mov qword [rsi + 8], r14
jmp 0x180007c45
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x180007c3a
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x38]
mov rax, qword [rax + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov rcx, rbp
call fcn.180075668
mov r14, qword [rsp + 0x50]
mov rax, rsi
mov rdi, qword [rsp + 0x58]
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret
mov ecx, eax
call fcn.180075880
int3
Function at 0x180007c70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x20], rcx
call fcn.180075660
test eax, eax
jne 0x180007e82
mov r8, qword [rbp + 0x1d8]
test r8, r8
je 0x180007d9a
lea r14, [rbp + 0xf0]
add r8, 8
mov r9, qword [r8 + 0x10]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180007cda
mov rdx, qword [r8]
movabs rdi, 0xcbf29ce484222325
xor ecx, ecx
test r9, r9
je 0x180007d13
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r10
inc rcx
cmp rcx, r9
jb 0x180007d00
mov r9, rdi
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.18000fd00
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x180007d9a
mov rcx, qword [r14 + 0x30]
and rcx, rdi
shl rcx, 4
mov rdx, qword [r14 + 0x18]
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x180007d63
cmp rax, rbx
jne 0x180007d59
mov rax, qword [r14 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x180007d6e
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x180007d6e
cmp rax, rbx
jne 0x180007d6e
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
dec qword [r14 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
lea rcx, [rbx + 0x10]
call fcn.1800179d0
mov edx, 0x40
mov rcx, rbx
call fcn.180099854
mov r8, qword [rsi]
test r8, r8
je 0x180007dc6
lea rcx, [rbp + 0xf0]
add r8, 8
lea rdx, [rsp + 0x38]
call fcn.18000f760
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, rsi
call fcn.18000a1d0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov qword [rbp + 0x1d8], rax
mov rbx, qword [rbp + 0x1e0]
mov qword [rbp + 0x1e0], rcx
mov edi, 0xffffffff
test rbx, rbx
je 0x180007e25
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180007e25
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180007e25
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x20]
call fcn.180075668
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x180007e60
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180007e60
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180007e60
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180099a00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, eax
call fcn.180075880
int3
Function at 0x1800080b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x90
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12, rdx
mov r13, rcx
mov qword [rsp + 0x60], rdx
mov rdx, qword [rdx]
add rdx, 8
lea rcx, [rsp + 0x68]
call fcn.18000a9e0
nop
lea r8, [rsp + 0x68]
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x80]
cmp r14, 0x10
cmovae r8, rbp
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x180008154
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x180008140
mov rcx, qword [r13 + 0x120]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x108]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 0xf8]
je 0x1800081cd
mov rsi, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180008192
mov rdx, qword [rdx]
lea rcx, [rsp + 0x68]
cmp r14, 0x10
cmovae rcx, rbp
cmp rdi, rax
jne 0x1800081b0
mov r8, rdi
call fcn.18009c7e0
test eax, eax
je 0x1800081bb
cmp rbx, rsi
je 0x1800081cd
mov rbx, qword [rbx + 8]
jmp 0x180008180
test rbx, rbx
je 0x1800081cd
cmp rbx, qword [r13 + 0xf8]
jne 0x1800082b5
lea rcx, [r13 + 0xf0]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.18000f760
mov rcx, qword [rax]
add rcx, 0x30
mov rdx, r12
call fcn.18000a150
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x180008233
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000822e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800082af
call fcn.180099854
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x180008283
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180008283
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180008283
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180099a00
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
call fcn.1800a06ac
nop
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.18000eaa0
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.18000ed00
mov rcx, rax
call fcn.180004d60
int3
Function at 0x1800102b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rdx + 0x18]
mov r14, qword [rcx + 0x90]
cmp rsi, r14
jl 0x1800103c9
movabs rax, 0xd6bf94d5e57a42bd
imul rsi
add rdx, rsi
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x70], rdx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.1800a7dd0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x68], eax
lea rdx, [rdi + 0x68]
lea r8, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180008d70
nop
lea rcx, [rdi + 0x98]
movzx r8d, byte [rdi + 0xc8]
lea rdx, [rsp + 0x78]
call fcn.1800085d0
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180014d90
mov rcx, qword [rax]
mov qword [rdi + 0x90], rcx
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1800103c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800103c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800104b2
call fcn.180099854
xor edx, edx
mov r8d, 0x120
lea rcx, [rbp - 0x60]
call fcn.18009c8e0
mov qword [rbp - 0x50], 0
lea r15, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rbp - 0x60], r15
lea rax, [rbp - 0x40]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], 0xfa
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea r8, [rbp - 0x60]
mov rdx, rbx
call qword [rax + 8]
mov rbx, qword [rbp - 0x50]
mov r9, qword [rdi + 0xa0]
mov r8, rbx
mov edx, 1
mov rcx, qword [rbp - 0x58]
call fcn.1800a76c8
cmp rax, rbx
jne 0x1800104b8
cmp rsi, r14
jl 0x18001044b
cmp word [rdi + 0xca], 0
jbe 0x18001044b
mov rcx, rdi
call fcn.180014af0
nop
mov qword [rbp - 0x60], r15
lea rax, [rbp - 0x40]
mov rcx, qword [rbp - 0x58]
cmp rcx, rax
je 0x180010486
mov rdx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180010481
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800104ac
call fcn.180099854
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180099a00
mov rbx, qword [rsp + 0x210]
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800a06ac
int3
call fcn.1800a06ac
nop
call fcn.1800a896c
nop
mov ebx, dword [rax]
lea rdx, [rdi + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.180004f20
nop
mov r8, rax
lea rdx, str.Failed_writing_to_file
lea rcx, [rsp + 0x20]
call fcn.18000ebe0
nop
mov edx, ebx
mov rcx, rax
call fcn.180004cd0
int3
Function at 0x180014f00
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18001508e
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18000b060
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180015057
mov qword [rsp + 0x58], rbp
movabs rdi, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
movzx r10d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
mov eax, r10d
mov rdx, qword [rdx]
xor rax, rdi
imul rax, rbp
and r11, rax
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180014fc6
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x180015046
mov rax, qword [r11 + 8]
cmp r10b, byte [rax + 0x10]
jne 0x180014fff
mov r10, qword [rax]
cmp r10, rcx
je 0x180014ff9
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x180015046
mov r8, rax
cmp r9, rax
je 0x180015022
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r10b, byte [rax + 0x10]
je 0x180015068
cmp r9, rax
jne 0x180015010
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x180014f91
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x180015046
lea rcx, str.invalid_hash_bucket_count
call fcn.180074570
int3
Function at 0x180016b00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x180
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x180016ced
mov rbx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rbx
mov rcx, rbx
call fcn.180075660
test eax, eax
jne 0x180016d1a
xor r14d, r14d
mov qword [rsi + 0x28], r14
mov qword [rsi + 0x30], r14
xor edx, edx
mov r8d, 0x120
lea rcx, [rsp + 0x50]
call fcn.18009c8e0
mov qword [rsp + 0x60], r14
lea r15, vtable.fmt::v8::basic_memory_buffer_char__250__class_std::allocator_char__.0
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], 0xfa
mov rcx, qword [rdi + 0x28]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov rdx, rsi
call qword [rax + 8]
cmp byte [rdi + 0x20], r14b
je 0x180016c81
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x30], rax
jbe 0x180016c81
test rax, rax
je 0x180016bdf
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movsxd rax, dword [rsi + 0x10]
movzx ebp, word [rdi + rax*2 + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x180016c00
lea ebp, [rax + 7]
jmp 0x180016c1b
mov edx, dword [rsp + 0x40]
and edx, 0xfff0
or edx, ebp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
movzx ebp, word [rsp + 0x40]
mov rcx, qword [rsi + 0x30]
mov r8, qword [rsi + 0x28]
cmp rcx, r8
jbe 0x180016c48
sub ecx, r8d
mov rdx, qword [rsp + 0x58]
add rdx, r8
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
movzx edx, bp
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x60]
cmp rcx, rdx
jbe 0x180016ca5
sub ecx, edx
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ecx
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
jmp 0x180016ca5
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x180016ce5
mov rdx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016cdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016d14
call fcn.180099854
nop
mov rcx, rbx
call fcn.180075668
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.180099a00
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800a06ac
nop
mov ecx, eax
call fcn.180075880
int3
Function at 0x180033f50
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
cmp qword [rsp + 0x88], 0
je 0x180033fee
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180033fec
mov eax, dword [rsp + 0x50]
jmp 0x18003404f
jmp 0x180033ffb
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x98]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x88], 0
je 0x18003404b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x78
ret
Function at 0x180036470
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
cmp qword [rsp + 0x48], 0
je 0x1800364a3
cmp qword [rsp + 0x40], 0
jne 0x1800364ad
mov dword [rsp + 0x20], 0x57
jmp 0x1800364d2
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jne 0x1800364d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp qword [rsp + 0x50], 0
je 0x1800364e5
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x180036830
Capabilities:
Modify service

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x90]
call fcn.18003f0a0
test rax, rax
jne 0x180036879
mov dword [rsp + 0x60], 0x57
jmp 0x18003698c
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x1800368a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
jmp 0x18003698c
mov rcx, qword [rsp + 0x90]
call fcn.1800027f0
mov r8d, 2
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1800368e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
jmp 0x180036980
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xa0]
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jne 0x180036974
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
cmp qword [rsp + 0xe8], 0
je 0x1800369a5
mov rax, qword [rsp + 0xe8]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov eax, dword [rsp + 0x64]
add rsp, 0x88
ret
Function at 0x180036fa0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x78], 0
je 0x180036fe3
cmp dword [rsp + 0x80], 0
jbe 0x180036fe3
mov rcx, qword [rsp + 0x70]
call fcn.18003f0a0
test rax, rax
ja 0x180036fea
xor eax, eax
jmp 0x1800370a4
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x70]
call fcn.1800027f0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 4
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x18003703d
xor eax, eax
jmp 0x1800370a4
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x54]
mov r8d, dword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180037085
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x54], eax
jne 0x180037085
mov dword [rsp + 0x40], 1
jmp 0x18003708d
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x68
ret
Function at 0x180040c60
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x530
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x475
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
lea rcx, str.A2ACCSetfeatures_called_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rsp + 0x540]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov r8d, 0x53495346
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x38]
call fcn.180068ab0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x180040cf6
mov eax, dword [rsp + 0x30]
jmp 0x180040d4c
mov dword [rsp + 0xbc], 0
mov eax, dword [rsp + 0x548]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x540]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0x41
lea r9, [rsp + 0x50]
mov r8d, 0x475
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x40]
call fcn.180068a10
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x530
pop rdi
ret

Function at 0x180043690
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0xf0]
mov qword [rax], 0
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x40], rax
lea rax, [0x1800435c0]
mov qword [rsp + 0x48], rax
lea rax, [0x1800d40f5]
mov qword [rsp + 0x20], rax
lea r9, [0x1800d40f4]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.1800423f0
mov qword [rsp + 0x58], rax
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rsp + 0x38]
mov qword [rcx + rax], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.180043a90
nop
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x70]
mov edx, 0x53494242
mov rcx, qword [rsp + 0x78]
call fcn.180068880
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180068620
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x1800437a1
mov eax, dword [rsp + 0x30]
jmp 0x1800437e4
lea rcx, [0x1800d4418]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [rsp + 0x30], 0
jge 0x1800437d3
lea rcx, [0x1800d4438]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rax + 8]
call fcn.180068700
lea rcx, [0x1800d4458]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [rsp + 0x30]
add rsp, 0xe8
ret