joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401213b8
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
and qword [rbp - 0x20], 0
mov rax, rdx
mov rsi, rcx
cmp qword [rdx + 0x10], 0
je 0x1401214a1
mov qword [rbp - 0x10], rax
lea rcx, [0x1402a4fe2]
call sub.oleaut32.dll_SysAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
and qword [rsp + 0x20], 0
push 0x30
pop r9
mov rdx, rdi
mov r8, rbx
call rax
mov r14d, eax
mov rcx, rdi
call sub.oleaut32.dll_SysFreeString
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
test r14d, r14d
mov rax, qword [rbp - 0x10]
js 0x1401214a1
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x18], rcx
mov rcx, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
call fcn.14011e40c
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x1401214b0
mov qword [rsi], 2
mov rcx, rax
call fcn.14011e2eb
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x140121cc6
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
lea rdx, [0x1402a561f]
lea rcx, [rbp - 0x30]
push 0x2c
pop r8
call fcn.14000dc3d
lea rdx, [0x1402a564b]
mov rcx, rbp
push 0x12
pop r8
call fcn.14000dc3d
lea rax, [rbp - 0x38]
and qword [rax], 0
mov rsi, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x140121d56
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rbx, qword [rbp + 8]
jmp 0x140121ed1
mov dword [rbp + 0x1c], 0x800
and dword [rbp + 0x18], 0
lea rcx, [rbp - 0x18]
mov edx, 0x800
call fcn.140120333
mov rbx, qword [rbp + 8]
lea r13, [rbp + 0x1c]
lea r15, [rbp + 0x18]
lea r12, [rbp - 0x18]
mov rcx, qword [rbp - 0x38]
mov r14, qword [rbp - 0x10]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rdx, rbx
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140121db3
mov edx, dword [rbp + 0x1c]
mov rcx, r12
call fcn.14008a7c3
jmp 0x140121d7f
test eax, eax
jne 0x140121ea7
mov r8d, dword [rbp + 0x1c]
shr r8d, 1
lea rcx, [rbp - 0x50]
mov rdx, r14
call fcn.140116cae
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
push 0xffffffffffffffff
pop rdx
push 0xfffffffffffffffe
pop r8
movabs rax, 0x8000000000000000
mov qword [rdi], rax
jmp 0x140121ec5
Function at 0x14012b22e
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14012b235
test al, 1
je 0x14012b254
test al, 2
jne 0x14012b26c
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402a80a0]
mov edx, 0x23
call fcn.140256d30
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402a80e0]
mov edx, 0x25
call fcn.140256d30
int3

Function at 0x14012c0d5
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14012a0a8
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14012c111
xor eax, eax
jmp 0x14012c11f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14012c455
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x48], r8
mov rbx, rdx
mov r14, rcx
lea r15, [rbp - 0x16]
lea r12, [rbp - 0x2e]
mov r13, qword [rcx + 0x10]
mov esi, 0x7fffffff
cmp r9, rsi
cmovb rsi, r9
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x50], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x20]
push 1
pop rax
mov qword [rbp - 8], rax
mov qword [rbp - 0x28], rsi

Function at 0x14013b423
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rcx
xorps xmm0, xmm0
lea rbp, [rsp + 0x30]
movaps xmmword [rbp], xmm0
mov r15d, 0x10
mov r12d, 0xffffffff
mov r13, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test r15, r15
je 0x14013b4a9
mov rdi, rbp
cmp r15, r12
mov r14d, 0xffffffff
cmovb r14, r15
add rbp, r14
sub r15, r14
xor ecx, ecx
mov rdx, rdi
mov r8d, r14d
mov r9d, 2
call r13
cmp eax, 0xc0000000
jb 0x14013b458
mov ebx, eax
mov rcx, rdi
mov edx, r14d
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x14013b458
and ebx, 0x7fffffff
jne 0x14013b55f
mov rax, qword [rsp + 0x38]
mov rcx, rax
shr rcx, 0x38
mov byte [rsi], cl
mov rcx, rax
shr rcx, 0x30
mov byte [rsi + 1], cl
mov rcx, rax
shr rcx, 0x28
mov byte [rsi + 2], cl
mov rcx, rax
shr rcx, 0x20
mov byte [rsi + 3], cl
mov ecx, eax
shr ecx, 0x18
mov byte [rsi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 5], cl
mov ecx, eax
and ecx, 0xf00
or ecx, 0x4000
mov byte [rsi + 6], ch
mov rcx, qword [rsp + 0x30]
mov byte [rsi + 7], al
movabs rax, 0x3f00000000000000
and rax, rcx
bts rax, 0x3f
shr rax, 0x38
mov byte [rsi + 8], al
mov rax, rcx
shr rax, 0x30
mov byte [rsi + 9], al
mov rax, rcx
shr rax, 0x28
mov byte [rsi + 0xa], al
mov rax, rcx
shr rax, 0x20
mov byte [rsi + 0xb], al
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xd], al
mov byte [rsi + 0xe], ch
mov byte [rsi + 0xf], cl
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x2c]
mov dword [rax], ebx
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
lea rax, [0x1402cd110]
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
and qword [rcx + 0x20], 0
lea r8, case.0x140055d54.101
mov qword [rdx + 8], r8
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:UsersJOHN_PC.cargo_registry_srcindex.crates.io_6f17d22bba15001fuuid_1.10.0_src_rng.rscould_not_retrieve_random_bytes_for_uuid:
call fcn.140256ba0
int3

Function at 0x14013f2d4
Capabilities:
Create directory

Disassembly:
test cl, cl
je 0x14013f2e3
invalid
mov rcx, rdx
mov rdx, r8
mov edx, eax
mov rcx, rdx
Function at 0x1401874d4
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x98]
mov rdi, rcx
mov r15d, r9d
mov r12d, 1
xor edx, edx
mov rcx, rbx
mov ebp, r9d
and r15d, 8
xor r14d, r14d
lea r8d, [r12 + 0x77]
call sub.VCRUNTIME140.dll_memset
mov r13, qword [rsp + 0x90]
lea rsi, [rdi + 0x60]
mov qword [rbx], r13
cmp qword [rsi], r14
jne 0x140187558
mov rdx, qword [rdi]
lea rcx, str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
call fcn.140157820
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1401827e0
mov rsi, qword [rsi]
cmp dword [rdi + 0x34], r14d
jne 0x1401876a7
movsxd r8, dword [r13]
mov edx, r12d
mov rcx, rsi
call fcn.140158cb4
mov r9d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rsi
and qword [rsp + 0x20], r14
call fcn.140158bec
mov rcx, rsi
call fcn.140159540
cmp eax, 0x64
jne 0x1401875b7
xor edx, edx
mov rcx, rsi
call fcn.140159774
mov r12d, eax
mov r14d, eax
sar r12d, 1
and r14d, 1
mov rcx, rsi
call fcn.140159a10
mov edx, 2
mov dword [rdi + 0x34], eax
mov rcx, rsi
call fcn.140158d38
mov eax, dword [r13 + 4]
xor esi, esi
cmp r12d, eax
mov rdx, rbx
mov rcx, rdi
cmovge eax, r12d
cmovge esi, r14d
dec eax
mov dword [rbx + 0xc], eax
call fcn.140186cac
cmp qword [rbx + 0x10], 0
je 0x140187615
mov eax, dword [rsp + 0x80]
mov r8, rbx
mov r9, qword [rsp + 0x78]
mov edx, r15d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140182df8
cmp dword [rdi + 0x34], 0
jne 0x140187677
test r15d, r15d
jne 0x140187677
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x140187677
and ebp, 2
je 0x14018763d
or edx, 2
mov dword [rbx + 8], edx
test esi, esi
je 0x140187668
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x140187656
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x140187668
mov rax, qword [rbx]
mov rcx, rdi
mov r8d, dword [rax]
call fcn.14017da88
mov qword [rbx + 0x50], rax
test ebp, ebp
je 0x140187677
mov rdx, rbx
mov rcx, rdi
call fcn.140186f84
test byte [rbx + 8], 2
je 0x14018768a
lea rax, [0x140186f00]
mov qword [rbx + 0x28], rax
jmp 0x1401876a7
mov rax, qword [rdi]
lea rcx, [0x1401868f8]
lea rdx, [0x140186d50]
cmp dword [rax + 0x5c], 1
cmove rcx, rdx
mov qword [rbx + 0x28], rcx
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 0x14018df50
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rdx, qword [rdx + 0x30]
mov r14, r9
mov rsi, rcx
test r8d, r8d
je 0x14018dfd8
and dword [rax + 0x18], 0
lea rcx, str.PRAGMA__Q.page_size
call fcn.140157820
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14018d5f8
mov edi, eax
test eax, eax
jne 0x14018dfc4
movzx ecx, byte [rbx + 0x27]
mov r8d, dword [rsp + 0x50]
imul edx, ecx, 0x33
add r8d, 0xffffffc0
mov dword [rbx + 0x20], r8d
add edx, 4
cmp edx, r8d
jge 0x14018e021
mov dword [rbx + 0x20], edx
jmp 0x14018e021
mov rcx, rsi
call fcn.1401586d8
mov rdx, rax
lea rcx, [0x1402dc500]
jmp 0x14018e019
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.140157820
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14018d5f8
mov edi, eax
test eax, eax
jne 0x14018dfc4
cmp dword [rbx + 0x20], 0x1c0
jge 0x14018e021
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.140157820
mov qword [r14], rax
mov rcx, rbp
call fcn.140157a98
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14019e900
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14d, dword [rsp + 0x70]
mov ebx, r8d
mov dword [rax - 0x18], r14d
mov rbp, r9
mov qword [rax - 0x20], r9
mov rdi, rdx
mov r9, rdx
mov byte [rcx + 0x1c], 1
mov r8, rdx
mov dword [rax - 0x28], ebx
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov rsi, rcx
call fcn.1401c976c
test ebx, ebx
jne 0x14019e969
mov r9, rbp
mov dword [rsp + 0x20], r14d
mov r8, rdi
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call fcn.1401c976c
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 0x1401bf114
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x20
movsxd rsi, r9d
xor ebx, ebx
mov rbp, r8
movsxd r15, edx
mov r13, rcx
mov r10d, 0xd
lea eax, [rsi - 1]
movsxd r11, eax
test eax, eax
js 0x1401bf167
movzx edx, byte [r11 + r8]
lea ecx, [r10*8]
xor edx, ecx
xor r10d, edx
sub r11, 1
jns 0x1401bf14f
xor edx, edx
mov eax, r10d
div dword [r13 + 0x14]
mov rax, qword [r13 + 0x20]
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x1401bf20b
mov eax, dword [rdi + 0x1c]
inc eax
cmp esi, eax
jne 0x1401bf19d
mov r8, rsi
lea rcx, [rdi + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401bf1a5
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1401bf181
test rdi, rdi
je 0x1401bf20b
lea r14d, [rsi + 0x31]
mov esi, dword [rdi + 0x18]
lea eax, [r15 + 0xa]
sub esi, r14d
add eax, esi
movsxd rcx, eax
call fcn.140157a00
mov rcx, qword [rsp + 0x60]
mov rbp, rax
mov qword [rcx], rax
test rax, rax
je 0x1401bf1fd
movsxd rdx, r14d
lea rcx, [r15 + rax]
add rdx, rdi
movsxd r8, esi
call sub.VCRUNTIME140.dll_memcpy
sub r15d, r14d
mov rdx, rdi
movsxd r8, r15d
mov rcx, r13
add r8, rbp
call fcn.140180b84
lea ebx, [rsi + rax]
jmp 0x1401bf213
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
mov eax, 7
jmp 0x1401bf21c
mov rax, qword [rsp + 0x60]
mov qword [rax], rbx
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
ret
Function at 0x1401c23e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbp, qword [rsp + 0x70]
mov r12, r8
and dword [rsp + 0x50], 0
mov r15d, edx
movsxd rdi, r9d
mov r14, rcx
and dword [rbp], 0
test rcx, rcx
je 0x1401c24c3
lea eax, [rdi - 1]
mov r9d, 0xd
movsxd r8, eax
test eax, eax
js 0x1401c2445
movsx ecx, byte [r8 + r12]
lea eax, [r9*8]
xor ecx, eax
xor r9d, ecx
sub r8, 1
jns 0x1401c242d
lea esi, [r9*8]
mov eax, r9d
xor rsi, rdx
xor rsi, rax
and esi, 0x1ff
mov rbx, qword [r14 + rsi*8]
jmp 0x1401c2483
cmp dword [rbx + 0xc], r15d
jne 0x1401c247f
cmp dword [rbx + 8], edi
jne 0x1401c247f
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c24de
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401c2462
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1401c05ac
mov rbx, rax
test rax, rax
je 0x1401c24c3
lea rcx, [rax + 0x18]
mov dword [rax + 8], edi
mov r8, rdi
mov qword [rax], rcx
mov rdx, r12
mov dword [rax + 0xc], r15d
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14 + rsi*8]
mov qword [rbx + 0x10], rcx
mov qword [r14 + rsi*8], rbx
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov dword [rbp], 1
jmp 0x1401c24c3

Function at 0x1401c29a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r10d, edx
mov r8d, ecx
cmp ecx, 0x80
jge 0x1401c29da
lea eax, [rcx - 0x41]
add ecx, 0x20
cmp eax, 0x19
cmova ecx, r8d
mov r8d, ecx
jmp 0x1401c2a9d
cmp r8d, 0x10000
jge 0x1401c2a8e
xor r9d, r9d
lea rsi, [0x140000000]
mov edi, r9d
or r11d, 0xffffffff
mov ebx, 0xa2
lea eax, [rdi + rbx]
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
movsxd rcx, eax
movzx ecx, word [rsi + rcx*4 + 0x2d61a0]
sub edx, ecx
mov ecx, eax
cmovs ecx, r11d
test edx, edx
movsxd r11, ecx
lea ecx, [rax + 1]
cmovs ecx, edi
dec eax
test edx, edx
mov edi, ecx
cmovs ebx, eax
cmp ebx, ecx
jge 0x1401c29fd
movzx ecx, word [rsi + r11*4 + 0x2d61a0]
movzx eax, byte [rsi + r11*4 + 0x2d61a3]
add eax, ecx
cmp r8d, eax
jge 0x1401c2a71
movzx eax, byte [rsi + r11*4 + 0x2d61a2]
xor ecx, r8d
and ecx, eax
test cl, 1
jne 0x1401c2a71
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x2d6430]
add eax, r8d
movzx r8d, ax
test r10d, r10d
je 0x1401c2a9d
cmp r10d, 2
mov ecx, r8d
sete r9b
mov edx, r9d
call fcn.14018bd74
mov r8d, eax
jmp 0x1401c2a9d
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x1401c2a9d
add r8d, 0x28
mov rbx, qword [rsp + 0x30]
mov eax, r8d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401f3740
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rcx
mov qword [rcx], rbx
mov rbp, r8
mov r12, rdx
lea r13d, [rbx + 0x28]
mov ecx, r13d
call fcn.1401c9084
mov rdi, rax
test rax, rax
jne 0x1401f3786
lea ebx, [rax + 7]
jmp 0x1401f3818
cmp byte [0x140333274], bl
je 0x1401f37e8
mov rax, qword [0x140333400]
test rax, rax
je 0x1401f37a5
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1401f37e8
lea r14, [rdi + 8]
mov qword [rdi + 0x18], rbp
lea rsi, [rdi + 0x10]
mov qword [rsp + 0x28], r14
mov r9, rdi
mov dword [rsp + 0x20], ebx
lea r8, [0x1401d6a9c]
mov qword [rsi], r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
jne 0x1401f37fd
mov r8, r13
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
jmp 0x1401f37fd
mov r8, r13
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rsi, [rdi + 0x10]
lea r14, [rdi + 8]
cmp qword [rsi], rbx
jne 0x1401f3815
call qword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [r14], eax
call r12
mov qword [rdi + 0x20], rax
mov qword [r15], rdi
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1401ff9c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r9, dword [rcx + 0xc]
mov r10, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x1401ffa0e
mov r11, r9
xor edi, edi
mov al, byte [rdx + rdi]
mov rcx, qword [r10]
xor byte [rcx + r11], al
lea ecx, [r9 + 1]
xor r9d, r9d
lea rax, [r11 + 1]
cmp ecx, dword [r10 + 8]
cmovl r9d, ecx
xor r11d, r11d
inc rdi
cmp ecx, dword [r10 + 8]
cmovl r11, rax
cmp rdi, rbx
jl 0x1401ff9de
add dword [r10 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r10 + 0xc], r9d
ret
Function at 0x14024c8c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r8
mov r15, rdx
mov rbp, rcx
cmp rdx, 0x20
jb 0x14024ca82
lea rbx, [rcx - 0x1f]
movabs rsi, 0x60ea27eeadc0b5d6
movabs r12, 0xc2b2ae3d27d4eb4f
add rbx, rdx
add rsi, r8
add r12, r8
movabs r13, 0x61c8864e7a143579
mov edi, 8
add r13, r8
mov r8, rdi
lea rcx, [rsp + 0x70]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140202fec
add rbp, rdi
lea rcx, [rsp + 0x88]
mov rdx, rbp
mov r8, rdi
mov rsi, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x88]
mov rcx, r12
call fcn.140202fec
add rbp, rdi
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov r8, rdi
mov r12, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x20]
mov rcx, r14
call fcn.140202fec
add rbp, rdi
lea rcx, [rsp + 0x28]
mov rdx, rbp
mov r8, rdi
mov r14, rax
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x28]
mov rcx, r13
call fcn.140202fec
add rbp, rdi
mov r13, rax
cmp rbp, rbx
jb 0x14024c91a
mov edx, 0x12
mov rcx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov edx, 0xc
mov rcx, r14
mov rdi, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov edx, 7
mov rcx, r12
add rdi, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov edx, 1
mov rcx, rsi
add rdi, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdx, rsi
xor ecx, ecx
add rdi, rax
call fcn.140202fec
mov rsi, rax
mov rdx, r12
xor rsi, rdi
movabs rax, 0x9e3779b185ebca87
imul rsi, rax
movabs rdi, 0x7a1435883d4d519d
xor ecx, ecx
sub rsi, rdi
call fcn.140202fec
mov rbx, rax
mov rdx, r14
xor rbx, rsi
xor ecx, ecx
movabs rsi, 0x9e3779b185ebca87
imul rbx, rsi
sub rbx, rdi
call fcn.140202fec
mov rdi, rax
mov rdx, r13
xor rdi, rbx
movabs rax, 0x7a1435883d4d519d
imul rdi, rsi
xor ecx, ecx
sub rdi, rax
call fcn.140202fec
xor rax, rdi
movabs rcx, 0x85ebca77c2b2ae63
imul rax, rsi
add rcx, rax
jmp 0x14024ca8f
movabs rcx, 0x27d4eb2f165667c5
add rcx, r8
add rcx, r15
mov r9d, 1
mov r8, r15
mov rdx, rbp
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp 0x140202e44
Function at 0x140250364
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rcx + 0x60], 0
mov r8, rcx
movzx edx, byte [rcx + 0x5c]
jle 0x14025039f
mov ecx, dword [rcx + 0x288]
mov r9d, dword [r8 + 0x60]
mov eax, ecx
lea r11, [0x140338c00]
shr rax, 0x18
xor rax, rdx
shl ecx, 8
xor ecx, dword [r11 + rax*4]
mov dword [r8 + 0x288], ecx
sub r9, 1
jne 0x14025037b
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
mov ecx, dword [r8 + 0x60]
sub ecx, 1
je 0x140250447
sub ecx, 1
je 0x14025042b
cmp ecx, 1
je 0x140250400
movsxd rax, dword [r8 + 0x60]
mov r9d, 4
mov byte [rax + r8 + 0x7c], 1
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
sub r9, 1
jne 0x1402503d3
mov dl, byte [r8 + 0x60]
sub dl, 4
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
jmp 0x140250452
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
movsxd rcx, dword [r8 + 0x6c]
lea eax, [rcx + 1]
mov dword [r8 + 0x6c], eax
jmp 0x1402503f6
mov r9d, 2
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
sub r9, 1
jne 0x140250431
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
ret