joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
movsxd r15, dword [rcx + 0x44]
mov rbp, rcx
add r15, rcx
mov r9d, 0x40
xor ecx, ecx
mov r8d, 0x3000
movzx ebx, word [r15 + 0x1c]
lea r13, [r15 + 0x20]
mov edx, dword [r15 + 0x58]
add r13, rbx
movzx edi, word [r15 + 0xe]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rdx, [rbp + 8]
mov r8d, ebx
mov rcx, rax
mov rsi, rax
call fcn.14000eef0
mov r12d, edi
test rdi, rdi
je 0x1400010b3
mov rbx, r13
nop word [rax + rax]
movups xmm1, xmmword [rbx + 0x10]
mov rcx, qword [rbx + 8]
shr rcx, 0x20
movq rdx, xmm1
movd r8d, xmm1
shr rdx, 0x20
add rcx, rsi
add rdx, 8
add rdx, rbp
call fcn.14000eef0
lea rbx, [rbx + 0x28]
sub rdi, 1
jne 0x140001080
mov eax, dword [r15 + 0x98]
test eax, eax
je 0x140001131
cmp dword [rsi + rax], 0
mov qword [rsp + 0x98], r14
lea r14, [rsi + rax]
je 0x140001129
mov ecx, dword [r14 + 0xc]
add rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [r14]
mov rbp, rax
mov edi, dword [r14 + 0x10]
add rbx, rsi
add rdi, rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000111f
jns 0x1400010fc
movzx edx, cx
jmp 0x140001103
lea rdx, [rsi + 2]
add rdx, rcx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rbx, 8
mov qword [rdi], rax
add rdi, 8
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400010f5
add r14, 0x14
cmp dword [r14], 0
jne 0x1400010d0
mov r14, qword [rsp + 0x98]
mov eax, dword [r15 + 0xb8]
xor ebp, ebp
test eax, eax
je 0x1400011a4
mov r11, rsi
lea r9, [rsi + rax]
sub r11, qword [r15 + 0x38]
cmp dword [r9], ebp
je 0x1400011a4
mov ebx, 0xf000
mov edi, 0xa000
nop dword [rax + rax]
mov r10d, dword [r9 + 4]
mov r8, rbp
sub r10, 8
shr r10, 1
je 0x140001198
movzx ecx, word [r9 + r8*2 + 8]
mov edx, dword [r9]
mov rax, rcx
and eax, 0xfff
and cx, bx
add rax, rsi
cmp cx, di
jne 0x140001190
add qword [rdx + rax], r11
inc r8
cmp r8, r10
jb 0x140001170
mov eax, dword [r9 + 4]
add r9, rax
cmp dword [r9], ebp
jne 0x140001160
test r12, r12
je 0x140001214
mov ebx, 2
mov edi, 0x20
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r13 + 8]
mov r8d, 4
movsd xmm1, qword [r13 + 0x20]
mov r9, rcx
shr r9, 0x20
movsd qword [rsp + 0x48], xmm1
test dword [rsp + 0x4c], 0x80000000
mov edx, ecx
cmovbe r8d, ebx
mov dword [rsp + 0x20], ebp
test dword [rsp + 0x4c], 0x20000000
lea rcx, [r9 + rsi]
lea r9, [rsp + 0x20]
cmova r8d, edi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r13, [r13 + 0x28]
sub r12, 1
jne 0x1400011c0
mov eax, dword [r15 + 0x30]
add rax, rsi
call rax
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001370
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001d5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001da6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001da6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001da6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001da6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001da6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001da8
xor al, al
add rsp, 0x28
ret

Function at 0x140005408
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140005477
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005477
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005477
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005477
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005477
cmp dword [rcx + 0x84], 0xe
jbe 0x140005477
cmp dword [rcx + 0xf8], 0
je 0x140005477
mov ecx, ebx
call fcn.140005528
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005304
nop
cmp dword [rbp + 0x20], 0
je 0x1400054c5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400054d0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140005408

Function at 0x14000560c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005408
Function at 0x1400086cc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400086fc
xor eax, eax
jmp 0x1400087bf
mov rbp, rbx
cmp word [rax], si
je 0x140008721
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008708
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008704
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400085ec
movsxd r14, eax
test eax, eax
jne 0x14000875f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400086f5
mov rcx, r14
call fcn.1400095a8
mov rdi, rax
test rax, rax
jne 0x140008778
xor ecx, ecx
call fcn.140006c4c
jmp 0x140008754
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400085ec
test eax, eax
jne 0x1400087a9
mov rcx, rdi
call fcn.140006c4c
jmp 0x1400087b3
xor ecx, ecx
call fcn.140006c4c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000bcb0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400076bc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000bd3a
cmp byte [rbp - 0x21], r15b
je 0x14000bd35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000bd70
call fcn.140009db8
test eax, eax
jne 0x14000bd5c
cmp byte [rbp - 0x21], r15b
je 0x14000bd54
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000bd70
cmp byte [rbp - 0x21], r15b
je 0x14000bd6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140006c9c
test eax, eax
jne 0x14000be10
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400076bc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000bdaf
cmp byte [rbp - 0x21], r15b
je 0x14000bde4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000bde4
call fcn.140009db8
test eax, eax
jne 0x14000bdd0
cmp byte [rbp - 0x21], r15b
je 0x14000bdc9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000bde4
cmp byte [rbp - 0x21], r15b
je 0x14000bde1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140006c9c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000be10
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000be13
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000be21
mov rcx, rdi
call fcn.140006c4c
cmp byte [rbp + 0x3f], r15b
je 0x14000be30
mov rcx, qword [rbp + 0x27]
call fcn.140006c4c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000ec60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000ec88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000ec88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400c50d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400c5200
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x60], 0
je 0x1400c525e
mov edi, dword [rsi + 0x5c]
test r15b, r15b
je 0x1400c523e
mov dword [rsi + 0x5c], 0xffffffff
mov byte [rsi + 0x60], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140097620
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400add84
cmp eax, 0xffffffff
je 0x1400c52db
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400c527c
mov byte [rsp + 0x57], 0xaa
cmp byte [rsi + 0x61], 0
je 0x1400c52e5
mov al, byte [rsp + 0x58]
mov byte [rsp + 0x57], al
test r15b, r15b
je 0x1400c52b8
movzx edi, byte [rsp + 0x57]
mov dword [rsi + 0x5c], edi
jmp 0x1400c523e
mov edi, edi
test rdi, rdi
jle 0x1400c5389
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movzx ecx, byte [rsp + rax + 0x58]
call fcn.1400af7d4
cmp eax, 0xffffffff
jne 0x1400c52ba
mov edi, 0xffffffff
jmp 0x1400c523e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x57]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [rax + 0x18]
cmp eax, 1
jne 0x1400c5372
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400c52db
mov rcx, qword [rsi + 0x40]
call fcn.1400add84
cmp eax, 0xffffffff
je 0x1400c52db
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400c52f6
cmp eax, 2
je 0x1400c52db
cmp eax, 3
je 0x1400c52a1
jmp 0x1400c52a9
movzx edi, byte [rsp + 0x57]
jmp 0x1400c523e
Function at 0x1400c53d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
xor edx, edx
jmp 0x1400c5500
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x5e], 0
je 0x1400c555e
movzx edi, word [rsi + 0x5c]
test r15b, r15b
je 0x1400c553e
mov word [rsi + 0x5c], 0xffff
mov byte [rsi + 0x5e], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140097620
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r14
mov eax, dword [rsi + 0x58]
test eax, eax
mov edi, 1
cmovg edi, eax
xor ebp, ebp
mov rcx, qword [rsi + 0x40]
call fcn.1400add84
cmp eax, 0xffffffff
je 0x1400c55e3
mov byte [rsp + rbp + 0x58], al
inc rbp
cmp rdi, rbp
jne 0x1400c557c
mov word [rsp + 0x56], 0xaaaa
cmp byte [rsi + 0x5f], 0
je 0x1400c55ec
movsx eax, byte [rsp + 0x58]
mov word [rsp + 0x56], ax
test r15b, r15b
je 0x1400c55bd
movzx edi, word [rsp + 0x56]
mov word [rsi + 0x5c], di
jmp 0x1400c553e
mov edi, edi
test rdi, rdi
jle 0x1400c5690
mov rdx, qword [rsi + 0x40]
dec rdi
mov eax, edi
movsx eax, byte [rsp + rax + 0x58]
movzx ecx, ax
call fcn.1400af7d4
cmp eax, 0xffffffff
jne 0x1400c55bf
mov di, 0xffff
jmp 0x1400c553e
lea rax, [rsp + 0x48]
mov qword [rax], r14
lea r12, [rsp + 0x40]
mov qword [r12], r14
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov r13d, dword [rdx]
movzx ebp, word [rdx + 4]
movzx r14d, word [rdx + 6]
lea r9, [rsp + rdi + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r12
lea rbx, [rsp + 0x58]
mov qword [rsp + 0x30], rbx
lea rbx, [rsp + 0x56]
mov qword [rsp + 0x28], rbx
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x58]
call qword [rax + 0x18]
cmp eax, 1
jne 0x1400c5679
mov rax, qword [rsi + 0x50]
mov dword [rax], r13d
mov word [rax + 4], bp
mov word [rax + 6], r14w
cmp edi, 8
je 0x1400c55e3
mov rcx, qword [rsi + 0x40]
call fcn.1400add84
cmp eax, 0xffffffff
je 0x1400c55e3
mov byte [rsp + rdi + 0x58], al
inc rdi
jmp 0x1400c55fd
cmp eax, 2
je 0x1400c55e3
cmp eax, 3
je 0x1400c55a3
jmp 0x1400c55ad
movzx edi, word [rsp + 0x56]
jmp 0x1400c553e
Function at 0x1400c56e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x40], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 - 8], r12
lea r13, [rsp + 0x30]
lea r15, [rsp + 0x38]
mov ebp, 0xffffffff
mov qword [rsp + 0x30], r12
mov rcx, qword [rsi + 0x48]
mov rdx, qword [rsi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
mov r8, r15
mov r9, r14
call qword [rax + 0x20]
mov edi, eax
mov rbx, qword [rsp + 0x30]
sub rbx, r15
mov r9, qword [rsi + 0x40]
mov edx, 1
mov rcx, r15
mov r8, rbx
call fcn.1400ad9a8
cmp rax, rbx
jne 0x1400c577c
cmp edi, 1
je 0x1400c5724
cmp edi, 2
je 0x1400c577c
mov rcx, qword [rsi + 0x40]
call fcn.1400ad32c
neg eax
sbb ebp, ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140097620
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400c57a0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400c57d5
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ad9a8
xor ebx, ebx
test rsi, rsi
jle 0x1400c57fa
movzx edx, byte [r14 + rbx]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x1400c57fa
inc rbx
cmp rsi, rbx
jne 0x1400c57dc
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c5810
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp edx, 0xffffffff
je 0x1400c587a
mov r15d, edx
mov rdi, rcx
mov byte [rsp + 0x57], r15b
cmp byte [rcx + 0x58], 0
je 0x1400c58a0
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x57]
mov edx, 1
mov r8d, 1
call fcn.1400ad9a8
mov esi, 0xffffffff
cmp rax, 1
je 0x1400c587d
jmp 0x1400c5880
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140097620
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x57]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x1400c5950
mov ebp, eax
cmp eax, 3
je 0x1400c592f
cmp ebp, 1
ja 0x1400c5950
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400ad9a8
cmp rax, rsi
jne 0x1400c5950
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400c58b8
jmp 0x1400c587d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400ad9a8
cmp rax, 1
je 0x1400c587d
mov esi, 0xffffffff
jmp 0x1400c5880

Function at 0x1400c59a0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x58], 0
je 0x1400c59d5
mov r9, qword [rdi + 0x40]
mov edx, 2
mov rcx, r14
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400ad9a8
xor ebx, ebx
test rsi, rsi
jle 0x1400c59fb
movzx edx, word [r14 + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x60]
cmp ax, 0xffff
je 0x1400c59fb
inc rbx
cmp rsi, rbx
jne 0x1400c59dc
mov rbx, rsi
mov rax, rbx
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c5a10
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x58], r12
cmp dx, 0xffff
je 0x1400c5a7a
mov r15d, edx
mov rdi, rcx
mov word [rsp + 0x56], dx
cmp byte [rcx + 0x58], 0
je 0x1400c5aa0
mov r9, qword [rdi + 0x40]
lea rcx, [rsp + 0x56]
mov edx, 2
mov r8d, 1
call fcn.1400ad9a8
mov si, 0xffff
cmp rax, 1
je 0x1400c5a7d
jmp 0x1400c5a80
xor r15d, r15d
mov esi, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140097620
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbx, [rsp + 0x58]
lea r13, [rsp + 0x48]
mov qword [r13], rbx
lea rsi, [rsp + 0x56]
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], r12
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r13
lea rbp, [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r14
mov r8, rsi
lea r9, [rsp + 0x58]
call qword [rax + 0x10]
cmp qword [rsp + 0x40], rsi
je 0x1400c5b50
mov ebp, eax
cmp eax, 3
je 0x1400c5b2f
cmp ebp, 1
ja 0x1400c5b50
mov rsi, qword [rsp + 0x48]
sub rsi, rbx
mov r9, qword [rdi + 0x40]
mov edx, 1
mov rcx, rbx
mov r8, rsi
call fcn.1400ad9a8
cmp rax, rsi
jne 0x1400c5b50
mov rsi, qword [rsp + 0x40]
cmp ebp, 1
je 0x1400c5ab8
jmp 0x1400c5a7d
mov r9, qword [rdi + 0x40]
mov edx, 1
mov r8d, 1
mov rcx, rsi
call fcn.1400ad9a8
cmp rax, 1
je 0x1400c5a7d
mov si, 0xffff
jmp 0x1400c5a80

Function at 0x1400c5ba0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c5bd7
movabs r9, 0xf000000000000000
shl rax, 4
movsx r10, byte [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
inc rdx
cmp r8, rdx
jne 0x1400c5bb1
ret

Function at 0x1400c5c30
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400c5c68
movabs r9, 0xf000000000000000
shl rax, 4
movzx r10d, word [rdx]
add r10, rax
mov rcx, r10
and rcx, r9
mov rax, rcx
shr rax, 0x38
or rax, rcx
xor rax, r10
add rdx, 2
cmp r8, rdx
jne 0x1400c5c41
ret
Function at 0x1400cb8e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r15b, byte [rbp + 0x78]
test byte [r9 + 8], 1
jne 0x1400cb93f
movzx eax, word [rbp + 0x70]
movzx edx, r15b
mov rbx, qword [rcx]
mov dword [rsp + 0x28], edx
mov word [rsp + 0x20], ax
mov rdx, r14
mov r8, rdi
call qword [rbx + 0x30]
mov rax, r14
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rsi, [rbp - 0x20]
mov rcx, r9
mov rdx, rsi
call fcn.140064c70
lea rdx, [0x140159488]
mov rcx, rsi
call fcn.140065440
mov r12, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400cb978
mov rax, qword [rcx]
call qword [rax + 8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rbp - 0x20]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [0x140133080]
movaps xmmword [r13], xmm0
mov rax, qword [r12]
xor r15b, 1
movzx esi, r15b
mov rcx, r12
mov rdx, r13
call qword [rax + rsi*8 + 0x28]
movzx ebx, byte [r13 + 0x17]
test bl, bl
mov rcx, qword [r13]
mov r8, qword [r13 + 8]
mov rax, rbx
cmovs rax, r8
test rax, rax
je 0x1400cba30
test bl, bl
mov rsi, rcx
cmovns rsi, r13
test rdi, rdi
je 0x1400cba1f
movzx eax, word [rsi]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x1400cba23
lea rdx, [rcx + 2]
mov qword [rdi + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1400cb9f5
xor edi, edi
mov bl, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
add rsi, 2
test bl, bl
mov rax, r13
cmovs rax, rcx
movzx edx, bl
cmovs rdx, r8
lea rax, [rax + rdx*2]
cmp rsi, rax
jne 0x1400cb9d0
jmp 0x1400cba30
xor edi, edi
jmp 0x1400cba00
mov rbx, qword [rdi]
mov rcx, rdi
mov edx, eax
call qword [rbx + 0x60]
jmp 0x1400cb9ed
shr bl, 7
mov qword [r14], rdi
test bl, bl
je 0x1400cb92b
call fcn.140096800
jmp 0x1400cb92b

Function at 0x1400da110
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.1400967c4
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400da180]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1400a2d30
mov qword [rbx], rax
test rax, rax
je 0x1400da167
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400f52e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
movsxd r9, dword [rcx + 8]
movsxd r10, dword [rdx + 8]
cmp r9d, r10d
jge 0x1400f5305
mov r11, qword [rdx]
xor r8d, r8d
mov rax, r9
or r8, qword [r11 + rax*8]
inc rax
cmp r10, rax
jne 0x1400f52f7
jmp 0x1400f5308
xor r8d, r8d
cmp r10d, r9d
jge 0x1400f531f
mov r11, qword [rcx]
mov rax, r10
or r8, qword [r11 + rax*8]
inc rax
cmp r9, rax
jne 0x1400f5313
cmp r9d, r10d
cmovl r10d, r9d
test r10d, r10d
jle 0x1400f5349
mov r9, qword [rcx]
mov r11, qword [rdx]
mov r10d, r10d
xor eax, eax
mov rsi, qword [r11 + rax*8]
xor rsi, qword [r9 + rax*8]
or r8, rsi
inc rax
cmp r10, rax
jne 0x1400f5336
mov eax, dword [rdx + 0x10]
xor eax, dword [rcx + 0x10]
movsxd rcx, eax
xor eax, eax
or rcx, r8
sete al
pop rsi
ret

Function at 0x1400fd590
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x108
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x140154028]
xor rax, rsp
mov qword [rsp + 0x100], rax
movaps xmm0, xmmword [0x140133080]
lea rdi, [rsp + 0x28]
movups xmmword [rdi + 0xc0], xmm0
movups xmmword [rdi + 0xb0], xmm0
movups xmmword [rdi + 0xa0], xmm0
movups xmmword [rdi + 0x90], xmm0
movups xmmword [rdi + 0x80], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x50], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rdi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rdi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rdi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rdi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rdi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rdi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rdi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rdi + 0x38], rax
movabs rax, 0x4000000000
mov qword [rdi + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rdi + 0x40], xmm0
mov rcx, rdi
call fcn.1400479f0
mov rcx, rsi
mov rdx, rdi
call fcn.14004ac20
mov edx, 0xd8
mov rcx, rdi
call fcn.14007cdb0
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140097620
mov rax, rsi
add rsp, 0x108
pop rdi
pop rsi
ret