joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140049b20
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140049c87
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x140049b32
cmp edx, ecx
jne 0x140049c75
nop word [rax + rax]
test rsi, rsi
jne 0x140049c75
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x140049b94
nop
call fcn.14006e3a0
xorps xmm15, xmm15
mov r14, qword [0x140621bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.140049a40
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x140049c70
mov rdx, qword [0x14059bd28]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x140049c65
mov rcx, qword [0x14059bd20]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x14059df70]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x14059df70], rax
nop
mov edx, 1
lea rsi, [0x14059df78]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x140049c53
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x140336f96]
mov ebx, 0x28
nop
call fcn.140039a80
mov rax, rsi
mov rcx, rdx
call fcn.14006ca80
call fcn.140038300
lea rax, [0x140335154]
mov ebx, 0x23
call fcn.140039a80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.14006a780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140049b20
Function at 0x140057220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140057397
movzx edx, byte [rax]
test edx, edx
jne 0x140057254
nop dword [rax]
test r8b, r8b
jne 0x140057254
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x140057267
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140057357
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x140057345
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x140057337
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x1400572bd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x140057300
mov eax, 1
cmp rax, rbx
ja 0x1400572eb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.14006cb40
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x14005732f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x1400572f3
mov rcx, r11
mov eax, r12d
jmp 0x1400572c2
mov rcx, rbx
call fcn.14006ca80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006ca80
mov eax, r8d
mov rcx, rbx
call fcn.14006cb40
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x14005738d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x140057350
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x14005726d
mov eax, edx
mov rcx, rbx
call fcn.14006ca80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.14006ca80
nop
int3

Function at 0x14005d3a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14005d455
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.14005b020
nop
test bl, bl
je 0x14005d44f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x14005d4a0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.14006a660
xorps xmm15, xmm15
mov r14, qword [0x140621bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006a780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.14005d3a0
Function at 0x1400603c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x14006046f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x1400604c0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.14006a660
xorps xmm15, xmm15
mov r14, qword [0x140621bf0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14006a780
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.1400603c0
Function at 0x140268b00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140586720]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140268b20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140268b28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140268b20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x140268b75
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140268b6c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140268b20
add rax, 0x28
cmp rax, r9
jne 0x140268b58
xor eax, eax
ret

Function at 0x140268b80
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140586720]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140268ba0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140268ba8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x140268ba0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x140268c30
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140586720]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x140268c50
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x140268c58
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x6422dadc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x6422dadc1df
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 0x6422dadc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6422dadc06f
add dl, dl
jne 0x6422dadc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6422dadc0f6
xor eax, eax
add dl, dl
jne 0x6422dadc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6422dadc1ad
add dl, dl
jne 0x6422dadc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6422dadc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6422dadc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6422dadc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x6422dadc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x6422dadc07e
mov eax, 1
add dl, dl
jne 0x6422dadc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6422dadc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6422dadc0fb
sub eax, ebx
mov ebx, 1
jne 0x6422dadc14c
mov ecx, 1
add dl, dl
jne 0x6422dadc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6422dadc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6422dadc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6422dadc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6422dadc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6422dadc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6422dadc15d
cmp eax, 0x7d00
jae 0x6422dadc19b
cmp eax, 0x500
jb 0x6422dadc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6422dadc07e
cmp eax, 0x7f
ja 0x6422dadc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6422dadc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x6422dadc1d2
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 0x6422dadc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2fc4d7900
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d8302
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fc108]
test eax, eax
je 0x2fc4d839a
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fc110]
mov qword [rbp - 8], rax
jmp 0x2fc4d837e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d8372
cmp qword [rbp - 0x10], 0
je 0x2fc4d8372
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d8338
lea rax, [0x2fc4fc0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d839b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d84a0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d84c8
mov eax, 0
jmp 0x2fc4d8516
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d84f1
mov eax, 0
jmp 0x2fc4d8516
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8511
mov eax, 0
jmp 0x2fc4d8516
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d851c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d859a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d8591
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d8591
mov rax, qword [rbp - 8]
jmp 0x2fc4d85af
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d8564
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001010
Capabilities:
Encode data using xor

Disassembly:
movzx r10d, cl
test cl, cl
je 0x140001074
mov r9b, 1
xor al, al
nop dword [rax]
cmp r9b, r10b
je 0x140001047
movzx edx, r9b
add dl, dl
movzx r8d, dl
movzx ecx, r8b
xor cl, 0x1b
test r9b, r9b
movzx edx, cl
cmovns edx, r8d
xor r9b, dl
add al, 1
jne 0x140001020
not al
mov r9b, 1
test al, al
je 0x140001077
movzx ecx, r9b
add cl, cl
movzx r8d, cl
movzx ecx, r8b
xor cl, 0x1b
test r9b, r9b
movzx edx, cl
cmovns edx, r8d
xor r9b, dl
add al, 0xff
jne 0x140001050
jmp 0x140001077
xor r9b, r9b
movzx ecx, r9b
movzx eax, r9b
add al, al
shr cl, 7
or cl, al
movzx eax, cl
xor r9b, cl
shr al, 7
add cl, cl
or al, cl
movzx ecx, al
xor r9b, al
add al, al
shr cl, 7
or cl, al
movzx eax, cl
ror al, 7
xor al, cl
xor al, r9b
xor al, 0x63
ret

Function at 0x1400010b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov bl, 0x10
lea r11, [rcx + 0x10]
nop dword [rax + rax]
movzx eax, byte [r11 - 1]
lea r11, [r11 - 1]
xor al, 0x63
add bl, 0xff
movzx edx, al
add al, al
shr dl, 7
or dl, al
movzx ecx, dl
movzx eax, dl
shr cl, 6
shl al, 2
or cl, al
movzx r10d, cl
ror r10b, 5
xor r10b, dl
xor r10b, cl
je 0x140001154
mov r9b, 1
xor al, al
nop dword [rax + rax]
cmp r9b, r10b
je 0x140001127
movzx ecx, r9b
add cl, cl
movzx r8d, cl
movzx ecx, r8b
xor cl, 0x1b
test r9b, r9b
movzx edx, cl
cmovns edx, r8d
xor r9b, dl
add al, 1
jne 0x140001100
not al
mov r9b, 1
test al, al
je 0x140001157
movzx ecx, r9b
add cl, cl
movzx r8d, cl
movzx ecx, r8b
xor cl, 0x1b
test r9b, r9b
movzx edx, cl
cmovns edx, r8d
xor r9b, dl
add al, 0xff
jne 0x140001130
jmp 0x140001157
xor r9b, r9b
mov byte [r11], r9b
test bl, bl
jne 0x1400010c0
mov rbx, qword [rsp + 8]
ret
Function at 0x140001170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
xor al, al
lea r11, [rcx + 3]
mov byte [rsp + 0x48], al
mov qword [rsp + 0x50], r11
nop dword [rax]
nop dword [rax + rax]
movzx r12d, byte [r11 - 3]
movzx r15d, byte [r11 - 1]
movzx ebx, byte [r11]
movzx r14d, al
movzx ebp, bl
add r14, rcx
xor bpl, r15b
movzx r13d, bpl
movzx esi, byte [r14 + 1]
xor r13b, sil
xor r13b, r12b
movzx eax, r13b
add al, al
movzx ecx, al
movzx eax, cl
xor al, 0x1b
movzx r11d, al
test r13b, r13b
cmovns r11d, ecx
movzx r8d, r11b
xor r8b, r15b
xor r8b, r12b
movzx eax, r8b
add al, al
movzx edx, al
movzx eax, dl
xor al, 0x1b
movzx ecx, al
test r8b, r8b
movzx r8d, sil
cmovns ecx, edx
xor r11b, bl
movzx r10d, cl
xor r11b, sil
movzx eax, r11b
add al, al
movzx edx, al
movzx eax, dl
lea r9d, [r10 + r10]
xor al, 0x1b
movzx ecx, al
test r11b, r11b
cmovns ecx, edx
xor r8b, r12b
movzx ebx, cl
movzx eax, r8b
add al, al
movzx edx, al
movzx eax, r9b
xor al, 0x1b
movzx edi, al
lea r11d, [rbx + rbx]
movzx eax, r9b
test r10b, r10b
cmovns edi, eax
movzx eax, dl
xor al, 0x1b
movzx ecx, al
test r8b, r8b
mov rax, qword [rsp + 0x50]
movzx r8d, r15b
cmovns ecx, edx
xor r8b, sil
xor cl, dil
xor cl, r13b
xor cl, r12b
mov byte [rax - 3], cl
movzx eax, r8b
add al, al
movzx edx, al
movzx eax, r11b
xor al, 0x1b
movzx r9d, al
test bl, bl
movzx eax, r11b
cmovns r9d, eax
movzx eax, dl
xor al, 0x1b
test r8b, r8b
movzx ecx, al
cmovns ecx, edx
mov r11, qword [rsp + 0x50]
xor cl, sil
xor cl, r9b
movzx eax, bpl
add al, al
xor cl, r13b
mov byte [r14 + 1], cl
movzx r8d, byte [r11]
movzx ecx, al
movzx eax, cl
xor al, 0x1b
movzx edx, al
test bpl, bpl
cmovns edx, ecx
xor r8b, r12b
xor dl, dil
movzx eax, r8b
add al, al
xor dl, r13b
xor dl, r15b
movzx ecx, al
mov byte [r11 - 1], dl
movzx eax, cl
xor al, 0x1b
movzx edx, al
test r8b, r8b
movzx eax, byte [rsp + 0x48]
cmovns edx, ecx
mov rcx, qword [rsp + 0x40]
xor dl, r9b
add al, 4
xor dl, r13b
mov byte [rsp + 0x48], al
xor byte [r11], dl
add r11, 4
mov qword [rsp + 0x50], r11
cmp al, 0x10
jb 0x1400011a0
mov rbx, qword [rsp + 0x58]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r11d, byte [rdx]
mov rdi, rcx
movzx ecx, byte [rcx + 0x1d]
mov rbx, rdx
call fcn.140001010
movzx ecx, byte [rdi + 0x1e]
xor al, r11b
xor byte [rdi], al
call fcn.140001010
movzx ecx, byte [rdi + 0x1f]
xor byte [rdi + 1], al
call fcn.140001010
movzx ecx, byte [rdi + 0x1c]
xor byte [rdi + 2], al
call fcn.140001010
xor byte [rdi + 3], al
lea rdx, [rdi + 5]
movzx eax, r11b
mov r8b, 4
shr al, 7
add r11b, r11b
movzx eax, al
imul ecx, eax, 0x1b
xor cl, r11b
mov byte [rbx], cl
movzx eax, r8b
lea rdx, [rdx + 4]
add r8b, 4
movzx ecx, byte [rax + rdi - 4]
movzx eax, byte [rdx - 8]
xor byte [rdx - 4], al
movzx eax, byte [rdx - 7]
xor byte [rdx - 3], al
movzx eax, byte [rdx - 6]
xor byte [rdx - 2], al
xor byte [rdx - 5], cl
cmp r8b, 0x10
jb 0x1400013a2
movzx ecx, byte [rdi + 0xc]
call fcn.140001010
movzx ecx, byte [rdi + 0xd]
xor byte [rdi + 0x10], al
call fcn.140001010
movzx ecx, byte [rdi + 0xe]
xor byte [rdi + 0x11], al
call fcn.140001010
movzx ecx, byte [rdi + 0xf]
xor byte [rdi + 0x12], al
call fcn.140001010
xor byte [rdi + 0x13], al
mov r8b, 0x14
lea rax, [rdi + 0x15]
nop dword [rax + rax]
movzx ecx, r8b
lea rax, [rax + 4]
add r8b, 4
movzx edx, byte [rcx + rdi - 4]
movzx ecx, byte [rax - 8]
xor byte [rax - 4], cl
movzx ecx, byte [rax - 7]
xor byte [rax - 3], cl
movzx ecx, byte [rax - 6]
xor byte [rax - 2], cl
xor byte [rax - 5], dl
cmp r8b, 0x20
jb 0x140001410
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001800
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rdx
mov rbp, rcx
mov dl, 0x10
nop word [rax + rax]
add dl, 0xff
movzx r8d, dl
movzx eax, byte [r8 + rcx + 0x40]
mov byte [r8 + rcx], al
xor byte [r8 + rbx], al
movzx eax, byte [r8 + rcx + 0x50]
mov byte [r8 + rcx + 0x10], al
test dl, dl
jne 0x140001820
movzx ecx, byte [rbx + 1]
movzx eax, byte [rbx + 0xd]
mov byte [rbx + 1], al
movzx eax, byte [rbx + 9]
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 5], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 0xb], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xe], cl
mov rcx, rbx
mov byte [rbx + 6], al
call fcn.1400010b0
mov rsi, rbp
mov byte [rsp + 0x40], 0x80
sub rsi, rbx
lea rdi, [rbx + 0x10]
mov r14b, 0xd
test r14b, 1
je 0x1400018e2
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140001450
mov dl, 0x10
mov rcx, rdi
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xf]
lea rcx, [rcx - 1]
xor byte [rcx], al
add dl, 0xff
jne 0x1400018d0
jmp 0x140001900
mov dl, 0x10
mov rax, rdi
nop word [rax + rax]
movzx ecx, byte [rax + rsi - 1]
lea rax, [rax - 1]
xor byte [rax], cl
add dl, 0xff
jne 0x1400018f0
mov rcx, rbx
call fcn.140001170
movzx ecx, byte [rbx + 1]
movzx eax, byte [rbx + 0xd]
mov byte [rbx + 1], al
movzx eax, byte [rbx + 9]
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 5], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xf], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 0xb], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xe], cl
mov rcx, rbx
mov byte [rbx + 6], al
call fcn.1400010b0
add r14b, 0xff
jne 0x1400018b2
mov cl, 0x10
movzx eax, byte [rdi + rsi - 1]
lea rdi, [rdi - 1]
xor byte [rdi], al
add cl, 0xff
jne 0x140001970
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400021f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x30]
mov dword [rbp - 0x30], 0x6e402853
mov dword [rbp - 0x2c], 0x5d63642f
mov dword [rbp - 0x28], 0x4077612d
mov dword [rbp - 0x24], 0x28777176
mov dword [rbp - 0x20], 0x667d6174
mov dword [rbp - 0x1c], 0x5d3b7361
mov dword [rbp - 0x18], 0x3f3c6d66
mov dword [rbp - 0x14], 0x3672667b
call fcn.140001ef0
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140003b70
add rsp, 0x50
pop rbp
ret

Function at 0x1400025f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140002618
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000263e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002640
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002699
test ecx, ecx
jle 0x140002679
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140002699
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002699
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret