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

Disassembly:
xor ecx, ecx
jmp 0x14019caf0
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rcx
mov esi, dword [0x1401fe238]
test esi, esi
je 0x14019cbb9
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14019cbac
je 0x14019cbaa
test rdi, rdi
je 0x14019cb3b
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x14019cb57
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x14031a2c8]
mov edx, 0x18
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14019cbda
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14019cba5
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rdi
call fcn.1401fb9c4
mov rax, rsi
jmp 0x14019cbac
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401fe220]
call fcn.1401b4d10
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14019cb20
jmp 0x14019cbac
mov ecx, 8
mov edx, 0x18
call fcn.140033f80
int3
Function at 0x140152340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x140152380
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x1401524a7
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x1401524b6
cmp byte [rdx + 0x1a], 0
jne 0x1401524dd
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x1401523a7
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x1401523d6
cmp r8, r9
jae 0x1401523d0
cmp byte [rax + r8], 0xbf
jg 0x1401523d6
jmp 0x1401524eb
jne 0x1401524eb
cmp r8, r9
je 0x1401524c0
movzx esi, byte [rax + r8]
test sil, sil
js 0x140152430
test r11b, 1
jne 0x14015249e
mov r11d, 1
cmp esi, 0x80
jb 0x1401523a0
mov r11d, 2
cmp esi, 0x800
jb 0x1401523a0
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x1401523a0
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x14015247a
movzx ebx, byte [rax + r8 + 2]
shl ebp, 6
and ebx, 0x3f
or ebx, ebp
cmp sil, 0xf0
jb 0x14015248d
movzx esi, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl ebx, 6
and esi, 0x3f
or esi, ebx
or esi, edi
test r11b, 1
je 0x1401523f3
jmp 0x14015249e
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x1401523f3
jmp 0x14015249e
shl edi, 0xc
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x1401523f3
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x1401524ca
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.14014ed10
jmp 0x1401524e2
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x1401524d9
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x1401524df
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, str._redacted_
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.14005d870
int3
Function at 0x140155340
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14019c9c0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401fe280]
test esi, esi
je 0x14019ca8c
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14019cacf
je 0x14019ca88
movzx eax, byte [0x14031a2c8]
mov edx, 0x58
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14019cad7
movups xmm0, xmmword [0x1402dc628]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [0x1402dc618]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x1402dc608]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1402dc5f8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x1402dc5e8]
movups xmmword [rax], xmm0
mov dword [rax + 0x50], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14019cacc
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x14019cabb
mov rcx, rdi
add rcx, 0x10
test rax, rax
je 0x14019caad
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14019cabb
call fcn.140153a60
jmp 0x14019cabb
xor eax, eax
jmp 0x14019cacf
lea rcx, [0x1401fe268]
call fcn.1401b4d10
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14019c9e8
jmp 0x14019cacf
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14019cabb
call fcn.14008c560
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rdi
call fcn.1401fb9c4
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x58
call fcn.140033f80
int3
Function at 0x140171870
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
lea rcx, [rdx + 0x1f0]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1401718af
movabs r12, 0x8000000000000000
jmp 0x140171908
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x1401718e9
movzx eax, byte [0x14031a2c8]
xor ecx, ecx
mov rdx, rdi
call fcn.1401dbaa0
mov r14, rax
mov r12, rdi
test rax, rax
jne 0x1401718f2
mov ecx, 1
mov rdx, rdi
call fcn.140033f20
xor r12d, r12d
mov r14d, 1
mov rcx, r14
mov rdx, r15
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi], r12
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14019c9c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14019c9c0
push rsi
push rdi
push rbx
sub rsp, 0x20
mov esi, dword [0x1401fe280]
test esi, esi
je 0x14019ca8c
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14019cacf
je 0x14019ca88
movzx eax, byte [0x14031a2c8]
mov edx, 0x58
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14019cad7
movups xmm0, xmmword [0x1402dc628]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [0x1402dc618]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [0x1402dc608]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x1402dc5f8]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x1402dc5e8]
movups xmmword [rax], xmm0
mov dword [rax + 0x50], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14019cacc
mov rax, qword [rdi + 8]
cmp rax, 2
je 0x14019cabb
mov rcx, rdi
add rcx, 0x10
test rax, rax
je 0x14019caad
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14019cabb
call fcn.140153a60
jmp 0x14019cabb
xor eax, eax
jmp 0x14019cacf
lea rcx, [0x1401fe268]
call fcn.1401b4d10
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14019c9e8
jmp 0x14019cacf
mov rax, qword [rcx]
lock dec qword [rax]
jne 0x14019cabb
call fcn.14008c560
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rdi
call fcn.1401fb9c4
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 8
mov edx, 0x58
call fcn.140033f80
int3

Function at 0x14019caf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
xor ecx, ecx
jmp 0x14019caf0
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov rdi, rcx
mov esi, dword [0x1401fe238]
test esi, esi
je 0x14019cbb9
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x14019cbac
je 0x14019cbaa
test rdi, rdi
je 0x14019cb3b
movups xmm6, xmmword [rdi + 8]
test byte [rdi], 1
mov qword [rdi], 0
jne 0x14019cb57
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsp + 0x20]
movzx eax, byte [0x14031a2c8]
mov edx, 0x18
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14019cbda
movups xmmword [rax], xmm6
mov dword [rax + 0x10], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x14019cba5
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rdi
call fcn.1401fb9c4
mov rax, rsi
jmp 0x14019cbac
xor eax, eax
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401fe220]
call fcn.1401b4d10
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x14019cb20
jmp 0x14019cbac
mov ecx, 8
mov edx, 0x18
call fcn.140033f80
int3
Function at 0x14019fb60
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
lea rcx, [rdx + 0xf0]
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14019fb9f
movabs r12, 0x8000000000000000
jmp 0x14019fbf8
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x14019fbd9
movzx eax, byte [0x14031a2c8]
xor ecx, ecx
mov rdx, rdi
call fcn.1401dbaa0
mov r14, rax
mov r12, rdi
test rax, rax
jne 0x14019fbe2
mov ecx, 1
mov rdx, rdi
call fcn.140033f20
xor r12d, r12d
mov r14d, 1
mov rcx, r14
mov rdx, r15
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi], r12
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1401a01c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, qword [rcx]
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rsi, qword [rdi + 0x28]
cmp rsi, 0x7fff
jbe 0x1401a0227
lea rcx, [rdx + 0x18]
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov rdx, rax
call qword [r9 + 0x20]
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1401a0220
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x20]
xor eax, eax
jmp 0x1401a0339
lea r15, [rcx + 8]
movzx ebp, word [rcx + 0x30]
mov r14, qword [rcx + 0x28]
movzx ebx, byte [rcx + 0x32]
mov rax, qword [rdx + 0x20]
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
cmp rsi, qword [rdi + 0x18]
jne 0x1401a0260
lea rcx, [rdi + 0x18]
call fcn.14006eed0
mov rcx, qword [rdi + 0x20]
imul rax, rsi, 0x68
mov qword [rcx + rax], 0
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + rax + 0x18], xmm0
movups xmmword [rcx + rax + 0x28], xmm1
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax + 0x38], rdx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rcx + rax + 0x40], xmm0
movups xmmword [rcx + rax + 0x50], xmm1
mov word [rcx + rax + 0x60], bp
lea rcx, [rsi + 1]
mov qword [rdi + 0x28], rcx
mov rcx, qword [rdi + 0x48]
mov r8, qword [rdi + 0x50]
xor edx, edx
mov r9d, esi
nop dword [rax + rax]
mov r10, r14
mov r14d, 0
cmp r10, r8
jae 0x1401a02c0
movzx r11d, word [rcx + r10*4]
cmp r11w, 0xffff
je 0x1401a02fc
inc rdx
movzx r14d, word [rcx + r10*4 + 2]
mov word [rcx + r10*4], r9w
mov word [rcx + r10*4 + 2], bp
inc r10
mov ebp, r14d
mov r9d, r11d
mov r14, r10
jmp 0x1401a02c0
xor bl, 1
mov word [rcx + r10*4], r9w
mov word [rcx + r10*4 + 2], bp
cmp rdx, 0x80
setb cl
test cl, bl
jne 0x1401a0325
cmp qword [rdi], 0
jne 0x1401a0325
mov qword [rdi], 1
mov rdx, qword [rdi + 0x28]
cmp rsi, rdx
jae 0x1401a0346
mov rcx, qword [rdi + 0x20]
add rax, rcx
add rax, 0x18
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str._redacted_
mov rcx, rsi
call fcn.140056860
int3
Function at 0x1401a0360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1401a03f6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetuespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140206480]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400871b0
test rdi, rdi
je 0x1401a0485
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401a049e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1401a0596
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1401a0618
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401a05a3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1401a0460
cmp r9, 8
jae 0x1401a05ac
jmp 0x1401a0618
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400871b0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1401a0618
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1401a0618
mov r8, rcx
cmp r9, 8
jb 0x1401a0618
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1401a05b0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1401a0630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1401a06c6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140206490]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1402064a0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400871b0
test rdi, rdi
je 0x1401a0755
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401a076e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1401a0866
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1401a08e8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401a0873
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x1401a0730
cmp r9, 8
jae 0x1401a087c
jmp 0x1401a08e8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.1400871b0
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1401a08e8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1401a08e8
mov r8, rcx
cmp r9, 8
jb 0x1401a08e8
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1401a0880
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1401a5ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.14019de60
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x14031a2c8]
mov edx, 0x800
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x1401a5d20
mov r15, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r14, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
mov r9, r14
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1401a5c7f
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x1401a5c30
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.1401fa9a0
mov r15, qword [rsp + 0x40]
jmp 0x1401a5c21
test eax, eax
jne 0x1401a5ca1
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x1401a5d02
movabs rax, 0xde00000002
jmp 0x1401a5ca9
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x1401a5cd5
mov r8, qword [rsp + 0x40]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
cmp qword [rsp + 0x50], 0
je 0x1401a5cf0
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x14031a288]
xor edx, edx
call fcn.1401fb9c4
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
cmp qword [rsp + 0x50], 0
jne 0x1401a5cdd
jmp 0x1401a5cf0
mov ecx, 1
mov edx, 0x800
call fcn.140033f20
int3

Function at 0x1401addb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1401addd5
cmp rax, rcx
je 0x1401adddb
cmp rdx, 4
jae 0x1401adddf
xor eax, eax
xor r8d, r8d
jmp 0x1401ade70
pop rbp
jmp fcn.140056c80
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140206820]
movdqa xmm3, xmmword [0x140206830]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x1401ade00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1401ade87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1401ade70
pop rbp
ret
Function at 0x1401b3940
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402daf60]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x1401b39af
mov rcx, rsi
mov edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [rbp]
cmp eax, 0x103
je 0x1401b39db
test eax, eax
js 0x1401b39bb
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x1401b39d1
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1402dafc8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1401b3110
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.1401b3250
mov ecx, 7
int 0x29
ud2

Function at 0x1401b4a70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rdi, rcx
mov esi, dword [0x1401fe1e8]
test esi, esi
je 0x1401b4b19
dec esi
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x1401b4b10
je 0x1401b4ab9
test rdi, rdi
je 0x1401b4abd
mov rbx, qword [rdi]
mov qword [rdi], 0
test rbx, rbx
je 0x1401b4abf
mov rbx, qword [rdi + 8]
jmp 0x1401b4abf
xor eax, eax
jmp 0x1401b4b10
xor ebx, ebx
movzx eax, byte [0x14031a2c8]
mov edx, 0x10
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x1401b4b3a
mov qword [rax], rbx
mov dword [rax + 8], esi
mov ecx, esi
mov rbx, rax
call sub.kernel32.dll_TlsGetValue
mov rdi, rax
mov ecx, esi
mov rsi, rbx
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test rdi, rdi
je 0x1401b4b0d
mov rcx, qword [0x14031a288]
xor edx, edx
mov r8, rdi
call fcn.1401fb9c4
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.Pe_
call fcn.1401b4d10
mov esi, eax
mov ecx, esi
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1401b4a9d
jmp 0x1401b4b10
mov ecx, 8
mov edx, 0x10
call fcn.140033f80
int3