joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400212e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
sub rsp, 0x120
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xb0], rcx
mov qword [rbp + 0xb8], rdx
mov qword [rbp + 0xc0], r8
mov qword [rbp + 0xc8], r9
mov dword [rbp + 0x9c], 0
cmp dword [rbp + 0x9c], 0xff
jg 0x14002133f
mov eax, dword [rbp + 0x9c]
mov edx, eax
mov eax, dword [rbp + 0x9c]
cdqe
mov byte [rbp + rax - 0x80], dl
add dword [rbp + 0x9c], 1
jmp 0x140021316
mov byte [rbp + 0x9b], 0
mov dword [rbp + 0x94], 0
cmp dword [rbp + 0x94], 0xff
jg 0x1400213fe
movzx edx, byte [rbp + 0x9b]
mov eax, dword [rbp + 0x94]
cdqe
movzx eax, byte [rbp + rax - 0x80]
movzx eax, al
lea ecx, [rdx + rax]
mov eax, dword [rbp + 0x94]
cdqe
mov edx, 0
div qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc0]
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
add eax, ecx
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov byte [rbp + 0x9b], al
mov eax, dword [rbp + 0x94]
cdqe
movzx eax, byte [rbp + rax - 0x80]
mov byte [rbp + 0x87], al
movzx eax, byte [rbp + 0x9b]
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x94]
cdqe
mov byte [rbp + rax - 0x80], dl
movzx eax, byte [rbp + 0x9b]
cdqe
movzx edx, byte [rbp + 0x87]
mov byte [rbp + rax - 0x80], dl
add dword [rbp + 0x94], 1
jmp 0x140021350
mov dword [rbp + 0x90], 0
mov byte [rbp + 0x9b], 0
mov qword [rbp + 0x88], 0
mov rax, qword [rbp + 0x88]
cmp rax, qword [rbp + 0xb8]
jae 0x140021503
mov eax, dword [rbp + 0x90]
add eax, 1
cdq
shr edx, 0x18
add eax, edx
movzx eax, al
sub eax, edx
mov dword [rbp + 0x90], eax
mov eax, dword [rbp + 0x90]
cdqe
movzx eax, byte [rbp + rax - 0x80]
add byte [rbp + 0x9b], al
mov eax, dword [rbp + 0x90]
cdqe
movzx eax, byte [rbp + rax - 0x80]
mov byte [rbp + 0x86], al
movzx eax, byte [rbp + 0x9b]
cdqe
movzx edx, byte [rbp + rax - 0x80]
mov eax, dword [rbp + 0x90]
cdqe
mov byte [rbp + rax - 0x80], dl
movzx eax, byte [rbp + 0x9b]
cdqe
movzx edx, byte [rbp + 0x86]
mov byte [rbp + rax - 0x80], dl
mov eax, dword [rbp + 0x90]
cdqe
movzx edx, byte [rbp + rax - 0x80]
movzx eax, byte [rbp + 0x9b]
cdqe
movzx eax, byte [rbp + rax - 0x80]
add eax, edx
movzx eax, al
cdqe
movzx eax, byte [rbp + rax - 0x80]
mov byte [rbp + 0x85], al
mov rdx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0x88]
add rax, rdx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0x88]
add rdx, rcx
xor al, byte [rbp + 0x85]
mov byte [rdx], al
add qword [rbp + 0x88], 1
jmp 0x14002141a
nop
add rsp, 0x120
pop rbp
ret
Function at 0x140022150
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov r9d, 0
mov r8d, 0x2328
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_SetTimer]
call rax
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140021cf0]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.DLL_CreateThread]
call rax
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
lea rax, [rbp - 0x40]
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetMessageA]
call rax
test eax, eax
setne al
test al, al
je 0x140022282
mov eax, dword [rbp - 0x38]
cmp eax, 0x113
jne 0x14002225d
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x48]
cmp rdx, rax
jne 0x14002225d
mov dword [rbp - 0x4c], 0
lea rdx, [rbp - 0x4c]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
call rax
test eax, eax
setne al
test al, al
je 0x140022245
mov eax, dword [rbp - 0x4c]
cmp eax, 0x103
jne 0x140022234
mov dword [rbp - 0xc], 0
jmp 0x140022245
mov dword [rbp - 0xc], 1
mov ecx, 0
call sub.msvcrt.dll_exit
mov rax, qword [rbp - 0x48]
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_KillTimer]
call rax
nop
jmp 0x140022282
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_TranslateMessage]
call rax
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_DispatchMessageA]
call rax
jmp 0x1400221b8
nop
sub rsp, 0xffffffffffffff80
pop rbp
ret
Function at 0x14007f540
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x14007f567
call rbp
cmp dword [rax], 4
jne 0x14007f584
mov rcx, rdi
call fcn.14007f360
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x14007f560
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x180008d40
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180008d68
xor eax, eax
lea r8, [0x180001d60]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180008f20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x180008f81
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x180008f40
mov ecx, dword [r9]
jmp 0x18000906b
cmp ecx, 0x4e0
jb 0x18000906b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180008fa0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x180008ff0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800090e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18000912f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18000f980]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18000916d
cmp rsi, r14
jb 0x180009165
cmp rsi, r15
jae 0x180009165
cmp qword [rsi + 8], 0
jne 0x180009337
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180009150
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x180009202
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800091f9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800091f9
cmp dword [rsp + 0x40], 0x10000
je 0x18000927b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800091f9
sub rbx, rbp
cmp rbx, r14
jae 0x1800091c0
test rsi, rsi
jne 0x1800092e0
cmp rdi, r15
ja 0x18000931f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18000931f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000931f
cmp dword [rsp + 0x40], 0x10000
je 0x1800092b1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180009232
jmp 0x18000931f
test rbx, rbx
je 0x1800091f9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800092e0
cmp rbx, r14
jae 0x1800091a0
jmp 0x180009202
test rdi, rdi
je 0x18000931f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800092e0
cmp rdi, r15
jbe 0x180009210
jmp 0x18000931f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800092f0
mov rax, qword [0x18000f980]
mov qword [rsi], rax
mov qword [0x18000f980], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18000a970
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180009cb0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180009ddb
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180009dd2
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180009db4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180009db4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180009db4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180009d72
mov rcx, qword [0x18000f948]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180009dd2
jmp 0x180009da7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180009da7
mov rcx, qword [0x18000f948]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180009dd2
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180009d20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180009e33
cmp dword [rbx + 0xc], esi
jbe 0x180009e33
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180009e2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180009b00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180009df0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18000a970
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180009e60
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x18000f970]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180009ec9
mov eax, 0xa
jmp 0x180009f16
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180009ee5
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18000a970
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180009f40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18000f97c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x18000a050
mov rcx, qword [0x18000f970]
add rcx, 0x20
test byte [rcx], 2
je 0x180009f83
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x180009f67
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18000a050
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180009cb0
mov edx, dword [0x18000f97c]
cmp ebx, edx
jae 0x180009fdd
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18000f970]
test byte [rcx + rax + 0x20], 2
jne 0x180009fd7
mov ecx, ebx
call fcn.180009e60
mov edi, eax
test eax, eax
jne 0x180009fdd
mov edx, dword [0x18000f97c]
inc ebx
cmp ebx, edx
jb 0x180009fb0
cmp qword [rsp + 0x20], 0
je 0x18000a050
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18000a03c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18000a028
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18000a000
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18000f948]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18000a3c0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x18000f93c], esi
je 0x18000a415
cmp rbx, 0x20
jae 0x18000a3fe
xor ecx, ecx
jmp 0x18000a400
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18000f93c], esi
jne 0x18000a3f4
cmp qword [0x18000f948], r15
je 0x18000a4ff
test rdi, rdi
jne 0x18000a433
call fcn.180009f40
mov ebp, eax
jmp 0x18000a504
mov ecx, dword [0x18000f97c]
mov ebx, r15d
test ecx, ecx
je 0x18000a45f
mov r8, qword [0x18000f970]
mov rax, r8
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18000a469
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18000a450
mov ebp, 4
jmp 0x18000a504
cmp ebx, 0xffffffff
je 0x18000a45f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x18000a4f8
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180009cb0
mov ecx, ebx
call fcn.180009e60
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18000a504
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18000a4e2
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18000a4d8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18000a4b0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18000f948]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18000a504
mov ebp, 5
jmp 0x18000a504
mov ebp, 2
xchg dword [0x18000f93c], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1800036e0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x1800036ff
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x180003707
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret
Function at 0x1400013f0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov byte [rsp + 0x58], 0xff
mov byte [rsp + 0x59], 0x74
mov byte [rsp + 0x5a], 0x24
mov byte [rsp + 0x5b], 4
mov byte [rsp + 0x5c], 0xe8
mov byte [rsp + 0x5d], 0x21
mov byte [rsp + 0x5e], 0xf9
mov byte [rsp + 0x5f], 0xff
mov byte [rsp + 0x60], 0xff
mov byte [rsp + 0x61], 0x59
mov byte [rsp + 0x62], 0x5a
mov byte [rsp + 0x63], 0x68
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x65], 0x80
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0x6a
mov byte [rsp + 0x69], 0
mov byte [rsp + 0x6a], 0x52
mov byte [rsp + 0x6b], 0x51
mov byte [rsp + 0x6c], 0xff
mov byte [rsp + 0x6d], 0xe0
mov rax, qword [0x140006260]
add rax, 0x6ec
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x103000
lea r9, [rsp + 0x48]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
jl 0x14000157b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [0x140006260]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140006260]
lea rax, [rax + rcx + 0x6d6]
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [0x140006258]
mov rcx, qword [0x140006260]
rep movsb byte [rdi], byte [rsi]
lea rax, [0x140005a40]
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov ecx, 0x6d6
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
mov rdi, qword [rsp + 0x38]
mov rsi, rax
mov ecx, 0x16
rep movsb byte [rdi], byte [rsi]
imul rax, qword [rsp + 0x38], 0xfffffffffffffffc
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140001950
movzx eax, al
test eax, eax
jne 0x14000157b
mov r9d, 0x8000
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140001590
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov byte [rsp + 0x58], 0x51
mov byte [rsp + 0x59], 0xe8
mov byte [rsp + 0x5a], 0xbf
mov byte [rsp + 0x5b], 0xf5
mov byte [rsp + 0x5c], 0xff
mov byte [rsp + 0x5d], 0xff
mov byte [rsp + 0x5e], 0x59
mov byte [rsp + 0x5f], 0xba
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x61], 0
mov byte [rsp + 0x62], 0
mov byte [rsp + 0x63], 0
mov byte [rsp + 0x64], 0x41
mov byte [rsp + 0x65], 0xb8
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x67], 0x80
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 0
mov byte [rsp + 0x6a], 0xff
mov byte [rsp + 0x6b], 0xe0
mov rax, qword [0x140006260]
add rax, 0xa4f
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x103000
lea r9, [rsp + 0x48]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
test eax, eax
jl 0x140001706
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [0x140006260]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x140006260]
lea rax, [rax + rcx + 0xa3b]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x38]
mov rsi, qword [0x140006258]
mov rcx, qword [0x140006260]
rep movsb byte [rdi], byte [rsi]
lea rax, section..data
mov rdi, qword [rsp + 0x50]
mov rsi, rax
mov ecx, 0xa3b
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x58]
mov rdi, qword [rsp + 0x40]
mov rsi, rax
mov ecx, 0x14
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.140001950
movzx eax, al
test eax, eax
jne 0x140001706
mov r9d, 0x8000
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140002eb0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
lea rdx, [0x140003880]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40
lea rcx, [rsp + 0x70]
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140002f53
lea rcx, [0x1400038a0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140002f6a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x1400038d0]
call sub.ntoskrnl.exe_DbgPrint
lea rdx, [0x140003750]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40
lea rcx, [rsp + 0x70]
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140002fd5
mov edx, dword [rsp + 0x40]
lea rcx, [0x1400038f0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140002fec
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x140003920]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [rsp + 0x58], 0
jne 0x140003003
cmp qword [rsp + 0x48], 0
jne 0x140003003
xor eax, eax
jmp 0x140003100
cmp qword [rsp + 0x48], 0
je 0x140003017
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
jmp 0x140003021
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea rdx, [0x140003830]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40
lea rcx, [rsp + 0x70]
call sub.ntoskrnl.exe_ObReferenceObjectByName
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14000308f
lea rcx, [0x140003940]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x140003100
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400030dc
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
call fcn.140003360
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400030cc
jmp 0x1400030dc
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
jmp 0x1400030a8
cmp qword [0x140006290], 0
je 0x1400030fc
cmp qword [0x140006298], 0
je 0x1400030fc
lea rcx, [0x140003970]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x40]
add rsp, 0x88
ret