joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043f60
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x140043fec
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140043fc0
lea r11, [0x14004b180]
nop
cmp r9b, 0x23
jne 0x140043fa3
cmp byte [r8], r9b
jne 0x140043fa3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140043f90
mov rcx, qword [0x14005cd28]
not eax
cmp dword [rcx + 0x4068], eax
jne 0x140043fd7
mov dword [rcx + 0x406c], eax
cmp dword [rcx + 0x4098], eax
jne 0x140044049
mov byte [rcx + 0x409c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14005cd28]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4008]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000e710
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x4050], eax
jne 0x140044042
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140025be0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140047bf8
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140001123
add rsp, 0x28
ret
Function at 0x140002c80
Capabilities:
Check for peb beingdebugged flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 2]
and rax, 0xff
ret

Function at 0x140002c97
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret

Function at 0x140002ccd
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov qword [rcx], rdx
mov qword [rcx + 8], rax
xor rax, rax
mov rax, 5
shr rax, 2
sub rax, rbx
cmp rax, rcx
rdtsc
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
ret

Function at 0x1400037a0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400037ea
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400037ea
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400037ea
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400037ea
cmp dword [rcx + 0x84], 0xe
jbe 0x1400037ea
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400037ec
xor al, al
add rsp, 0x28
ret
Function at 0x180005d6c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.180012290
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180007f60
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x180005dbb
mov rax, rbp
jmp 0x180005ec3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x203d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180008508
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x203d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x180005ebf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180005ebf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180008508
test rax, rax
js 0x180005ebf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x180005ebf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x180005eb1
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x180005eb1
cmp byte [rcx], 0xd
jne 0x180005e97
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x180005ea6
cmp byte [rcx + 1], 0xa
jne 0x180005ea6
inc rcx
jmp 0x180005ea6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1f310]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x180005e79
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x180005ec3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180001490
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180008d7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800203d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x180008dd3
cmp word [rdx], r13w
jne 0x180008dd3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180008dd8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x180008efd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x180008f1e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180008e11
mov rdx, r9
mov word [rbx], cx
jmp 0x180008e38
cmp r9, r8
jae 0x180008e48
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x180008df2
jmp 0x180008efd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180008ef2
cmp dword [rsp + 0x80], esi
je 0x180008ef2
lea r8, [0x1800203d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x180008eca
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x180008e9a
mov word [rbx], r13w
jmp 0x180008efa
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x180008ea7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x180008efa
cmp word [rsp + 0x70], r13w
jne 0x180008ed7
cmp rbx, r14
je 0x180008e94
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180008510
cmp word [rsp + 0x70], r13w
je 0x180008efd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800203d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x180008ef7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x180008efd
Function at 0x18000c3d0
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 0x18000c400
xor eax, eax
jmp 0x18000c4c3
mov rbp, rbx
cmp word [rax], si
je 0x18000c425
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000c40c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000c408
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.18000c2f0
movsxd r14, eax
test eax, eax
jne 0x18000c463
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000c3f9
mov rcx, r14
call fcn.18000a770
mov rdi, rax
test rax, rax
jne 0x18000c47c
xor ecx, ecx
call fcn.1800099e8
jmp 0x18000c458
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.18000c2f0
test eax, eax
jne 0x18000c4ad
mov rcx, rdi
call fcn.1800099e8
jmp 0x18000c4b7
xor ecx, ecx
call fcn.1800099e8
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 0x180010e4c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180008510
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180008510
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180010f9c
cmp rax, 0xffffffffffffffff
je 0x180010f9c
xor edi, edi
test rbp, rbp
jle 0x180010f47
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.18000a8ec
mov rbx, rax
test rax, rax
jne 0x180010ed4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180010f3d
mov edx, 0x8000
mov ecx, r14d
call fcn.180010cd0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.18000eac8
cmp eax, 0xffffffff
je 0x180010f1d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180010ee4
mov edx, r15d
mov ecx, r14d
call fcn.180010cd0
jmp 0x180010f3d
cmp byte [rsi + 0x38], dil
je 0x180010f34
cmp dword [rsi + 0x34], 5
jne 0x180010f34
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180010f3d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800099e8
jmp 0x180010fb0
jns 0x180010fb0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180008510
cmp rax, 0xffffffffffffffff
jne 0x180010f68
cmp byte [rsi + 0x30], dil
je 0x180010fb0
mov edi, dword [rsi + 0x2c]
jmp 0x180010fb0
mov ecx, r14d
call fcn.18000d6c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180010fb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180010fb0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180010fa9
mov eax, dword [rsi + 0x2c]
jmp 0x180010fae
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180008510
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800121a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800121c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800121c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
test al, 0x17
in eax, dx
jg 0x140020a05
mov bh, 0xf7
invalid
mov ecx, 0x45d5154d
retf
Function at 0x140007540
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 8]
mov rdi, rdx
mov rbx, rcx
test eax, eax
jne 0x14000755f
call fcn.140007154
mov eax, dword [rbx + 8]
mov edx, 1
cmp eax, edx
jne 0x14000757a
mov r8, qword [rdi + 8]
lea rcx, [rbx + 0x10]
mov rdx, qword [rdi]
call fcn.1400493f4
jmp 0x1400075b3
cmp eax, 2
jne 0x1400075b3
mov r9, qword [rbx]
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
call fcn.140082f04
cmp rax, qword [rdi + 8]
jae 0x1400075b3
mov rcx, rbx
call fcn.140007110
mov rcx, qword [rbx + 0x40]
lea rdx, str.Disabled_writing_session_log_due_to_error_while_writing
mov dword [rbx + 8], 3
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000a80c
Capabilities:
Encode data using xor

Disassembly:
mov eax, r8d
mov r10, rdx
and eax, 1
xor r8d, r8d
neg rax
mov r9, rcx
mov qword [rsp + 8], rax
cmp qword [rcx], r8
jbe 0x14000a858
mov rcx, qword [r9 + 8]
mov rax, qword [r10 + 8]
mov rdx, qword [rcx + r8*8]
xor rdx, qword [rax + r8*8]
mov rcx, qword [rsp + 8]
mov rax, qword [r9 + 8]
and rcx, rdx
xor qword [rax + r8*8], rcx
mov rax, qword [r10 + 8]
xor qword [rax + r8*8], rcx
inc r8
cmp r8, qword [r9]
jb 0x14000a828
ret
Function at 0x14000b12c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 8]
mov rbx, rcx
mov ecx, 1
lea rax, [rax*4 + 0x3f]
shr rax, 6
cmp rax, rcx
cmova rcx, rax
call fcn.14000bdfc
mov rdi, rax
xor r11d, r11d
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000b1e5
mov rcx, qword [rbx]
sub rax, r11
mov r8, qword [rdi + 8]
mov r9, r11
shr r9, 4
mov edx, 0x46
movsx r10, byte [rax + rcx - 1]
mov ecx, 0x66
sub rcx, r10
sub rdx, r10
lea rax, [r10 - 0x61]
or rcx, rax
lea rax, [r10 - 0x57]
shr rcx, 0x3f
xor rax, r10
dec rcx
and rcx, rax
lea rax, [r10 - 0x41]
or rdx, rax
xor rcx, r10
shr rdx, 0x3f
lea rax, [r10 - 7]
xor rax, rcx
dec rdx
and rdx, rax
xor rdx, rcx
mov cl, r11b
and cl, 0xf
and edx, 0xf
shl cl, 2
inc r11
shl rdx, cl
or qword [r8 + r9*8], rdx
mov rax, qword [rbx + 8]
cmp r11, rax
jb 0x14000b169
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret

Function at 0x14000d100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10, rdx
mov rsi, rcx
test r8, r8
je 0x14000d144
mov r9, r8
dec r9
mov rax, r9
xor rax, r8
movzx edx, byte [r9 + rcx]
xor rdx, 0x30
dec rdx
shr rdx, 0x3f
dec rdx
and rdx, rax
xor r8, rdx
test r9, r9
jne 0x14000d11d
xor r9d, r9d
test r10, r10
je 0x14000d1a1
mov rcx, r9
mov r11, r8
shr r11, cl
mov ebx, 1
and r11b, 1
shl rbx, cl
neg r11b
cmp rbx, r10
jae 0x14000d190
lea rdi, [rbx + rsi]
mov rdx, rdi
sub rdx, rbx
mov cl, byte [rdx]
mov al, cl
xor al, byte [rdi]
and al, r11b
xor cl, al
mov byte [rdx], cl
xor byte [rdi], al
inc rdi
mov rax, rdi
sub rax, rsi
cmp rax, r10
jb 0x14000d16d
inc r9
mov rax, r10
mov rcx, r9
shr rax, cl
test rax, rax
jne 0x14000d14c
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140011684
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 0x37
mov rbx, rcx
call fcn.1400032b4
cmp byte [rax], 0
je 0x1400116a9
mov rcx, rax
add rsp, 0x20
pop rbx
jmp fcn.1400498c4
mov edx, 0x38
mov rcx, rbx
call fcn.140003204
test al, al
je 0x1400116c4
add rsp, 0x20
pop rbx
jmp fcn.14004d5a8
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001197c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
mov edx, r8d
call fcn.14004b7dc
mov r8d, eax
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140054ec0
Function at 0x1400156ec
Capabilities:
Set registry value

Disassembly:
mov al, r8b
xor r8d, r8d
test al, al
setne r8b
jmp fcn.14005586c

Function at 0x140029164
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm0, xmmword [rdx]
mov eax, reloc.WS2_32.dll_recv
movdqu xmm2, xmmword [rcx]
add rdx, rax
pxor xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
aesenc xmm2, xmmword [rdx]
movdqu xmmword [rcx], xmm2
aesenc xmm2, xmmword [rdx + rax]
movdqu xmmword [rcx], xmm2
aesenclast xmm2, xmmword [rdx + rax + 0x10]
movdqa xmm0, xmm2
ret

Function at 0x140029314
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm0, xmmword [rdx]
mov eax, reloc.WS2_32.dll_recv
movdqu xmm2, xmmword [rcx]
add rdx, rax
pxor xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
movdqu xmm0, xmmword [rdx]
add rdx, rax
aesenc xmm2, xmm0
movdqu xmmword [rcx], xmm2
aesenc xmm2, xmmword [rdx]
movdqu xmmword [rcx], xmm2
aesenc xmm2, xmmword [rdx + rax]
movdqu xmmword [rcx], xmm2
aesenclast xmm2, xmmword [rdx + rax + 0x10]
movdqa xmm0, xmm2
ret
Function at 0x14002e680
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11b, byte [rcx]
xor edi, edi
mov bl, byte [rcx + 1]
mov esi, r8d
mov r10, rcx
test r8d, r8d
jle 0x14002e6e3
inc r11b
movzx r8d, r11b
movzx r9d, byte [r8 + r10 + 2]
add bl, r9b
movzx ecx, bl
mov al, byte [rcx + r10 + 2]
mov byte [r8 + r10 + 2], al
mov byte [rcx + r10 + 2], r9b
movzx eax, byte [r8 + r10 + 2]
add r9, rax
movzx eax, r9b
mov cl, byte [rax + r10 + 2]
xor byte [rdi + rdx], cl
inc edi
cmp edi, esi
jl 0x14002e6a6
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov byte [r10 + 1], bl
mov rbx, qword [rsp + 8]
mov byte [r10], r11b
ret
Function at 0x14002fadc
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [0x1400c8ea0]
add rcx, 0x1000
mov r8d, 0x48
call fcn.140059500
lea r8, [0x1400c8ef0]
mov edx, 0x100
lea r9, [0x1400c92f0]
sub r8, rbx
lea r10, [0x1400c96f0]
sub r9, rbx
sub r10, rbx
lea r11, [0x1400c9af0]
sub r11, rbx
lea rcx, [rbx + 0x800]
mov eax, dword [r8 + rcx - 0x800]
mov dword [rcx - 0x800], eax
mov eax, dword [r9 + rcx - 0x800]
mov dword [rcx - 0x400], eax
mov eax, dword [r10 + rcx - 0x800]
mov dword [rcx], eax
mov eax, dword [r11 + rcx - 0x800]
mov dword [rcx + 0x400], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14002fb32
add rsp, 0x20
pop rbx
ret
Function at 0x14003255c
Capabilities:
Encode data using xor

Disassembly:
mov r10, qword [rdx + 8]
mov r9d, ecx
mov r11, qword [rdx]
test r10, r10
je 0x1400325c5
movzx edx, byte [r11]
inc r11
xor edx, r9d
mov ecx, edx
shr edx, 4
and ecx, 0xf
imul eax, ecx, 0x4220000
imul r8d, ecx, 0x8840020
xor r8d, eax
imul eax, ecx, 0x11111044
xor r8d, edx
xor r8d, eax
mov ecx, r8d
shr r8d, 4
and ecx, 0xf
imul eax, ecx, 0x4220000
imul r9d, ecx, 0x8840020
xor r9d, eax
imul eax, ecx, 0x11111044
xor r9d, eax
xor r9d, r8d
sub r10, 1
jne 0x14003256b
mov eax, r9d
ret

Function at 0x1400341c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov r10d, dword [rdx + r8*4]
mov eax, 0xff00ff00
mov r9, rcx
mov r15d, 0x80008
shr r9, 0x20
xor r10d, r9d
mov dword [rsp + 0x20], r9d
rol r9d, 4
mov r11d, r10d
xor r9d, dword [rdx + r8*4 + 0x40]
mov edx, 0xfffcfffc
mov r8d, r9d
shr r10d, 8
shr r9d, 8
and r8d, edx
and r9d, edx
and r11d, edx
and r10d, edx
or r9d, eax
or r8d, eax
lea rdx, [0x1400cafc8]
or r11d, eax
or r10d, eax
xor ebx, ebx
mov edi, ebx
mov esi, ebx
mov ebp, ebx
mov eax, dword [rdx - 8]
lea r14, [0x1400cb1c0]
and eax, r8d
add r8d, r15d
xor ebx, eax
mov eax, dword [rdx - 4]
and eax, r9d
add r9d, r15d
xor edi, eax
mov eax, dword [rdx]
and eax, r11d
lea rdx, [rdx + 0x10]
xor esi, eax
add r11d, r15d
mov eax, dword [rdx - 0xc]
and eax, r10d
add r10d, r15d
xor ebp, eax
lea rax, [rdx - 8]
cmp rax, r14
jb 0x140034235
mov r14d, 0x40004
mov edx, 0xf000f00
and r8d, r14d
and r11d, r14d
imul r8d, r8d, 0x3c00
and r9d, r14d
imul eax, r11d, 0x3c00
and r10d, r14d
shr r8d, 4
shr eax, 4
and r8d, ebx
and eax, esi
shr ebx, 4
xor r8d, ebx
shr esi, 4
mov rbx, qword [rsp + 0x28]
xor eax, esi
and eax, edx
mov rsi, qword [rsp + 0x38]
shr r8d, 4
and r8d, 0xf000f0
or r8d, eax
imul eax, r9d, 0x3c00
shr r8d, 4
shr eax, 4
and eax, edi
shr edi, 4
xor eax, edi
and eax, edx
imul edx, r10d, 0x3c00
or r8d, eax
mov eax, ebp
shl eax, 4
and edx, eax
xor edx, ebp
mov rbp, qword [rsp + 0x30]
and edx, 0xf000f000
or r8d, edx
mov edx, r8d
shr edx, 4
xor edx, r8d
and edx, 0x7030702
mov eax, edx
shl eax, 4
xor eax, edx
xor r8d, eax
mov edx, r8d
shr edx, 8
xor edx, r8d
and edx, 0x4e009e
mov eax, edx
shl eax, 8
xor eax, edx
xor r8d, eax
mov edx, r8d
shr edx, 0x10
xor edx, r8d
and edx, 0xd9d3
mov eax, edx
shl eax, 0x10
xor eax, edx
xor r8d, eax
mov edx, r8d
shr edx, 4
xor edx, r8d
and edx, 0x5040004
mov eax, edx
shl eax, 4
xor eax, edx
xor r8d, eax
mov edx, r8d
shr edx, 1
xor edx, r8d
and edx, 0x4045015
lea eax, [rdx + rdx]
xor eax, edx
xor eax, r8d
xor eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
pop r15
pop r14
pop rdi
ret