joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018233f
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov rsi, rcx
lea rax, [rsp + 0x60]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1403a0280]
lea r9, [0x1403a0290]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14018245b
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x140182506
mov qword [rsp + 0x58], 0
lea rdx, [0x1403a0275]
lea rbx, [rsp + 0x60]
mov r8d, 0xa
mov rcx, rbx
call fcn.14018212a
mov al, byte [rbx]
cmp al, 0x14
jne 0x140182466
mov r14, qword [rsp + 0x68]
mov rax, qword [rdi]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
test eax, eax
js 0x1401824a0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140182516
mov rcx, r14
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1401824f5
mov qword [rsi + 8], rbx
mov byte [rsi], 0x14
jmp 0x1401824de
mov byte [rsi], 0
mov dword [rsi + 4], eax
jmp 0x1401824e7
mov cl, byte [rsp + 0x63]
mov byte [rsp + 0x56], cl
movzx ecx, word [rsp + 0x61]
mov word [rsp + 0x54], cx
mov ebx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x68]
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x1401824ad
mov ebx, eax
mov rcx, r14
call qword [sym.imp.oleaut32.dll_SysFreeString]
xor eax, eax
mov dl, byte [rsp + 0x56]
mov byte [rsi + 3], dl
movzx edx, word [rsp + 0x54]
mov word [rsi + 1], dx
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
mov byte [rsi], al
mov dword [rsi + 4], ebx
mov qword [rsi + 8], rcx
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
mov byte [rsi], 0
mov dword [rsi + 4], eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
jmp 0x1401824de
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823wmi_0.11.5_srcconnection.rsROOTCIMV2
jmp 0x140182524
lea rcx, str.called__Option::unwrap____on_a__None__valuecalled__Result::unwrap____on_an__Err__value
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823wmi_0.11.5_srcconnection.rsROOTCIMV2
mov edx, 0x2b
call fcn.1402a6560
ud2
Function at 0x14018af10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, r8
mov r14d, r9d
and ebx, 0x1f
mov rsi, rdx
mov rdi, rcx
movabs r13, 0x9e3779b185ebca87
cmp rbx, 8
jb 0x14018adce
mov ebp, ebx
shr rbp, 3
imul rax, rbp, 0xfffffffffffffff8
add rbx, rax
cmp r14d, 1
jne 0x14018ad96
lea r8d, [r14 + 7]
mov rdx, rsi
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x50]
jmp 0x14018ad99
mov rdx, qword [rsi]
xor ecx, ecx
call fcn.14018aed8
xor rax, rdi
mov edx, 0x1b
mov rcx, rax
add rsi, 8
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
movabs rax, 0x7a1435883d4d519d
imul rdi, r13
sub rdi, rax
sub rbp, 1
jne 0x14018ad78
mov ebp, 4
movabs r15, 0xc2b2ae3d27d4eb4f
movabs r12, 0x165667b19e3779f9
cmp rbx, rbp
jb 0x14018ae2d
cmp r14d, 1
jne 0x14018ae08
mov r8d, ebp
lea rcx, [rsp + 0x50]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x50]
jmp 0x14018ae0a
mov eax, dword [rsi]
mov ecx, eax
mov edx, 0x17
imul rcx, r13
add rsi, rbp
xor rcx, rdi
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
imul rdi, r15
add rdi, r12
sub rbx, rbp
test rbx, rbx
je 0x14018ae60
movzx eax, byte [rsi]
movabs rcx, 0x27d4eb2f165667c5
imul rcx, rax
mov edx, 0xb
inc rsi
xor rcx, rdi
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdi, rax
imul rdi, r13
sub rbx, 1
jne 0x14018ae32
mov rbx, qword [rsp + 0x58]
mov rax, rdi
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
shr rax, 0x21
xor rax, rdi
imul rax, r15
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r12
mov rax, rcx
shr rax, 0x20
xor rax, rcx
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0x20
mov rsi, rcx
jb 0x14018af9c
mov rcx, qword [rcx + 0x20]
mov edx, 0x12
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 0x18]
mov edx, 0xc
mov rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 0x10]
mov edx, 7
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rcx, qword [rsi + 8]
mov edx, 1
add rbx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll__rotl64
mov rdx, qword [rsi + 8]
lea rcx, [rbx + rax]
call fcn.14018aea4
mov rdx, qword [rsi + 0x10]
mov rcx, rax
call fcn.14018aea4
mov rdx, qword [rsi + 0x18]
mov rcx, rax
call fcn.14018aea4
mov rdx, qword [rsi + 0x20]
mov rcx, rax
call fcn.14018aea4
jmp 0x14018afad
mov rax, qword [rcx + 0x18]
movabs rcx, 0x27d4eb2f165667c5
add rax, rcx
mov r8, qword [rsi]
lea rdx, [rsi + 0x28]
xor r9d, r9d
lea rcx, [r8 + rax]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14018ad30
Function at 0x1401d48e0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [rcx + 0x60], 0
mov r8, rcx
movzx edx, byte [rcx + 0x5c]
jle 0x1401d491b
mov ecx, dword [rcx + 0x288]
mov r9d, dword [r8 + 0x60]
mov eax, ecx
lea r11, [0x1403c8910]
shr rax, 0x18
xor rax, rdx
shl ecx, 8
xor ecx, dword [r11 + rax*4]
mov dword [r8 + 0x288], ecx
sub r9, 1
jne 0x1401d48f7
mov eax, dword [r8 + 0x5c]
mov byte [rax + r8 + 0x80], 1
mov ecx, dword [r8 + 0x60]
sub ecx, 1
je 0x1401d49c3
sub ecx, 1
je 0x1401d49a7
cmp ecx, 1
je 0x1401d497c
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 0x1401d494f
mov dl, byte [r8 + 0x60]
sub dl, 4
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax + 1], dl
jmp 0x1401d49ce
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 0x1401d4972
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 0x1401d49ad
ret
movsxd rcx, dword [r8 + 0x6c]
mov rax, qword [r8 + 0x40]
mov byte [rcx + rax], dl
inc dword [r8 + 0x6c]
ret
Function at 0x1402270c0
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 r14d, r9d
mov r12d, 1
xor edx, edx
mov rcx, rbx
mov ebp, r9d
and r14d, 8
xor r15d, r15d
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], r15
jne 0x140227144
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.1401f152c
mov r8, rax
mov rdx, rsi
mov rcx, rdi
call fcn.1402223f4
mov rsi, qword [rsi]
cmp dword [rdi + 0x34], r15d
jne 0x140227293
movsxd r8, dword [r13]
mov edx, r12d
mov rcx, rsi
call fcn.1401f3974
mov r9d, dword [rsp + 0x80]
mov edx, 2
mov r8, qword [rsp + 0x78]
mov rcx, rsi
and qword [rsp + 0x20], r15
call fcn.1401f38ac
mov rcx, rsi
call fcn.1401d94dc
cmp eax, 0x64
jne 0x1402271a3
xor edx, edx
mov rcx, rsi
call fcn.1401d9894
movsxd r15, eax
mov r12, r15
sar r12, 1
and r15d, 1
mov rcx, rsi
call fcn.1401d9af4
mov edx, 2
mov dword [rdi + 0x34], eax
mov rcx, rsi
call fcn.1401f39fc
mov eax, dword [r13 + 4]
xor esi, esi
cmp r12d, eax
mov rdx, rbx
mov rcx, rdi
cmovge eax, r12d
cmovge esi, r15d
dec eax
mov dword [rbx + 0xc], eax
call fcn.1402268b4
cmp qword [rbx + 0x10], 0
je 0x140227201
mov eax, dword [rsp + 0x80]
mov r8, rbx
mov r9, qword [rsp + 0x78]
mov edx, r14d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140222a14
cmp dword [rdi + 0x34], 0
jne 0x140227263
test r14d, r14d
jne 0x140227263
mov edx, dword [rbx + 8]
mov rax, qword [rbx + 0x10]
or edx, 1
mov dword [rbx + 8], edx
test rax, rax
je 0x140227263
and ebp, 2
je 0x140227229
or edx, 2
mov dword [rbx + 8], edx
test esi, esi
je 0x140227254
mov r9d, dword [rbx + 0x30]
and edx, 2
cmp r9d, dword [rbx + 0xc]
jne 0x140227242
mov eax, dword [rax + 0xc]
cmp dword [rbx + 0x3c], eax
jl 0x140227254
mov rax, qword [rbx]
mov rcx, rdi
mov r8d, dword [rax]
call fcn.14021cf24
mov qword [rbx + 0x50], rax
test ebp, ebp
je 0x140227263
mov rdx, rbx
mov rcx, rdi
call fcn.140226b8c
test byte [rbx + 8], 2
je 0x140227276
lea rax, [0x140226b08]
mov qword [rbx + 0x28], rax
jmp 0x140227293
mov rax, qword [rdi]
lea rcx, [0x1402264f8]
lea rdx, [0x140226958]
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 0x14022ee10
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 0x14022ee98
and dword [rax + 0x18], 0
lea rcx, str.PRAGMA__Q.page_size
call fcn.1401f152c
lea r8, [rsp + 0x50]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14022e0d8
mov edi, eax
test eax, eax
jne 0x14022ee84
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 0x14022eee1
mov dword [rbx + 0x20], edx
jmp 0x14022eee1
mov rcx, rsi
call fcn.1401f31a8
mov rdx, rax
lea rcx, [0x1403b1d80]
jmp 0x14022eed9
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.1401f152c
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call fcn.14022e0d8
mov edi, eax
test eax, eax
jne 0x14022ee84
cmp dword [rbx + 0x20], 0x1c0
jge 0x14022eee1
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.1401f152c
mov qword [r14], rax
mov rcx, rbp
call fcn.1401f1d34
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 0x14023e05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rcx]
xor r15d, r15d
movsxd rbp, edx
mov r10, r9
mov qword [rsp + 0x20], rsi
mov r12, rcx
test r9, r9
je 0x14023e0b9
xor r9d, r9d
xor r8d, r8d
mov rdx, r10
mov rcx, rsi
call fcn.140203668
mov r10, qword [rsp + 0x88]
mov rdi, rax
mov r8, qword [rsp + 0x80]
jmp 0x14023e0bc
mov rdi, r15
cmp byte [rsi + 0x67], r15b
jne 0x14023e28d
mov rax, qword [rdi + 0x20]
mov r14, r15
mov rbx, r15
mov rdx, qword [rax + 0x20]
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x70], rdx
mov r13, qword [rax + 0x20]
movzx eax, word [r8 + 0x3c]
cmp ebp, eax
jge 0x14023e212
lea rsi, [rbp*8]
mov rax, qword [r8 + 0x48]
mov rcx, qword [rsi + rax]
cmp qword [rcx], r10
jne 0x14023e1f7
movsxd r15, dword [rcx + 0x24]
shl r15, 5
mov rcx, qword [r15 + rdx - 0x18]
test rcx, rcx
je 0x14023e1f7
test r14, r14
jne 0x14023e138
mov rdx, rcx
mov rcx, qword [r12]
call fcn.14025731c
mov rdx, qword [rsp + 0x70]
mov r14, rax
jmp 0x14023e17c
movsxd rax, dword [r14]
lea r8d, [rax + 1]
cmp dword [r14 + 4], r8d
jge 0x14023e156
mov r8, rcx
mov rdx, r14
mov rcx, qword [r12]
call fcn.140257284
jmp 0x14023e12e
movups xmm0, xmmword [0x1403aa7e8]
shl rax, 5
movups xmm1, xmmword [0x1403aa7f8]
mov dword [r14], r8d
movups xmmword [rax + r14 + 8], xmm0
movups xmmword [rax + r14 + 0x18], xmm1
mov qword [rax + r14 + 8], rcx
and qword [r15 + rdx - 0x18], 0
mov rcx, qword [r15 + r13 - 0x18]
test rbx, rbx
jne 0x14023e19d
mov rdx, rcx
mov rcx, qword [r12]
call fcn.14025731c
mov rbx, rax
jmp 0x14023e1dc
movsxd rax, dword [rbx]
lea edx, [rax + 1]
cmp dword [rbx + 4], edx
jge 0x14023e1b9
mov r8, rcx
mov rdx, rbx
mov rcx, qword [r12]
call fcn.140257284
jmp 0x14023e198
movups xmm0, xmmword [0x1403aa7e8]
shl rax, 5
movups xmm1, xmmword [0x1403aa7f8]
mov dword [rbx], edx
movups xmmword [rax + rbx + 8], xmm0
movups xmmword [rax + rbx + 0x18], xmm1
mov qword [rax + rbx + 8], rcx
and qword [r15 + r13 - 0x18], 0
mov r10, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x80]
movzx eax, word [r8 + 0x3c]
inc ebp
add rsi, 8
cmp ebp, eax
jl 0x14023e0f6
mov rsi, qword [rsp + 0x20]
xor r15d, r15d
test rdx, rdx
je 0x14023e21f
mov rcx, rsi
call fcn.140203d98
test r13, r13
je 0x14023e22f
mov rdx, r13
mov rcx, rsi
call fcn.140203d98
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x20], rbx
mov rax, qword [rdi + 0x20]
mov qword [rax + 0x20], r14
test rbx, rbx
je 0x14023e266
cmp dword [rbx], 1
jne 0x14023e266
mov rbp, qword [rbx + 8]
mov qword [rbx + 8], r15
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x14023e262
mov rcx, rsi
call fcn.140256690
mov qword [rdi + 0x10], rbp
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + 0x48]
test rcx, rcx
je 0x14023e28d
mov edx, r15d
cmp dword [rcx], r15d
jle 0x14023e28d
lea rax, [rcx + 0x20]
mov word [rax], r15w
inc edx
lea rax, [rax + 0x20]
cmp edx, dword [rcx]
jl 0x14023e27f
mov rbx, qword [rsp + 0x78]
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14023ef1c
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.14026c168
test ebx, ebx
jne 0x14023ef85
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.14026c168
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 0x1402608e0
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 0x140260934
movzx r8d, byte [r11 + rbp]
lea edx, [r10*8]
xor r8d, edx
xor r10d, r8d
sub r11, 1
jns 0x14026091b
xor edx, edx
mov eax, r10d
div dword [rcx + 0x14]
mov rax, qword [rcx + 0x20]
mov rdi, qword [rax + rdx*8]
test rdi, rdi
je 0x1402609d7
mov eax, dword [rdi + 0x1c]
inc eax
cmp esi, eax
jne 0x140260969
mov r8, rsi
lea rcx, [rdi + 0x30]
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140260971
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14026094d
test rdi, rdi
je 0x1402609d7
lea r14d, [rsi + 0x31]
mov esi, dword [rdi + 0x18]
lea eax, [r15 + 0xa]
sub esi, r14d
add eax, esi
movsxd rcx, eax
call fcn.1401f1c2c
mov rcx, qword [rsp + 0x60]
mov rbp, rax
mov qword [rcx], rax
test rax, rax
je 0x1402609c9
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.1402203bc
lea ebx, [rsi + rax]
jmp 0x1402609df
mov rax, qword [rsp + 0x68]
mov dword [rax], ebx
mov eax, 7
jmp 0x1402609e8
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 0x1402652d0
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 0x1402653b8
lea eax, [rdi - 1]
mov r10d, 0xd
movsxd r9, eax
test eax, eax
js 0x140265331
movsx ecx, byte [r9 + r8]
lea eax, [r10*8]
xor ecx, eax
xor r10d, ecx
sub r9, 1
jns 0x140265319
lea esi, [r10*8]
mov eax, r10d
xor rsi, rdx
xor rsi, rax
and esi, 0x1ff
mov rbx, qword [r14 + rsi*8]
test rbx, rbx
je 0x14026537d
cmp dword [rbx + 0xc], r15d
jne 0x14026536e
cmp dword [rbx + 8], edi
jne 0x14026536e
mov rcx, qword [rbx]
mov r8, rdi
mov rdx, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140265374
mov rbx, qword [rbx + 0x10]
jmp 0x14026534c
mov dword [rbp], 1
jmp 0x1402653b8
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140261d5c
mov rbx, rax
test rax, rax
je 0x1402653b8
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

Function at 0x140265894
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 0x1402658c6
lea eax, [rcx - 0x41]
add ecx, 0x20
cmp eax, 0x19
cmova ecx, r8d
mov r8d, ecx
jmp 0x140265989
cmp r8d, 0x10000
jge 0x14026597a
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 + 0x3ac5b0]
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 0x1402658e9
movzx ecx, word [rsi + r11*4 + 0x3ac5b0]
movzx eax, byte [rsi + r11*4 + 0x3ac5b3]
add eax, ecx
cmp r8d, eax
jge 0x14026595d
movzx eax, byte [rsi + r11*4 + 0x3ac5b2]
xor ecx, r8d
and ecx, eax
test cl, 1
jne 0x14026595d
shr rax, 1
movzx eax, word [rsi + rax*2 + 0x3ac840]
add eax, r8d
movzx r8d, ax
test r10d, r10d
je 0x140265989
cmp r10d, 2
mov ecx, r8d
sete r9b
mov edx, r9d
call fcn.14022c850
mov r8d, eax
jmp 0x140265989
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x140265989
add r8d, 0x28
mov rbx, qword [rsp + 0x30]
mov eax, r8d
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140295500
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.14026bb14
mov rdi, rax
test rax, rax
jne 0x140295546
lea ebx, [rax + 7]
jmp 0x1402955d8
cmp byte [0x1403c8f04], bl
je 0x1402955a8
mov rax, qword [0x1403c9090]
test rax, rax
je 0x140295565
mov ecx, 0xc8
call rax
test eax, eax
jne 0x1402955a8
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, [0x140278958]
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 0x1402955bd
mov r8, r13
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
jmp 0x1402955bd
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 0x1402955d5
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 0x1402a11d8
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 0x1402a1226
mov r11, r9
xor edi, edi
mov al, byte [rdi + rdx]
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 0x1402a11f6
add dword [r10 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r10 + 0xc], r9d
ret

Function at 0x1402a53f4
Capabilities:
Parse pe header

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