joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400166d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov dword [rsp + 0x20], r9d
mov r13, r8
mov r12d, edx
mov r15, rcx
call fcn.140007830
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
lea r8d, [rbx + 0x17]
lea rdx, str.NtSetInformationProcess
lea rcx, [rsp + 0x28]
call fcn.1400044b0
nop
call fcn.140012410
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
cmp rsi, 0x10
cmovae rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140016783
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140016770
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140008170
mov r10, qword [rax + 8]
test r10, r10
je 0x1400167cc
cmp r10, qword [r14 + 8]
je 0x1400167cc
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400167d6
mov r9d, dword [rsp + 0x20]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x1400167db
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0x10
jb 0x14001680e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140016806
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016821
mov rcx, rdi
call fcn.1400528ec
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14005ed44
int3
Function at 0x140016830
Capabilities:
Create thread
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov r13, r9
mov r12, r8
mov rsi, rdx
mov qword [rsp + 0x80], rcx
call fcn.140007830
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea r8d, [rbx + 0x10]
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x60]
call fcn.1400044b0
nop
call fcn.140012410
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x60]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x1400168e3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400168d0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.140008170
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140016919
cmp rbx, qword [r15 + 8]
je 0x140016919
mov rbx, qword [rbx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
jmp 0x140016927
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
mov ebx, ebp
cmp r14, 0x10
jb 0x14001695e
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140016956
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016a09
mov rcx, rdi
call fcn.1400528ec
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x110]
xor r8d, r8d
test rbx, rbx
je 0x1400169bb
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
mov r9, rcx
mov edx, dword [rsp + 0x118]
mov rcx, rsi
call rbx
test eax, eax
jns 0x1400169f5
mov qword [rsi], rbp
jmp 0x1400169f5
and eax, 1
shl eax, 2
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsi], rax
test rax, rax
je 0x1400169e6
mov eax, ebp
jmp 0x1400169f5
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.14005ed44
int3
Function at 0x140016a40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12, r8
mov r15, rdx
cmp byte [rcx + 0x15], 0
jne 0x140016a69
xor eax, eax
jmp 0x140016b95
call fcn.140007830
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x15]
lea rdx, str.Wow64GetThreadContext
lea rcx, [rsp + 0x20]
call fcn.1400044b0
nop
call fcn.140012410
lea rbp, [rsi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140016b03
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140016af0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140008170
mov r8, qword [rax + 8]
test r8, r8
je 0x140016b42
cmp r8, qword [rsi + 8]
je 0x140016b42
mov rsi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140016b4b
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x140016b4d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
cmp r14, 0x10
jb 0x140016b80
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140016b78
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016bae
mov rcx, rdi
call fcn.1400528ec
test esi, esi
jne 0x140016b93
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005ed44
int3
Function at 0x140016bf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12, r8
mov r15, rdx
cmp byte [rcx + 0x15], 0
jne 0x140016c19
xor eax, eax
jmp 0x140016d45
call fcn.140007830
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r8d, [rbx + 0x15]
lea rdx, str.Wow64SetThreadContext
lea rcx, [rsp + 0x20]
call fcn.1400044b0
nop
call fcn.140012410
lea rbp, [rsi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140016cb3
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140016ca0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140008170
mov r8, qword [rax + 8]
test r8, r8
je 0x140016cf2
cmp r8, qword [rsi + 8]
je 0x140016cf2
mov rsi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140016cfb
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x140016cfd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
cmp r14, 0x10
jb 0x140016d30
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140016d28
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016d5e
mov rcx, rdi
call fcn.1400528ec
test esi, esi
jne 0x140016d43
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005ed44
int3
Function at 0x140017010
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
cmp byte [rcx + 0x15], r12b
jne 0x140017053
xor eax, eax
jmp 0x1400171c0
mov qword [rsp + 0x68], r12
call fcn.140007830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8d, 0x19
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.1400044b0
nop
mov dword [rsp + 0x30], 1
call fcn.140012410
lea rbp, [rdi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0x10
cmovae rdx, rsi
movabs r9, 0xcbf29ce484222325
mov rcx, r12
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400170f3
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400170e0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140008170
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140017154
cmp rdx, qword [rdi + 8]
je 0x140017154
mov rdi, qword [rdx + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x14001715d
add rbx, 8
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rsp + 0x68]
lea edx, [r9 + 0x12]
mov rcx, qword [rbx]
call rdi
mov rcx, rbx
test eax, eax
js 0x140017161
test r14, r14
je 0x140017161
mov dil, 1
jmp 0x140017167
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
xor dil, dil
mov rbx, rcx
cmp r15, 0x10
jb 0x14001719a
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140017192
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400171e9
mov rcx, rsi
call fcn.1400528ec
test dil, dil
je 0x1400171bb
mov qword [rsp + 0x20], r12
mov r9d, 0x250
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140052640
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005ed44
int3
Function at 0x1400171f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r15, rdx
mov r14, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x50], xmm0
mov dword [r11 - 0x40], r12d
call fcn.140007830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea r8d, [r12 + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.1400044b0
nop
mov dword [rsp + 0x30], 1
call fcn.140012410
lea rbx, [rdi + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae rdx, rsi
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400172e3
movabs r10, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400172d0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140008170
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14001734a
cmp rdx, qword [rdi + 8]
je 0x14001734a
mov rdi, qword [rdx + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140017353
lea rbx, [r14 + 8]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rbx]
call rdi
mov rcx, rbx
test eax, eax
js 0x140017357
test r15, r15
je 0x140017357
mov dil, 1
jmp 0x14001735d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r14 + 8]
xor dil, dil
mov rbx, rcx
cmp rbp, 0x10
jb 0x140017390
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140017388
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400173e2
mov rcx, rsi
call fcn.1400528ec
test dil, dil
je 0x1400173b1
mov qword [rsp + 0x20], r12
mov r9d, 0x388
mov r8, r15
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140052640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14005ed44
int3
Function at 0x1400173f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbp, r8
mov r12, rdx
mov r15, rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
cmp byte [rcx + 0x15], r13b
jne 0x140017437
xor eax, eax
jmp 0x1400175c3
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
mov dword [rsp + 0x98], r13d
call fcn.140007830
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r8d, 0x18
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.1400044b0
nop
mov dword [rsp + 0x30], 1
call fcn.140012410
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov rcx, r13
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400174f3
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400174e0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140008170
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140017552
cmp rcx, qword [rbx + 8]
je 0x140017552
mov rbx, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001755b
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r12
call rbx
test eax, eax
js 0x14001755b
test rbp, rbp
je 0x14001755b
mov bl, 1
jmp 0x14001755d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
cmp r14, 0x10
jb 0x140017590
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140017588
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400175ee
mov rcx, rdi
call fcn.1400528ec
test bl, bl
je 0x1400175b8
mov rdx, qword [rsp + 0x70]
add rdx, 0x2000
mov qword [rsp + 0x20], r13
mov r9d, 0x1000
mov r8, rbp
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
add rax, 0x2000
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140052640
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005ed44
int3
Function at 0x140017600
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, r8
mov r15, rdx
mov r13, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x60], xmm0
mov dword [r11 - 0x50], r12d
call fcn.140007830
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
lea r8d, [r12 + 0x18]
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.1400044b0
nop
mov dword [rsp + 0x30], 1
call fcn.140012410
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x1400176f3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400176e0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140008170
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140017752
cmp rcx, qword [rbx + 8]
je 0x140017752
mov rbx, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14001775b
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r15
call rbx
test eax, eax
js 0x14001775b
test r14, r14
je 0x14001775b
mov bl, 1
jmp 0x14001775d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
cmp rbp, 0x10
jb 0x140017790
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140017788
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400177e1
mov rcx, rdi
call fcn.1400528ec
test bl, bl
je 0x1400177b1
mov qword [rsp + 0x20], r12
mov r9d, 0x1838
mov r8, r14
mov rdx, qword [rsp + 0x70]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140052640
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005ed44
int3
Function at 0x140018fa0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1400a2128], 0
jne 0x140019011
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1400a2118], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1400a2120], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400a2128], rax
lea rax, [0x1400a2118]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140052640
add rsp, 0x68
ret

Function at 0x1400198c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14009e038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
lea rsi, [rdx + 0x1f]
add rcx, 8
and rsi, 0xffffffffffffffe0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdi, qword [r14 + 0x78]
test rdi, rdi
je 0x14001991a
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi + 0x18]
cmp rsi, rax
jbe 0x140019a1a
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140019901
mov r15d, 0x8000
mov ecx, 0x20
cmp rsi, r15
cmova r15, rsi
call fcn.14005edbc
xor ebp, ebp
mov rdi, rax
test rax, rax
je 0x140019a31
mov r13, qword [r14]
lea r12, [rax + 0x10]
test r15, r15
je 0x1400199ed
mov rax, qword [0x1400a2128]
test rax, rax
jne 0x1400199af
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x34]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1400a2118], rax
mov eax, dword [rsp + 0x58]
mov qword [0x1400a2120], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400a2128], rax
mov rcx, qword [0x1400a2118]
dec r15
add r15, rcx
mov dword [rsp + 0x20], 0x40
dec rcx
mov r9d, 0x3000
not rcx
and r15, rcx
test r13, r13
mov r8, r15
cmovne rax, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x1400199fe
mov rax, rbp
mov rcx, rdi
mov qword [rdi + 8], rax
call fcn.14005e98c
jmp 0x140019a31
test r12, r12
je 0x140019a07
mov qword [r12], r15
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbp
mov rax, qword [r14 + 0x78]
mov qword [rdi], rax
mov qword [r14 + 0x78], rdi
mov rcx, qword [rdi + 0x18]
mov rbp, qword [rdi + 8]
add rbp, rcx
lea rax, [rcx + rsi]
mov qword [rdi + 0x18], rax
add qword [r14 + 0x50], rsi
lea rcx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140052640
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001a020
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
cmp r8d, 1
je fcn.1400198c0
jmp fcn.140019a70
Function at 0x140020d90
Capabilities:
Encode data using xor
Hash data using fnv
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x140020dbb
mov al, 1
jmp 0x140020ef9
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x140020ee9
cmp byte [rcx + 0x16], 0
jne 0x140020ee9
call fcn.140007830
mov r13, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea r8d, [rbp + 0x12]
lea rdx, str.Wow64SuspendThread
lea rcx, [rsp + 0x20]
call fcn.1400044b0
nop
call fcn.140012410
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x38]
cmp r15, 0x10
cmovae rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebp
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140020e63
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140020e50
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.140008170
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x140020ea1
cmp rsi, qword [r13 + 8]
je 0x140020ea1
mov rsi, qword [rsi + 0x30]
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x140020eab
mov rcx, qword [rbx + 0x10]
call rsi
mov ebp, eax
jmp 0x140020eab
lea rcx, [r13 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebp, 0xffffffff
setne bl
cmp r15, 0x10
jb 0x140020ee4
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140020edc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020f12
mov rcx, rdi
call fcn.1400528ec
movzx eax, bl
jmp 0x140020ef9
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.14005ed44
int3