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

Disassembly:
test r9, r9
je 0x140099112
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, r9
mov r15d, 4
mov rdi, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, r15
jb 0x1400990dd
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x68]
lea rdx, [rsp + 0x24]
xor eax, dword [rsp + 0x20]
mov r8, r15
mov rcx, r14
mov dword [rsp + 0x24], eax
call sub.VCRUNTIME140.dll_memcpy
add r14, r15
add rsi, r15
add rdi, r15
sub rbp, 1
jne 0x140099092
test rbx, rbx
je 0x1400990fa
sub rsi, rdi
sub r14, rdi
mov al, byte [rsi + rdi]
xor al, byte [rdi]
mov byte [r14 + rdi], al
inc rdi
sub rbx, 1
jne 0x1400990e8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140099114
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400991c1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov r14d, 4
mov rsi, rdx
mov rdi, rcx
cmp rbx, r14
jb 0x140099199
mov rbp, rbx
shr rbp, 2
imul rax, rbp, 0xfffffffffffffffc
add rbx, rax
mov r8, r14
lea rcx, [rsp + 0x68]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x60]
lea rdx, [rsp + 0x20]
xor eax, dword [rsp + 0x68]
mov r8, r14
mov rcx, rdi
mov dword [rsp + 0x20], eax
call sub.VCRUNTIME140.dll_memcpy
add rdi, r14
add rsi, r14
sub rbp, 1
jne 0x140099151
test rbx, rbx
je 0x1400991af
sub rsi, rdi
mov al, byte [rsi + rdi]
xor byte [rdi], al
inc rdi
sub rbx, 1
jne 0x1400991a1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14009f10c
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm1, xmmword [rcx]
mov r9d, 4
shl edx, 2
mov r8, rcx
movdqu xmm0, xmmword [rcx + rdx*4]
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + rdx*4], xmm1
add edx, 0xfffffffc
cmp edx, r9d
jbe 0x14009f15b
aesimc xmm0, xmmword [r8 + rdx*4]
mov ecx, r9d
add r9d, 4
aesimc xmm1, xmmword [r8 + rcx*4]
movdqu xmmword [r8 + rcx*4], xmm0
movdqu xmmword [r8 + rdx*4], xmm1
add edx, 0xfffffffc
cmp r9d, edx
jb 0x14009f132
mov eax, r9d
aesimc xmm0, xmmword [r8 + rax*4]
movdqu xmmword [r8 + rax*4], xmm0
ret

Function at 0x1400a02e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a032a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400a032a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400a032a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400a032a
cmp dword [rcx + 0x84], 0xe
jbe 0x1400a032a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400a032c
xor al, al
add rsp, 0x28
ret
Function at 0x14000f110
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000f16d
lea rbx, [0x1401132c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000f154
cmp r10, 2
jb 0x14000f154
cmp byte [r9], r8b
jne 0x14000f154
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000f130
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000f1af
lea rbx, [0x1401132c0]
cmp r8b, 0x23
jne 0x14000f193
cmp byte [r9], r8b
jne 0x14000f193
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000f180
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000f2f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000f30a
mov qword [r8], 0
lea rdx, [0x140112c74]
call fcn.14000f1c0
mov rbx, rax
test rax, rax
jne 0x14000f32a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000f415
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f415
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000f415
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000f415
cmp rdi, 0xffffffffffffffff
je 0x14000f415
mov rax, qword [0x14012deb0]
test rax, rax
je 0x14000f3a6
inc dword [rax + 0x3ac]
mov rdx, qword [0x14012dea0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x14000f415
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000f402
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14012deb0]
test rax, rax
je 0x14000f3f1
dec dword [rax + 0x3ac]
mov rdx, qword [0x14012dea0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14000f41e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000f410
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000f420
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400114c0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov rax, qword [rcx + 0x108]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1401132c0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov rax, qword [0x14012deb0]
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rax + 0x1d7c], ebx
jne 0x14001154d
mov dword [rax + 0x1d80], ebx
cmp dword [rax + 0x1db8], ebx
jne 0x14001155c
mov byte [rax + 0x1dbc], 1
cmp dword [rax + 0x1d64], ebx
jne 0x140011573
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14002dd20
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140016bb0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x140016c00
lea r11, [0x1401132c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140016be3
cmp byte [r8], r9b
jne 0x140016be3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140016bd0
mov rcx, qword [0x14012deb0]
not edx
add rcx, 0x1d08
jmp fcn.14000f6a0
Function at 0x14001cd40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x14012deb0]
lea r11, [0x1401132c0]
movsxd r10, ecx
mov rbx, qword [r8 + 0x1d28]
add rbx, 0x100
mov rax, qword [rbx + 8]
movsxd r9, dword [rbx]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r10b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor edi, dword [r11 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r11 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r11 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r11 + rdx*4]
not edi
cmp dword [r8 + 0x1d64], edi
jne 0x14001cde9
mov r8, r10
mov edx, 4
mov ecx, edi
call fcn.14002dd20
mov r9d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r9d, ecx
jne 0x14001ce1d
inc r9d
test ecx, ecx
je 0x14001ce03
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14001ce08
mov eax, 8
cmp eax, r9d
mov rcx, rbx
cmovg r9d, eax
mov edx, r9d
call fcn.14002ef00
mov r9d, dword [rbx]
mov rax, qword [rbx + 8]
movsxd rcx, r9d
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001da50
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14012deb0]
mov edi, edx
cmp byte [rbx + 0x212d], 0
jne 0x14001dab1
cmp byte [rbx + 0x212e], 0
jne 0x14001dab1
movsx r9d, word [rbx + 0x321e]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000f000
test dil, 1
je 0x14001dbe7
jmp 0x14001db41
movss xmm1, dword [rbx + 0x1708]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x321e]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1401209e4]
mulss xmm1, dword [0x1401209d8]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x120]
addss xmm1, dword [rbx + 0x124]
mov qword [rbx + 0x1e44], rax
mov dword [rbx + 0x1e2c], 1
movss dword [rbx + 0x1e3c], xmm0
mov byte [rbx + 0x1e64], 1
movss dword [rbx + 0x1e40], xmm1
movss xmm0, dword [rbx + 0x1764]
mulss xmm0, dword [0x140120948]
or dword [rbx + 0x1e28], 0x41
movss dword [rbx + 0x1e88], xmm0
call fcn.14000f000
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x14001db91
lea r11, [0x1401132c0]
cmp r9b, 0x23
jne 0x14001db74
cmp byte [r8], r9b
jne 0x14001db74
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14001db61
mov rcx, qword [0x14012deb0]
not edx
add rcx, 0x1d08
call fcn.14000f6a0
test rax, rax
je 0x14001dbe7
cmp byte [rax + 0xc7], 0
je 0x14001dbe7
mov byte [rax + 0xce], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xe8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x321e]
mov edx, 0x10
movsx r9d, word [rbx + 0x321e]
call fcn.14000f000
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x22c0347
call fcn.140019860
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010ea20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140022d00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3308], 0
lea rbx, [rcx + 0x3310]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140022da7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140022d5a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002eca0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000fa80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3308]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3318]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14012dea8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140022daf
mov rcx, rbx
call fcn.14000fa80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140023200
Capabilities:
Hash data with crc32

Disassembly:
push rbx
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov rbx, rcx
mov eax, r10d
test r9b, r9b
je 0x140023252
lea r11, [0x1401132c0]
cmp r9b, 0x23
jne 0x140023235
cmp byte [r8], r9b
jne 0x140023235
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140023222
mov r11, qword [0x14012deb0]
mov r10, qword [r11 + 0x32d0]
test r10, r10
je 0x140023299
lea r9, [r10 + 4]
test r9, r9
je 0x140023299
not eax
cmp dword [r9], eax
je 0x1400232a2
movsxd r8, dword [r9 - 4]
lea rdx, [r10 + 4]
movsxd rcx, dword [r11 + 0x32c8]
add r8, r9
xor r9d, r9d
add rdx, rcx
cmp r8, rdx
cmovne r9, r8
test r9, r9
jne 0x140023270
mov rcx, rbx
pop rbx
jmp fcn.140023110
mov rax, r9
pop rbx
ret
Function at 0x1400269c0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140026bc4
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x18]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x1401132c0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x18]
test edx, edx
je 0x140026b8c
mov rcx, rbp
call fcn.140026090
mov edx, dword [rdi - 0x14]
mov rbx, rax
test edx, edx
je 0x140026a3e
lea rcx, [rbp + 0x3268]
call fcn.14000f6a0
mov rcx, rax
jmp 0x140026a40
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi]
movd xmm1, eax
movsx eax, word [rdi + 2]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 4]
movd xmm1, eax
movsx eax, word [rdi + 6]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 8]
movd xmm1, eax
movsx eax, word [rdi + 0xa]
and dword [rbx + 0xbc], 0xfffffe49
or dword [rbx + 0xbc], 0x49
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x58], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140026ad1
cmp qword [rcx + 0x20], 0
jne 0x140026ac6
mov qword [rcx + 0x20], rbx
jmp 0x140026ad1
cmp qword [rcx + 0x28], 0
jne 0x140026ad1
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xc]
mov dword [rbx + 0xb4], eax
movsx eax, byte [rdi - 8]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 4]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rcx, rbx
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140026b10
mov rcx, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140026b04
mov r9d, dword [rcx]
lea r8, str.DockNode__02X
lea rcx, [rsp + 0x20]
mov edx, 0x14
call fcn.14000f000
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov edx, r14d
test r9b, r9b
je 0x140026b70
nop dword [rax]
cmp r9b, 0x23
jne 0x140026b53
cmp byte [r8], r9b
jne 0x140026b53
cmp byte [r8 + 1], r9b
cmove edx, r14d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r15 + rcx*4]
test r9b, r9b
jne 0x140026b40
mov rcx, qword [0x14012deb0]
not edx
add rcx, 0x1d08
call fcn.14000f6a0
mov qword [rbx + 0x80], rax
add rdi, 0x24
sub rsi, 1
jne 0x140026a10
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14010ea20
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x1400495a0
Capabilities:
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
test r8, r8
je 0x140049630
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140049600
lea r11, [0x1401132c0]
nop
cmp r9b, 0x23
jne 0x1400495e3
cmp byte [r8], r9b
jne 0x1400495e3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400495d0
mov rcx, qword [0x14012deb0]
not eax
cmp dword [rcx + 0x1d7c], eax
jne 0x140049617
mov dword [rcx + 0x1d80], eax
cmp dword [rcx + 0x1db8], eax
jne 0x1400496a7
mov byte [rcx + 0x1dbc], 1
add rsp, 0x20
pop rsi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x38], rdi
mov rdi, qword [0x14012deb0]
mov rax, qword [rdi + 0x1d28]
movsxd rcx, dword [rax + 0x100]
mov rax, qword [rax + 0x108]
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, rsi
call fcn.14000f110
mov ebx, eax
cmp dword [rdi + 0x1d7c], eax
jne 0x140049675
mov dword [rdi + 0x1d80], eax
cmp dword [rdi + 0x1db8], ebx
jne 0x140049684
mov byte [rdi + 0x1dbc], 1
cmp dword [rdi + 0x1d64], ebx
mov rdi, qword [rsp + 0x38]
jne 0x1400496a0
mov r8, rsi
mov edx, 0xb
mov ecx, ebx
call fcn.14002dd20
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
Function at 0x14004be70
Capabilities:
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14012d010]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rdx, [rsp + 0x30]
call fcn.14004bff0
mov rcx, rax
call fcn.14004de60
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0xc0]
call fcn.14004c1c0
lea rdx, [rsp + 0x90]
call fcn.14004c010
mov rcx, rax
call fcn.14004de60
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14004ea70
nop
lea rdx, [rsp + 0x40]
call fcn.14004c050
mov rcx, rax
call fcn.14004de60
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14004f1e0
lea rdx, [0x14004f3b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0xc0]
call fcn.14004ea30
lea rdx, [rsp + 0x60]
call fcn.14004c0b0
mov rcx, rax
call fcn.14004de60
mov rbx, rax
lea rdx, [rsp + 0x30]
call fcn.14004c090
mov rcx, rax
call fcn.14004de60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, [rsp + 0x78]
call fcn.14004c110
mov rcx, rax
call fcn.14004de60
mov rbx, rax
lea rdx, [rsp + 0x40]
call fcn.14004c0e0
mov rcx, rax
call fcn.14004de90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x13]
call rdi
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc00002b4
call rbx
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14004d040
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movdqa xmm0, xmmword [0x140120bb0]
xor edi, edi
mov eax, 0xd
mov edx, edi
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x14004d097
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d080
mov byte [rbp + rax - 0x45], dil
mov edx, edi
lea rax, [rbp - 0x45]
mov dword [rbp - 0x45], 0xd8addedd
mov qword [rbp - 0x31], rax
mov eax, 0xa
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x41], 0xefc0efcb
mov dword [rbp - 0x3d], 0x8bf8cc
test eax, eax
je 0x14004d0e7
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d0d0
movdqa xmm0, xmmword [0x140120b30]
mov edx, edi
mov byte [rbp + rax - 0x45], dil
lea rax, [rbp - 0x45]
mov qword [rbp - 0x29], rax
mov eax, 0xc
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x14004d127
nop
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x14004d110
mov byte [rbp + rax - 0x45], dil
mov rbx, rdi
lea rax, [rbp - 0x45]
mov qword [rbp - 0x21], rax
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x31]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x14004d190
inc rbx
cmp rbx, 3
jl 0x14004d140
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x19]
call fcn.14004d1b0
mov rcx, rax
call fcn.14004de60
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.14004be70
int3
Function at 0x14004de60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r9, [rcx + 4]
xor edx, edx
test eax, eax
je 0x14004de80
nop dword [rax]
lea r8d, [rdx - 0x7f]
xor byte [rdx + r9], r8b
inc edx
mov eax, dword [rcx]
cmp edx, eax
jb 0x14004de70
mov ecx, eax
mov rax, r9
mov byte [rcx + r9], 0
ret

Function at 0x14004de90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
xor r11d, r11d
mov r9, rcx
mov edx, r11d
test eax, eax
je 0x14004dec5
mov r10d, 0x81
nop word [rax + rax]
mov eax, edx
lea ecx, [r10 + rdx]
inc edx
xor word [r9 + rax*2 + 4], cx
mov eax, dword [r9]
cmp edx, eax
jb 0x14004deb0
mov ecx, eax
lea rax, [r9 + 4]
mov word [r9 + rcx*2 + 4], r11w
ret

Function at 0x14004e1d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x14004e207
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x14004e228
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14004e22a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14004e283
test ecx, ecx
jle 0x14004e263
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14004e283
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14004e283
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret