joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400129f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1403631a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140363180]
test rbx, rbx
je 0x140012a44
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x140012a3b
test r12, r12
je 0x140012a3b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140012a20
lea rcx, [0x1403631a0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012d80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14033d4e0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140012df9
mov rcx, r10
call fcn.140012c50
test eax, eax
je 0x140012df9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140012df6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140012ded
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140012df9
add r8, 0x28
cmp r8, r9
jne 0x140012dd8
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x1400130f0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x140363188]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x140012a80
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x140012ad3
mov dword [rax], edi
lea rcx, [0x1403631a0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140363180]
lea rcx, [0x1403631a0]
mov qword [0x140363180], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x140012a76
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x140013120
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x14001e6e0
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x14001e6f0
xor eax, eax
ret
jmp 0x140012a60

Function at 0x140013160
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x1400131a0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400131b8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14007bf20
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 0x14007bf47
call rbp
cmp dword [rax], 4
jne 0x14007bf64
mov rcx, rdi
call fcn.14007bd40
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x14007bf40
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140003430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x140003483
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x140003477
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140003461
test rdi, rdi
jne 0x1400034af
xor eax, eax
jmp 0x140003532
mov rdx, rcx
test r8, r8
je 0x140003477
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1400034aa
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140003490
jmp 0x140003477
mov ecx, reloc.WS2_32.dll_recvfrom
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14000352a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140003519
cmp dword [rbx + 0x14], ebp
jne 0x140003519
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14000350a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003521
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400034f1
test rbx, rbx
je 0x14000352a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e2d0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x14000e2fe
cmp r8, 0xffffffffffffffff
jne 0x14000e2f0
inc r8
cmp byte [rdx + r8], 0
jne 0x14000e2e6
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000f8d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r15, [r9 - 1]
mov r14, rcx
add r15, rax
movzx ecx, byte [r8 + 0x1e]
mov rbp, r9
shr r15, cl
mov ecx, 0x68
lea r12d, [r15 + 0x3f]
shr r12d, 6
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov edi, 1
mov rbx, rax
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x14000fa4e
mov ecx, r12d
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r13d, r13d
mov rsi, rax
test rax, rax
je 0x14000fa45
test byte [r14], dil
je 0x14000f975
lea r8d, [rdi + 6]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call sym.Secure_Loader_X64.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x28]
mov edi, eax
mov r13d, 4
jmp 0x14000f9ac
test rbp, rbp
jne 0x14000f97f
lea edi, [rbp + 2]
jmp 0x14000f9a2
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14000f9a2
mov qword [rsp + 0x20], rax
xor edi, edi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test edi, edi
jne 0x14000fa3c
mov eax, dword [r14]
shr eax, 2
test al, 1
je 0x14000f9d3
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x14000f9d3
mov eax, dword [r14 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r12d
xor edx, edx
shl r8, 4
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + r12*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r15d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r15d
mov qword [rbx + 0x58], rsi
jmp 0x14000fa50
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140012480
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x14073ece8], 0
jne 0x140012564
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.140011850
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x14073ecf0], xmm0
movaps xmmword [0x14073ed00], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x14073ed20], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x14073ed40], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x14073ed10], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x14073ed30], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x14073ed50], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x14073ed60], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x14073ed70], xmm0
movsd qword [0x14073ed80], xmm1
mov dword [0x14073ece8], 1
lea rax, [0x14073ecf0]
add rsp, 0xf0
pop rbp
ret

Function at 0x140012640
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
mov eax, r8d
shr eax, 2
test al, 1
je 0x14001265e
shr r8d, 1
and r8d, 1
inc r8d
shl r8d, 5
jmp 0x14001267b
test r8b, 3
je 0x140012675
shr r8d, 1
and r8d, 1
lea r8d, [r8*2 + 2]
jmp 0x14001267b
mov r8d, 1
lea r9, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
mov ecx, 2
test eax, eax
cmovne ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140012850
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14073e4d0]
nop
test eax, eax
jne 0x1400128b7
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x14073ed88], rax
mov eax, 1
xchg dword [0x14073e4d0], eax
mov rax, qword [0x14073ed88]
add rsp, 0x58
ret
Function at 0x14001e5c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r14, [rsp + 0x78]
xor ebp, ebp
movabs r15, 0xff00ff00ff00ff00
lea rsi, [0x14001c2a0]
lea rdi, [0x140000000]
movabs r13, 0x746a528800
movabs r12, 0x7fffffffffffffff
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r14
mov rbx, qword [r14]
xor rbx, r15
mov qword [rsp + 0x20], rbx
mov qword [r14], rbp
mov ecx, ebp
mov rax, qword [0x14070a7c0]
test rax, rax
je 0x14001e66a
mov rdx, rbp
cmp rax, rsi
je 0x14001e659
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x70a7c0]
test rax, rax
jne 0x14001e641
jmp 0x14001e66a
mov r8, qword [rdi + rdx*8 + 0x70aae0]
test r8, r8
jne 0x14001e74f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x14001e691
mov r8, rbp
jmp 0x14001e72e
mov rcx, rsi
mov edx, 3
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdx, 1
jne 0x14001e6a0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov ecx, dword [rcx + 0x70]
mov dword [rax + 0x70], ecx
mov rax, qword [0x14070a7b8]
mov qword [rdi + rax*8 + 0x70a7c0], rsi
mov qword [rdi + rax*8 + 0x70aae0], r8
inc rax
mov qword [0x14070a7b8], rax
lea rcx, [0x14008c980]
call r8
nop
xor rbx, r15
mov qword [r14], rbx
test al, al
jne 0x14001e7ef
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x140709990]
mov rdx, qword [0x140709988]
sub rcx, rdx
sar rcx, 3
cmp rcx, 1
jbe 0x14001e7e9
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x90]
call fcn.140036410
mov rax, qword [rsp + 0x90]
movabs rcx, 0x7fffff8b95ad77fe
cmp rax, rcx
jg 0x14001e7cf
lea rcx, [rax + r13]
mov qword [rsp + 0x88], rcx
lea rcx, [rsp + 0x88]
call fcn.14001d8f0
jmp 0x14001e610
mov qword [rsp + 0x88], r12
lea rcx, [rsp + 0x88]
call fcn.14001d8f0
jmp 0x14001e610
call fcn.140031ed0
int3
xor ecx, ecx
call fcn.14002efe0
int3
Function at 0x14001e800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140700d00]
xor rax, rsp
mov qword [rbp - 8], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x20]
call fcn.140024c70
nop
movabs rsi, 0x7fffff172b5aeffe
movabs rdi, 0xe8d4a51000
movabs rbx, 0x7fffffffffffffff
nop word [rax + rax]
mov r9, qword [rbp - 0x20]
mov r10, qword [rbp - 0x18]
cmp r9, r10
je 0x14001e8a9
nop dword [rax]
xor edx, edx
mov rax, qword [r9 + 8]
mov ecx, dword [r9 + 0x10]
test ecx, ecx
je 0x14001e89b
mov r8d, ecx
movzx ecx, byte [rax]
test cl, cl
je 0x14001e892
imul rdx, rdx, 0x1003f
add rdx, rcx
inc rax
sub r8, 1
jne 0x14001e881
cmp rdx, qword [r9]
jne 0x14001e910
add r9, 0x18
cmp r9, r10
jne 0x14001e870
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [0x140709990]
mov rdx, qword [0x140709988]
sub rcx, rdx
sar rcx, 3
cmp rcx, 2
jbe 0x14001e946
mov qword [rdx + 0x10], rax
lea rcx, [rbp - 0x28]
call fcn.140036410
mov rax, qword [rbp - 0x28]
cmp rax, rsi
jg 0x14001e8f6
lea rcx, [rax + rdi]
mov qword [rbp - 0x30], rcx
lea rcx, [rbp - 0x30]
call fcn.14001d8f0
jmp 0x14001e860
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x30]
call fcn.14001d8f0
jmp 0x14001e860
movdqa xmm0, xmmword [0x140237820]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0x68742068
mov dword [rbp - 0x3c], 0x72702065
mov dword [rbp - 0x38], 0x6172676f
mov word [rbp - 0x34], 0x2e6d
mov byte [rbp - 0x32], 0
lea rcx, [rbp - 0x50]
call fcn.14002efe0
int3
call fcn.140031ed0
int3
Function at 0x14002edf0
Capabilities:
Set console window title

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x90
mov rax, qword [0x140700d00]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
lea r12, [rsp + 0xa8]
movabs r13, 0xff00ff00ff00ff00
mov qword [r11 - 0x78], r13
mov qword [r11 - 0x70], r12
mov rsi, qword [r12]
xor rsi, r13
mov qword [r11 - 0x80], rsi
mov qword [r12], rax
lea edx, [rax + 0xf]
lea rcx, [r11 - 0x68]
call fcn.14002eaa0
mov r14, rax
mov r8, qword [rax + 0x10]
mov qword [rax + 0x10], r8
mov rbx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x14002ee79
mov rbx, qword [rax]
lea rbp, [0x14050ca85]
cmp rbp, rbx
jbe 0x14002ee9b
lea rax, [rbx + r8]
cmp rbp, rax
ja 0x14002ee9b
cmp rbx, rbp
jbe 0x14002ee9b
mov rdi, rbx
sub rdi, rbp
jmp 0x14002ee9d
xor edi, edi
inc r8
mov rdx, rbx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
neg r8
lea rdx, [rdi + rbp]
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14002ef44
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ef3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ef3f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140230ac8
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14002ef9c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ef96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ef96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140230ac8
nop
xor rsi, r13
mov qword [r12], rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140230920
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x14002efe0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov r10, rcx
test rcx, rcx
je 0x14002f036
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14001e590
movzx ecx, byte [rax + 6]
test cl, cl
je 0x14002f022
xor byte [rax], 0x36
xor byte [rax + 1], 0x37
xor byte [rax + 2], 0x38
xor byte [rax + 3], 0x39
xor byte [rax + 4], 0x3a
xor byte [rax + 5], 0x3b
xor cl, 0x3c
mov byte [rax + 6], cl
mov r9d, reloc.WS2_32.dll_recv
mov r8, rax
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov edx, reloc.WS2_32.dll_ntohl
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx + 0x32]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14002f082
mov dword [rax], 0xdb31c031
mov dword [rax + 4], 0xd231c931
mov dword [rax + 8], 0xed31e431
mov word [rax + 0xc], 0xe4ff
call rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
call rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140031b30
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140031ccb
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140031890
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140031c94
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140031c0e
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140031c83
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140031c4b
mov r10, qword [rdx]
cmp r10, rax
je 0x140031c45
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140031c83
cmp r9, rdx
je 0x140031c5f
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140031ca5
cmp r9, rdx
jne 0x140031c50
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x140031bc1
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140031c83
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140031ce0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x140031d41
lea r8, [r9 + 8]
nop dword [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 0x140031d00
mov ecx, dword [r9]
jmp 0x140031e28
cmp ecx, 0x4e0
jb 0x140031e28
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140031d60
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140031db0
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