joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063990
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
lea r9, [rsp + 0x48]
xor esi, esi
add rcx, 0x78
mov edx, 0x18
mov qword [rsp + 0x48], rsi
mov r8d, 8
call fcn.140060f80
cmp qword [rsp + 0x48], rsi
je 0x140063a91
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140063a20
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x140063a57
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x140063a91
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140063aa4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140063b48
call fcn.140061190
test al, al
je 0x140063b48
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 0x140063afa
jle 0x140063af6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x140063b3a
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140063b3a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x140063b3a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140063b48
call fcn.140060e40
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140085f80
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14006d100
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jg 0x14006d172
jmp 0x14006d2a8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x4c], xmm0
mov qword [rsp + 0x5c], rsi
mov dword [rsp + 0x48], 0x1c
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14006d29e
lea r12, vtable.std::_Ref_count_obj2_class_blackbone::Thread_.0
mov rsi, qword [rbp]
mov eax, dword [rsi + 8]
cmp dword [rsp + 0x54], eax
jne 0x14006d288
mov ecx, 0x28
call fcn.1400860c0
mov r14, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r12
lea r15, [rax + 0x10]
mov r8d, dword [rsp + 0x50]
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 [rsp + 0x28], xmm0
or dword [rsp + 0x20], 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r14
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x14006d235
mov qword [rdx], r15
mov qword [rdx + 8], r14
movdqu xmmword [rsp + 0x28], xmm0
add qword [rdi + 8], 0x10
jmp 0x14006d243
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14006d530
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006d288
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006d283
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006d283
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rbx, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14006d1a5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140085f80
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400705b0
Capabilities:
Terminate thread

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1400e5040]
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 0x1400705e5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov qword [rbx + 0x48], rbp
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400705fa
jle 0x1400705f6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], rbp
mov edi, ebp
nop dword [rax]
mov edx, edi
mov rcx, rbx
call fcn.1400702b0
inc edi
cmp edi, 4
jl 0x140070600
cmp qword [rbx + 0x10], rbp
je 0x1400706ad
call fcn.14004afd0
mov rcx, qword [rbx]
mov dword [rsp + 0x40], ebp
mov edx, dword [rcx + 8]
mov rcx, qword [rax]
mov dword [rsp + 0x44], edx
cmp rcx, 0xffffffffffffffff
jne 0x1400706c2
lea rdi, [rbx + 8]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r14
mov r14, qword [rdi]
mov rsi, qword [r14 + 8]
cmp byte [rsi + 0x19], bpl
jne 0x140070685
nop dword [rax]
mov r8, qword [rsi + 0x10]
mov rdx, rdi
mov rcx, rdi
call fcn.140070790
mov rcx, rsi
mov edx, 0x38
mov rsi, qword [rsi]
call fcn.140086344
cmp byte [rsi + 0x19], bpl
je 0x140070660
mov rsi, qword [rsp + 0x78]
mov qword [r14 + 8], r14
mov qword [r14], r14
mov qword [r14 + 0x10], r14
mov r14, qword [rsp + 0x80]
mov qword [rdi + 8], 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.140085f80
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x44]
mov dword [rsp + 0x28], ebp
mov r9d, 4
mov edx, 0x8005e020
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rdi, [rbx + 8]
test eax, eax
jne 0x14007070d
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], ebp
jl 0x14007063f
mov rcx, rdi
call fcn.140070720
jmp 0x1400706a1
Function at 0x1400716c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400e5040]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1401833d8], 0
jne 0x140071731
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 [0x1401833c8], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1401833d0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1401833d8], rax
lea rax, [0x1401833c8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140085f80
add rsp, 0x68
ret
Function at 0x140072a60
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 [0x1400e5040]
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 0x140072ad7
mov word [rdi + 0x14], 0x101
mov byte [rdi + 0x16], 1
jmp 0x140072b33
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 0x140072b59
cmp edx, ecx
je 0x140072b33
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.140085f80
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
test ecx, ecx
jne 0x140072b25
test edx, edx
jne 0x140072b25
mov dword [rdi + 0x10], 1
jmp 0x140072b36
Function at 0x140072c30
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 [0x1400e5040]
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.140053820
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
mov r8d, shutdown
lea rdx, str.NtQueryVirtualMemory
lea rcx, [rsp + 0x30]
call fcn.140047e40
nop
call fcn.14006dbc0
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 0x140072cf3
movabs r8, 0x100000001b3
nop
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140072ce0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140054560
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140072d53
cmp rcx, qword [r14 + 8]
je 0x140072d53
mov rbx, qword [rcx + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140072d5d
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 0x140072d62
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x140072d9c
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140072d94
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140072d94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140085f80
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140072ec0
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 [0x1400e5040]
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.140053820
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov r8d, 0x19
lea rdx, str.NtQueryInformationProcess
lea rcx, [rsp + 0x38]
call fcn.140047e40
nop
call fcn.14006dbc0
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 0x140072f83
movabs r8, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x140072f70
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140054560
mov r10, qword [rax + 8]
test r10, r10
je 0x140072fd6
cmp r10, qword [r14 + 8]
je 0x140072fd6
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140072fe0
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 0x140072fe5
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x14007301f
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140073017
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140073017
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
mov eax, ebx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140085f80
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140073050
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.140053820
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.NtSetInformationProcess
lea rcx, [rsp + 0x28]
call fcn.140047e40
nop
call fcn.14006dbc0
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 0x140073103
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor r9, rax
imul r9, r8
inc rbx
cmp rbx, rdx
jb 0x1400730f0
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140054560
mov r10, qword [rax + 8]
test r10, r10
je 0x14007314c
cmp r10, qword [r14 + 8]
je 0x14007314c
mov rbx, qword [r10 + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140073156
mov r9d, dword [rsp + 0x20]
mov r8, r13
mov edx, r12d
mov rcx, qword [r15 + 8]
call rbx
mov ebx, eax
jmp 0x14007315b
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, 0xc0000138
cmp rsi, 0xf
jbe 0x140073195
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14007318d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007318d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400731b0
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.140053820
mov r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.NtCreateThreadEx
lea rcx, [rsp + 0x60]
call fcn.140047e40
nop
call fcn.14006dbc0
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 0x140073263
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140073250
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x88]
mov rcx, r15
call fcn.140054560
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140073299
cmp rbx, qword [r15 + 8]
je 0x140073299
mov rbx, qword [rbx + 0x30]
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
jmp 0x1400732a7
lea rcx, [r15 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebp, ebp
mov ebx, ebp
cmp r14, 0xf
jbe 0x1400732e1
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400732d9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400732d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x110]
xor r8d, r8d
test rbx, rbx
je 0x14007333e
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 0x140073378
mov qword [rsi], rbp
jmp 0x140073378
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 0x140073369
mov eax, ebp
jmp 0x140073378
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
Function at 0x1400733c0
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 0x1400733e9
xor eax, eax
jmp 0x14007351c
call fcn.140053820
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov r8d, shutdown
lea rdx, str.Wow64GetThreadContext
lea rcx, [rsp + 0x20]
call fcn.140047e40
nop
call fcn.14006dbc0
lea r14, [rsi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0xf
cmova rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140073483
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140073470
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140054560
mov r8, qword [rax + 8]
test r8, r8
je 0x1400734c2
cmp r8, qword [rsi + 8]
je 0x1400734c2
mov rsi, qword [r8 + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x1400734cb
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x1400734cd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
cmp rbp, 0xf
jbe 0x140073507
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400734ff
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400734ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
test esi, esi
jne 0x14007351a
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140073570
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 0x140073599
xor eax, eax
jmp 0x1400736cc
call fcn.140053820
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
mov r8d, shutdown
lea rdx, str.Wow64SetThreadContext
lea rcx, [rsp + 0x20]
call fcn.140047e40
nop
call fcn.14006dbc0
lea r14, [rsi + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x38]
cmp rbp, 0xf
cmova rdx, rdi
movabs r9, 0xcbf29ce484222325
mov ecx, ebx
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140073633
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140073620
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140054560
mov r8, qword [rax + 8]
test r8, r8
je 0x140073672
cmp r8, qword [rsi + 8]
je 0x140073672
mov rsi, qword [r8 + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rsi, rsi
je 0x14007367b
mov rdx, r12
mov rcx, r15
call rsi
mov esi, eax
jmp 0x14007367d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, ebx
cmp rbp, 0xf
jbe 0x1400736b7
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400736af
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400736af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140086344
test esi, esi
jne 0x1400736ca
mov rax, qword gs:[0x30]
mov ebx, dword [rax + 0x1250]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret