joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401215af
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, [0x1402a5897]
lea rcx, [rbp - 0x30]
push 0x2c
pop r8
call fcn.14000dcb8
lea rdx, [0x1402a58c3]
lea rcx, [rbp - 0x18]
push 0x12
pop r8
call fcn.14000dcb8
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 0x140121640
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rbx, qword [rbp - 0x10]
jmp 0x140121709
mov dword [rbp + 0x1c], 0x800
and dword [rbp + 0x18], 0
mov rcx, rbp
mov edx, 0x800
call fcn.1400e566e
mov rbx, qword [rbp - 0x10]
lea r13, [rbp + 0x1c]
lea r15, [rbp + 0x18]
mov r12, rbp
mov rcx, qword [rbp - 0x38]
mov r14, qword [rbp + 8]
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 0x1401216ac
mov r8d, dword [rbp + 0x1c]
mov rax, qword [rbp]
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, r8
jae 0x140121667
mov rcx, r12
call fcn.14025849a
jmp 0x140121667
test eax, eax
jne 0x1401216dd
mov r8d, dword [rbp + 0x1c]
shr r8d, 1
lea rcx, [rbp - 0x50]
mov rdx, r14
call fcn.14011a543
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov rcx, rdx
sub rdx, 1
jb 0x1401216ec
cmp byte [rax + rcx - 1], 0
je 0x1401216cb
jmp 0x1401216ee
movabs rax, 0x8000000000000000
mov qword [rdi], rax
jmp 0x1401216fd
xor ecx, ecx
mov qword [rbp - 0x40], rcx
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rdi], xmm0
mov rcx, qword [rbp]
mov rdx, r14
call fcn.1400ffa2f
mov rcx, qword [rbp - 0x18]
mov rdx, rbx
call fcn.140116846
mov rcx, qword [rbp - 0x30]
mov rdx, rsi
call fcn.140116846
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14012afe6
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 0x14012afed
test al, 1
je 0x14012b00c
test al, 2
jne 0x14012b024
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1402a8468]
mov edx, 0x23
call fcn.140256b00
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1402a84a8]
mov edx, 0x25
call fcn.140256b00
int3

Function at 0x14012bb62
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.140129fcb
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rcx], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14012bb9e
xor eax, eax
jmp 0x14012bbac
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14012bee2
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
mov rdx, r13
mov r8, rbx
call fcn.14012bb5a
mov al, byte [rbp - 0x17]
cmp al, 3
je 0x14012c067
mov rdi, qword [rbp - 0x20]
cmp al, 2
je 0x14012c075
mov cl, byte [rbp - 0x18]
movzx edx, word [r15 + 4]
mov word [r12 + 4], dx
mov edx, dword [r15]
mov dword [r12], edx
mov qword [rbp - 0x38], rdi
mov byte [rbp - 0x30], cl
mov byte [rbp - 0x2f], al
mov rcx, qword [rbp - 0x50]
cmp rcx, 0xffffffffffffffff
je 0x14012c08d
mov rdx, qword [rbp - 0x48]
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14012c06c
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call fcn.14006789e
cmp al, 0xd
jne 0x14012c037
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x14012c037
mov qword [rbp - 0x10], rdi
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14012c099
mov rsi, r13
mov r13, r14
mov r14, r15
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14008cb5d
mov rdi, rax
xor ecx, ecx
call fcn.14008acfa
test rdi, rdi
je 0x14012c026
push 1
pop rcx
mov rdx, qword [rbp - 0x10]
call fcn.14008ce8c
mov r15, r14
mov r14, r13
mov r13, rsi
mov rsi, qword [rbp - 0x28]
jmp 0x14012c037
mov r15, r14
mov r14, r13
mov r13, rsi
mov rsi, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call fcn.140123550
cmp al, 0xd
jne 0x14012c075
mov qword [rbp - 0x20], rdi
mov rcx, r14
lea rdx, [rbp - 0x38]
call fcn.14012b7ed
lea rdi, [rbp - 0x20]
mov rcx, rdi
call fcn.14012259b
mov rcx, rdi
jmp 0x14012bf40
push 2
pop rax
jmp 0x14012c071
movsxd rdi, eax
xor eax, eax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.C:Users_stillthesame.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.40.0_srciopoll_evented.rs
call fcn.140256ee0
ud2
Function at 0x14013ab49
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 0x14013abcf
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 0x14013ab7e
mov ebx, eax
mov rcx, rdi
mov edx, r14d
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
jne 0x14013ab7e
and ebx, 0x7fffffff
jne 0x14013ac85
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, [0x1402cdb40]
lea rcx, [rsp + 0x58]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
and qword [rcx + 0x20], 0
lea r8, [0x1400639cb]
mov qword [rdx + 8], r8
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:Users_stillthesame.cargo_registry_srcindex.crates.io_6f17d22bba15001fuuid_1.10.0_src_rng.rscould_not_retrieve_random_bytes_for_uuid:
call fcn.140256970
int3
Function at 0x1401871c4
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 0x140187248
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.14015731c
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1401824d0
mov rsi, qword [rsi]
cmp dword [rdi + 0x34], r14d
jne 0x140187397
movsxd r8, dword [r13]
mov edx, r12d
mov rcx, rsi
call fcn.1401587f4
mov r9d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rsi
and qword [rsp + 0x20], r14
call fcn.140158658
mov rcx, rsi
call fcn.140158fcc
cmp eax, 0x64
jne 0x1401872a7
xor edx, edx
mov rcx, rsi
call fcn.14015928c
mov r12d, eax
mov r14d, eax
sar r12d, 1
and r14d, 1
mov rcx, rsi
call fcn.1401595fc
mov edx, 2
mov dword [rdi + 0x34], eax
mov rcx, rsi
call fcn.1401588dc
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.14018699c
cmp qword [rbx + 0x10], 0
je 0x140187305
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.140182ae8
cmp dword [rdi + 0x34], 0
jne 0x140187367
test r15d, r15d
jne 0x140187367
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x140187367
and ebp, 2
je 0x14018732d
or edx, 2
mov dword [rbx + 8], edx
test esi, esi
je 0x140187358
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x140187346
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x140187358
mov rax, qword [rbx]
mov rcx, rdi
mov r8d, dword [rax]
call fcn.14017d778
mov qword [rbx + 0x50], rax
test ebp, ebp
je 0x140187367
mov rdx, rbx
mov rcx, rdi
call fcn.140186c74
test byte [rbx + 8], 2
je 0x14018737a
lea rax, [0x140186bf0]
mov qword [rbx + 0x28], rax
jmp 0x140187397
mov rax, qword [rdi]
lea rcx, [0x1401865e8]
lea rdx, [0x140186a40]
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 0x14018dc20
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 0x14018dca8
and dword [rax + 0x18], 0
lea rcx, str.PRAGMA__Q.page_size
call fcn.14015731c
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14018d2c8
mov edi, eax
test eax, eax
jne 0x14018dc94
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 0x14018dcf1
mov dword [rbx + 0x20], edx
jmp 0x14018dcf1
mov rcx, rsi
call fcn.140158054
mov rdx, rax
lea rcx, [0x1402dd530]
jmp 0x14018dce9
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.14015731c
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14018d2c8
mov edi, eax
test eax, eax
jne 0x14018dc94
cmp dword [rbx + 0x20], 0x1c0
jge 0x14018dcf1
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.14015731c
mov qword [r14], rax
mov rcx, rbp
call fcn.140157578
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 0x14019e5c8
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.1401c9414
test ebx, ebx
jne 0x14019e631
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.1401c9414
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 0x1401bedcc
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 0x1401bee1f
movzx edx, byte [r11 + r8]
lea ecx, [r10*8]
xor edx, ecx
xor r10d, edx
sub r11, 1
jns 0x1401bee07
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 0x1401beec3
mov eax, dword [rdi + 0x1c]
inc eax
cmp esi, eax
jne 0x1401bee55
mov r8, rsi
lea rcx, [rdi + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401bee5d
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1401bee39
test rdi, rdi
je 0x1401beec3
lea r14d, [rsi + 0x31]
mov esi, dword [rdi + 0x18]
lea eax, [r15 + 0xa]
sub esi, r14d
add eax, esi
movsxd rcx, eax
call fcn.1401574e0
mov rcx, qword [rsp + 0x60]
mov rbp, rax
mov qword [rcx], rax
test rax, rax
je 0x1401beeb5
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.140180874
lea ebx, [rsi + rax]
jmp 0x1401beecb
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
mov eax, 7
jmp 0x1401beed4
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 0x1401c209c
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 0x1401c217b
lea eax, [rdi - 1]
mov r9d, 0xd
movsxd r8, eax
test eax, eax
js 0x1401c20fd
movsx ecx, byte [r8 + r12]
lea eax, [r9*8]
xor ecx, eax
xor r9d, ecx
sub r8, 1
jns 0x1401c20e5
lea esi, [r9*8]
mov eax, r9d
xor rsi, rdx
xor rsi, rax
and esi, 0x1ff
mov rbx, qword [r14 + rsi*8]
jmp 0x1401c213b
cmp dword [rbx + 0xc], r15d
jne 0x1401c2137
cmp dword [rbx + 8], edi
jne 0x1401c2137
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1401c2196
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401c211a
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1401c0264
mov rbx, rax
test rax, rax
je 0x1401c217b
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 0x1401c217b

Function at 0x1401c2660
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 0x1401c2692
lea eax, [rcx - 0x41]
add ecx, 0x20
cmp eax, 0x19
cmova ecx, r8d
mov r8d, ecx
jmp 0x1401c2755
cmp r8d, 0x10000
jge 0x1401c2746
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 + 0x2d30b0]
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 0x1401c26b5
movzx ecx, word [rsi + r11*4 + 0x2d30b0]
movzx eax, byte [rsi + r11*4 + 0x2d30b3]
add eax, ecx
cmp r8d, eax
jge 0x1401c2729
movzx eax, byte [rsi + r11*4 + 0x2d30b2]
xor ecx, r8d
and ecx, eax
test cl, 1
jne 0x1401c2729
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x2d3340]
add eax, r8d
movzx r8d, ax
test r10d, r10d
je 0x1401c2755
cmp r10d, 2
mov ecx, r8d
sete r9b
mov edx, r9d
call fcn.14018ba44
mov r8d, eax
jmp 0x1401c2755
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x1401c2755
add r8d, 0x28
mov rbx, qword [rsp + 0x30]
mov eax, r8d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401f33c4
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.1401c8d2c
mov rdi, rax
test rax, rax
jne 0x1401f340a
lea ebx, [rax + 7]
jmp 0x1401f349c
cmp byte [0x140334124], bl
je 0x1401f346c
mov rax, qword [0x1403342b0]
test rax, rax
je 0x1401f3429
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1401f346c
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, [0x1401d6748]
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 0x1401f3481
mov r8, r13
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
jmp 0x1401f3481
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 0x1401f3499
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 0x1401ff63c
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 0x1401ff68a
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 0x1401ff65a
add dword [r10 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r10 + 0xc], r9d
ret
Function at 0x14024c5d0
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 0x14024c792
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.140202c68
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.140202c68
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.140202c68
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.140202c68
add rbp, rdi
mov r13, rax
cmp rbp, rbx
jb 0x14024c62a
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.140202c68
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.140202c68
mov rbx, rax
mov rdx, r14
xor rbx, rsi
xor ecx, ecx
movabs rsi, 0x9e3779b185ebca87
imul rbx, rsi
sub rbx, rdi
call fcn.140202c68
mov rdi, rax
mov rdx, r13
xor rdi, rbx
movabs rax, 0x7a1435883d4d519d
imul rdi, rsi
xor ecx, ecx
sub rdi, rax
call fcn.140202c68
xor rax, rdi
movabs rcx, 0x85ebca77c2b2ae63
imul rax, rsi
add rcx, rax
jmp 0x14024c79f
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 0x140202ac0
Function at 0x140250070
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rcx + 0x60], 0
mov r8, rcx
movzx edx, byte [rcx + 0x5c]
jle 0x1402500ab
mov ecx, dword [rcx + 0x288]
mov r9d, dword [r8 + 0x60]
mov eax, ecx
lea r11, [0x140339c00]
shr rax, 0x18
xor rax, rdx
shl ecx, 8
xor ecx, dword [r11 + rax*4]
mov dword [r8 + 0x288], ecx
sub r9, 1
jne 0x140250087
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
mov ecx, dword [r8 + 0x60]
sub ecx, 1
je 0x140250153
sub ecx, 1
je 0x140250137
cmp ecx, 1
je 0x14025010c
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 0x1402500df
mov dl, byte [r8 + 0x60]
sub dl, 4
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
jmp 0x14025015e
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 0x140250102
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 0x14025013d
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
ret
Function at 0x140255520
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14025556a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14025556a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14025556a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14025556a
cmp dword [rcx + 0x84], 0xe
jbe 0x14025556a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14025556c
xor al, al
add rsp, 0x28
ret

Function at 0x14025ab30
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9