joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140033ba0
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, 0x88
mov rax, qword [0x1400bb060]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], r9d
mov r13, r8
mov r12d, edx
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x68], ebx
call fcn.1400167c0
mov r14, rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], bl
lea r8d, [rbx + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.140007460
nop
call fcn.14002fc20
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x38]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x50]
cmp rsi, 0x10
cmovae rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140033c63
movabs r8, 0x100000001b3
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140033c50
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.1400170a0
mov r10, qword [rax + 8]
test r10, r10
je 0x140033cb6
cmp r10, qword [r14 + 8]
je 0x140033cb6
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140033cc0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x140033cc5
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0x10
jb 0x140033cf8
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140033cf0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033d1b
mov rcx, rdi
call fcn.14004aa40
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004aa20
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140057ca0
int3
Function at 0x140033d30
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.1400167c0
mov r14, rax
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], bl
lea r8d, [rbx + 0x17]
lea rdx, str.NtSetInformationProcess
lea rcx, [rsp + 0x28]
call fcn.140007460
nop
call fcn.14002fc20
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 0x140033de3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140033dd0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400170a0
mov r10, qword [rax + 8]
test r10, r10
je 0x140033e2c
cmp r10, qword [r14 + 8]
je 0x140033e2c
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140033e36
mov r9d, dword [rsp + 0x20]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x140033e3b
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0x10
jb 0x140033e6e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140033e66
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140033e81
mov rcx, rdi
call fcn.14004aa40
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.140057ca0
int3
Function at 0x140033e90
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.1400167c0
mov r15, rax
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], dil
lea r8d, [rdi + 0x10]
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x60]
call fcn.140007460
nop
call fcn.14002fc20
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x78]
cmp r14, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140033f53
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 0x140033f40
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.1400170a0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x140033f89
cmp rdi, qword [r15 + 8]
je 0x140033f89
mov rdi, qword [rdi + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
jmp 0x140033f97
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
mov edi, ebp
cmp r14, 0x10
jb 0x140033fce
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140033fc6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034079
mov rcx, rbx
call fcn.14004aa40
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x110]
xor r8d, r8d
test rdi, rdi
je 0x14003402b
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 rdi
test eax, eax
jns 0x140034065
mov qword [rsi], rbp
jmp 0x140034065
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 0x140034056
mov eax, ebp
jmp 0x140034065
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.140057ca0
int3
Function at 0x1400340b0
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 0x1400340d9
xor eax, eax
jmp 0x140034205
call fcn.1400167c0
mov rsi, rax
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
lea r8d, [rdi + 0x15]
lea rdx, str.Wow64GetThreadContext
lea rcx, [rsp + 0x20]
call fcn.140007460
nop
call fcn.14002fc20
lea rbp, [rsi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140034173
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034160
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400170a0
mov r8, qword [rax + 8]
test r8, r8
je 0x1400341b2
cmp r8, qword [rsi + 8]
je 0x1400341b2
mov rsi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x1400341bb
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x1400341bd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, edi
cmp r14, 0x10
jb 0x1400341f0
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400341e8
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003421e
mov rcx, rbx
call fcn.14004aa40
test esi, esi
jne 0x140034203
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov eax, edi
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.140057ca0
int3
Function at 0x140034260
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 0x140034289
xor eax, eax
jmp 0x1400343b5
call fcn.1400167c0
mov rsi, rax
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
lea r8d, [rdi + 0x15]
lea rdx, str.Wow64SetThreadContext
lea rcx, [rsp + 0x20]
call fcn.140007460
nop
call fcn.14002fc20
lea rbp, [rsi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x38]
cmp r14, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140034323
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034310
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400170a0
mov r8, qword [rax + 8]
test r8, r8
je 0x140034362
cmp r8, qword [rsi + 8]
je 0x140034362
mov rsi, qword [r8 + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x14003436b
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x14003436d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, edi
cmp r14, 0x10
jb 0x1400343a0
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034398
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400343ce
mov rcx, rbx
call fcn.14004aa40
test esi, esi
jne 0x1400343b3
mov rax, qword gs:[0x30]
mov edi, dword [rax + 0x1250]
mov eax, edi
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.140057ca0
int3
Function at 0x140034680
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 [0x1400bb060]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
cmp byte [rcx + 0x15], r12b
jne 0x1400346c3
xor eax, eax
jmp 0x140034826
mov qword [rsp + 0x68], r12
call fcn.1400167c0
mov rdi, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
mov r8d, 0x19
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.140007460
nop
mov dword [rsp + 0x30], 1
call fcn.14002fc20
lea rbp, [rdi + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov rcx, r12
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140034765
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034752
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400170a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400347c0
cmp rcx, qword [rdi + 8]
je 0x1400347c0
mov rdi, qword [rcx + 0x30]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x1400347c9
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rsp + 0x68]
lea edx, [r9 + 0x12]
mov rcx, qword [rsi + 8]
call rdi
test eax, eax
js 0x1400347c9
test r14, r14
je 0x1400347c9
mov dil, 1
jmp 0x1400347cc
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
cmp r15, 0x10
jb 0x1400347ff
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400347f7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003484f
mov rcx, rbx
call fcn.14004aa40
test dil, dil
je 0x140034821
mov qword [rsp + 0x20], r12
mov r9d, 0x250
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14004aa20
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.140057ca0
int3
Function at 0x140034860
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 [0x1400bb060]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, rdx
mov r15, 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.1400167c0
mov rdi, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
lea r8d, [r12 + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.140007460
nop
mov dword [rsp + 0x30], 1
call fcn.14002fc20
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140034953
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034940
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400170a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400349b4
cmp rcx, qword [rdi + 8]
je 0x1400349b4
mov rdi, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x1400349bd
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [r15 + 8]
call rdi
test eax, eax
js 0x1400349bd
test r14, r14
je 0x1400349bd
mov dil, 1
jmp 0x1400349c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
cmp rbp, 0x10
jb 0x1400349f3
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400349eb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034a46
mov rcx, rbx
call fcn.14004aa40
test dil, dil
je 0x140034a15
mov qword [rsp + 0x20], r12
mov r9d, 0x388
mov r8, r14
mov rdx, qword [rsp + 0x70]
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14004aa20
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.140057ca0
int3
Function at 0x140034a50
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 [0x1400bb060]
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 0x140034a97
xor eax, eax
jmp 0x140034c26
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.1400167c0
mov rdi, rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r13b
mov r8d, 0x18
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.140007460
nop
mov dword [rsp + 0x30], 1
call fcn.14002fc20
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov rcx, r13
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140034b53
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034b40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400170a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140034bb3
cmp rcx, qword [rdi + 8]
je 0x140034bb3
mov rdi, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140034bbc
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r12
call rdi
test eax, eax
js 0x140034bbc
test rbp, rbp
je 0x140034bbc
mov dil, 1
jmp 0x140034bbf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
cmp r14, 0x10
jb 0x140034bf2
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034bea
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034c51
mov rcx, rbx
call fcn.14004aa40
test dil, dil
je 0x140034c1b
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.14004aa20
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.140057ca0
int3
Function at 0x140034c60
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 [0x1400bb060]
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.1400167c0
mov rdi, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r12b
lea r8d, [r12 + 0x18]
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.140007460
nop
mov dword [rsp + 0x30], 1
call fcn.14002fc20
lea rsi, [rdi + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140034d53
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140034d40
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400170a0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140034db3
cmp rcx, qword [rdi + 8]
je 0x140034db3
mov rdi, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x140034dbc
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, r15
call rdi
test eax, eax
js 0x140034dbc
test r14, r14
je 0x140034dbc
mov dil, 1
jmp 0x140034dbf
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor dil, dil
cmp rbp, 0x10
jb 0x140034df2
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140034dea
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034e44
mov rcx, rbx
call fcn.14004aa40
test dil, dil
je 0x140034e14
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.14004aa20
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.140057ca0
int3
Function at 0x140036d00
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400bb060]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1400bebb8], 0
jne 0x140036d71
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 [0x1400beba8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1400bebb0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400bebb8], rax
lea rax, [0x1400beba8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004aa20
add rsp, 0x68
ret

Function at 0x14003f320
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
jne 0x14003f345
mov al, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rax, qword [rdi]
mov rcx, qword [rax + 0x10]
cmp dword [rcx + 0x10], 3
jne 0x14003f3f5
cmp byte [rcx + 0x16], 0
jne 0x14003f3f5
call fcn.1400167c0
mov rbx, rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], al
lea r8d, [rax + 0x12]
lea rdx, str.Wow64SuspendThread
lea rcx, [rsp + 0x20]
call fcn.140007460
nop
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14003f420
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003f3e7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f3e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f410
call fcn.14004aa40
movzx eax, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne al
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.140057ca0
int3
Function at 0x14003f420
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14002fc20
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jb 0x14003f456
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14003f484
movabs r8, 0x100000001b3
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x14003f471
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400170a0
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14003f4cc
cmp rbx, qword [rsi + 8]
je 0x14003f4cc
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14003f4d6
mov rcx, qword [r14]
mov rax, rbx
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp rax
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret