joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065ba0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140157770]
cmp ecx, 0xffffffff
je 0x140065bc2
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140065bc7
call fcn.140065ce0
mov eax, dword [0x140162500]
mov ecx, dword [0x140157854]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140065c77
mov rbx, qword [0x1401624f8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140065cbd
mov rax, qword [0x140160ce8]
inc rax
xor ecx, ecx
lea rdx, [0x140160cf0]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140065cca
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401624f0]
inc ecx
mov dword [0x1401624f0], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140160ce8], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140065cdc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140162500]
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140065c04
inc rcx
cmp rcx, 0x100
jne 0x140065c17
jmp 0x140065c5d
int3

Function at 0x140065e10
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140157770]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140065e4e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x140065e47
call fcn.140065ce0
jmp 0x140065e2e
Function at 0x140065f60
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x140066082
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1400660b8
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1400660c0
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400660c4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400660ca
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x140065fbc
xor eax, eax
jmp 0x140066051
mov dl, byte [r8 + 0x19]
jmp 0x1400660b1
cmp byte [r8 + 0x1a], 0
je 0x1400660b5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400660b5
cmp ecx, 0x666f736f
jne 0x1400660b5
cmp edx, 0x76482074
jne 0x1400660b5
mov byte [r8 + 0x19], 1
jmp 0x1400660b5

Function at 0x1400685e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x14006861c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140068626
add rdi, rbx
sub rsi, rbx
jne 0x1400685fa
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x140087c80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x140087cab
xor ecx, ecx
lea r9, [0x1401379e0]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140087c90
ret
Function at 0x1400908f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x140157770]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140090924
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140090924
mov rax, qword [rax + rcx]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x14009091e

Function at 0x1400965fd
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14009661b
je 0x140096626
call 0x140096675
mov bl, 0xc7
lahf
pop rsi
jne 0x140096606
call 0x14009661e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140096606
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140096654
je 0x140096692
invalid
je 0x1400966a3
jne 0x140096606
lea rax, [0x14009652c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009228d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140096744
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009679d
je 0x1400967a3
call 0x140096794
fild qword [rdi - 0x7c]
jmp 0x174fd2f16
jne 0x140096766
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140096726
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140096610
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14009661b
je 0x140096626
call 0x140096675
mov bl, 0xc7
lahf
pop rsi
jne 0x140096606
call 0x14009661e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140096606
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140096654
je 0x140096692
invalid
je 0x1400966a3
jne 0x140096606
lea rax, [0x14009652c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009228d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140096744
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009679d
je 0x1400967a3
call 0x140096794
fild qword [rdi - 0x7c]
jmp 0x174fd2f16
jne 0x140096766
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140096726
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x14009663c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14009661b
je 0x140096626
call 0x140096675
mov bl, 0xc7
lahf
pop rsi
jne 0x140096606
call 0x14009661e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140096606
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140096654
je 0x140096692
invalid
je 0x1400966a3
jne 0x140096606
lea rax, [0x14009652c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009228d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140096744
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009679d
je 0x1400967a3
call 0x140096794
fild qword [rdi - 0x7c]
jmp 0x174fd2f16
jne 0x140096766
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140096726
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x140096675
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, qword [rsp + 8]
and rdx, 0
dec rax
cmp word [rax], 0x5a4d
jne 0x14009661b
je 0x140096626
call 0x140096675
mov bl, 0xc7
lahf
pop rsi
jne 0x140096606
call 0x14009661e
mov ecx, edi
xor eax, 0x3c508b0b
mov edx, dword [rax + 0x3c]
cmp edx, 0x400
jae 0x140096606
sub rax, 0x48b5
add rdx, rax
add rdx, 0x48b5
add rax, 0x48b5
cmp word [rdx], 0x4550
jne 0x140096654
je 0x140096692
invalid
je 0x1400966a3
jne 0x140096606
lea rax, [0x14009652c]
sub rsp, 8
mov qword [rsp], rcx
mov rcx, 0xffffffffffff2810
add rcx, 0xd960
add rcx, rax
push rcx
xchg rcx, rax
add rsp, 8
mov rcx, qword [rsp - 8]
mov rcx, qword [rsp]
add rsp, 8
call rax
lodsd eax, dword [rsi]
push rbp
movabs byte [0x894808ec8348c391], al
sub al, 0x24
mov rbp, rsp
mov qword [rsp - 8], 0
ret
add byte [rax], al
add byte [rax], al
sub rsp, 8
pop rax
add rax, rcx
sub rsp, 0x1e0
sub rsp, 0x20
and spl, 0xf0
mov byte [rbp - 0xd], 0x56
mov byte [rbp - 0xc], 0x69
mov byte [rbp - 0xb], 0x72
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x75
mov byte [rbp - 8], 0x61
mov byte [rbp - 7], 0x6c
mov byte [rbp - 6], 0x41
mov byte [rbp - 5], 0x6c
mov byte [rbp - 4], 0x6c
mov byte [rbp - 3], 0x6f
mov byte [rbp - 2], 0x63
mov byte [rbp - 1], 0
mov qword [rsp - 8], rsi
sub rsp, 8
add rsp, 8
mov rcx, qword [rsp - 8]
lea rdx, [rbp - 0xd]
call rax
sub rsp, 8
mov qword [rsp], 0
add rsp, 8
mov rcx, qword [rsp - 8]
mov rdx, 0x61be
mov r8, 0x3000
mov r9, 0x40
call rax
mov rcx, 0x4615
lea r9, [0x14009228d]
dec rcx
mov dl, byte [r9 + rcx]
mov byte [rax + rcx], dl
test rcx, rcx
jne 0x140096744
mov rcx, 0x3fe0
mov r9d, 0x15c13
mov r10d, 0x92819200
dec rcx
mov dl, byte [rax + rcx]
xor dl, r9b
mov byte [rax + rcx], dl
sub r10d, 0x26fe2
add r9d, r10d
add r9d, 0x26fe2
add r10d, 0x26fe2
rol r9d, 1
test rcx, rcx
jne 0x14009679d
je 0x1400967a3
call 0x140096794
fild qword [rdi - 0x7c]
jmp 0x174fd2f16
jne 0x140096766
xor al, 1
add byte [rbp - 0x7f], dh
jne 0x140096726
add rax, 0x1ed4
mov rsp, rbp
pop rbp
ret
Function at 0x1400b1dc4
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.140096230
sub rsp, rax
mov rax, qword [0x140148038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400a8018
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400b1e13
mov rax, rbp
jmp 0x1400b1f1b
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, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x158740]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400a9110
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x158740]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400b1f17
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 0x1400b1f17
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400a9110
test rax, rax
js 0x1400b1f17
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400b1f17
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400b1f09
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400b1f09
cmp byte [rcx], 0xd
jne 0x1400b1eef
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400b1efe
cmp byte [rcx + 1], 0xa
jne 0x1400b1efe
inc rcx
jmp 0x1400b1efe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x148320]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400b1ed1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400b1f1b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140096290
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 0x1400b9fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400b9fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400b9fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400d1450
Capabilities:
Encode data using xor

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

Function at 0x1400d14f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp rdx, r8
je 0x1400d1528
movabs rcx, 0xf000000000000000
shl rax, 4
movzx r9d, word [rdx]
add r9, rax
mov r10, r9
and r10, rcx
mov rax, r10
shr rax, 0x38
or rax, r10
xor rax, r9
add rdx, 2
cmp rdx, r8
jne 0x1400d1501
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140014270
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400155c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400155e0
xor al, al
jmp 0x140015661
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400155f3
xor al, al
jmp 0x140015661
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001561d
xor al, al
jmp 0x140015661
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015631
xor al, al
jmp 0x140015661
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015643
xor al, al
jmp 0x140015661
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001565f
xor al, al
jmp 0x140015661
mov al, 1
add rsp, 0x38
ret
Function at 0x140059700
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
lea rdx, [0x1404556ac]
lea rcx, [0x140444054]
movdqa xmmword [rbp + 7], xmm0
call fcn.1400f43c0
and qword [rbp + 0x1f], 0
lea rcx, [rbp - 0x39]
and qword [rbp + 0x47], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x27], xmm0
xor eax, eax
movdqa xmmword [rbp + 0x37], xmm1
mov qword [rbp - 0x39], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005979f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14005978a
lea rdx, [0x14045ae50]
lea rcx, [0x14042ebbc]
call fcn.1400f470c
mov ebx, 0x80004005
jmp 0x140059798
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
jmp 0x1400598af
lea rax, [0x14004825c]
mov qword [rbp - 0x31], 3
mov qword [rbp - 0x29], rax
lea rdx, [0x140452048]
lea rax, [rbp + 0x77]
lea rcx, [0x1404388e4]
mov qword [rbp - 0x21], rax
call fcn.1400f3670
lea rax, [rbp + 7]
lea rdx, [0x140455e88]
mov qword [rbp - 0x19], rax
lea rcx, [0x14043276c]
call fcn.1400f406c
lea rdx, [0x140458974]
mov qword [rbp - 0x11], rbx
lea rcx, [0x140434abc]
call fcn.1400f50f4
xor r9d, r9d
lea rdx, [rbp - 0x31]
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x77]
test ebx, ebx
jns 0x140059833
lea rdx, [0x14045c138]
lea rcx, [0x14042e04c]
call fcn.1400f43c0
jmp 0x140059798
mov rcx, qword [rbp + 0x37]
mov rdx, rdi
call fcn.14007ab14
lea rdx, [0x1404596c8]
mov ebx, eax
lea rcx, [0x14042c02c]
call fcn.1400f39c8
test ebx, ebx
js 0x140059798
lea rdx, [0x14045b688]
lea rcx, [0x14042eca4]
call fcn.1400f4a64
mov rcx, qword [rbp + 0x3f]
lea rdx, [rdi + 8]
call fcn.14007ab14
mov ebx, eax
test eax, eax
jns 0x14005989a
lea rdx, [0x14045b550]
lea rcx, [0x140437090]
call fcn.1400f3d14
jmp 0x140059798
mov rcx, qword [rbp + 0x47]
lea rdx, [rdi + 0x10]
call fcn.14007ab14
mov ebx, eax
test eax, eax
jns 0x1400598b4
mov ecx, eax
call fcn.14007ac40
cmp dword [0x140451890], 5
jbe 0x140059935
lea rdx, [0x14045b6a8]
lea rcx, [0x14042ecac]
call fcn.1400f4dac
movabs rdx, 0x400000000000
test qword [0x1404518a0], rdx
je 0x140059935
mov rax, qword [0x1404518a8]
and rax, rdx
cmp rax, qword [0x1404518a8]
jne 0x140059935
mov rcx, qword [rbp - 0x39]
call fcn.140079a88
mov qword [rbp - 9], rax
lea rdx, [0x14044533d]
lea rax, [rbp - 9]
mov dword [rbp + 0x7f], ebx
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
mov qword [rbp - 1], 0x1000000
call fcn.1400014e0
mov ecx, ebx
call fcn.14007ace8
lea rdx, [0x140454fd4]
lea rcx, [0x140431b84]
call fcn.1400f3318
and qword [rbp - 0x21], 0
lea rax, [0x140045b5c]
xor r9d, r9d
mov qword [rbp - 0x29], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x31], 3
lea rdx, [rbp - 0x31]
mov qword [rbp - 0x19], rax
mov ecx, 0xb9
lea r8d, [r9 + 0x28]
call sub.ntdll.dll_NtQuerySystemInformation
lea r11, [rsp + 0xd0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14005b24c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
and dword [rbp - 0x30], 0
lea rcx, [rbp + 0x38]
and dword [rbp - 0x2c], 0
xor eax, eax
and qword [rbp - 0x28], 0
mov rdi, rdx
mov qword [rbp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14005b2fb
lea rdx, [0x14045992c]
lea rcx, [0x14043ee60]
call fcn.1400f3318
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jne 0x14005b2a8
mov ebx, 0x80004005
jmp 0x14005b2dc
lea rdx, [0x1404589c8]
lea rcx, [0x14043e190]
call fcn.1400f39c8
lea rdx, [0x140456cd0]
lea rcx, [0x140433118]
call fcn.1400f4dac
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
mov ecx, ebx
call fcn.14007ac40
lea rdx, [0x140453438]
lea rcx, [0x14043c7f0]
call fcn.1400f3d14
jmp 0x14005b3d0
test rdi, rdi
jne 0x14005b30c
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x14005b3cb
lea rax, [0x14004651c]
mov qword [rbp - 0x20], 3
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
xor r9d, r9d
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
mov ecx, 0xb9
lea rax, [rbp - 0x30]
mov qword [rbp - 8], rax
lea r8d, [r9 + 0x20]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x20]
test ebx, ebx
js 0x14005b305
cmp dword [rbp - 0x2c], 0
jg 0x14005b385
lea rdx, [0x14045a3b0]
lea rcx, [0x140436150]
call fcn.1400f43c0
mov ebx, 0x8000ffff
mov ecx, ebx
call fcn.14007ac40
lea rdx, [0x140453680]
lea rcx, [0x140430378]
call fcn.1400f50f4
jmp 0x14005b3d0
mov rax, qword [rbp - 0x28]
lea rdx, [0x1404557e8]
lea rcx, [0x140444158]
mov rbx, qword [rax]
call fcn.1400f3318
lea rdx, [0x140459ca8]
lea rcx, [0x14043f0f0]
call fcn.1400f4a64
mov r8d, 0x7fffffff
mov rdx, rdi
mov rcx, rbx
call fcn.14006b1f0
mov ebx, eax
test eax, eax
jns 0x14005b3d0
mov ecx, eax
call fcn.14007ac40
cmp dword [0x140451890], 5
jbe 0x14005b468
lea rdx, [0x1404552e8]
lea rcx, [0x140431e00]
call fcn.1400f3670
movabs rdx, 0x400000000000
test qword [0x1404518a0], rdx
je 0x14005b468
mov rax, qword [0x1404518a8]
and rax, rdx
cmp rax, qword [0x1404518a8]
jne 0x14005b468
mov rcx, qword [rbp + 0x38]
call fcn.140079a88
lea rdx, [0x140455cc0]
mov qword [rbp - 0x40], rax
lea rcx, [0x14043bae0]
call fcn.1400f470c
lea rax, [rbp - 0x40]
mov dword [rbp + 0x30], ebx
mov qword [rsp + 0x30], rax
lea rdx, [0x1404451a3]
lea rax, [rbp + 0x30]
mov qword [rbp - 0x38], 0x1000000
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call fcn.1400014e0
mov ecx, ebx
call fcn.14007ace8
lea rdx, [0x14045acf8]
lea rcx, [0x14043ffe0]
call fcn.1400f406c
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.14007a644
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14005b4aa
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret