joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400301f4
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140056f20], eax
call fcn.140030aa0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140056f20], 0
jne case.default.0x14003024a
mov ecx, 1
call fcn.140030aa0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
mov bl, 0xe3
mov ah, 0xf7
invalid
Function at 0x140032430
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003243d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003244d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140032435
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140032465
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140032452
sub eax, 3
jb 0x14003247f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400324b6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x1400324a6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400324a4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140032493
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400323f2
jmp 0x14003243d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1ca00
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140032502
cmp rsi, rcx
jae 0x14003250a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400324e9
cmp al, 0x8f
ja 0x1400324e9
cmp byte [rsi - 2], 0xf
je 0x1400324ef
sub al, 0xe8
cmp al, 1
ja 0x1400324d3
cmp rsi, rcx
jae 0x14003250a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400324d9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003250a
lodsb al, byte [rsi]
jmp 0x1400324e9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2f000]
mov eax, dword [rdi]
or eax, eax
je 0x140032573
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x34384]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140032517
jns 0x14003254c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140032556
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003256d
mov qword [rbx], rax
add rbx, 8
jmp 0x140032537
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x20f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400325cb
sub rsp, 0xffffffffffffff80
jmp 0x140001240

Function at 0x1400053ac
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000519c
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.140001148
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.140001148
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x1400022cc]
mov qword [rsp + 0x38], rax
lea rax, [0x1400022d0]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1aa4210
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1aa421d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1aa422d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1aa4215
lea eax, [rcx + 1]
jmp 0x1aa423b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1aa424e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1aa4234
sub eax, 3
jb 0x1aa426e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1aa42bd
sar eax, 1
movsxd rbp, eax
jb 0x1aa42a4
jmp 0x1aa427c
add ebx, ebx
jne 0x1aa427a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1aa42a4
inc ecx
add ebx, ebx
jne 0x1aa428a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1aa42a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1aa429d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1aa428c
add ecx, 2
jmp 0x1aa42a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01aa41d2
jmp 0x1aa421d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1688000]
mov eax, dword [rdi]
or eax, eax
je 0x1aa4319
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x16a4000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1aa42c9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1aa4313
mov qword [rbx], rax
add rbx, 8
jmp 0x1aa42e9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1aa435d
cmp al, 0xef
ja 0x1aa4345
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1aa4325
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1aa4334
mov eax, dword [rdi]
add rdi, 4
jmp 0x1aa4334
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1aa43b1
sub rsp, 0xffffffffffffff80
jmp 0x47e6c0
Function at 0x1400014f0
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov edi, r9d
mov r14d, r9d
shr edi, 4
mov rax, r8
mov rbx, rdx
mov rsi, rcx
mov r15, rdx
cmp rdx, r8
je 0x14000152b
mov r8d, r14d
mov rdx, rax
mov rcx, rbx
call fcn.14003f820
mov rdx, qword [rsi + 0x140]
lea ecx, [r14 - 0x10]
add rbx, rcx
cmp byte [0x14007d251], 1
mov ecx, dword [rdx + 0xc]
jne 0x1400016d8
test ecx, ecx
je 0x14000165c
cmp ecx, 1
jne 0x140001754
cmp edi, ecx
jbe 0x1400015e5
lea ecx, [rdi - 1]
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rbx - 0x10]
pxor xmm1, xmmword [rsi + 0xa0]
aesdec xmm1, xmmword [rsi + 0xb0]
aesdec xmm1, xmmword [rsi + 0xc0]
aesdec xmm1, xmmword [rsi + 0xd0]
aesdec xmm1, xmmword [rsi + 0xe0]
aesdec xmm1, xmmword [rsi + 0xf0]
aesdec xmm1, xmmword [rsi + 0x100]
aesdec xmm1, xmmword [rsi + 0x110]
aesdec xmm1, xmmword [rsi + 0x120]
aesdec xmm1, xmmword [rsi + 0x130]
aesdeclast xmm1, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
add rbx, 0xfffffffffffffff0
sub rcx, 1
jne 0x140001565
mov rdx, qword [rsi + 0x140]
movdqu xmm1, xmmword [rbx]
mov rax, qword [rdx + 0x28]
pxor xmm1, xmmword [rsi + 0xa0]
aesdec xmm1, xmmword [rsi + 0xb0]
aesdec xmm1, xmmword [rsi + 0xc0]
aesdec xmm1, xmmword [rsi + 0xd0]
aesdec xmm1, xmmword [rsi + 0xe0]
aesdec xmm1, xmmword [rsi + 0xf0]
aesdec xmm1, xmmword [rsi + 0x100]
aesdec xmm1, xmmword [rsi + 0x110]
aesdec xmm1, xmmword [rsi + 0x120]
aesdec xmm1, xmmword [rsi + 0x130]
movdqu xmm0, xmmword [rax]
aesdeclast xmm1, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
jmp 0x140001754
test edi, edi
je 0x140001754
movdqu xmm0, xmmword [rbx]
pxor xmm0, xmmword [rsi + 0xa0]
aesdec xmm0, xmmword [rsi + 0xb0]
aesdec xmm0, xmmword [rsi + 0xc0]
aesdec xmm0, xmmword [rsi + 0xd0]
aesdec xmm0, xmmword [rsi + 0xe0]
aesdec xmm0, xmmword [rsi + 0xf0]
aesdec xmm0, xmmword [rsi + 0x100]
aesdec xmm0, xmmword [rsi + 0x110]
aesdec xmm0, xmmword [rsi + 0x120]
aesdec xmm0, xmmword [rsi + 0x130]
aesdeclast xmm0, xmmword [rsi]
movdqu xmmword [rbx], xmm0
sub rbx, 0x10
add edi, 0xffffffff
jne 0x140001664
jmp 0x140001754
test ecx, ecx
je 0x14000173c
cmp ecx, 1
jne 0x140001754
cmp edi, ecx
jbe 0x140001719
mov qword [rsp + 0x40], rbp
lea ebp, [rdi - 1]
nop dword [rax]
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
lea r8, [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.140002190
add rbx, 0xfffffffffffffff0
sub rbp, 1
jne 0x1400016f0
mov rbp, qword [rsp + 0x40]
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
mov r8, qword [rsi + 0x140]
mov rdx, rbx
mov rcx, rsi
mov r8, qword [r8 + 0x28]
call fcn.140002190
jmp 0x140001754
test edi, edi
je 0x140001754
mov rdx, rbx
mov rcx, rsi
call fcn.140001c20
sub rbx, 0x10
add edi, 0xffffffff
jne 0x140001740
mov r8d, r14d
mov rdx, r15
mov rcx, rsi
call fcn.140001780
mov rsi, qword [rsp + 0x50]
mov ecx, eax
mov byte [rcx + rbx], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009470
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x2b0
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp dword [rsp + 0x310], 0
movzx edi, r9b
movzx ebp, r8b
movzx r12d, dl
mov rsi, rcx
je 0x1400095c2
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x234
call fcn.14003fc80
mov ebx, dword [rsp + 0x308]
mov eax, 0x30
mov word [rsp + 0x50], ax
mov eax, 2
mov dword [rsp + 0x5c], eax
mov ecx, 0x34
mov qword [rsp + 0x68], rcx
test ebx, ebx
je 0x14000950a
cmp ebx, 0x200
jbe 0x1400094f6
xor eax, eax
jmp 0x1400096b3
mov word [rsp + 0x52], ax
lea ecx, [rbx + 0x34]
mov dword [rsp + 0x58], ebx
mov byte [rsp + 0x84], 0xcf
movzx eax, byte [rsp + 0x300]
mov byte [rsp + 0x79], al
mov byte [rsp + 0x78], dil
mov byte [rsp + 0x7d], r12b
mov byte [rsp + 0x7e], bpl
cmp bpl, 0xb0
jne 0x140009533
mov dword [rsp + 0x79], 0xc24f0101
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x50]
mov r9d, ecx
mov qword [rsp + 0x20], rax
mov rcx, qword [rsi]
mov edx, 0x4d02c
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
test eax, eax
je 0x1400096b1
test ebx, ebx
je 0x1400096b1
cmp dil, 0xd0
jne 0x14000958b
lea rcx, [rsi + 0x208]
jmp 0x1400095a7
cmp dil, 0xd1
jne 0x14000959a
lea rcx, [rsi + 0x408]
jmp 0x1400095a7
test dil, dil
jne 0x1400096b1
lea rcx, [rsi + 8]
mov r9d, 0x200
lea r8, [rsp + 0x84]
mov edx, r9d
call fcn.14000a170
jmp 0x1400096b1
xor ecx, ecx
mov qword [rsp + 0x2a8], r14
mov qword [rsp + 0x2a0], r15
mov r8d, 0x1000
mov r15d, dword [rsp + 0x308]
lea r9d, [rcx + 4]
lea ebx, [r15 + 0xc]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
movzx ecx, byte [rsp + 0x300]
mov r9d, ebx
mov r14, rax
mov qword [rsp + 0x38], 0
mov r8, r14
mov edx, 0x4d004
mov byte [rax], dil
mov byte [rax + 1], cl
mov word [rax + 2], 0
mov byte [rax + 4], 0
mov byte [rax + 5], r12b
mov byte [rax + 6], bpl
mov byte [rax + 7], 0
mov dword [rax + 8], r15d
lea rax, [rsp + 0x40]
mov rcx, qword [rsi]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
test eax, eax
je 0x140009690
test r15d, r15d
je 0x140009690
cmp dil, 0xd0
jne 0x140009667
lea rcx, [rsi + 0x208]
jmp 0x14000967f
cmp dil, 0xd1
jne 0x140009676
lea rcx, [rsi + 0x408]
jmp 0x14000967f
test dil, dil
jne 0x140009690
lea rcx, [rsi + 8]
mov edx, 0x200
lea r8, [r14 + 0xc]
mov r9d, edx
call fcn.14000a170
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x2a0]
mov r14, qword [rsp + 0x2a8]
mov eax, ebp
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x2b0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000d240
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x370]
sub rsp, 0x470
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.14003fc80
lea rax, [0x14007d490]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [0x14007d690]
lea rax, str.Services_
mov edx, 0x208
lea r8, str._s_s_s
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
call fcn.14000e3d0
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000d475
lea r9, [0x140057390]
mov dword [rsp + 0x38], eax
lea r8, [0x1400573a0]
mov dword [rsp + 0x3c], 4
mov edx, 0x208
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x40]
call fcn.14000e3d0
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.14003fc80
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rdx, str.ImagePath
lea rax, [rbp + 0x150]
mov dword [rsp + 0x3c], 0x104
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d36d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.140044670
test eax, eax
je 0x14000d465
cmp dword [0x14007d278], 5
jbe 0x14000d386
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000d475
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14000d392
lea ecx, [rax*2 + 2]
mov r9d, 2
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
lea rdx, str.ImagePath
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Type
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 0
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.ErrorControl
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Start
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 3
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.14000d810
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14003e210
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rbp
ret
Function at 0x14000d600
Capabilities:
Create service

Disassembly:
sub rsp, 0x78
xor eax, eax
lea r8, [0x14007d490]
mov qword [rsp + 0x60], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
lea rdx, [0x14007d490]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x14000d660
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x78
ret

Function at 0x14000dd10
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, 0xf01ff
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000dd3b
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000dd70
Capabilities:
Start service

Disassembly:
push rbx
sub rsp, 0x20
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000dda1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x14000ddb0
Capabilities:
Stop service

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000de16
lea r8, [rsp + 0x20]
mov qword [rsp + 0x70], rbx
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x50
pop rdi
ret
Function at 0x1400173c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
sub rsp, 0x20
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140017463
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rbp
call fcn.14000a0a0
mov ecx, 0x2000
lea rdi, [rax + 1]
lea rdx, [rdi + rdi]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbp
mov rbx, rax
call fcn.140009eb0
mov r8, rax
mov rdx, rdi
mov rcx, rbx
call fcn.140044e7c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret

Function at 0x140017500
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdx, rcx
xor ebx, ebx
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
call fcn.140017f20
lea r8, [0x14006173c]
lea rcx, [rsp + 0x20]
call fcn.1400457c8
test eax, eax
je 0x14001755d
lea rcx, [rsp + 0x28]
call fcn.140017f20
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x34], ebx
lea edx, [r8 + 0x3c]
call fcn.140045ecc
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0x34]
mov edx, 1
lea r8d, [rdx + 3]
call fcn.140045b90
movzx eax, byte [rsp + 0x37]
xor r8d, r8d
movzx edx, byte [rsp + 0x34]
imul ecx, eax, 0x10100
add edx, 4
movzx eax, byte [rsp + 0x35]
add ecx, eax
shl ecx, 8
add edx, ecx
mov rcx, qword [rsp + 0x20]
call fcn.140045ecc
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 1
mov word [rsp + 0x30], bx
lea r8d, [rdx + 1]
call fcn.140045b90
mov rcx, qword [rsp + 0x20]
call fcn.1400458a4
movzx edx, byte [rsp + 0x31]
lea rcx, [rsp + 0x28]
movzx eax, byte [rsp + 0x30]
call fcn.140017f20
shl edx, 8
mov ecx, 0x40
add edx, eax
mov eax, 0x20
cmp edx, 0x14c
cmovne eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x40
pop rbx
ret
Function at 0x140017e30
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x700
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
xor eax, eax
mov rbx, rcx
xor edx, edx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x64]
call fcn.14003fc80
xor edx, edx
mov dword [rsp + 0x70], 0x68
mov r8d, 0x400
lea rcx, [rsp + 0x2f0]
call fcn.14003fc80
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea r9, [rsp + 0xe0]
mov qword [rsp + 0x20], rbx
lea r8, [0x140060aa8]
mov edx, 0x200
lea rcx, [rsp + 0x2f0]
call fcn.14000e3d0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x2f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.14003e210
add rsp, 0x700
pop rbx
ret
Function at 0x14001a150
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x370
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov rdi, rcx
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
mov qword [rsp + 0x48], rbp
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov rsi, rdx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a2b7
xor edx, edx
lea rcx, [rsp + 0x160]
mov r8d, 0x200
call fcn.14003fc80
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.14003fc80
mov ebx, ebp
lea r14, [0x1400770bc]
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x38], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov edx, ebx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x50], 0x80
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001a2ac
lea edx, [rax + 0x7f]
lea rcx, [0x14008ea28]
call fcn.14000a850
mov rcx, rax
call fcn.140009eb0
mov qword [rsp + 0x30], rax
lea r8, str._s_s_s_s
lea rax, [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x160]
mov edx, 0x100
mov qword [rsp + 0x20], r14
call fcn.14000e3d0
lea rax, [rsp + 0x48]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001a2f1
inc ebx
cmp ebx, 0x3e8
jb 0x14001a1f0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140055950]
mov rcx, rdi
call fcn.14000a750
mov rax, rdi
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14003e210
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rax, [rsp + 0x60]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, str._s_s_s
mov edx, 0x100
mov qword [rsp + 0x20], r14
lea rcx, [rsp + 0x160]
call fcn.14000e3d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x160]
jmp 0x14001a2be