joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140072780
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
lea rdx, [0x14010b765]
call fcn.1400cba78
test rax, rax
je 0x1400727fd
mov rsi, rax
mov qword [rdi + 8], 0
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x140072816
xor ecx, ecx
nop word cs:[rax + rax]
nop
sub r8, rcx
add rcx, qword [rdi]
mov edx, 1
mov r9, rsi
call fcn.1400cbc00
mov rbx, rax
mov rcx, rsi
call fcn.1400cb430
test eax, eax
jne 0x140072804
mov rcx, qword [rdi + 8]
test rbx, rbx
je 0x14007280b
add rcx, rbx
mov qword [rdi + 8], rcx
mov r8, qword [rdi + 0x10]
cmp r8, rcx
ja 0x1400727c0
jmp 0x14007280f
mov ebx, 2
jmp 0x140072854
mov ebx, 2
jmp 0x14007284c
mov r8, qword [rdi + 0x10]
xor ebx, ebx
cmp rcx, r8
jne 0x14007282a
mov rcx, rsi
call fcn.1400cb848
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
lea rdx, [rdi + 0x18]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x20], 0
mov dword [rdi + 0x30], 0
mov qword [rdi + 0x38], rdx
mov rcx, rsi
call fcn.1400cb278
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140077280
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rdi, r8
mov rbx, rdx
mov rbp, rcx
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 1
mov edx, 0x1050
xor r8d, r8d
call fcn.140042c20
mov rsi, rax
mov dword [rax], 0
lea r14, [rax + 8]
mov qword [rax + 8], rbp
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x1048], rbx
mov byte [rsi + 0x2a], 0
mov word [rsi + 0x28], 0
mov qword [rsi + 0x30], rdi
mov dword [rsi + 0x38], r15d
cmp qword [0x1401270a0], 0xffffffffffffffff
jne 0x14007734c
lea rax, [0x14012af70]
mov qword [0x14012af70], rax
mov qword [0x14012af78], rax
lea rcx, [0x14012af80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1401270a0], rax
lea rdx, [0x140077c00]
mov rcx, rax
xor r8d, r8d
call fcn.14002c640
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400773b0]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140077380
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsi + 0x2b], 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b8300
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400775e0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 1
mov edx, 0x1050
xor r8d, r8d
call fcn.140042c20
mov rsi, rax
mov dword [rax], 1
lea r14, [rax + 8]
mov qword [rax + 8], rbp
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x20], rax
mov dword [rsi + 0x28], 0
mov qword [rsi + 0x30], rbx
lea rcx, [rsi + 0x58]
call fcn.140049b10
mov dword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov qword [rsi + 0x90], rsi
mov dword [rsi + 0x38], r15d
cmp qword [0x1401270a0], 0xffffffffffffffff
jne 0x1400776c3
lea rax, [0x14012af70]
mov qword [0x14012af70], rax
mov qword [0x14012af78], rax
lea rcx, [0x14012af80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1401270a0], rax
lea rdx, [0x140077c00]
mov rcx, rax
xor r8d, r8d
call fcn.14002c640
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140077720]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400776f7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b8300
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140078540
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x14012afb0], 0
je 0x14007856f
mov rsi, qword [0x14012afa8]
test rsi, rsi
jne 0x1400785b9
jmp 0x14007861a
lea rcx, str.secur32.dll
call fcn.1400459f0
mov rsi, rax
lea rcx, str.sspicli.dll
call fcn.1400459f0
test rsi, rsi
je 0x1400785a4
lea rdx, str.GetUserNameExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
jmp 0x1400785a6
xor esi, esi
mov qword [0x14012afa8], rsi
mov byte [0x14012afb0], 1
test rsi, rsi
je 0x14007861a
mov dword [rsp + 0x2c], 0
lea rdi, [rsp + 0x2c]
mov ecx, 8
xor edx, edx
mov r8, rdi
call rsi
mov ecx, dword [rsp + 0x2c]
mov edx, 1
xor r8d, r8d
call fcn.140042c20
mov rsi, rax
mov ecx, 8
mov rdx, rax
mov r8, rdi
call qword [0x14012afa8]
test al, al
je 0x140078612
mov rcx, rsi
mov edx, 0x40
call fcn.1400b9fa8
test rax, rax
je 0x140078672
mov byte [rax], 0
jmp 0x140078672
mov rcx, rsi
call fcn.140042cc0
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x2c]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140078639
mov ecx, dword [rsp + 0x2c]
jmp 0x140078646
mov dword [rsp + 0x2c], 0x100
mov ecx, 0x100
mov edx, 1
xor r8d, r8d
call fcn.140042c20
mov rsi, rax
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x140078672
mov rcx, rsi
call fcn.140042cc0
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b8300
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x140078a90
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x38
cmp qword [0x14012afb8], 0
jne 0x140078b11
mov edx, dword [0x14012afc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r9d, eax
cmp qword [0x14012afc0], r9
ja 0x140078b11
lea rsi, [0x14012afc0]
mov rdi, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop dword [rax + rax]
mov rcx, qword [0x14012afb8]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rdx, rsi
call fcn.140042cd0
mov qword [0x14012afb8], rax
mov edx, dword [0x14012afc0]
mov rcx, rax
call rdi
mov r9d, eax
cmp qword [0x14012afc0], r9
jbe 0x140078ad0
mov rax, qword [0x14012afb8]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14007aa80
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 0x14007aab1
lea rcx, str.x0__nw__x1__nw
lea rdx, str._home_simon_mem_.build_workdirs_bob_jmc5owxa_putty_crypto_mpint.c
mov r8d, 0xa6
call fcn.1400c91bc
and ebx, 1
neg rbx
mov qword [rsp + 0x28], rbx
cmp qword [rdi], 0
je 0x14007ab01
xor eax, eax
nop word cs:[rax + rax]
nop
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
add rax, 1
cmp rax, qword [rdi]
jb 0x14007aad0
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140083360
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xd0], 0x18
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe0], 1
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400835d6
lea rcx, [rsp + 0x108]
lea rdx, [rsp + 0x110]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14008358c
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xe8]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400835a7
mov rcx, qword [rsp + 0x110]
mov rbx, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, 1
xor r8d, r8d
call rbx
mov rcx, qword [rsp + 0x100]
mov edx, 1
xor r8d, r8d
call rbx
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x14008346d
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [rsp + 0x68], 0x68
xorps xmm6, xmm6
movups xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov dword [rsp + 0xa4], 0x100
mov word [rsp + 0xaa], 0
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xc8], rax
mov rcx, rdi
call fcn.140049ac0
mov rdi, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], 1
xor ecx, ecx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rdi
call fcn.140042cc0
mov rcx, qword [rsp + 0x50]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rdi
mov rcx, qword [rsp + 0x58]
call rdi
mov rcx, qword [rsp + 0x108]
call rdi
mov rcx, qword [rsp + 0xf8]
call rdi
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140083563
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x110]
mov byte [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400aa030
xor esi, esi
jmp 0x1400835f5
mov rcx, qword [rsp + 0x100]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xf8]
jmp 0x1400835d4
mov rcx, qword [rsp + 0x100]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xf8]
call rsi
mov rcx, qword [rsp + 0x110]
call rsi
mov rcx, qword [rsp + 0x108]
call rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047200
lea rcx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rdx, rax
call fcn.140041fc0
mov rsi, rax
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1400b8300
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbx
pop rdi
pop rsi
ret
Function at 0x140086ba0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r10, qword [rcx]
mov r9, qword [rdx]
jmp 0x140086bc1
cmp bl, byte [r9]
jne 0x140086d0d
add r10, 1
add r9, 1
mov bl, byte [r10]
test bl, bl
je 0x140086d17
cmp bl, 0x2a
je 0x140086d17
cmp r9, r8
jae 0x140086d11
cmp bl, 0x3f
je 0x140086bb9
cmp bl, 0x5b
je 0x140086c10
cmp bl, 0x5c
jne 0x140086bb0
mov al, byte [r10 + 1]
test al, al
je 0x140086d2b
cmp al, byte [r9]
jne 0x140086d0d
add r10, 2
add r9, 1
jmp 0x140086bc1
lea rax, [r10 + 1]
mov r11b, byte [r10 + 1]
add r10, 2
cmp r11b, 0x5e
cmovne r10, rax
xor esi, esi
jmp 0x140086c41
add r10, 1
cmp byte [r9], bl
sete al
and sil, 1
or sil, al
movzx ebx, byte [r10]
cmp bl, 0x5c
je 0x140086c60
cmp bl, 0x5d
jne 0x140086c69
jmp 0x140086cf7
movzx ebx, byte [r10 + 1]
add r10, 1
mov eax, 0xfffffffe
test bl, bl
je 0x140086d30
cmp byte [r10 + 1], 0x2d
jne 0x140086c30
movzx edi, byte [r10 + 2]
cmp dil, 0x5c
je 0x140086cb0
mov r14d, 2
cmp dil, 0x5d
je 0x140086d24
test dil, dil
jne 0x140086cc0
jmp 0x140086d30
movzx edi, byte [r10 + 3]
mov r14d, 3
test dil, dil
je 0x140086d30
add r10, r14
add r10, 1
movzx eax, byte [r9]
cmp bl, dil
movzx ebx, bl
movzx edi, dil
mov ebp, edi
cmovb ebp, ebx
cmova edi, ebx
cmp dil, al
movzx edi, sil
mov esi, 1
cmovb esi, edi
cmp bpl, al
cmova esi, edi
jmp 0x140086c41
cmp r11b, 0x5e
sete al
test sil, 1
sete bl
xor bl, al
je 0x140086bb9
xor eax, eax
jmp 0x140086d30
xor eax, eax
test bl, bl
jne 0x140086d30
mov qword [rcx], r10
mov qword [rdx], r9
mov eax, 1
jmp 0x140086d30
mov eax, 0xfffffffd
jmp 0x140086d30
mov eax, 0xffffffff
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14008ee90
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov r9, qword [rdx + 8]
test r9, r9
je 0x14008ef03
mov r8, qword [rdx]
xor r10d, r10d
nop word cs:[rax + rax]
nop dword [rax + rax]
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
add r10, 1
cmp r9, r10
jne 0x14008eeb0
ret

Function at 0x14008ef10
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 8]
test r9, r9
je 0x14008ef84
mov r8, qword [rcx]
xor r10d, r10d
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, byte [r8 + r10]
xor edx, eax
mov eax, edx
and eax, 0xf
shr edx, 4
imul ecx, eax, 0x11111044
xor ecx, edx
imul r11d, eax, 0x8840020
imul edx, eax, 0x4220000
xor edx, r11d
xor edx, ecx
and ecx, 0xf
shr edx, 4
imul eax, ecx, 0x11111044
imul r11d, ecx, 0x8840020
xor r11d, eax
imul eax, ecx, 0x4220000
xor eax, edx
xor eax, r11d
add r10, 1
cmp r9, r10
jne 0x14008ef30
ret
xor eax, eax
ret
Function at 0x140091740
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, r9
mov ebx, r8d
mov qword [rsp + 0x28], rdx
mov r12, rcx
mov ebp, dword [rsp + 0x120]
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x14009178d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x140091954
movsxd rax, ebx
mov qword [rsp + 0x20], rax
xor ebx, ebx
jmp 0x1400917c2
add ebx, 1
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jle 0x140091954
mov r14d, ebp
mov r15, qword [r12 + 0x28]
cmp r15, r14
mov r13, r14
cmovb r13, r15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
cmp qword [r12 + 0x28], 0x73
jb 0x1400917fe
lea rcx, str.h__hlen___MAX_HASH_LEN
lea rdx, str._home_simon_mem_.build_workdirs_bob_jmc5owxa_putty_crypto_rsa.c
mov r8d, 0x3c0
call fcn.1400c91bc
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
call fcn.140042220
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.140042350
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test r13d, r13d
jle 0x1400917b0
cmp r13, 8
jae 0x140091840
xor eax, eax
jmp 0x140091930
cmp r13, 0x20
jae 0x14009184d
xor eax, eax
jmp 0x1400918f5
mov eax, r13d
and eax, 0xffffffe0
lea rcx, [rax - 0x20]
mov r8, rcx
shr r8, 5
add r8, 1
test rcx, rcx
je 0x140091946
mov rcx, r8
and rcx, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
nop
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmm2, xmmword [rsi + rdx + 0x20]
movups xmm3, xmmword [rsi + rdx + 0x30]
xorps xmm0, xmmword [rsp + rdx + 0x30]
xorps xmm1, xmmword [rsp + rdx + 0x40]
movups xmmword [rsi + rdx], xmm0
movups xmmword [rsi + rdx + 0x10], xmm1
xorps xmm2, xmmword [rsp + rdx + 0x50]
xorps xmm3, xmmword [rsp + rdx + 0x60]
movups xmmword [rsi + rdx + 0x20], xmm2
movups xmmword [rsi + rdx + 0x30], xmm3
add rdx, 0x40
add rcx, 0xfffffffffffffffe
jne 0x140091880
test r8b, 1
je 0x1400918e6
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
xorps xmm0, xmmword [rsp + rdx + 0x30]
xorps xmm1, xmmword [rsp + rdx + 0x40]
movups xmmword [rsi + rdx], xmm0
movups xmmword [rsi + rdx + 0x10], xmm1
cmp r13, rax
je 0x1400917b0
test r13b, 0x18
je 0x140091930
mov rcx, rax
cmp r15, r14
cmovb r14, r15
mov eax, r14d
and eax, 0xfffffff8
nop word cs:[rax + rax]
nop
mov rdx, qword [rsp + rcx + 0x30]
xor qword [rsi + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x140091910
cmp r14, rax
je 0x1400917b0
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rax], cl
add rax, 1
cmp r13, rax
jne 0x140091930
jmp 0x1400917b0
xor edx, edx
test r8b, 1
jne 0x1400918ca
jmp 0x1400918e6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b8300
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a23f0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
movaps xmm0, xmmword [str.expand_32_byte_k]
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 0x1400a7520
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 [0x140127050]
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
nop dword [rax]
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.1400a64f0
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x1400a7647
test cl, cl
jne 0x1400a7647
mov rcx, r12
xor edx, edx
call fcn.140043230
jmp 0x1400a7580
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b8300
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a7680
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x140127050]
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
add rax, 1
cmp rax, 0x80
jne 0x1400a76a0
lea rdi, [rsp + 0x420]
lea r8, [rsp + 0x820]
mov rcx, rdi
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0x920]
lea rcx, [rsp + 0x520]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0x9a0]
lea rcx, [rsp + 0x5a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0xa20]
lea rcx, [rsp + 0x620]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0xaa0]
lea rcx, [rsp + 0x6a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0xb20]
lea rcx, [rsp + 0x720]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea r8, [rsp + 0xba0]
lea rcx, [rsp + 0x7a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7920
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdi
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x40]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x450]
lea rcx, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x470]
lea rcx, [rsp + 0x70]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x480]
lea rcx, [rsp + 0x80]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
lea r8, [rsp + 0x490]
lea rcx, [rsp + 0x90]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7920
xor eax, eax
nop word [rax + rax]
mov rcx, qword [rsp + rax*8 + 0x20]
xor rcx, qword [rsp + rax*8 + 0x820]
xor qword [rsi + rax*8], rcx
add rax, 1
cmp rax, 0x80
jne 0x1400a78b0
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.140076fb0
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.140076fb0
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.140076fb0
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.1400b8300
nop
add rsp, 0xc28
pop rdi
pop rsi
ret
Function at 0x1400a9180
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140127050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
call fcn.140007220
test al, al
je 0x1400a91d9
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x1f0001
mov r9, rsi
call fcn.140046850
test al, al
je 0x1400a9243
mov rax, qword [rsp + 0x40]
jmp 0x1400a91db
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x1400a9221
mov rbx, rax
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400a9245
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047200
lea rcx, str.CreateMutex___s___failed:__s
mov rdx, rdi
mov r8, rax
call fcn.140041fc0
mov qword [rsi], rax
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a9255
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a9265
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b8300
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret