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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], rdx
mov r13, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x58], xmm0
mov dword [r11 - 0x48], ebx
call fcn.18000b090
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov r8d, 0x19
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x40]
call fcn.18000b890
nop
mov dword [rsp + 0x30], 1
call fcn.1800274b0
lea r12, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
cmp r14, 0xf
cmova r8, rsi
movabs rdx, 0xcbf29ce484222325
mov ecx, ebx
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x18002c564
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18002c550
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r15, qword [rbp + 8]
cmp rbx, r15
je 0x18002c5cb
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18002c5a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
cmp r14, 0xf
cmova rcx, rsi
cmp rdi, rax
jne 0x18002c5c0
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18002c5cd
cmp rbx, rbp
je 0x18002c5cb
mov rbx, qword [rbx + 8]
jmp 0x18002c590
xor ebx, ebx
test rbx, rbx
cmove rbx, r15
mov rcx, r12
cmp rbx, r15
je 0x18002c624
mov rdi, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rdi, rdi
je 0x18002c62a
lea rbx, [r13 + 8]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rbx]
call rdi
mov rcx, rbx
mov rbp, qword [rsp + 0x38]
test eax, eax
js 0x18002c633
test rbp, rbp
je 0x18002c633
mov dil, 1
jmp 0x18002c639
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [r13 + 8]
mov rbp, qword [rsp + 0x38]
xor dil, dil
mov rbx, rcx
cmp r14, 0xf
jbe 0x18002c673
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18002c66b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002c66b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800e5744
test dil, dil
je 0x18002c698
mov qword [rsp + 0x20], 0
mov r9d, 0x388
mov r8, rbp
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 + 0x98]
xor rcx, rsp
call fcn.1800e5bd0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002c6d0
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 [0x180178b40]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r13, r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
cmp byte [rcx + 0x15], bl
jne 0x18002c718
xor eax, eax
jmp 0x18002c907
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
mov dword [rsp + 0x98], ebx
call fcn.18000b090
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8d, 0x18
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.18000b890
nop
mov dword [rsp + 0x30], 1
call fcn.1800274b0
lea r12, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0xf
cmova r8, rsi
movabs rdx, 0xcbf29ce484222325
mov rcx, rbx
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x18002c7d4
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18002c7c0
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r15, qword [rbp + 8]
cmp rbx, r15
je 0x18002c83b
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18002c812
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
cmp r14, 0xf
cmova rcx, rsi
cmp rdi, rax
jne 0x18002c830
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18002c83d
cmp rbx, rbp
je 0x18002c83b
mov rbx, qword [rbx + 8]
jmp 0x18002c800
xor ebx, ebx
test rbx, rbx
cmove rbx, r15
mov rcx, r12
cmp rbx, r15
je 0x18002c889
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18002c88f
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call rbx
test eax, eax
js 0x18002c88f
test r13, r13
je 0x18002c88f
mov bl, 1
jmp 0x18002c891
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
cmp r14, 0xf
jbe 0x18002c8cb
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18002c8c3
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002c8c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800e5744
test bl, bl
je 0x18002c8fc
mov rdx, qword [rsp + 0x70]
add rdx, 0x2000
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, r13
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 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.1800e5bd0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002c940
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 [0x180178b40]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r13, r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [r11 - 0x60], xmm0
mov dword [r11 - 0x50], ebx
call fcn.18000b090
mov rbp, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8d, 0x18
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x38]
call fcn.18000b890
nop
mov dword [rsp + 0x30], 1
call fcn.1800274b0
lea r12, [rbp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x50]
cmp r14, 0xf
cmova r8, rsi
movabs rdx, 0xcbf29ce484222325
mov ecx, ebx
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x18002ca34
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x18002ca20
mov rcx, qword [rbp + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
mov r15, qword [rbp + 8]
cmp rbx, r15
je 0x18002ca9b
mov rbp, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18002ca72
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
cmp r14, 0xf
cmova rcx, rsi
cmp rdi, rax
jne 0x18002ca90
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18002ca9d
cmp rbx, rbp
je 0x18002ca9b
mov rbx, qword [rbx + 8]
jmp 0x18002ca60
xor ebx, ebx
test rbx, rbx
cmove rbx, r15
mov rcx, r12
cmp rbx, r15
je 0x18002cae9
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18002caef
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call rbx
test eax, eax
js 0x18002caef
test r13, r13
je 0x18002caef
mov bl, 1
jmp 0x18002caf1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
cmp r14, 0xf
jbe 0x18002cb2b
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18002cb23
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002cb23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800e5744
test bl, bl
je 0x18002cb55
mov qword [rsp + 0x20], 0
mov r9d, 0x1838
mov r8, r13
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800e5bd0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180035fc0
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 0x180035fe5
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 0x180036096
cmp byte [rcx + 0x16], 0
jne 0x180036096
call fcn.18000b090
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x12
lea rdx, str.Wow64SuspendThread
lea rcx, [rsp + 0x20]
call fcn.18000b890
nop
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1800360c0
cmp eax, 0xffffffff
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180036088
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036083
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180036083
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e5744
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

Function at 0x1800360c0
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.1800274b0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
mov r10, qword [rbx + 0x10]
jbe 0x1800360f6
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x180036124
movabs r8, 0x100000001b3
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r8
cmp rcx, r10
jb 0x180036111
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18000ba80
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18003616c
cmp rbx, qword [rsi + 8]
je 0x18003616c
mov rbx, qword [rbx + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x180036176
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

Function at 0x180036190
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
jne 0x1800361ac
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rbx
ret
Function at 0x1800361d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x970
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov edi, edx
mov rbx, rcx
cmp edx, 4
ja 0x18003636d
xor edx, edx
mov qword [rsp + 0x988], rsi
mov r8d, 0x670
lea rcx, [rsp + 0x2f0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x18003625f
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x180036276
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
js 0x180036344
mov edx, dword [r8]
test edi, edi
jne 0x1800362a1
and edx, 0xfff0fffe
jmp 0x1800362c1
cmp edi, 1
jne 0x1800362ae
and edx, 0xff0ffffb
jmp 0x1800362c1
cmp edi, 2
jne 0x1800362bb
and edx, 0xf0ffffef
jmp 0x1800362c1
and edx, 0xfffffbf
mov eax, edx
mov dword [r8], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x1800362e0
btr edx, 8
mov dword [r8], edx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.180035fc0
test sil, sil
jne 0x180036311
test al, al
je 0x180036342
mov rax, qword [rbx]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x18003632b
test al, al
je 0x180036342
mov rax, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbx + 8], eax
je 0x180036342
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rsi, qword [rsp + 0x988]
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1800e5bd0
mov rbx, qword [rsp + 0x990]
add rsp, 0x970
pop rdi
ret
xor eax, eax
jmp 0x18003634c
Function at 0x180036380
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rcx + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x180036404
mov dword [rsp + 0x320], 0x100010
lea r8, [rsp + 0x2f0]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x18003641b
mov dword [rsp + 0x20], 0x100010
lea r8, [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test sil, sil
lea r8, [rsp + 0x360]
lea rcx, [rsp + 0x38]
cmovne r8, rcx
test eax, eax
jns 0x18003643a
xor eax, eax
jmp 0x18003652d
xor edx, edx
mov ecx, edx
mov eax, edx
cmp qword [rsp + rax*8 + 0x338], rbx
je 0x180036465
cmp dword [rsp + rax*4 + 0x24], ebx
je 0x180036465
inc ecx
inc rax
cmp rax, 4
jl 0x180036440
mov eax, 0xc0000225
jmp 0x18003652d
movsxd rax, ecx
test sil, sil
jne 0x180036477
mov qword [rsp + rax*8 + 0x338], rdx
jmp 0x18003647b
mov dword [rsp + rax*4 + 0x24], edx
mov edx, dword [r8]
test ecx, ecx
jne 0x18003648a
and edx, 0xfff0fffe
jmp 0x1800364aa
cmp ecx, 1
jne 0x180036497
and edx, 0xff0ffffb
jmp 0x1800364aa
cmp ecx, 2
jne 0x1800364a4
and edx, 0xf0ffffef
jmp 0x1800364aa
and edx, 0xfffffbf
mov eax, edx
mov dword [r8], edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x1800364c9
btr edx, 8
mov dword [r8], edx
mov rcx, rdi
mov ebx, 0xc000071c
call fcn.180035fc0
test sil, sil
jne 0x1800364fa
test al, al
je 0x18003652b
mov rax, qword [rdi]
lea r8, [rsp + 0x2f0]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x68]
jmp 0x180036514
test al, al
je 0x18003652b
mov rax, qword [rdi]
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x10]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rdi + 8], eax
je 0x18003652b
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, ebx
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.1800e5bd0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180038970
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, 0x98
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r8
mov r12, rdx
mov r10, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x100]
xor ebx, ebx
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x78]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x58], rcx
cmp byte [r10 + 0x15], bl
je 0x180038a0c
cmp rdx, 0x7fffffff
jae 0x180038a0c
mov rax, qword gs:[0x30]
mov dword [rax + 0x1250], ebx
mov qword [rsp + 0x20], rcx
mov rcx, qword [r10 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180038b9b
call fcn.18000b090
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8d, 0x1a
lea rdx, str.NtWow64ReadVirtualMemory64
lea rcx, [rsp + 0x38]
call fcn.18000b890
nop
call fcn.1800274b0
lea rax, [r14 + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x38]
mov rbp, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0xf
cmova r8, rbp
movabs rdx, 0xcbf29ce484222325
mov rcx, rbx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x180038aa4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x180038a90
mov rcx, qword [r14 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r14 + 0x18]
mov rdi, qword [rax + rcx*8 + 8]
mov r13, qword [r14 + 8]
cmp rdi, r13
je 0x180038b0e
mov r14, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180038ae2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
cmp r15, 0xf
cmova rcx, rbp
cmp rsi, rax
jne 0x180038b00
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180038b0b
cmp rdi, r14
je 0x180038b0e
mov rdi, qword [rdi + 8]
jmp 0x180038ad0
mov rbx, rdi
test rbx, rbx
cmove rbx, r13
mov rcx, qword [rsp + 0x30]
cmp rbx, r13
je 0x180038b54
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x180038b5a
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, r12
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call rbx
mov ebx, eax
jmp 0x180038b5f
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp r15, 0xf
jbe 0x180038b99
lea rdx, [r15 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x180038b91
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180038b91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1800e5744
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e5bd0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180038bc0
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, 0x98
mov rax, qword [0x180178b40]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x68], r8
mov r12, rdx
mov r10, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rsp + 0x100]
xor ebx, ebx
mov qword [rsp + 0x78], rbx
lea rcx, [rsp + 0x78]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x58], rcx
cmp byte [r10 + 0x15], bl
je 0x180038c5c
cmp rdx, 0x7fffffff
jae 0x180038c5c
mov rax, qword gs:[0x30]
mov dword [rax + 0x1250], ebx
mov qword [rsp + 0x20], rcx
mov rcx, qword [r10 + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x180038deb
call fcn.18000b090
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8d, 0x1b
lea rdx, str.NtWow64WriteVirtualMemory64
lea rcx, [rsp + 0x38]
call fcn.18000b890
nop
call fcn.1800274b0
lea rax, [r14 + 0x40]
mov qword [rsp + 0x30], rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x38]
mov rbp, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0xf
cmova r8, rbp
movabs rdx, 0xcbf29ce484222325
mov rcx, rbx
mov rsi, qword [rsp + 0x48]
test rsi, rsi
je 0x180038cf4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rsi
jb 0x180038ce0
mov rcx, qword [r14 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r14 + 0x18]
mov rdi, qword [rax + rcx*8 + 8]
mov r13, qword [r14 + 8]
cmp rdi, r13
je 0x180038d5e
mov r14, qword [rax + rcx*8]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180038d32
mov rdx, qword [rdx]
lea rcx, [rsp + 0x38]
cmp r15, 0xf
cmova rcx, rbp
cmp rsi, rax
jne 0x180038d50
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180038d5b
cmp rdi, r14
je 0x180038d5e
mov rdi, qword [rdi + 8]
jmp 0x180038d20
mov rbx, rdi
test rbx, rbx
cmove rbx, r13
mov rcx, qword [rsp + 0x30]
cmp rbx, r13
je 0x180038da4
mov rbx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x180038daa
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rdx, r12
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
call rbx
mov ebx, eax
jmp 0x180038daf
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp r15, 0xf
jbe 0x180038de9
lea rdx, [r15 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x180038de1
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180038de1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1800e5744
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800e5bd0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret