joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d580
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x402d4f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.004093c0
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045b440
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x402d20
cmp byte [0x01131293], 0
je 0x45d595
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45a560
jmp 0x402d20

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

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01131520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x01131293], 0
je 0x45d5d5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x011317a0]
aesenc xmm0, xmmword [0x011317b0]
aesenc xmm0, xmmword [0x011317c0]
movq rax, xmm0
ret
jmp 0x4095c0

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

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x01131520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x01131293], 0
je 0x45d616
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x011317a0]
aesenc xmm0, xmmword [0x011317b0]
aesenc xmm0, xmmword [0x011317c0]
movq rax, xmm0
ret
jmp 0x409620

Function at 0x45ef40
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x01131720]
mov qword [rsp + 8], rdx
lea r8d, [0x011312a8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045d4e0
add rsp, 0x30
ret

Function at 0x45fe00
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.00459f60
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x1800111bd
Capabilities:
Terminate process

Disassembly:
jmp 0x1800150a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1800111c2
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x180011800
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x180021001]
call fcn.1800112ee
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rbp + 8], rax
xor r9d, r9d
mov r8, qword [rbp + 8]
lea rdx, [0x18001130c]
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x18001c1d0], rax
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001e840
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x14001e886
mov r14, r12
test r14, r14
je 0x14001e988
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x14001e8e8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x14001e8d4
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14006cc40
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14001e862
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14001e9ae
lea rcx, [r13*8]
call fcn.140069be0
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14001e94e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14001e988
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14001e936
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14001e96e
add r12, 0xfffffffffffffff8
jne 0x14001e961
jmp 0x14001e99b
test r15, r15
je 0x14001e862
mov rcx, r15
call fcn.140069c1c
mov r14, qword [rsi + 0x10]
jmp 0x14001e862
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14009ca00
call fcn.14009c160
int3

Function at 0x14001e9c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14001ea1c
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jb 0x14001e9fa
call fcn.1400538b0
mov rcx, qword [rdi]
call fcn.14004d780
mov qword [rdi], 0
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14001ea15
mov qword [rdi], rsi
call fcn.1400538b0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
push rsp
Function at 0x14002a740
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14002a810
mov eax, dword [rsi]
mov dword [0x1400f6528], eax
test al, 1
jne 0x14002a761
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x1401057e8]
test rcx, rcx
jne 0x14002a77b
mov rcx, qword [0x1401057c0]
test rcx, rcx
je 0x14002a79f
jmp 0x14002a7c1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401057e8], 0
mov rcx, qword [0x1401057c0]
test rcx, rcx
jne 0x14002a7c1
and byte [0x1400f6528], 0xfe
mov ecx, 0x18
call fcn.140069be0
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401057c0], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14002a7f6
call fcn.1400268b0
cmp dword [rsi + 0x14], 0
jne 0x14002a7eb
mov rcx, qword [0x1401057c0]
cmp byte [rcx + 0x17], 0
jns 0x14002a7e5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400b5730
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.14009ca00
int3
Function at 0x14002ca90
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401058b0]
test rdi, rdi
jne 0x14002cb43
mov ecx, 0x50
call fcn.140069be0
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140069be0
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002cb65
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x1401058b0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002cb78
mov rcx, rax
call fcn.1400864b8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002cb90
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14009ca00
int3
Function at 0x14002cb90
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.140027430
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002cd1c
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1400e0fa8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002cd73
lea rdx, [0x1400e0ff8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002cd62
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1400e8320]
mov rbx, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14002ccb2
test r12d, r12d
js 0x14002cd69
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140069be0
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
test r14, r14
je 0x14002cd3c
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.14009d250
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x14002cc8b
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14002c800
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002ccd9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x14002cd1c
mov rdi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x14002cd14
add rdi, 0xffffffffffffffe8
jmp 0x14002cd07
mov rcx, qword [rdi]
call fcn.140069c1c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x14002cd14
test rdi, rdi
je 0x14002cd4f
cmp byte [rdi + 0x17], 0
js 0x14002ccf3
jmp 0x14002ccfb
mov rcx, rsi
call fcn.140069c1c
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006b1b0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009ca00
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14009ca00
xor ebx, ebx
jmp 0x14002cc3f
lea rcx, [rsp + 0x20]
call fcn.14009c970
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002cc3c
Function at 0x14002f810
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14006d2f0
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002f89b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002f9fa
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f888
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f993
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002f8f2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002fa08
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f8df
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f9c3
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002f945
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002fa16
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002f936
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.140081330
test eax, eax
je 0x14002f966
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f975
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
test al, al
jns 0x14002f989
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x14002f945
jmp 0x14002f947
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f9a2
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
mov rcx, rsi
test al, al
jns 0x14002f9b5
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002f89b
jmp 0x14002f947
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x14002f9d2
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002f947
jb 0x14002fa24
mov rcx, rsi
test al, al
jns 0x14002f9e9
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002f8f2
jmp 0x14002f947
dec r14
jne 0x14002f86f
jmp 0x14002f89b
dec r14
jne 0x14002f8c6
jmp 0x14002f8f2
dec r14
jne 0x14002f91d
jmp 0x14002f945
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.14009ca00
int3
Function at 0x14003fcb0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140050250
cmp byte [rdi + 0x17], 0
jns 0x14003fcf1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14003fd12
mov rcx, qword [rsp + 0x58]
call fcn.140069c1c
test rsi, rsi
je 0x14003fdb9
test edi, edi
je 0x14003fdb9
mov ecx, edi
add rcx, rcx
call fcn.140069c5c
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140050250
cmp byte [r14 + 0x17], 0
jns 0x14003fd55
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14003fd75
mov rcx, qword [rsp + 0x58]
call fcn.140069c1c
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14003fdd7
mov rcx, rbx
call fcn.1400864b8
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.140050280
cmp byte [rsi + 0x17], 0
js 0x14003fdea
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140069c64
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006b1b0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400d55e4]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14009ca00
mov rcx, qword [rsi]
call fcn.140069c1c
jmp 0x14003fda0

Function at 0x1400414c0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14010bce8], 0
jne 0x1400414fd
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400414f0
mov dword [rdi], eax
mov dword [0x14010bcf0], eax
mov qword [0x14010bce8], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x7ff6629812ec
Capabilities:
Compare security identifiers

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x7ff66298c008]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov eax, dword [0x7ff66298c14c]
xor r14d, r14d
mov dword [rbp + 0x3f], r14d
mov word [rbp + 0x43], 0x500
mov dword [rbp + 0x27], r14d
lea ebx, [r14 + 2]
cmp eax, ebx
jne 0x7ff6629814ce
lea rcx, [rbp + 0x27]
call fcn.7ff6629811cc
test eax, eax
jne 0x7ff6629814b5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
lea r8, [rbp + 0x2f]
lea edx, [rbx + 6]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop dword [rax + rax]
test eax, eax
je 0x7ff6629814ce
mov rcx, qword [rbp + 0x2f]
lea rax, [rbp + 0x2b]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
jne 0x7ff6629814a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x7ff6629814a0
mov edx, dword [rbp + 0x2b]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x7ff6629814a0
mov r9d, dword [rbp + 0x2b]
lea rax, [rbp + 0x2b]
mov rcx, qword [rbp + 0x2f]
mov r8, rdi
mov edx, ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
nop dword [rax + rax]
test eax, eax
je 0x7ff662981491
lea rax, [rbp + 0x37]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x3f]
mov dword [rsp + 0x48], r14d
mov r8d, 0x20
mov dword [rsp + 0x40], r14d
mov dl, bl
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
nop dword [rax + rax]
test eax, eax
je 0x7ff662981491
mov esi, r14d
cmp dword [rdi], r14d
jbe 0x7ff662981481
mov ebx, 1
mov rdx, qword [rbp + 0x37]
mov ecx, esi
add rcx, rcx
mov rcx, qword [rdi + rcx*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
nop dword [rax + rax]
test eax, eax
jne 0x7ff662981478
add esi, ebx
cmp esi, dword [rdi]
jb 0x7ff662981452
jmp 0x7ff662981481
mov dword [0x7ff66298c14c], ebx
mov dword [rbp + 0x27], ebx
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov eax, dword [rbp + 0x27]
jmp 0x7ff6629814ce
mov ecx, dword [0x7ff66298c14c]
mov ebx, 1
mov eax, dword [rbp + 0x27]
test eax, eax
cmovne ecx, ebx
mov dword [0x7ff66298c14c], ecx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.7ff662988470
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x7ff662981c0c
Capabilities:
Shutdown system

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x7ff66298c008]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [rax + rax]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x7ff662981c6f
and dword [rsp + 0x28], eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4f5
mov dword [rsp + 0x20], 0x10
call fcn.7ff662984dcc
xor eax, eax
jmp 0x7ff662981d0d
lea r8, [rsp + 0x3c]
lea rdx, [0x7ff662989790]
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
and qword [rsp + 0x28], 0
xor r9d, r9d
and qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test ebx, ebx
jne 0x7ff662981cec
mov edx, 0x4f6
and dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
jmp 0x7ff662981c5b
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_ExitWindowsEx]
nop dword [rax + rax]
test eax, eax
jne 0x7ff662981d08
mov edx, 0x4f7
jmp 0x7ff662981cda
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff662988470
add rsp, 0x50
pop rbx
ret
Function at 0x7ff66298204c
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x7ff66298c008]
xor rax, rsp
mov qword [rbp + 0x170], rax
cmp byte [rcx], 0
mov rdi, rcx
je 0x7ff662982213
mov r15d, 0x104
lea rax, [rbp + 0x60]
mov rbx, rdi
lea rcx, [rbp + 0x60]
mov edx, r15d
sub rbx, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x7ff6629820bb
mov al, byte [rbx + rcx]
test al, al
je 0x7ff6629820bb
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x7ff66298209d
test rdx, rdx
lea rax, [rcx - 1]
lea r8, [0x7ff6629897c8]
mov rdx, r15
cmovne rax, rcx
lea rcx, [rbp + 0x60]
mov byte [rax], 0
call fcn.7ff662981084
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x7ff662982213
mov r8, r15
lea rdx, [rbp + 0x60]
lea rcx, [r8 + 0x7ffffefa]
test rcx, rcx
je 0x7ff662982123
mov al, byte [rbx + rdx]
test al, al
je 0x7ff662982123
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x7ff662982105
test r8, r8
lea rax, [rdx - 1]
cmovne rax, rdx
test byte [rsp + 0x20], 0x10
mov byte [rax], 0
je 0x7ff6629821a3
lea rdx, [0x7ff6629897cc]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x7ff6629821d9
lea rdx, [0x7ff6629897d0]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x7ff6629821d9
lea r8, [rsp + 0x4c]
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.7ff662981084
lea r8, [0x7ff662989700]
mov edx, r15d
lea rcx, [rbp + 0x60]
call fcn.7ff662987ba8
lea rcx, [rbp + 0x60]
call fcn.7ff66298204c
jmp 0x7ff6629821d9
lea r8, [rsp + 0x4c]
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.7ff662981084
mov edx, 0x80
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [rax + rax]
test eax, eax
jne 0x7ff6629820fe
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.7ff662988470
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret