joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1409fd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409fd1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1409fd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409fd06f
add dl, dl
jne 0x1409fd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409fd0f6
xor eax, eax
add dl, dl
jne 0x1409fd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409fd1ad
add dl, dl
jne 0x1409fd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409fd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409fd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409fd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409fd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409fd07e
mov eax, 1
add dl, dl
jne 0x1409fd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409fd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409fd0fb
sub eax, ebx
mov ebx, 1
jne 0x1409fd14c
mov ecx, 1
add dl, dl
jne 0x1409fd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409fd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409fd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409fd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409fd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409fd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409fd15d
cmp eax, 0x7d00
jae 0x1409fd19b
cmp eax, 0x500
jb 0x1409fd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409fd07e
cmp eax, 0x7f
ja 0x1409fd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409fd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409fd1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1409fd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14115a000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14115a00a
jmp 0x14115c00f
jmp fcn.140b7f478

Function at 0x14177e790
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14177e917
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14177e7c1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14177e7a7
add dl, dl
jne 0x14177e7ce
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14177e82e
xor eax, eax
add dl, dl
jne 0x14177e7dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14177e8e5
add dl, dl
jne 0x14177e7ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14177e7fb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14177e808
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14177e815
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14177e822
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14177e7b6
mov eax, 1
add dl, dl
jne 0x14177e83e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14177e84b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14177e833
sub eax, ebx
mov ebx, 1
jne 0x14177e884
mov ecx, 1
add dl, dl
jne 0x14177e866
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14177e873
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14177e85b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177e7b6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14177e8a0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14177e8ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14177e895
cmp eax, 0x7d00
jae 0x14177e8d3
cmp eax, 0x500
jb 0x14177e8ce
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177e7b6
cmp eax, 0x7f
ja 0x14177e8d6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14177e7b6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14177e90a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14177e7b6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400012d0
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
jle 0x140001461
push rsi
push r12
push r15
sub rsp, 0x30
mov qword [rsp + 0x50], rbx
mov rsi, r9
mov rbx, qword [rsp + 0x78]
mov r15d, edx
mov qword [rsp + 0x58], rbp
mov r12, rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
test edx, edx
jne 0x1400013a1
mov rbp, qword [rsp + 0x70]
lea r14d, [r8 - 1]
mov rdi, r9
shr r14d, 4
sub rdi, rbx
movaps xmmword [rsp + 0x20], xmm6
inc r14d
lea r15, [r9 + 0xf]
nop dword [rax + rax]
movups xmm6, xmmword [rbp]
mov r9, rbx
mov r8, rbp
xor edx, edx
mov rcx, r12
call fcn.140001470
cmp rbx, r15
ja 0x140001372
lea rax, [rbx + 0xf]
cmp rax, rsi
jb 0x140001372
mov rax, rbx
mov edx, 0x10
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140001360
jmp 0x140001382
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
add rbx, 0x10
add rbp, 0x10
sub rdi, 0x10
movups xmmword [rsi], xmm6
sub r14, 1
jne 0x140001330
movaps xmm6, xmmword [rsp + 0x20]
jmp 0x140001444
mov rdi, qword [rsp + 0x70]
lea ebp, [r8 - 1]
mov r14, rsi
shr ebp, 4
sub r14, rdi
inc ebp
lea rax, [rdi + 0xf]
cmp rbx, rax
ja 0x1400013c7
lea rax, [rbx + 0xf]
cmp rax, rdi
jae 0x1400013d9
lea rax, [rsi + 0xf]
cmp rbx, rax
ja 0x140001407
lea rax, [rbx + 0xf]
cmp rax, rsi
jb 0x140001407
mov r8, rbx
mov rcx, rdi
sub r8, rdi
mov edx, 0x10
nop word [rax + rax]
movzx eax, byte [r14 + rcx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400013f0
jmp 0x140001417
movdqu xmm1, xmmword [rsi]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
mov r9, rbx
mov r8, rbx
mov edx, r15d
mov rcx, r12
call fcn.140001470
movups xmm0, xmmword [rbx]
add rbx, 0x10
add rdi, 0x10
sub r14, 0x10
movups xmmword [rsi], xmm0
sub rbp, 1
jne 0x1400013b5
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rsi
ret
Function at 0x140009a90
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rcx], 0
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
mov dword [rcx + 0x24], 0x5be0cd19
ret

Function at 0x14000ac70
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
movsxd r10, dword [rcx]
lea r8, [rcx + 4]
xor r9d, r9d
test r10, r10
jle 0x14000acd1
mov qword [rsp], rbx
movabs r11, 0xcccccccccccccccd
lea rbx, [0x140064070]
nop dword [rax + rax]
movsxd rcx, r9d
lea r8, [r8 + 1]
mov rax, r11
inc r9d
mul rcx
shr rdx, 6
lea rax, [rdx + rdx*4]
shl rax, 4
sub rcx, rax
movzx eax, byte [rcx + rbx]
xor byte [r8 - 1], al
sub r10, 1
jne 0x14000aca0
mov rbx, qword [rsp]
add rsp, 8
ret
Function at 0x140015bc0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
jb 0x140015bdb
mov rcx, qword [rdx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140015c19
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140015c14
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140015c34
mov rcx, r8
call fcn.14001df5c
mov qword [rbx + 0x10], 0
xor eax, eax
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x30
pop rbx
ret
call fcn.140024798
int3

Function at 0x1400191f0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140019226
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x20
pop rbx
ret
Function at 0x140019970
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor r14d, r14d
lea rax, [rsp + 0x78]
mov edi, r8d
mov qword [rsp + 0x28], r14
mov rsi, rdx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x30], r14d
xor r8d, r8d
xor edx, edx
mov rbp, rcx
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140019a18
cmp dword [rsp + 0x78], ebx
jbe 0x140019a14
nop dword [rax]
cmp ebx, edi
jae 0x140019a14
mov r8d, edi
mov qword [rsp + 0x20], r14
sub r8d, ebx
lea r9, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x30]
xor r9d, r9d
add ebx, eax
mov qword [rsp + 0x28], r14
add rsi, rax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140019a18
cmp dword [rsp + 0x78], r14d
ja 0x1400199c0
mov eax, ebx
jmp 0x140019a1d
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14001b6e0
Capabilities:
Set current directory

Disassembly:
cmp qword [rcx + 0x18], 0x10
jb 0x14001b6ea
mov rcx, qword [rcx]
jmp qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]

Function at 0x14001b710
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.140020860
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov esi, eax
mov ebx, ebp
test eax, eax
jle 0x14001b852
nop dword [rax + rax]
movsxd rax, ebx
lea rdx, [rsp + 0x50]
add rdx, rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14001b7c0
lea rcx, [rsp + 0x30]
call fcn.140005480
nop
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14001b801
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x30], 0
add qword [rdi + 8], 0x20
jmp 0x14001b813
lea r8, [rsp + 0x30]
mov rcx, rdi
call fcn.14001a770
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001b847
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b842
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b87e
call fcn.14001df5c
add ebx, 4
cmp ebx, esi
jl 0x14001b790
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001df00
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140024798
int3
Function at 0x14001b890
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov ecx, 0x202
lea rdx, [rsp + 0x40]
xor edi, edi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14001ba85
mov ecx, 0x202
lea rdx, [rbp + 0xe0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001b91d
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
nop dword [rax]
inc r8
cmp byte [rdi + r8], dil
jne 0x14001b910
xor edx, edx
jmp 0x14001b980
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x100
call fcn.140020860
mov edx, 0xff
lea rcx, [rbp + 0x280]
call qword [sym.imp.WS2_32.dll_gethostname]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
lea rax, [rbp + 0x280]
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14001b970
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x20]
call fcn.140005480
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdx, qword [rsp + 0x38]
mov rsi, rax
cmp rdx, 0x10
jb 0x14001b9e1
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b9dc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001bab5
call fcn.14001df5c
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
test rsi, rsi
je 0x14001ba85
mov rsi, qword [rsi + 0x18]
mov rax, qword [rsi]
test rax, rax
je 0x14001ba7b
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
inc rbx
cmp byte [rax + rbx], dil
jne 0x14001ba24
mov r8, rbx
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.140005480
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x38]
mov edi, dword [rax]
cmp rdx, 0x10
jb 0x14001ba7b
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba76
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001baaf
call fcn.14001df5c
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, edi
jmp 0x14001ba87
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.14001df00
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140024798
int3
call fcn.140024798
int3
Function at 0x14001bb30
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x2e0
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001bb8e
xor eax, eax
mov qword [rbx + 0x18], 0xf
mov qword [rbx], rax
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rax
mov byte [rbx], al
inc r8
cmp byte [rax + r8], al
jne 0x14001bb81
xor edx, edx
jmp 0x14001bbf2
xor edx, edx
lea rcx, [rsp + 0x1d0]
mov r8d, 0x100
call fcn.140020860
mov edx, 0xff
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WS2_32.dll_gethostname]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov qword [rbx + 0x18], 0xf
mov qword [rbx], rax
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x10], rax
mov byte [rbx], al
lea rax, [rsp + 0x1d0]
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14001bbe0
lea rdx, [rsp + 0x1d0]
mov rcx, rbx
call fcn.140005480
mov rax, rbx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14001df00
add rsp, 0x2e0
pop rbx
ret

Function at 0x14001bce0
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x30]
call fcn.140020860
mov dword [rsp + 0x24], 0x100
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001bd60
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140005480
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14001df00
add rsp, 0x140
pop rbx
ret

Function at 0x14001bda0
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
xor bl, bl
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x20], 9
mov ecx, 1
movzx eax, bl
cmove eax, ecx
add rsp, 0x50
pop rbx
ret
Function at 0x14001c010
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x14001c060
lea rcx, [rbp - 0x39]
call fcn.140005480
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rcx, qword [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14002aa10
test eax, eax
js 0x14001c0a8
movzx eax, word [rbp - 0x13]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
jne 0x14001c0a8
mov sil, 1
jmp 0x14001c0ab
xor sil, sil
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001c0e6
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1e9
call fcn.14001df5c
test sil, sil
je 0x14001c1a6
mov byte [rbp - 0x49], 1
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], r15b
inc rbx
cmp byte [rdi + rbx], r15b
jne 0x14001c107
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140005480
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_2241a3a96db0082524e97a66b71414a3___bool__char____ptr64__char____ptr64__void____ptr64_.0
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.14001c1f0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001c183
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c17e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1e3
call fcn.14001df5c
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
movzx ecx, byte [rbp - 0x49]
test cl, cl
je 0x14001c1b5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x14001c1af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
sete cl
mov rax, qword [r14]
mov byte [rax], cl
mov rax, qword [r14]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001df00
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140024798
int3
call fcn.140024798
int3
mov r9, qword [r9]
add rcx, 8
mov r8, qword [r8]
mov rdx, qword [rdx]
jmp 0x14001c010
Function at 0x14001c1f0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x3c0
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rdx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x190]
call fcn.140020860
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001c241
mov r9, qword [rbx]
lea r8, str._s.
mov edx, 0x103
lea rcx, [rsp + 0x190]
call fcn.14001bf70
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c2c0
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14001c293
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
xor al, al
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.14001df00
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3c0
pop rdi
pop rsi
pop rbp
ret
movzx ecx, byte [rsp + 0x7c]
movzx eax, byte [rsp + 0x7d]
cmp cl, 0x2e
jne 0x14001c2ea
test al, al
je 0x14001c36d
cmp cl, cl
jne 0x14001c2ea
cmp al, cl
jne 0x14001c2ea
cmp byte [rsp + 0x7e], 0
je 0x14001c36d
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x2a0]
call fcn.140020860
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14001c30c
mov r9, qword [rbx]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov edx, 0x103
lea rcx, [rsp + 0x2a0]
call fcn.14001bf70
mov qword [rsp + 0x30], rbp
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14001c3b1
mov rax, qword [rcx]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call qword [rax + 0x10]
test al, al
je 0x14001c383
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001c2c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14001c3aa
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], 0
mov al, 1
jmp 0x14001c295
call fcn.14001cea4
int3
Function at 0x14001c410
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x14001c060
lea rcx, [rbp - 0x39]
call fcn.140005480
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rcx, qword [rbp - 0x39]
lea rdx, [rbp - 0x19]
call fcn.14002aa10
test eax, eax
js 0x14001c0a8
movzx eax, word [rbp - 0x13]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
jne 0x14001c0a8
mov sil, 1
jmp 0x14001c0ab
xor sil, sil
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001c0e6
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c0e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1e9
call fcn.14001df5c
test sil, sil
je 0x14001c1a6
mov byte [rbp - 0x49], 1
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], r15b
inc rbx
cmp byte [rdi + rbx], r15b
jne 0x14001c107
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140005480
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_2241a3a96db0082524e97a66b71414a3___bool__char____ptr64__char____ptr64__void____ptr64_.0
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x49]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x19]
mov qword [rbp + 0x1f], rax
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.14001c1f0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14001c183
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c17e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c1e3
call fcn.14001df5c
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
movzx ecx, byte [rbp - 0x49]
test cl, cl
je 0x14001c1b5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x14001c1af
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
sete cl
mov rax, qword [r14]
mov byte [rax], cl
mov rax, qword [r14]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001df00
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140024798
int3
call fcn.140024798
int3
mov r9, qword [r9]
add rcx, 8
mov r8, qword [r8]
mov rdx, qword [rdx]
jmp 0x14001c010