joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043f0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004400]
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x1400043b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400043e0]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400044a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004360]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001730
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call dbg.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002100
Capabilities:
Enumerate pe sections

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

Function at 0x140002150
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000226d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002210
add rax, 0x28
cmp rax, r9
jne 0x140002250
xor eax, eax
ret

Function at 0x140002270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000228f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000228f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400022b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400022d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400022d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400022d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002320
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002317
test rcx, rcx
je 0x1400022d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002308
xor eax, eax
ret
Function at 0x140002330
Capabilities:
Parse pe header

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

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

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

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

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002422
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002430
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002422
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002422
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002422
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002485
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002498
add rdx, 0x28
cmp rdx, r10
jne 0x140002470
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400024a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400024b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000248e
test ecx, ecx
jg 0x1400024a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400106cc
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov eax, dword [rcx + 8]
test eax, eax
jne 0x1400106ea
mov rcx, rsi
call fcn.14001019d
mov eax, dword [rsi + 8]
cmp eax, 2
je 0x140010711
cmp eax, 1
jne 0x140010781
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
add rsi, 0x10
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140064eb6
mov r9, qword [rsi]
test r9, r9
jne 0x140010735
lea rcx, str.ctx__lgfp
lea rdx, str..._logging.c
mov r8d, 0x2f
call fcn.14008ff98
mov r9, qword [rsi]
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
mov edx, 1
call fcn.140092b8c
cmp rax, qword [rdi + 8]
jae 0x140010781
mov rcx, qword [rsi]
test rcx, rcx
je 0x140010760
call fcn.1400921a0
mov qword [rsi], 0
mov dword [rsi + 8], 3
mov rcx, qword [rsi + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, str.Disabled_writing_session_log_due_to_error_while_writing
add rsp, 0x28
pop rdi
pop rsi
jmp rax
nop
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x1400154f9
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
cmp rax, qword [rdx]
je 0x14001552d
lea rcx, str.x0__nw__x1__nw
lea rdx, str..._mpint.c
mov r8d, 0x9a
call fcn.14008ff98
mov rax, qword [rdi]
and ebx, 1
neg rbx
mov qword [rsp + 0x28], rbx
test rax, rax
je 0x14001556f
xor eax, eax
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx + rax*8]
xor rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
and rcx, rdx
mov rdx, qword [rdi + 8]
xor qword [rdx + rax*8], rcx
mov rdx, qword [rsi + 8]
xor qword [rdx + rax*8], rcx
inc rax
cmp rax, qword [rdi]
jb 0x14001553f
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001583b
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov rax, qword [rcx + 8]
mov rcx, rax
shr rcx, 0x3e
je 0x140015871
lea rcx, str.hex.len_____size_t_0____4
lea rdx, str..._mpint.c
mov r8d, 0xfa
call fcn.14008ff98
mov rax, qword [r14 + 8]
lea rax, [rax*4 + 0x3f]
shr rax, 6
mov ecx, 1
cmovne rcx, rax
call fcn.140015334
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140015919
mov r8, 0xffffffffffffffff
xor r9d, r9d
xor r10d, r10d
add rcx, qword [r14]
movsx ecx, byte [r8 + rcx]
movsxd rcx, ecx
lea rbx, [rcx - 0x61]
mov edx, 0x66
sub rdx, rcx
or rdx, rbx
sar rdx, 0x3f
lea rsi, [rcx - 0x41]
mov ebx, 0x46
sub rbx, rcx
or rbx, rsi
sar rbx, 0x3f
lea esi, [rcx - 0x30]
lea edi, [rcx - 0x57]
xor esi, edi
and edx, esi
add ecx, 0xffffffc9
xor edi, ecx
xor edi, edx
and ebx, edi
xor ebx, ecx
and ebx, 0xf
mov rdx, r10
shr rdx, 4
mov ecx, r9d
and cl, 0x3c
shl rbx, cl
mov rcx, qword [rax + 8]
or qword [rcx + rdx*8], rbx
inc r10
mov rcx, qword [r14 + 8]
dec r8
add r9, 4
cmp r10, rcx
jb 0x1400158a5
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140015e64
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
mov r9, rcx
test r8, r8
je 0x140015e95
lea rax, [r8 - 1]
movzx ecx, byte [r9 + rax]
xor rcx, 0x30
dec rcx
sar rcx, 0x3f
xor r8, rax
and r8, rcx
xor r8, rax
add rax, 0xffffffffffffffff
jb 0x140015e74
jmp 0x140015e98
xor r8d, r8d
test rdx, rdx
je 0x140015ef5
xor ecx, ecx
mov r10, r8
shr r10, cl
mov edi, 1
shl rdi, cl
cmp rdi, rdx
jae 0x140015ee7
and r10b, 1
neg r10b
mov r11, rdx
sub r11, rdi
add rdi, r9
xor esi, esi
mov bl, byte [r9 + rsi]
mov bpl, byte [rdi + rsi]
mov eax, ebp
xor al, bl
and al, r10b
xor bl, al
mov byte [r9 + rsi], bl
xor al, bpl
mov byte [rdi + rsi], al
inc rsi
cmp r11, rsi
jne 0x140015ec4
inc rcx
mov rax, rdx
shr rax, cl
test rax, rax
jne 0x140015e9f
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14001de61
Capabilities:
Get session user name

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov edx, 0x38
call fcn.14000366f
cmp byte [rax], 0
je 0x14001de85
mov rcx, rax
add rsp, 0x20
pop rsi
jmp fcn.140064745
mov rcx, rsi
mov edx, 0x39
call fcn.140003442
test al, al
je 0x14001dea0
add rsp, 0x20
pop rsi
jmp fcn.140079dc7
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14001fd25
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov ebp, dword [rsp + 0x70]
mov rcx, r8
mov edx, r9d
call fcn.1400034f9
cmp eax, 1
je 0x14001fd91
cmp eax, 2
je 0x14001fd9a
cmp eax, 3
jne 0x14001fda3
mov rcx, rbx
mov edx, ebp
call fcn.14000366f
lea rcx, str.custom:
mov rdx, rax
xor r8d, r8d
call fcn.140064786
mov rbx, rax
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.14007f996
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140012402
lea r8, str.implicit
jmp 0x14001fdaa
lea r8, str.explicit
jmp 0x14001fdaa
lea r8, str.none
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14007f996
Function at 0x1400224c4
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rax, qword [0x1400d80e0]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
cmp byte [0x1400d8cd0], 0
je 0x1400226ce
mov edi, r8d
mov ebx, edx
mov r14, rcx
cmp qword [0x1400d8cd8], 0
jne 0x1400225d0
cmp word [0x1400d8ce0], 0
jne 0x140022560
lea rcx, [rsp + 0x80]
mov dword [rcx], 3
lea rax, [0x1400226ee]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], 0
mov rax, qword [0x1400d9a88]
mov qword [rcx + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
lea rax, str.SizeTipClass
mov qword [rcx + 0x40], rax
call qword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x1400d8ce0], ax
mov rsi, qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x18
call rsi
mov dword [0x1400d8ce4], eax
mov ecx, 0x17
call rsi
mov dword [0x1400d8ce8], eax
lea rsi, [rsp + 0x84]
mov r8d, 0x150
mov rcx, rsi
xor edx, edx
call fcn.1400855f0
mov dword [rsi - 4], 0x154
lea r8, [rsp + 0x80]
mov ecx, 0x29
mov edx, 0x154
xor r9d, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rcx, [rsp + 0x15c]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov qword [0x1400d8cf0], rax
lea rdx, str._dx_d
lea rcx, [rsp + 0x80]
mov r8d, ebx
mov r9d, edi
call fcn.140004398
mov rcx, qword [0x1400d8cd8]
test rcx, rcx
je 0x140022609
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x1400226ce
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rsi, rax
lea r15, [rsp + 0x80]
mov rcx, r15
call fcn.140094270
lea rbx, [rsp + 0x78]
mov rcx, rsi
mov rdx, r15
mov r8d, eax
mov r9, rbx
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rsi, [rsp + 0x68]
mov rcx, r14
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsi]
mov ecx, dword [rsi + 4]
mov edx, 0x10
cmp eax, edx
cmovle eax, edx
mov esi, dword [rbx]
mov ebx, dword [rbx + 4]
sub ecx, ebx
cmp ecx, 0x10
cmovle ecx, edx
mov rdi, qword [0x1400d9a88]
movzx edx, word [0x1400d8ce0]
mov qword [rsp + 0x50], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], 0
mov ecx, 0x88
mov r8, r15
mov r9d, 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400d8cd8], rax
mov rcx, rax
mov edx, 4
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.140084030
nop
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14003b682
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
mov r10b, byte [rcx]
mov r9b, byte [rcx + 1]
test r8d, r8d
jle 0x14003b6e2
mov r8d, r8d
neg r8
mov eax, 1
inc r10b
movzx r11d, r10b
movzx esi, byte [rcx + r11 + 2]
add r9b, sil
movzx edi, r9b
mov bl, byte [rcx + rdi + 2]
mov byte [rcx + r11 + 2], bl
mov byte [rcx + rdi + 2], sil
movzx ebx, byte [rcx + r11 + 2]
add esi, ebx
movzx ebx, sil
mov bl, byte [rcx + rbx + 2]
xor byte [rdx + rax - 1], bl
lea rbx, [r8 + rax]
inc rbx
inc rax
cmp rbx, 1
jne 0x14003b69c
mov byte [rcx], r10b
mov byte [rcx + 1], r9b
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003c472
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x58], r9
mov edi, edx
mov ebx, ecx
mov r12, qword [rsp + 0x140]
mov rax, qword [0x1400d80e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
imul eax, r8d, 0x3e8
imul r14, rax, 0x10624dd3
shr r14, 0x26
mov esi, 1
mov r13, qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, 1
mov r15d, ebp
mov ebp, esi
call r13
mov esi, eax
mov rax, qword [rsp + 0x120]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x128]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x130]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x138]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x20], eax
mov ecx, ebx
mov edx, edi
mov r8d, ebp
mov r9d, dword [rsp + 0x110]
call fcn.14003b7ab
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x14003c592
test cl, cl
jne 0x14003c592
mov rcx, r12
xor edx, edx
call fcn.140064a46
jmp 0x14003c4cb
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140084030
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14003c636
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x1400d80e0]
xor rax, rsp
mov qword [rsp + 0xc20], rax
xor eax, eax
mov rcx, qword [r8 + rax*8]
xor rcx, qword [rdx + rax*8]
mov qword [rsp + rax*8 + 0x820], rcx
inc rax
cmp rax, 0x80
jne 0x14003c656
xor edi, edi
lea r8, [rsp + rdi]
add r8, 0x820
lea rcx, [rsp + rdi]
add rcx, 0x420
mov edx, 2
mov r9d, 2
call fcn.14003c744
sub rdi, 0xffffffffffffff80
cmp rdi, 0x400
jne 0x14003c673
xor edi, edi
lea r8, [rsp + rdi]
add r8, 0x420
lea rcx, [rsp + rdi]
add rcx, 0x20
mov edx, 0x10
mov r9d, 0x10
call fcn.14003c744
add rdi, 0x10
cmp rdi, 0x80
jne 0x14003c6a8
xor eax, eax
mov rcx, qword [rsp + rax*8 + 0x20]
xor rcx, qword [rsp + rax*8 + 0x820]
xor qword [rsi + rax*8], rcx
inc rax
cmp rax, 0x80
jne 0x14003c6da
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.14007a610
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.14007a610
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.14007a610
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.140084030
nop
add rsp, 0xc28
pop rdi
pop rsi
ret
Function at 0x14003f2cb
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
movaps xmm0, xmmword [str.expand_32_byte_k__a]
movups xmmword [rcx], xmm0
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
mov eax, dword [rdx + 0x10]
mov dword [rcx + 0x20], eax
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x24], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x2c], eax
mov dword [rcx + 0x80], 0x40
ret
Function at 0x14004081c
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov r9, qword [rdx + 8]
test r9, r9
je 0x14004087f
mov r8, qword [rdx]
xor r10d, r10d
movzx ecx, byte [r8 + r10]
xor ecx, eax
mov eax, ecx
and eax, 0xf
shr ecx, 4
imul edx, eax, 0x11111044
xor edx, ecx
imul r11d, eax, 0x8840020
imul ecx, eax, 0x4220000
xor ecx, r11d
xor ecx, edx
and edx, 0xf
shr ecx, 4
imul eax, edx, 0x11111044
imul r11d, edx, 0x8840020
xor r11d, eax
imul eax, edx, 0x4220000
xor eax, ecx
xor eax, r11d
inc r10
cmp r9, r10
jne 0x14004082d
ret

Function at 0x1400420dc
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov r9, rcx
shr r9, 0x20
mov r10d, dword [rdx + r8*4]
mov eax, r9d
rol eax, 4
xor r10d, r9d
xor eax, dword [rdx + r8*4 + 0x40]
mov r11d, eax
shr r11d, 8
mov r8d, r10d
shr r8d, 8
movd xmm0, r10d
movd xmm1, r8d
punpckldq xmm1, xmm0
movd xmm0, eax
movd xmm2, r11d
punpckldq xmm2, xmm0
punpcklqdq xmm1, xmm2
pand xmm1, xmmword [0x1400aea70]
por xmm1, xmmword [0x1400aea80]
pxor xmm0, xmm0
lea rdx, [0x1400ae870]
movdqa xmm2, xmmword [str._b_b_b_b_b_b_b_b]
lea rsi, [0x1400aea70]
movdqu xmm3, xmmword [rdx]
pshufd xmm3, xmm3, 0x1b
pand xmm3, xmm1
pxor xmm0, xmm3
paddd xmm1, xmm2
add rdx, 0x10
cmp rdx, rsi
jb 0x14004214f
pshufd xmm1, xmm0, 0xff
movd edi, xmm1
mov ebx, edi
shl ebx, 4
mov esi, 0x40004
and eax, esi
imul edx, eax, 0x3c00
and edx, ebx
xor edx, edi
pshufd xmm1, xmm0, 0xee
movd eax, xmm1
mov edi, eax
shl edi, 4
and r11d, esi
imul r11d, r11d, 0x3c00
and r11d, edi
xor r11d, eax
pshufd xmm1, xmm0, 0x55
movd edi, xmm1
mov ebx, edi
shl ebx, 4
and r10d, esi
imul eax, r10d, 0x3c00
and eax, ebx
xor eax, edi
movd edi, xmm0
mov ebx, edi
shl ebx, 4
and r8d, esi
imul esi, r8d, 0x3c00
and esi, ebx
xor esi, edi
and esi, 0xf000f000
shr edx, 0xc
and edx, 0xf000f
shr r11d, 4
and r11d, 0xf000f00
shr eax, 8
and eax, 0xf000f0
or eax, r11d
or eax, esi
or edx, eax
shr eax, 4
xor eax, edx
and eax, 0x7030702
xor edx, eax
shl eax, 4
xor eax, edx
mov ebx, eax
shr ebx, 8
xor ebx, edx
and ebx, 0x4e009e
xor eax, ebx
shl ebx, 8
xor ebx, eax
mov eax, ebx
shr eax, 0x10
xor eax, ebx
and eax, 0xd9d3
xor ebx, eax
shl eax, 0x10
xor eax, ebx
mov edx, eax
shr edx, 4
xor edx, eax
and edx, 0x5040004
mov ebx, edx
xor ebx, eax
shl edx, 4
shr eax, 1
xor eax, ebx
and eax, 0x4045015
xor edx, ecx
xor edx, ebx
xor edx, eax
add eax, eax
xor eax, edx
shl rax, 0x20
or rax, r9
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004718e
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 8], 0
mov r8, qword [rcx + 0x10]
test r8, r8
je 0x1400471fd
xor ecx, ecx
sub r8, rcx
add rcx, qword [rsi]
mov edx, 1
mov r9, rdi
call fcn.1400928c8
mov rbx, rax
mov rcx, rdi
call fcn.140092288
test eax, eax
jne 0x1400471eb
mov rcx, qword [rsi + 8]
test rbx, rbx
je 0x1400471f2
add rcx, rbx
mov qword [rsi + 8], rcx
mov r8, qword [rsi + 0x10]
cmp r8, rcx
ja 0x1400471ae
jmp 0x1400471f6
mov eax, 2
jmp 0x140047235
mov r8, qword [rsi + 0x10]
xor eax, eax
cmp rcx, r8
jne 0x140047213
mov rcx, rdi
call fcn.140092608
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
setne al
mov rcx, qword [rsi + 8]
mov rdx, qword [rsi]
lea rbx, [rsi + 0x18]
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x28], rcx
mov qword [rsi + 0x20], 0
mov dword [rsi + 0x30], 0
mov qword [rsi + 0x38], rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004b7f4
Capabilities:
Encode data using xor

Disassembly:
mov rcx, qword [rcx + 8]
jmp fcn.140015a24

Function at 0x14004b9cd
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, r9
mov ebx, r8d
mov r14, rdx
mov r12, rcx
mov ebp, dword [rsp + 0x110]
mov rax, qword [0x1400d80e0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x14004ba18
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x14004baad
movsxd r15, ebx
xor ebx, ebx
mov r13d, ebp
mov rax, qword [r12 + 0x28]
cmp rax, r13
cmovb r13, rax
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
cmp qword [r12 + 0x28], 0x73
jb 0x14004ba5e
lea rcx, str.h__hlen___MAX_HASH_LEN
lea rdx, str..._sshrsa.c
mov r8d, 0x393
call fcn.14008ff98
mov rcx, qword [rdi + 8]
mov rdx, r14
mov r8, r15
call fcn.140011cf8
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.140011dfc
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x20]
call qword [rax + 0x18]
test r13d, r13d
jle 0x14004ba9c
xor eax, eax
mov cl, byte [rsp + rax + 0x20]
xor byte [rsi + rax], cl
inc rax
cmp r13, rax
jne 0x14004ba8d
inc ebx
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jg 0x14004ba25
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140084030
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret