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

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1403e7d10], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x14015c24d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140063630]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret

Function at 0x14015c530
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [rcx]
xor r12d, r12d
mov dword [rbp - 0x10], r12d
xorps xmm0, xmm0
mov qword [rbp - 0x28], 2
mov r14, r8
mov rsi, rdx
movdqu xmmword [rbp - 0x20], xmm0
cmp rbx, 0xffffffffffffffff
jne 0x14015c5c1
mov dword [rbp - 0x40], 0x2719
call fcn.14018e9e0
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r14], xmm0
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov dword [rsi + 0x18], r12d
mov qword [rsi], 2
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402806f0
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret
xor ecx, ecx
mov qword [rsp + 0xb8], rdi
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp - 0x30]
mov dword [rbp - 0x30], 0x1c
lea rdx, [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
movsxd r15, dword [rbp - 0x30]
mov edi, eax
call fcn.14018e9e0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rbp - 0x38], rbx
test edi, edi
mov rdi, qword [rsp + 0xb8]
mov dword [rbp - 0x40], eax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r14], xmm0
jne 0x14015c58f
mov dword [rbp - 0x40], r12d
call fcn.14018e9e0
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [r14], xmm0
cmp r15, 0x80
ja 0x14015c656
movups xmm0, xmmword [rbp - 0x28]
mov eax, dword [rbp - 0x10]
movsd xmm1, qword [rbp - 0x18]
movups xmmword [rsi], xmm0
movsd qword [rsi + 0x10], xmm1
mov dword [rsi + 0x18], eax
jmp 0x14015c5a2
mov dword [rbp - 0x40], 0x2726
call fcn.14018e9e0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
call fcn.140157ed0
int3
Function at 0x1401626d0
Capabilities:
Set socket configuration

Disassembly:
push rdi
sub rsp, 0x30
cmp qword [rcx], 0xffffffffffffffff
mov rdi, rcx
je 0x1401627b1
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x20], r14
call fcn.14018e9e0
mov rsi, qword [rdi]
cmp rsi, 0xffffffffffffffff
je 0x140162791
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.14018e9e0
mov r14, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
test ebx, ebx
je 0x140162791
call fcn.14018e9e0
cmp r14, rax
jne 0x140162742
cmp ebp, 0x2733
je 0x140162754
call fcn.14018e9e0
cmp r14, rax
jne 0x140162796
cmp ebp, 0x4d5
jne 0x140162796
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
call fcn.14018e9e0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140162796
call fcn.14018e9e0
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rdi], 0xffffffffffffffff
add rsp, 0x30
pop rdi
ret
Function at 0x1401638c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, qword [rcx + 0x18]
mov dword [rsp + 0x20], 0
call fcn.14018e9e0
mov qword [rsp + 0x28], rax
mov rbx, qword [rbx + 0x10]
xor eax, eax
lock xadd dword [rbx + 0x30], eax
test eax, eax
jne 0x140163915
mov rcx, rbx
call fcn.1401689a0
mov dword [rsp + 0x20], 0
call fcn.14018e9e0
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
jmp 0x1401639a5
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov ecx, dword [0x1403e78ac]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r8, [rsp + 0x20]
mov dl, 1
mov rcx, rbx
call fcn.140156860
test rax, rax
je 0x140163984
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov dl, 1
mov rcx, rbx
call fcn.140156860
test rax, rax
jne 0x140163970
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78ac]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401639a5
call fcn.1402802f8
cmp dword [rsp + 0x20], 0
jne 0x1401639b2
add rsp, 0x50
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140157ed0
int3
Function at 0x140164f90
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov esi, ecx
mov rbp, r9
xor ecx, ecx
mov ebx, r8d
mov edi, edx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, ebx
mov dword [rsp + 0x20], 0
mov edx, edi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.14018e9e0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
cmp rdi, 0xffffffffffffffff
jne 0x140165004
mov rax, rdi
jmp 0x14016504c
cmp esi, 0x17
jne 0x14016502e
lea r9, [rsp + 0x68]
mov dword [rsp + 0x68], 0
lea edx, [rsi + 0x12]
mov dword [rsp + 0x20], 4
lea r8d, [rsi + 4]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x30], 0
call fcn.14018e9e0
mov qword [rsp + 0x38], rax
mov rax, rdi
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp], xmm0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140167880
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1401678bf
mov rdx, qword [rsp + 0x98]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x50
pop rdi
jmp fcn.14015cdd0
mov eax, dword [rsp + 0x88]
lea r9, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x90]
mov r8d, r10d
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x60], edx
mov rdx, r11
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x70]
je 0x140167965
cmp eax, 0x3e5
je 0x140167965
mov r9d, dword [rsp + 0x60]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015cdd0
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015ce80
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140167980
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rbx, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x1401679ba
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rbx
jmp fcn.14015cdd0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x1401679e2
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rbx + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rbx
jmp fcn.14015cdd0
mov eax, dword [rsp + 0x70]
lea r9, [rsp + 0x78]
xor edx, edx
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x78], edx
mov r8d, r10d
mov qword [rsp + 0x58], rsi
mov rdx, r11
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x140167a3b
mov eax, 0x2746
jmp 0x140167a48
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
mov rsi, qword [rsp + 0x58]
je 0x140167a77
cmp eax, 0x3e5
je 0x140167a77
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14015cdd0
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 8]
mov rdx, rdi
call fcn.14015ce80
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbx
ret
Function at 0x140167b50
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
cmp byte [rsp + 0x78], 0
je 0x140167b8a
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rcx + 8]
xor r8d, r8d
add rsp, 0x40
pop rdi
jmp fcn.14015cdd0
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140167bb2
mov rdx, qword [rsp + 0x80]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x40
pop rdi
jmp fcn.14015cdd0
xor eax, eax
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x78]
mov dword [rsp + 0x78], eax
mov r8d, r10d
mov eax, dword [rsp + 0x70]
mov rdx, r11
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x50]
je 0x140167c31
cmp eax, 0x3e5
je 0x140167c31
mov r9d, dword [rsp + 0x78]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015cdd0
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015ce80
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140167c50
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r10, r9
mov r11, r8
mov rdi, rcx
lock inc dword [rax + 0x30]
mov rcx, qword [rdx]
cmp rcx, 0xffffffffffffffff
jne 0x140167c8f
mov rdx, qword [rsp + 0x98]
xor r9d, r9d
mov rcx, qword [rdi + 8]
mov r8d, 0x2719
add rsp, 0x50
pop rdi
jmp fcn.14015cdd0
xor eax, eax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov r8d, r10d
mov eax, dword [rsp + 0x88]
mov rdx, r11
mov qword [rsp + 0x70], rsi
mov rsi, qword [rsp + 0x98]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_WSASendTo]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
mov rbx, qword [rsp + 0x68]
je 0x140167d29
cmp eax, 0x3e5
je 0x140167d29
mov r9d, dword [rsp + 0x60]
mov r8d, eax
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015cdd0
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rcx, qword [rdi + 8]
mov rdx, rsi
call fcn.14015ce80
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140167d40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
xor r9d, r9d
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rdi, rax
test rax, rax
jne 0x140167da3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.14018e9e0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140167ea5
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140167df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov dword [rsp + 0x30], ebx
call fcn.14018e9e0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140167eb7
xor ecx, ecx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r8, [0x14016a1a0]
mov r9, rsi
mov dword [rsp + 0x20], ecx
mov edx, r14d
mov dword [rsp + 0x68], ecx
call fcn.140291b2c
mov qword [rbp + 8], rax
test rax, rax
jne 0x140167e64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x140167e43
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x140167e52
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x30], ebx
call fcn.14018e9e0
mov qword [rsp + 0x38], rax
test ebx, ebx
jne 0x140167e93
test rdi, rdi
je 0x140167e80
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
lea rdx, str.thread
lea rcx, [rsp + 0x30]
call fcn.140063120
int3
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x30]
call fcn.140063120
int3
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x30]
call fcn.140063120
int3
Function at 0x140169000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 0x38
xor eax, eax
mov r10, rcx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1401690bd
movdqa xmm4, xmmword [0x1402c8c40]
mov ecx, 1
movdqa xmm5, xmmword [0x1402c8c60]
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x10], xmm7
movdqa xmm7, xmmword [0x1402c8c70]
movaps xmmword [rsp], xmm8
movdqa xmm8, xmmword [0x1402c8c10]
movd xmm6, ecx
nop
movdqu xmm2, xmmword [r10 + rax*4 + 4]
lea r9, [r10 + 0x634]
movdqu xmm0, xmmword [r10 + rax*4]
movdqa xmm3, xmm5
movdqa xmm1, xmm4
andps xmm3, xmm0
andps xmm1, xmm2
orps xmm3, xmm1
movdqa xmm0, xmm8
andps xmm0, xmm2
psrld xmm3, xmm6
pmulld xmm0, xmm7
xorps xmm3, xmm0
movdqu xmm0, xmmword [r9 + rax*4]
xorps xmm3, xmm0
movdqu xmmword [r10 + rax*4], xmm3
add rax, 4
cmp rax, 0xdc
jb 0x140169050
movaps xmm8, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm6, xmmword [rsp + 0x20]
cmp rax, 0xde
jae 0x140169110
jmp 0x1401690d0
lea r9, [rcx + 0x634]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r9 + rax*4 - 0x630]
mov r8d, edx
xor r8d, dword [r10 + rax*4]
and edx, 1
and r8d, 0x7ffffffe
imul ecx, edx, 0x9908b0df
xor r8d, dword [r10 + rax*4]
shr r8d, 1
xor r8d, ecx
xor r8d, dword [r9 + rax*4]
mov dword [r10 + rax*4], r8d
inc rax
cmp rax, 0xde
jb 0x1401690d0
nop dword [rax]
mov r8d, dword [r10 + 0x380]
mov r9d, dword [r10 + 0x37c]
mov eax, dword [r10 + 0x378]
mov edx, eax
xor edx, r9d
and edx, 0x7ffffffe
xor edx, eax
mov eax, r9d
shr edx, 1
and eax, 1
imul ecx, eax, 0x9908b0df
mov eax, r8d
and eax, 1
xor edx, ecx
imul ecx, eax, 0x9908b0df
xor edx, dword [r10 + 0x9ac]
mov dword [r10 + 0x378], edx
mov edx, r8d
xor edx, r9d
and edx, 0x7ffffffe
xor edx, r9d
mov r9d, dword [r10 + 0x384]
shr edx, 1
mov eax, r9d
xor edx, ecx
and eax, 1
xor edx, dword [r10 + 0x9b0]
mov dword [r10 + 0x37c], edx
mov edx, r9d
xor edx, r8d
imul ecx, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, r8d
mov r8d, dword [r10 + 0x388]
shr edx, 1
mov eax, r8d
and eax, 1
xor edx, ecx
imul ecx, eax, 0x9908b0df
xor edx, dword [r10 + 0x9b4]
mov eax, dword [r10 + 0x38c]
mov dword [r10 + 0x380], edx
mov edx, r8d
xor edx, r9d
and edx, 0x7ffffffe
xor edx, r9d
shr edx, 1
xor edx, ecx
mov ecx, eax
xor edx, dword [r10 + 0x9b8]
xor ecx, r8d
and ecx, 0x7ffffffe
mov dword [r10 + 0x384], edx
xor ecx, r8d
and eax, 1
imul eax, eax, 0x9908b0df
mov r8d, 0xe3
shr ecx, 1
xor ecx, eax
xor ecx, dword [r10 + 0x9bc]
mov dword [r10 + 0x388], ecx
nop dword [rax + rax]
mov ecx, dword [r10 + r8*4 + 4]
mov edx, ecx
xor edx, dword [r10 + r8*4]
and ecx, 1
and edx, 0x7ffffffe
imul eax, ecx, 0x9908b0df
xor edx, dword [r10 + r8*4]
shr edx, 1
xor edx, eax
xor edx, dword [r10 + r8*4 - 0x38c]
mov dword [r10 + r8*4], edx
inc r8
cmp r8, 0x26f
jb 0x140169220
mov eax, dword [r10 + 0x9bc]
mov ecx, dword [r10]
mov edx, ecx
xor edx, eax
mov qword [r10 + 0x9c0], 0
and edx, 0x7ffffffe
and ecx, 1
xor edx, eax
imul eax, ecx, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [r10 + 0x630]
mov dword [r10 + 0x9bc], edx
add rsp, 0x38
ret
Function at 0x14016b160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
mov rdi, rcx
jb 0x14016b17a
mov rdx, qword [rdx]
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test rcx, rcx
je 0x14016b1b4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc r8
xor r9, rax
imul r9, r10
cmp r8, rcx
jb 0x14016b1a0
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400835e0
mov r8, qword [rax + 8]
test r8, r8
je 0x14016b1ff
cmp r8, qword [rdi + 8]
je 0x14016b1ff
add r8, 0x30
lea rcx, [rdi + 0x40]
lea rdx, [rsp + 0x40]
call fcn.1400852c0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rdi + 0x48]
je 0x14016b1ff
mov rbx, qword [rsp + 0x48]
add rax, 0x18
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.140086420
int3
Function at 0x14016d5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov rcx, rdx
jb 0x14016d5c6
mov rcx, qword [rdx]
mov r10, qword [rdx + 0x10]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x14016d604
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc r8
xor r9, rax
imul r9, r11
cmp r8, r10
jb 0x14016d5f0
mov r8, rdx
mov rcx, rbx
lea rdx, [rsp + 0x20]
call fcn.1400835e0
mov r8, qword [rax + 8]
test r8, r8
je 0x14016d64a
cmp r8, qword [rbx + 8]
je 0x14016d64a
add r8, 0x30
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x40]
call fcn.1400852c0
mov rax, qword [rsp + 0x40]
cmp rax, qword [rbx + 0x48]
je 0x14016d64a
mov rax, qword [rax + 0x30]
add rsp, 0x30
pop rbx
ret
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x14016e4f0
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 0x14016e551
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 0x14016e510
mov ecx, dword [r9]
jmp 0x14016e638
cmp ecx, 0x4e0
jb 0x14016e638
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 0x14016e570
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 0x14016e5c0
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 0x1401732f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
xor r15d, r15d
cmp byte [rcx + 0x38], r15b
jne 0x1401733f7
mov byte [rcx + 0x38], 1
lea ecx, [r15 + 8]
call fcn.1402802bc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140173334
mov rcx, qword [rsi + 0x10]
mov qword [rax], rcx
lock inc dword [rcx + 0x30]
jmp 0x140173337
mov rax, r15
mov rbx, qword [rsi + 0x18]
mov qword [rsi + 0x18], rax
test rbx, rbx
je 0x140173369
mov rcx, qword [rbx]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x30], eax
cmp eax, 1
jne 0x14017335c
call fcn.1401689a0
nop
mov edx, 8
mov rcx, rbx
call fcn.140280300
xor bpl, bpl
call fcn.14025b8b8
test eax, eax
je 0x1401733f7
mov qword [rsp + 0x60], rsi
nop
mov rdi, qword [rsi + 0x28]
cmp rdi, qword [rsi + 0x30]
je 0x1401733d6
mov ecx, 8
call fcn.1402802bc
test rax, rax
je 0x14017339e
mov qword [rax], rsi
jmp 0x1401733a1
mov rax, r15
mov qword [rsp + 0x68], rax
lea r14, [rdi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140172e80]
xor edx, edx
xor ecx, ecx
call fcn.140291b2c
mov qword [rdi], rax
test rax, rax
je 0x140173408
add qword [rsi + 0x28], 0x10
jmp 0x1401733e7
lea r8, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsi + 0x20]
call fcn.140172bd0
inc bpl
call fcn.14025b8b8
movzx ecx, bpl
cmp ecx, eax
jb 0x140173380
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], r15d
mov ecx, 6
call fcn.14025a9e4
int3