joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800120c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx edi, dl
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
xor esi, esi
test rcx, rcx
je 0x1800120ec
jle 0x1800120e8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180012101
jle 0x1800120fd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x180012114
jle 0x180012111
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x180012129
jle 0x180012125
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x180012188
lea rax, [rbx + 0xf8]
mov qword [rax + 0x10], rsi
cmp qword [rax + 0x18], 7
jbe 0x18001214b
mov rax, qword [rax]
mov word [rax], si
cmp byte [rbx + 0x1c], 0
je 0x180012170
add rbx, 0x118
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180012168
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x180012177
add rbx, 0x118
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 7
jbe 0x180012185
mov rbx, qword [rbx]
mov word [rbx], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180013090
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.1800634b0
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], 0x38
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x78], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.180013300
mov r12, rax
test rax, rax
je 0x1800132b7
test rdi, rdi
jne 0x180013235
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.1800634b0
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x180013174
mov eax, 0xc0150002
jmp 0x1800132b9
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
setg r14b
test rax, rax
jle 0x18001320f
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x40]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
test r14b, r14b
je 0x1800131d9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1800131f1
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.180009640
nop
jmp 0x180013271
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
test r14b, r14b
je 0x18001322e
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, ebx
jmp 0x1800132b9
mov dword [rsp + 0x4c], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
cmp rcx, rdx
je 0x180013271
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 7
jbe 0x18001326c
mov rdx, qword [rdx]
call fcn.180009640
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x18001329a
test rcx, rcx
jle 0x180013293
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x1800132b7
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x1800132e4
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1800410a0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x1800132b9
Function at 0x18001b250
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
xor esi, esi
mov qword [rsp + 0x50], rsi
lea r9, [rsp + 0x50]
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
add rcx, 0x78
call fcn.1800184e0
cmp qword [rsp + 0x50], rsi
je 0x18001b34d
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18001b2dc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rbx + 0x78]
test rdx, rdx
je 0x18001b313
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x40]
call qword [rax + 0x20]
mov qword [rsp + 0x48], rsi
mov rdx, qword [rbx + 0x88]
test rdx, rdx
je 0x18001b34d
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x48]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x18001b360
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x18001b404
call fcn.1800186f0
test al, al
je 0x18001b404
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18001b3b6
jle 0x18001b3b2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x18001b3f6
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18001b3f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x18001b3f6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x18001b404
call fcn.1800183b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800410a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800251a0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov r12, rcx
mov qword [rbp - 0x48], rdx
mov dword [rbp - 0x60], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor r13d, r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov dword [rbp - 0x60], 1
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp - 0x38], rax
test rax, rax
jg 0x180025218
jmp 0x18002534c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x2c], xmm0
mov qword [rbp - 0x1c], r13
mov dword [rbp - 0x30], 0x1c
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18002533e
lea r13, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
nop word [rax + rax]
mov rsi, qword [r12]
mov eax, dword [rsi + 8]
cmp dword [rbp - 0x24], eax
jne 0x180025326
mov ecx, 0x28
call fcn.18004094c
mov r14, rax
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r13
lea r15, [rax + 0x10]
mov r8d, dword [rbp - 0x28]
mov qword [r15], rsi
mov dword [r15 + 8], r8d
xor edx, edx
mov ecx, 0x10005b
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
or dword [rbp - 0x60], 2
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], r14
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1800252d8
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rbp - 0x58], xmm0
add qword [rdi + 8], 0x10
jmp 0x1800252e5
lea r8, [rbp - 0x58]
mov rcx, rdi
call fcn.180025660
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180025326
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180025322
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180025322
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp - 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180025250
xor r13d, r13d
mov dword [rbp - 0x60], r13d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800410a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180028890
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov byte [rcx + 0x60], 0
mov rcx, qword [rcx + 0x48]
xor ebp, ebp
test rcx, rcx
je 0x1800288cf
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1800288e4
jle 0x1800288e0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
mov edx, edi
mov rcx, rbx
call fcn.180028580
inc edi
cmp edi, 4
jl 0x1800288e6
cmp qword [rbx + 0x10], 0
je 0x1800289c2
call fcn.180001900
mov rcx, qword [rbx]
mov edx, dword [rcx + 8]
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x40], ebp
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x18002896d
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x8005e020
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180028962
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0
jl 0x18002896d
lea rcx, [rbx + 8]
call fcn.1800289f0
jmp 0x1800289b6
mov rsi, qword [rbx + 8]
mov rdi, qword [rsi + 8]
cmp byte [rdi + 0x19], 0
jne 0x1800289a7
nop dword [rax + rax]
mov r8, qword [rdi + 0x10]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
call fcn.180028a60
mov rcx, rdi
mov rdi, qword [rdi]
mov edx, 0x38
call fcn.180040cf8
cmp byte [rdi + 0x19], 0
je 0x180028980
mov qword [rsi + 8], rsi
mov qword [rsi], rsi
mov qword [rsi + 0x10], rsi
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x58], rbp
mov qword [rbx + 0x50], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800410a0
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x180029800
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x180085040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x180cb92f8], 0
jne 0x180029871
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 [0x180cb92e8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x180cb92f0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x180cb92f8], rax
lea rax, [0x180cb92e8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800410a0
add rsp, 0x68
ret
Function at 0x18002a6b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r14, rcx
cmp r8d, 1
jne 0x18002a7ea
lea rbp, [rdx + 0x1f]
and rbp, 0xffffffffffffffe0
lea rbx, [rcx + 8]
mov qword [rsp + 0x78], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rdi, qword [r14 + 0x78]
test rdi, rdi
je 0x18002a719
nop word [rax + rax]
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi + 0x18]
cmp rbp, rax
jbe 0x18002a7c6
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18002a700
mov esi, 0x8000
cmp rbp, rsi
cmova rsi, rbp
mov ecx, 0x20
call fcn.18004cea8
mov rdi, rax
test rax, rax
jne 0x18002a749
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov eax, esi
jmp 0x18002a7ef
lea r12, [rax + 0x10]
mov r15, qword [r14]
test rsi, rsi
je 0x18002a796
call fcn.180029800
test r15, r15
jne 0x18002a763
mov r15, qword [rax + 0x10]
mov rax, qword [rax]
dec rsi
add rsi, rax
dec rax
not rax
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
jne 0x18002a7a8
xor esi, esi
mov eax, esi
mov qword [rdi + 8], rax
mov rcx, rdi
call fcn.18004ca78
jmp 0x18002a7dc
test r12, r12
je 0x18002a7b1
mov qword [r12], rsi
mov qword [rdi + 8], rax
xor esi, esi
mov qword [rdi + 0x18], rsi
mov rax, qword [r14 + 0x78]
mov qword [rdi], rax
mov qword [r14 + 0x78], rdi
mov rcx, qword [rdi + 0x18]
mov rsi, qword [rdi + 8]
add rsi, rcx
add rcx, rbp
mov qword [rdi + 0x18], rcx
add qword [r14 + 0x50], rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rsi
jmp 0x18002a7ef
call fcn.18002a130
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18002ab90
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 [0x180085040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rcx + 8], rdx
lea rax, vtable.blackbone::Native.0
mov qword [rcx], rax
xorps xmm0, xmm0
xor eax, eax
xor esi, esi
mov rdi, rcx
mov qword [rcx + 0x10], rsi
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x4c], rax
mov dword [rsp + 0x54], eax
movzx ebx, r8b
mov dword [rsp + 0x28], esi
movups xmmword [rsp + 0x2c], xmm0
movups xmmword [rsp + 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ecx, dword [rsp + 0x2c]
mov dword [rdi + 0x18], ecx
test bl, bl
je 0x18002ac07
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x18002ac63
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 0x18002ac89
cmp edx, ecx
je 0x18002ac63
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.1800410a0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x18002ac55
test edx, edx
jne 0x18002ac55
mov dword [rdi + 0x10], 1
jmp 0x18002ac66
Function at 0x18002ad60
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 [0x180085040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x50], r9
mov r13d, r8d
mov r12, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x68], rbx
call fcn.18000ad50
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
lea r8d, [rbx + 0x14]
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.18000b580
nop
call fcn.180025cf0
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0xf
cmova rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x18002ae23
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x18002ae10
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.18000b770
mov r10, qword [rax + 8]
test r10, r10
je 0x18002ae83
cmp r10, qword [r14 + 8]
je 0x18002ae83
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18002ae8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8d, r13d
mov rdx, r12
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x18002ae92
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x18002aec5
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18002aebd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002aee8
mov rcx, rdi
call fcn.180040cf8
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800410a0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18004ce30
int3
Function at 0x18002aff0
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 [0x180085040]
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.18000ad50
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
lea r8d, [rbx + 0x19]
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.18000b580
nop
call fcn.180025cf0
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, 0xf
cmova rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x18002b0b3
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x18002b0a0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.18000b770
mov r10, qword [rax + 8]
test r10, r10
je 0x18002b106
cmp r10, qword [r14 + 8]
je 0x18002b106
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18002b110
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 0x18002b115
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x18002b148
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18002b140
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b16b
mov rcx, rdi
call fcn.180040cf8
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800410a0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18004ce30
int3
Function at 0x18002b180
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.18000ad50
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.18000b580
nop
call fcn.180025cf0
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, 0xf
cmova rcx, rdi
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x18002b233
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x18002b220
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.18000b770
mov r10, qword [rax + 8]
test r10, r10
je 0x18002b27c
cmp r10, qword [r14 + 8]
je 0x18002b27c
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18002b286
mov r9d, dword [rsp + 0x20]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x18002b28b
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x18002b2be
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18002b2b6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b2d1
mov rcx, rdi
call fcn.180040cf8
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.18004ce30
int3
Function at 0x18002b2e0
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.18000ad50
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.18000b580
nop
call fcn.180025cf0
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, 0xf
cmova rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x18002b393
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x18002b380
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.18000b770
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x18002b3c9
cmp rbx, qword [r15 + 8]
je 0x18002b3c9
mov rbx, qword [rbx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
jmp 0x18002b3d7
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
mov ebx, ebp
cmp r14, 0xf
jbe 0x18002b40e
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18002b406
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002b4b9
mov rcx, rdi
call fcn.180040cf8
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x110]
xor r8d, r8d
test rbx, rbx
je 0x18002b46b
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 0x18002b4a5
mov qword [rsi], rbp
jmp 0x18002b4a5
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 0x18002b496
mov eax, ebp
jmp 0x18002b4a5
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.18004ce30
int3