joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002225
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400a1e64
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r10d, r10d
lea r11, [0x140192fe8]
test r9, r9
lea rdi, [0x1400b4393]
mov rax, rdx
mov r15, rdx
cmovne r11, r9
test rdx, rdx
lea ebp, [r10 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1400a1ecd
mov rax, 0xfffffffffffffffe
jmp 0x1400a201b
cmp word [r11 + 6], r10w
jne 0x1400a1f3c
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x1400a1ef7
test rsi, rsi
je 0x1400a1ee8
mov dword [rsi], r9d
test r9b, r9b
setne r10b
mov rax, r10
jmp 0x1400a201b
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x1400a1f05
mov r8b, 2
jmp 0x1400a1f23
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x1400a1f13
mov r8b, 3
jmp 0x1400a1f23
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x1400a2009
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400a1f65
mov r8b, byte [r11 + 4]
mov edx, dword [r11]
mov bl, byte [r11 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1400a2009
cmp bl, bpl
jb 0x1400a2009
cmp bl, r8b
jae 0x1400a2009
movzx ebp, bl
cmp rbp, r14
mov r9d, ebp
cmovae r9, r14
jmp 0x1400a1f92
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1400a2009
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, r9
jb 0x1400a1f74
cmp r9, rbp
jae 0x1400a1fbe
movzx eax, r8b
sub bl, r9b
mov word [r11 + 4], ax
movzx eax, bl
mov word [r11 + 6], ax
mov dword [r11], edx
jmp 0x1400a1ec1
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1400a2009
cmp edx, 0x110000
jae 0x1400a2009
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1400a2009
test rsi, rsi
je 0x1400a1ffc
mov dword [rsi], edx
neg edx
mov qword [r11], r10
sbb rax, rax
and rax, rbp
jmp 0x1400a201b
mov qword [r11], r10
call fcn.140002603
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002d60
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x140002284
Capabilities:
Print debug messages

Disassembly:
jmp 0x14000e160
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x2440
call fcn.140001a87
sub rsp, rax
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x2430], rax
mov rbx, rdx
mov rdi, rcx
call fcn.140001212
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r9, rdi
mov r8d, 0xc00
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
or rcx, 1
call fcn.140002b1c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
mov edx, 0x1800
lea rcx, [rsp + 0xc30]
call fcn.140002d88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2430]
xor rcx, rsp
call fcn.140002d60
mov rbx, qword [rsp + 0x2460]
add rsp, 0x2440
pop rdi
ret
Function at 0x1400029be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400797d0
jmp 0x14008c754
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.140001ce4
mov rdx, rbx
mov rcx, rdi
lea r8, [rax + 0x30]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140004fbb
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rdi, r8
mov eax, r10d
mov r11, rdx
cmp rax, 0x20
mov r9, rcx
jae 0x14008c86d
mov byte [rsp + rax + 0x20], r10b
inc rax
cmp rax, 0x20
jl 0x14008c780
movzx r8d, byte [r11]
inc r11
mov edx, r8d
mov eax, r8d
shr rdx, 3
and eax, 7
movzx ecx, byte [rsp + rdx + 0x20]
bts ecx, eax
mov byte [rsp + rdx + 0x20], cl
test r8b, r8b
jne 0x14008c794
test r9, r9
jne 0x14008c7c1
mov r9, qword [rdi]
movzx r8d, byte [r9]
mov edx, 1
mov ecx, r8d
mov rbx, r9
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
je 0x14008c811
mov r11, r9
mov rbx, r11
cmp byte [r9], r10b
je 0x14008c811
lea r9, [r11 + 1]
mov edx, 1
movzx r8d, byte [r9]
mov r11, r9
mov ecx, r8d
mov rbx, r9
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x14008c7e3
mov r11, rbx
cmp byte [r9], r10b
je 0x14008c848
movzx r8d, byte [r11]
mov edx, 1
mov ecx, r8d
inc r11
and ecx, 7
shr r8, 3
shl edx, cl
test byte [rsp + r8 + 0x20], dl
jne 0x14008c842
mov r9, r11
cmp byte [r11], r10b
jne 0x14008c819
jmp 0x14008c848
mov byte [r9], r10b
mov r9, r11
cmp r11, rbx
mov qword [rdi], r9
cmovne r10, rbx
mov rax, r10
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140002d60
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140003b89
int3

Function at 0x140002d88
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140019ef0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
lea rbp, [rcx - 2]
shr rdx, 1
movabs rsi, 0x7fffffffffffffff
test rax, rax
mov qword [rsp + 0x20], r8
mov r9, r8
mov rdi, rcx
movsx r8d, byte [r8]
cmovne rsi, rax
xor r14d, r14d
lea rbp, [rbp + rdx*2]
mov qword [rsp + 0x28], r14
mov rbx, rcx
test r8b, r8b
jns 0x140019fb1
mov eax, r8d
and eax, 0xf8
cmp al, 0xf0
jne 0x140019f67
lea ecx, [r14 + 0x40]
jmp 0x140019fc0
mov eax, r8d
and eax, 0xf0
cmp al, 0xe0
jne 0x140019f8d
movzx eax, byte [r9 + 1]
and al, 0x3f
shl r8w, 6
movsx edx, al
movzx eax, byte [r9 + 2]
or r8w, dx
jmp 0x140019fa3
mov eax, r8d
and eax, 0xe0
cmp al, 0xc0
jne 0x140019fb1
movzx eax, byte [r9 + 1]
and r8w, 0x1f
and al, 0x3f
shl r8w, 6
movsx ecx, al
or r8w, cx
movzx ecx, r8w
test r8w, r8w
je 0x140019fec
nop dword [rax + rax]
cmp rbx, rbp
jae 0x140019fec
mov rax, rbx
sub rax, rdi
sar rax, 1
cmp rax, rsi
jge 0x140019fec
mov word [rbx], cx
lea rcx, [rsp + 0x20]
add rbx, 2
call fcn.140003c3d
movzx ecx, ax
test ax, ax
jne 0x140019fc0
mov word [rbx], r14w
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140002d60
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140002e05
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14002c2e0
lea r9, [rcx + rdx]
cmp rcx, r9
jae 0x14002c305
nop dword [rax]
movzx eax, byte [rcx]
inc rcx
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rcx, r9
jb 0x14002c2f0
mov eax, r8d
ret

Function at 0x140002f3b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140056b54
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400c9658]
mov ecx, 2
lea r8, [0x1400c9650]
lea rdx, str.FlsGetValue
call fcn.140056624
mov ecx, ebx
test rax, rax
je 0x140056b8e
add rsp, 0x20
pop rbx
jmp qword [0x1401a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140003107
Capabilities:
Query environment variable

Disassembly:
jmp 0x140096434
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 r14d, r14d
mov rbx, rax
test rax, rax
je 0x140096506
mov rsi, rax
cmp word [rax], r14w
je 0x140096487
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x14009646f
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x14009646b
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.140003d5f
movsxd rbp, eax
test eax, eax
je 0x140096506
mov rcx, rbp
call fcn.140001032
mov rdi, rax
test rax, rax
je 0x1400964f9
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.140003d5f
test eax, eax
je 0x1400964f9
mov rsi, rdi
mov rdi, r14
jmp 0x1400964fc
mov rsi, r14
mov rcx, rdi
call fcn.1400011ae
jmp 0x140096509
mov rsi, r14
test rbx, rbx
je 0x140096517
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14000319d
Capabilities:
Terminate process

Disassembly:
jmp 0x1400487fc
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x14000335a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14002c3f0
lea r9, [rcx + rdx]
cmp rcx, r9
jae 0x14002c422
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
xor r8, rax
imul r8, rdx
cmp rcx, r9
jb 0x14002c410
mov rax, r8
ret

Function at 0x14000336e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140080fd0
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x140080d24
Function at 0x140003549
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400abbc0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400abbea
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1400abbea
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1400abbea
mov eax, 1
ret
xor eax, eax
ret

Function at 0x140003cba
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400abb00
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1400abb41
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1400abb35
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1400abb43
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1400abb23
xor eax, eax
ret

Function at 0x140003f21
Capabilities:
Terminate process

Disassembly:
jmp 0x140087710
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14008772a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.1400047e6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140004016
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14008e9f8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400cc020]
mov ecx, 5
lea r8, [0x1400cc018]
lea rdx, str.FlsGetValue
call fcn.14008dff0
mov ecx, ebx
test rax, rax
je 0x14008ea32
add rsp, 0x20
pop rbx
jmp qword [0x1401a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140004237
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x14002c440
movzx eax, byte [rcx]
test al, al
je 0x14002c466
movabs r8, 0x100000001b3
movzx eax, al
lea rcx, [rcx + 1]
xor rdx, rax
movzx eax, byte [rcx]
imul rdx, r8
test al, al
jne 0x14002c451
mov rax, rdx
ret
Function at 0x140004534
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14008ea50
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400cc030]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 6
lea r8, [0x1400cc028]
call fcn.14008dff0
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14008ea90
call qword [0x1401a0020]
jmp 0x14008ea96
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000493f
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140056bac
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400c9678]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400c9670]
call fcn.140056624
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140056bec
call qword [0x1401a0020]
jmp 0x140056bf2
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140004a25
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400a5b38
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 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.1400026ee
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a5bc2
cmp byte [rbp - 0x21], r15b
je 0x1400a5bbd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, ebx
jmp 0x1400a5bf8
call fcn.140004f0c
test eax, eax
jne 0x1400a5be4
cmp byte [rbp - 0x21], r15b
je 0x1400a5bdc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, 1
jmp 0x1400a5bf8
cmp byte [rbp - 0x21], r15b
je 0x1400a5bf5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.140002437
test eax, eax
jne 0x1400a5c90
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400026ee
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a5c33
cmp byte [rbp - 0x21], r15b
je 0x1400a5c68
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a5c68
call fcn.140004f0c
test eax, eax
jne 0x1400a5c54
cmp byte [rbp - 0x21], r15b
je 0x1400a5c4d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a5c68
cmp byte [rbp - 0x21], r15b
je 0x1400a5c65
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r8d, ebx
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140002437
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a5c90
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a5c93
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a5ca1
mov rcx, rdi
call fcn.1400011ae
cmp byte [rbp + 0x3f], r15b
je 0x1400a5cb0
mov rcx, qword [rbp + 0x27]
call fcn.1400011ae
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140004b51
Capabilities:
Parse pe header

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

Function at 0x140004c19
Capabilities:
Create thread

Disassembly:
jmp 0x14007a180
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov edi, edx
mov rsi, rcx
test r8, r8
jne 0x14007a1b0
call fcn.140002603
mov dword [rax], 0x16
call fcn.140001569
xor eax, eax
jmp 0x14007a230
mov rdx, r9
mov rcx, r8
call fcn.140079f60
mov rbx, rax
test rax, rax
je 0x14007a200
lea rax, [rsp + 0x50]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140079d00]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x14007a240
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400021ad
xor edi, edi
test rbx, rbx
je 0x14007a22d
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007a216
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14007a225
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400011ae
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007a250
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
xor ebx, ebx
jmp 0x14007a202

Function at 0x14000e160
Capabilities:
Print debug messages

Disassembly:
jmp 0x14000e160
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x2440
call fcn.140001a87
sub rsp, rax
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x2430], rax
mov rbx, rdx
mov rdi, rcx
call fcn.140001212
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x30]
xor ebx, ebx
mov r9, rdi
mov r8d, 0xc00
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
or rcx, 1
call fcn.140002b1c
xor r9d, r9d
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x30]
mov edx, 0x1800
lea rcx, [rsp + 0xc30]
call fcn.140002d88
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2430]
xor rcx, rsp
call fcn.140002d60
mov rbx, qword [rsp + 0x2460]
add rsp, 0x2440
pop rdi
ret
Function at 0x14000fa90
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
push rdi
push r12
push r13
sub rsp, 0x70
mov rax, qword [0x1400e6298]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], r14
mov r14, rcx
mov qword [rsp + 0x50], r15
mov r15, rdx
call fcn.140002cca
lea rcx, str.ReadCpuUsageInternal
mov r12, rax
call fcn.1400030f3
xor eax, eax
xor r13d, r13d
mov qword [r14], rax
mov qword [r15], rax
cmp byte [0x1400e7776], al
jne 0x14000fb1e
mov rcx, qword [0x1400e7768]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rax, qword [rsp + 0x38]
mov dil, 1
mov qword [r14], rax
mov rax, qword [rsp + 0x40]
mov qword [r15], rax
jmp 0x14000fbd5
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
mov qword [rsp + 0x68], rbp
nop dword [rax + rax]
mov edx, dword [0x1400e5180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x14000fbc0
mov r8d, dword [0x1400e5180]
lea r9, [0x1400e5180]
mov rdx, rax
mov ecx, 5
call sub.ntdll.dll_NtQuerySystemInformation
mov ebp, eax
test eax, eax
js 0x14000fb8e
mov rdx, rbx
mov ecx, r13d
nop dword [rax]
add rdx, rcx
cmp dword [rdx + 0x50], esi
je 0x14000fba4
mov ecx, dword [rdx]
test ecx, ecx
jne 0x14000fb80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor dil, dil
cmp ebp, 0xc0000004
je 0x14000fb40
jmp 0x14000fbc3
mov rax, qword [rdx + 0x28]
mov rcx, rbx
mov qword [r14], rax
mov dil, 1
mov rax, qword [rdx + 0x30]
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14000fbc3
xor dil, dil
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
call fcn.140004bd3
call fcn.140002cca
mov ecx, dword [0x1400e77a8]
mov edx, dword [0x1400e77b8]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
cmp ecx, edx
jne 0x14000fc1f
test ecx, ecx
jle 0x14000fc1f
dec ecx
mov dword [0x1400e77a8], ecx
mov ecx, dword [0x1400e77a0]
inc ecx
mov dword [0x1400e77a0], ecx
cmp ecx, edx
jl 0x14000fc1f
sub ecx, edx
mov dword [0x1400e77a0], ecx
sub rax, r12
mov rcx, rax
call fcn.1400032ce
movsxd rdx, dword [0x1400e77a4]
movzx eax, dil
inc dword [0x1400e77a8]
vmulss xmm1, xmm0, dword [0x1400b4f10]
lea ecx, [rdx + 1]
cmp ecx, dword [0x1400e77b8]
cmove ecx, r13d
mov dword [0x1400e77a4], ecx
mov rcx, qword [0x1400e77b0]
vmovss dword [rcx + rdx*4], xmm1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140002d60
add rsp, 0x70
pop r13
pop r12
pop rdi
ret
Function at 0x140004d30
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x3d0
vmovaps xmmword [rsp + 0x3c0], xmm6
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
cmp byte [0x140087059], 0
je 0x140004f7c
xor ebx, ebx
mov qword [rsp + 0x78], rbx
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rsp + 0x80], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x90], xmm1
vmovdqu xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0x70], rbx
mov rax, qword [0x140090860]
mov dword [rax + 0x47e0], 0x41200000
mov qword [rax + 0x47e4], 0x41200000
mov dword [rax + 0x47ec], ebx
mov dword [rax + 0x47d4], 1
or dword [rax + 0x47d0], 0x41
mov dword [rax + 0x4830], 0x3eb33333
xor edx, edx
lea r8d, [rbx + 0x63]
lea rcx, str.Watermark
call fcn.14001bab0
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140004e28
mov edx, dword [0x14008f53c]
add rdx, rax
mov rcx, qword [0x14008f5c8]
test rcx, rcx
je 0x140004e28
cmp dword [0x14008f5d0], ebx
je 0x140004e28
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 4]
lea r8, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140004e28
vmovss xmm1, dword [0x1400795a0]
jmp 0x140004e2c
vxorps xmm1, xmm1, xmm1
vmovss xmm0, dword [0x140079624]
vfmadd231ss xmm1, xmm0, dword [0x140087084]
vmovss dword [0x140087084], xmm1
cmp byte [0x140087058], bl
je 0x140004e59
lea rcx, str.DETORUS
call fcn.1400431a0
vmovss xmm6, dword [0x140079860]
vmovaps xmm1, xmm6
call fcn.140021500
cmp byte [0x140087058], bl
je 0x140004e7e
lea rcx, [0x1400716f0]
call fcn.1400431a0
vmovaps xmm1, xmm6
call fcn.140021500
mov dword [rsp + 0x30], 0x100
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140004eee
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], 0xffffffffffffffff
lea r9, [rsp + 0x1b0]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140004eee
cmp byte [0x14008704c], bl
je 0x140004eee
lea rcx, [rsp + 0xb0]
call fcn.1400431a0
vmovaps xmm1, xmm6
call fcn.140021500
cmp byte [0x14008704c], bl
je 0x140004f0b
lea rcx, [0x1400716f0]
call fcn.1400431a0
vmovaps xmm1, xmm6
call fcn.140021500
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
test eax, eax
jne 0x140004f76
cmp byte [0x14008707d], bl
je 0x140004f76
mov r9d, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
lea rcx, str._02d:_02d:_02d
call fcn.1400431a0
call fcn.14001dd30
nop
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.140067f50
vmovaps xmm6, xmmword [rsp + 0x3c0]
add rsp, 0x3d0
pop rbx
ret