joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800155c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x18007e0e0]
mov edi, ecx
cmp byte [rbx + 0x4a81], 0
jne 0x180015612
cmp byte [rbx + 0x4a82], 0
jne 0x180015612
movsx r9d, word [rbx + 0x5bb2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1800079e0
test dil, 2
je 0x18001573f
jmp 0x18001569b
movss xmm1, dword [rbx + 0x3894]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5bb2]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180071e40]
mulss xmm1, dword [0x180071e34]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe00]
addss xmm1, dword [rbx + 0xe04]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f0]
mulss xmm0, dword [0x180071d4c]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
call fcn.1800079e0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800156f0
lea r11, [0x180068560]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x1800156d3
cmp byte [r8], r9b
jne 0x1800156d3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800156c0
not ecx
call fcn.18000d100
test rax, rax
je 0x18001573f
cmp byte [rax + 0xb6], 0
je 0x18001573f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bb2]
movsx r9d, word [rbx + 0x5bb2]
call fcn.1800079e0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18000f7e0
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x18001a960
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca0], 0
lea rbx, [rcx + 0x5ca8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001aa06
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001a9ba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18001cc20
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180008150
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18007e092]
cmovne rcx, rax
call fcn.180043c54
mov r14, qword [rsp + 0x30]
jmp 0x18001aa0e
mov rcx, rbx
call fcn.180008150
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001aea0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18007e0e0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001af03
mov qword [rsp], rbx
lea rbx, [0x180068560]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001aee3
cmp byte [r8], r9b
jne 0x18001aee3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001aed0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c10]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001af37
mov r10, qword [r10 + 0x5c18]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001af3e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001af24
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x18001b1c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x18007e0e0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bfc], ecx
test rbx, rbx
je 0x18001b22d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.18001b240
lea rdx, [0x1800680c4]
mov rcx, rbx
mov rdi, rax
call fcn.180007ba0
mov rbx, rax
test rax, rax
je 0x18001b228
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.180043c54
mov rcx, rbx
call fcn.180040cf0
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18002d050
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18007e0e0]
mov edx, 0x210
call fcn.1800123c0
cmp byte [rax], 0
je 0x18002d0c6
xor edx, edx
mov ecx, 0x210
call fcn.180014960
test al, al
je 0x18002d0c6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d0c6
mov rbx, qword [0x18007e0e0]
cmp byte [rbx + 0x37b1], 0
je 0x18002d0b2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180007490
mov dword [rbx + 0x378], 0x210
mov dword [rbx + 0x938], 0xa0
mov rcx, qword [0x18007e0e0]
mov edx, 0x214
call fcn.1800123c0
cmp byte [rax], 0
je 0x18002d136
xor edx, edx
mov ecx, 0x214
call fcn.180014960
test al, al
je 0x18002d136
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d136
mov rbx, qword [0x18007e0e0]
cmp byte [rbx + 0x37b1], 0
je 0x18002d122
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180007490
mov dword [rbx + 0x37c], 0x214
mov dword [rbx + 0x948], 0xa1
mov rcx, qword [0x18007e0e0]
mov edx, 0x212
call fcn.1800123c0
cmp byte [rax], 0
je 0x18002d1a6
xor edx, edx
mov ecx, 0x212
call fcn.180014960
test al, al
je 0x18002d1a6
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d1a6
mov rbx, qword [0x18007e0e0]
cmp byte [rbx + 0x37b1], 0
je 0x18002d192
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180007490
mov dword [rbx + 0x264], 0x212
mov dword [rbx + 0x940], 0x5b
mov rcx, qword [0x18007e0e0]
mov edx, 0x216
call fcn.1800123c0
cmp byte [rax], 0
je 0x18002d216
xor edx, edx
mov ecx, 0x216
call fcn.180014960
test al, al
je 0x18002d216
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18002d216
mov rbx, qword [0x18007e0e0]
cmp byte [rbx + 0x37b1], 0
je 0x18002d202
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180007490
mov dword [rbx + 0x268], 0x216
mov dword [rbx + 0x950], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180031e40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x180031e7b
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18007e0f0]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x180031ebd
cmp rsi, r14
jb 0x180031eb5
cmp rsi, r15
jae 0x180031eb5
cmp qword [rsi + 8], 0
jne 0x18003207d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180031ea0
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
cmp rdi, r14
jb 0x180031f42
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180031f39
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180031f39
cmp dword [rsp + 0x70], 0x10000
je 0x180031fbb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180031f39
sub rbx, rbp
cmp rbx, r14
jae 0x180031f00
test rsi, rsi
jne 0x180032026
cmp rdi, r15
ja 0x18003206d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
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 0x18003206d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18003206d
cmp dword [rsp + 0x70], 0x10000
je 0x180031ff4
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180031f72
jmp 0x18003206d
test rbx, rbx
je 0x180031f39
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180032026
cmp rbx, r14
jae 0x180031ee0
jmp 0x180031f42
test rdi, rdi
je 0x18003206d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180032026
cmp rdi, r15
jbe 0x180031f50
jmp 0x18003206d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180032040
mov rax, qword [0x18007e0f0]
mov qword [rsi], rax
mov qword [0x18007e0f0], rsi
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1800329f0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
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 0x180032b14
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180032b0b
cmp dword [rsp + 0x20], 0x10
jb 0x180032aed
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180032aed
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180032aed
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180032aa8
mov rcx, qword [0x18007e100]
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 0x180032b0b
jmp 0x180032add
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180032add
mov rcx, qword [0x18007e100]
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 0x180032b0b
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
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180032a52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180032b63
cmp dword [rbx + 0xc], esi
jbe 0x180032b63
nop
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180032b5c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180032860
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180032b20
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180032b80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x18007e170]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180032be4
mov eax, 0xa
jmp 0x180032c73
test esi, esi
je 0x180032c06
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 0x180032c29
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180032c29
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180032c22
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180032c29
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180032c90
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x18007e17c]
mov ebx, edi
test ecx, ecx
je 0x180032dcb
mov rax, qword [0x18007e170]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180032ce8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180032cc0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180032dcb
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800329f0
mov r8d, dword [0x18007e17c]
cmp ebx, r8d
jae 0x180032d58
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18007e170]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180032d51
mov edx, esi
mov ecx, ebx
call fcn.180032b80
mov edi, eax
test eax, eax
jne 0x180032d58
mov r8d, dword [0x18007e17c]
inc ebx
cmp ebx, r8d
jb 0x180032d20
cmp qword [rsp + 0x20], 0
je 0x180032dcb
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180032db7
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
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 0x180032da8
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 0x180032d80
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18007e100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180033390
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 esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18007e0f8], ebp
je 0x1800333e7
cmp rbx, 0x20
jae 0x1800333d0
xor ecx, ecx
jmp 0x1800333d2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18007e0f8], ebp
jne 0x1800333c6
cmp qword [0x18007e100], r15
je 0x1800334e1
test rdi, rdi
jne 0x180033407
mov ecx, esi
call fcn.180032c90
mov ebp, eax
jmp 0x1800334e6
mov ecx, dword [0x18007e17c]
mov ebx, r15d
test ecx, ecx
je 0x18003342f
mov r8, qword [0x18007e170]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180033439
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180033420
mov ebp, 4
jmp 0x1800334e6
cmp ebx, 0xffffffff
je 0x18003342f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800334d8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.1800329f0
mov edx, esi
mov ecx, ebx
call fcn.180032b80
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800334e6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800334c2
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 0x1800334b8
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 0x180033490
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18007e100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800334e6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800334e6
mov ebp, 2
xchg dword [0x18007e0f8], 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 0x180035f20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x180035f4e
mov rdx, qword [rdx]
movabs r9, 0xcbf29ce484222325
xor r14d, r14d
mov ecx, r14d
add r8, r8
je 0x180035f83
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180035f70
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.18003a760
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180036060
cmp rdx, qword [0x18007e138]
je 0x180036060
add rdx, 0x30
mov rcx, rsi
call fcn.1800391d0
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x180035ff6
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rdi]
jb 0x180035ff1
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800360e2
mov rcx, r8
call fcn.18003b620
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180036040
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18003603b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800360e8
mov rcx, r8
call fcn.18003b620
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov rax, rsi
mov byte [rbx], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18003606d
mov r8, qword [rbx]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x18003607a
mov rdx, qword [rdi]
lea rcx, str._L__ws___std::string__char_u8__s_____n
call fcn.180005d60
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.1800399c0
mov rcx, qword [rax]
add rcx, 0x30
cmp rcx, rbx
je 0x1800360b5
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1800360ac
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
call fcn.180033e20
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
jmp 0x180035fb7
call fcn.1800498d0
nop
call fcn.1800498d0
int3
Function at 0x180038b30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
test edx, edx
je 0x180038c7e
mov ebx, 1
cmp edx, ebx
jne 0x180038c76
mov qword [rsp + 0x40], rdi
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
xor ecx, ecx
call fcn.180040890
xor ecx, ecx
mov rdi, rax
call fcn.180040890
mov r9, rdi
lea r8, [0x180071c9c]
lea rdx, str.CONIN_
mov rcx, rax
call fcn.180049a3c
mov ecx, ebx
call fcn.180040890
mov ecx, ebx
mov rdi, rax
call fcn.180040890
mov r9, rdi
lea r8, [0x180071ca8]
lea rdx, str.CONOUT_
mov rcx, rax
call fcn.180049a3c
lea ecx, [rbx + 1]
call fcn.180040890
lea ecx, [rbx + 1]
mov rdi, rax
call fcn.180040890
mov r9, rdi
lea r8, [0x180071ca8]
lea rdx, str.CONOUT_
mov rcx, rax
call fcn.180049a3c
xor edi, edi
xor eax, eax
lock cmpxchg dword [0x18007e0f8], ebx
je 0x180038c13
cmp rdi, 0x20
jae 0x180038bfc
xor ecx, ecx
jmp 0x180038bfe
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rdi
xor eax, eax
lock cmpxchg dword [0x18007e0f8], ebx
jne 0x180038bf2
cmp qword [0x18007e100], 0
mov rdi, qword [rsp + 0x40]
jne 0x180038c36
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x18007e100], rax
xor eax, eax
xchg dword [0x18007e0f8], eax
call fcn.1800360f0
lea rax, [0x1800363f0]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [0x18007e0b8], rax
lea r8, [0x180005a80]
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
mov edx, 1
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x18003a530
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x18003a6f0
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18007e388]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18007e398]
lea rdx, [rdi + rdi]
call fcn.180039470
mov rcx, qword [0x18007e388]
lea r9, [rdi - 1]
mov qword [0x18007e3b0], r9
mov qword [0x18007e3b8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x18003a6e5
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18007e398]
mov r10, qword [r11]
cmp r10, rbx
jne 0x18003a622
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x18003a6a6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x18003a65f
mov r10, qword [rax]
cmp r10, rcx
je 0x18003a659
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x18003a6a6
mov r8, rax
cmp r10, rax
je 0x18003a682
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x18003a6ba
cmp r10, rax
jne 0x18003a670
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x18003a6e0
mov r9, qword [0x18007e3b0]
jmp 0x18003a5d0
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x18003a6a6
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18003b5f4
int3