joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003dc0
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 sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140003e30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140177094]
mov rbx, rcx
test esi, esi
jle 0x140003f60
mov rax, qword [0x140177098]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140003e7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003f05
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140003e60
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140003f82
mov rax, qword [0x140177098]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140177098]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003f67
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140003efe
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140003f10
add dword [0x140177094], 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 [0x140177098]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140003efe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140003e88
mov rax, qword [0x140177098]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140004520
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140177100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1401770e0]
test rbx, rbx
je 0x140004584
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000457b
test eax, eax
jne 0x14000457b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140004560
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 0x1400047c0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400047d8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400047e0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400047f0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000483d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140004834
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000483f
add rax, 0x28
cmp rax, r9
jne 0x140004820
xor eax, eax
ret

Function at 0x140004840
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400048d0
mov rdx, qword [0x1401744c0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400048be
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400048be
cmp word [rax + 0x18], 0x20b
jne 0x1400048be
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400048d0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400048a9
add rbx, 0x28
cmp rbx, rdi
je 0x1400048d0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400048a0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400048e0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140004960
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401744c0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000497f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140004988
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000497f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400049a0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1401744c0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400049c0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400049c8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400049c0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140004a18
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140004a0f
test rcx, rcx
je 0x1400049c0
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140004a00
xor eax, eax
ret

Function at 0x140004a20
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401744c0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140004a3f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140004a48
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140004a60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401744c0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140004a80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140004a88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004a80
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140004a80
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140004ad4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140004ae0
add rdx, 0x28
cmp r9, rdx
jne 0x140004ac0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140004af0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1401744c0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140004b12
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140004b20
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140004b12
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140004b12
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140004b12
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140004b75
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140004b88
add rdx, 0x28
cmp r10, rdx
jne 0x140004b60
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140004b97
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140004ba7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140004b7e
test ecx, ecx
jg 0x140004b90
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1800017af
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1800012ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1800012c6
repz ret
ror rcx, 0x10
jmp 0x180001708
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180003580]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180003678]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18000178d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180003580]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1800017af
mov rax, qword [rsp + 0x88]
mov qword [0x180003678], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180003618], rax
mov rax, qword [0x180003678]
mov qword [0x1800034f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180003600], rax
mov dword [0x1800034e0], 0xc0000409
mov dword [0x1800034e4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180003008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180003578], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180002150]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180003578], 0
jne 0x180001836
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140005a54
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x140005a8d
xor eax, eax
jmp 0x140005bad
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x140005ac7
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x140005ac7
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x140005bad
cmp qword [rbx + 0x80], 0
je 0x140005bab
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005b02
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140005b23
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
cmp eax, edi
jmp 0x140005ba8
lea rax, [rbp - 0x38]
mov byte [rbp - 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
lea r9, [rbp - 0x3f]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x40]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005b71
sub eax, 1
je 0x140005b71
cmp eax, 2
jne 0x140005bab
movsx ecx, byte [rbp - 0x40]
jmp 0x140005b0f
mov r14, qword [rbp - 0x38]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x140005b9c
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r14, rax
jne 0x140005bab
lea rax, [rbp - 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x30], rax
cmovne edi, esi
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14006f590
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400070ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000711b
cmp byte [rcx + 0x71], 0
je 0x14000711b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140007170
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140007135
sub eax, 1
je 0x140007139
cmp eax, 2
jne 0x140007170
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006f590
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140007167
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140007170
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000711d
xor al, al
jmp 0x14000711d
Function at 0x140013de0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
jmp 0x140013e48
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbx
test eax, eax
je 0x140013e78
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140013e28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006f590
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov dword [0x1400b3954], eax
jmp 0x140013e57
Function at 0x140014320
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x1400b50f8], eax
jle 0x1400143ea
lea rcx, [0x1400b50f8]
call fcn.14006f99c
cmp dword [0x1400b50f8], 0xffffffff
jne 0x1400143ea
xorps xmm0, xmm0
movups xmmword [0x1400b50d8], xmm0
xorps xmm1, xmm1
movdqu xmmword [0x1400b50e8], xmm1
mov qword [rsp + 0x30], 0x2f
lea rdx, [rsp + 0x30]
call fcn.140002b64
mov rdx, rax
mov qword [0x1400b50d8], rax
mov qword [0x1400b50e8], 0x22
mov rax, qword [rsp + 0x30]
mov qword [0x1400b50f0], rax
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [0x14007c180]
movups xmmword [rdx + 0x10], xmm1
movzx eax, word [0x14007c190]
mov word [rdx + 0x20], ax
mov byte [rdx + 0x22], bl
lea rcx, [0x140073908]
call fcn.14006fc3c
nop
lea rcx, [0x1400b50f8]
call fcn.14006f930
lea rdx, [0x1400b50d8]
cmp qword [0x1400b50f0], 0xf
cmova rdx, qword [0x1400b50d8]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea rdx, [0x1400b2968]
cmp qword [0x1400b2980], 0xf
cmova rdx, qword [0x1400b2968]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x14001444a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x14001444a
mov bl, 1
mov al, bl
add rsp, 0x20
pop rbx
ret
Function at 0x140014454
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x40], 0x2f
lea rdx, [rbp - 0x40]
call fcn.140002b64
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], 0x22
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [str.SystemCurrentControlSetServices_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14007c180]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x14007c190]
mov word [rax + 0x20], cx
xor ebx, ebx
mov byte [rax + 0x22], bl
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400144e1
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.1400078c4
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x1400145e2
mov byte [rbp - 0x50], 1
lea esi, [rax + 4]
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400145e2
mov byte [rbp - 0x4f], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x4f]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400145e2
mov byte [rbp - 0x4e], 3
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x4e]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400145e2
mov eax, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400145ac
mov rdi, qword [rdi]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1400145e2
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140014620
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001461b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001461b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006f5f4
mov al, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14006f590
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140018bdc
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.14006f5b0
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140018d7c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140018c36
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14002d744
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x140090040]
xor rax, rsp
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], r9
mov r15, r8
mov r13, rdx
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x51], esi
mov qword [rbp - 0x41], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rbp - 0x51], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x14002d811
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, r14
lea rdx, [rbx - 0x20]
lea rcx, [rbp - 0x19]
call fcn.140006040
or esi, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140006040
or esi, 2
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x39]
call fcn.14002c4dc
movzx ebx, al
lea rcx, [rbp - 0x39]
call fcn.140005fdc
nop
lea rcx, [rbp - 0x19]
call fcn.140005fdc
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, r14
shl r13, 5
lea rcx, [r14 + r13]
call fcn.14002ba74
mov r13, rbx
cmp rbx, r12
jl 0x14002d797
mov rdi, rbx
cmp rbx, r12
jne 0x14002d83b
test r15b, 1
jne 0x14002d83b
shl r15, 5
lea rdx, [r14 - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [r14 + rbx]
call fcn.14002ba74
mov rdi, qword [rbp - 0x51]
lea rbx, [rdi - 1]
mov r12, qword [rbp - 0x49]
mov r13, qword [rbp - 0x41]
sar rbx, 1
cmp r13, rdi
jge 0x14002d896
mov rdx, r12
lea rcx, [rbp - 0x39]
call fcn.140006040
or esi, 0x10
or esi, 4
mov dword [rbp - 0x51], esi
mov rdx, rbx
shl rdx, 5
add rdx, r14
lea rcx, [rbp - 0x19]
call fcn.140006040
or esi, 0x20
or esi, 8
mov dword [rbp - 0x51], esi
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14002c4dc
test al, al
je 0x14002d896
mov r15b, 1
jmp 0x14002d899
xor r15b, r15b
test sil, 8
je 0x14002d8ac
and esi, 0xfffffff7
lea rcx, [rbp - 0x19]
call fcn.140005fdc
nop
test sil, 4
je 0x14002d8be
and esi, 0xfffffffb
lea rcx, [rbp - 0x39]
call fcn.140005fdc
shl rdi, 5
lea rcx, [rdi + r14]
test r15b, r15b
je 0x14002d8e5
mov rdx, rbx
shl rdx, 5
add rdx, r14
call fcn.14002ba74
mov rdi, rbx
dec rbx
jmp 0x14002d847
mov rdx, r12
call fcn.14002ba74
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14006f590
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14002f7fc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14002f856
mov r11b, 0x23
lea rbx, [0x140077400]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x14002f840
cmp rdx, 2
jb 0x14002f840
cmp byte [r10], r11b
jne 0x14002f840
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x14002f81e
jmp 0x14002f897
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14002f897
mov r11b, 0x23
lea rbx, [0x140077400]
cmp dl, r11b
jne 0x14002f87b
cmp byte [r10], r11b
jne 0x14002f87b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x14002f869
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret