joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056d00
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x970
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x960], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x670
call fcn.140089280
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2cc
call fcn.140089280
mov rbp, qword [rbx]
mov rax, qword [rbp + 0x10]
movzx esi, byte [rax + 0x16]
test sil, sil
jne 0x140056d89
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x2f0]
mov dword [rsp + 0x320], 0x100010
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
jmp 0x140056db6
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x2c8
call fcn.140089280
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100010
mov rcx, qword [rbp + 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 0x140056dd5
xor eax, eax
jmp 0x140056ecc
xor ecx, ecx
mov edx, ecx
mov eax, ecx
nop dword [rax + rax]
cmp qword [rsp + rax*8 + 0x338], rdi
je 0x140056e05
cmp dword [rsp + rax*4 + 0x24], edi
je 0x140056e05
inc edx
inc rax
cmp rax, 4
jl 0x140056de0
mov eax, 0xc0000225
jmp 0x140056ecc
mov eax, edx
test sil, sil
jne 0x140056e16
mov qword [rsp + rax*8 + 0x338], rcx
jmp 0x140056e1a
mov dword [rsp + rax*4 + 0x24], ecx
mov ecx, dword [r8]
test edx, edx
jne 0x140056e29
and ecx, 0xfff0fffe
jmp 0x140056e49
cmp edx, 1
jne 0x140056e36
and ecx, 0xff0ffffb
jmp 0x140056e49
cmp edx, 2
jne 0x140056e43
and ecx, 0xf0ffffef
jmp 0x140056e49
and ecx, 0xfffffbf
mov eax, ecx
mov dword [r8], ecx
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
shr eax, 2
or eax, ecx
test al, 1
jne 0x140056e68
btr ecx, 8
mov dword [r8], ecx
mov rcx, rbx
mov edi, 0xc000071c
call fcn.140056950
test sil, sil
jne 0x140056e99
test al, al
je 0x140056eca
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 0x140056eb3
test al, al
je 0x140056eca
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 0x140056eca
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
mov rcx, qword [rsp + 0x960]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140056fa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, rdx
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400f6024], eax
jle 0x14005702d
lea rcx, [0x1400f6024]
call fcn.14006a95c
cmp dword [0x1400f6024], 0xffffffff
jne 0x14005702d
lea rcx, [0x1400d9090]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetThreadId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f6028], rax
lea rcx, [0x1400f6024]
call fcn.14006a8fc
mov rax, qword [0x1400f6028]
test rax, rax
je 0x140057043
mov rcx, rbp
call rax
jmp 0x14005718c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], eax
xor edi, edi
mov dword [rsp + 0x60], edi
call fcn.140023e20
mov rbx, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], dil
lea rdx, str.NtQueryInformationThread
lea rcx, [rsp + 0x30]
call fcn.1400069f0
nop
call fcn.140045d40
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x1400570e3
movabs r10, 0x100000001b3
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400570d0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140025420
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140057136
cmp rdx, qword [rbx + 8]
je 0x140057136
mov rbx, qword [rdx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14005713f
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x1c
lea r8, [rsp + 0x68]
xor edx, edx
mov rcx, rbp
call rbx
mov ebx, eax
jmp 0x140057144
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
shr ebx, 0x1f
xor bl, 1
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140057183
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005717e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400571b5
call fcn.14006a754
test bl, bl
cmovne edi, dword [rsp + 0x74]
mov eax, edi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140097d64
int3
Function at 0x1400571c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov rdi, rcx
mov qword [rcx], rax
xor esi, esi
mov qword [rcx + 0x10], rsi
movzx ebx, r8b
lea rcx, [rsp + 0x28]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x14005722d
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140057289
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov ecx, dword [rsp + 0x20]
cmp ecx, 1
mov edx, dword [rsp + 0x24]
sete al
cmp edx, 1
mov byte [rdi + 0x14], al
sete al
mov byte [rdi + 0x15], al
cmp ecx, 1
jne 0x1400572af
cmp edx, ecx
je 0x140057289
cmp ecx, 1
mov byte [rdi + 0x17], 1
setne sil
add esi, 2
mov dword [rdi + 0x10], esi
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006a730
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x14005727b
test edx, edx
jne 0x14005727b
mov dword [rdi + 0x10], 1
jmp 0x14005728c
Function at 0x140057390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r15d, r8d
mov r14, rdx
mov rbp, rcx
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov rax, qword gs:[0x30]
mov dword [rax + 0x1250], ebx
call fcn.140023e20
mov rsi, rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140057453
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140057440
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140025420
mov r10, qword [rax + 8]
test r10, r10
je 0x1400574b1
cmp r10, qword [rsi + 8]
je 0x1400574b1
mov rbx, qword [r10 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400574bb
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8d, r15d
mov rdx, r14
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x1400574c0
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400574f9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400574f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057517
call fcn.14006a754
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006a730
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140097d64
int3
Function at 0x140057610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12d, r9d
mov r15, r8
mov r14d, edx
mov rbp, rcx
xor ebx, ebx
mov dword [rsp + 0x60], ebx
call fcn.140023e20
mov rsi, rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], bl
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x30]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x1400576c3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x1400576b0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140025420
mov r10, qword [rax + 8]
test r10, r10
je 0x140057714
cmp r10, qword [rsi + 8]
je 0x140057714
mov rbx, qword [r10 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14005771e
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, r15
mov edx, r14d
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x140057723
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14005775c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057757
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005777a
call fcn.14006a754
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14006a730
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140097d64
int3
Function at 0x140057780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r12d, r9d
mov r15, r8
mov r14d, edx
mov rbp, rcx
call fcn.140023e20
mov rsi, rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], bl
lea rdx, str.NtSetInformationProcess
lea rcx, [rsp + 0x20]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140057823
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140057810
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025420
mov r10, qword [rax + 8]
test r10, r10
je 0x14005786a
cmp r10, qword [rsi + 8]
je 0x14005786a
mov rbx, qword [r10 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140057874
mov r9d, r12d
mov r8, r15
mov edx, r14d
mov rcx, qword [rbp + 8]
call rbx
mov ebx, eax
jmp 0x140057879
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400578b2
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400578ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400578c3
call fcn.14006a754
mov eax, ebx
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140097d64
int3
Function at 0x1400578d0
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, 0x98
mov r15, r9
mov r14, r8
mov rdi, rdx
mov r13, rcx
mov rax, qword gs:[0x30]
xor r12d, r12d
mov dword [rax + 0x1250], r12d
call fcn.140023e20
mov rbp, rax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], r12b
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x60]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
movabs r9, 0xcbf29ce484222325
mov ecx, r12d
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140057984
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140057971
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x80]
mov rcx, rbp
call fcn.140025420
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400579b8
cmp rbx, qword [rbp + 8]
je 0x1400579b8
mov rbx, qword [rbx + 0x30]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400579c5
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, r12
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140057a02
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400579fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057aaf
call fcn.14006a754
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rcx, qword [r13 + 8]
mov eax, dword [rsp + 0x100]
xor r8d, r8d
test rbx, rbx
je 0x140057a6a
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], 0x100000
mov qword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov r9, rcx
mov edx, dword [rsp + 0x108]
mov rcx, rdi
call rbx
test eax, eax
jns 0x140057a9b
mov qword [rdi], r12
jmp 0x140057a9b
and eax, 1
shl eax, 2
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rdi], rax
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140097d64
int3
Function at 0x140057b00
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 r14
sub rsp, 0x50
mov r14, r8
mov rbp, rdx
cmp byte [rcx + 0x15], 0
jne 0x140057b25
xor eax, eax
jmp 0x140057c44
mov rax, qword gs:[0x30]
xor ebx, ebx
mov dword [rax + 0x1250], ebx
call fcn.140023e20
mov rsi, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], bl
lea rdx, str.Wow64GetThreadContext
lea rcx, [rsp + 0x20]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140057bb3
movabs r8, 0x100000001b3
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140057ba0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025420
mov r8, qword [rax + 8]
test r8, r8
je 0x140057bf1
cmp r8, qword [rsi + 8]
je 0x140057bf1
mov rbx, qword [r8 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140057bfc
mov rdx, r14
mov rcx, rbp
call rbx
jmp 0x140057bfc
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140057c35
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057c5a
call fcn.14006a754
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.140097d64
int3
Function at 0x140057ca0
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 r14
sub rsp, 0x50
mov r14, r8
mov rbp, rdx
cmp byte [rcx + 0x15], 0
jne 0x140057cc5
xor eax, eax
jmp 0x140057de4
mov rax, qword gs:[0x30]
xor ebx, ebx
mov dword [rax + 0x1250], ebx
call fcn.140023e20
mov rsi, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], bl
lea rdx, str.Wow64SetThreadContext
lea rcx, [rsp + 0x20]
call fcn.1400069f0
nop
call fcn.140045d40
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140057d53
movabs r8, 0x100000001b3
movzx eax, byte [rbx + rcx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140057d40
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025420
mov r8, qword [rax + 8]
test r8, r8
je 0x140057d91
cmp r8, qword [rsi + 8]
je 0x140057d91
mov rbx, qword [r8 + 0x30]
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140057d9c
mov rdx, r14
mov rcx, rbp
call rbx
jmp 0x140057d9c
lea rcx, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140057dd5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057dfa
call fcn.14006a754
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.140097d64
int3
Function at 0x140057e00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r12, r9
mov r15, r8
mov r14, rdx
cmp dword [rcx + 0x10], 3
jne 0x140057f51
call fcn.140023e20
mov rbx, rax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
lea rdx, str.RtlQueueApcWow64Thread
lea rcx, [rbp - 0x30]
call fcn.1400069f0
nop
call fcn.140045d40
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r10, qword [rbp - 0x20]
test r10, r10
je 0x140057eb4
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, r10
jb 0x140057ea0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140025420
mov r9, qword [rax + 8]
test r9, r9
je 0x140057f00
cmp r9, qword [rbx + 8]
je 0x140057f00
mov rbx, qword [r9 + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140057f09
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call rbx
mov ebx, eax
jmp 0x140057f0e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140058065
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058082
jmp 0x140058060
call fcn.140023e20
mov rbx, rax
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
lea rdx, str.NtQueueApcThread
lea rcx, [rbp - 0x30]
call fcn.1400069f0
nop
call fcn.140045d40
lea rdi, [rbx + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r8, qword [rbp - 0x30]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
mov r10, qword [rbp - 0x20]
test r10, r10
je 0x140057fd4
movabs rdx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor r9, rax
imul r9, rdx
inc rcx
cmp rcx, r10
jb 0x140057fc0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.140025420
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140058020
cmp rdx, qword [rbx + 8]
je 0x140058020
mov rbx, qword [rdx + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140058029
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, r12
mov rdx, r15
mov rcx, r14
call rbx
mov ebx, eax
jmp 0x14005802e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140058065
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005807c
call fcn.14006a754
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140097d64
int3
call fcn.140097d64
int3
Function at 0x140058090
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 r14
sub rsp, 0x80
mov rax, qword [0x1400f0020]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
cmp byte [rcx + 0x15], r14b
jne 0x1400580cf
xor eax, eax
jmp 0x140058227
mov qword [rsp + 0x68], r14
call fcn.140023e20
mov rbx, rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r14b
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.1400069f0
nop
mov dword [rsp + 0x30], 1
call fcn.140045d40
lea rsi, [rbx + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140058163
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140058150
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140025420
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400581bd
cmp rcx, qword [rbx + 8]
je 0x1400581bd
mov rbx, qword [rcx + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1400581c6
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rsp + 0x68]
lea edx, [r9 + 0x12]
mov rcx, qword [rdi + 8]
call rbx
test eax, eax
js 0x1400581c6
test rbp, rbp
je 0x1400581c6
mov bl, 1
jmp 0x1400581c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor bl, bl
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140058201
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400581fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005824c
call fcn.14006a754
test bl, bl
je 0x140058222
mov qword [rsp + 0x20], r14
mov r9d, 0x250
mov r8, rbp
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006a730
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.140097d64
int3