joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005d430
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d440
test al, 1
je 0x14005d526
test al, 2
jne 0x14005d526
test al, 8
jne 0x14005d47b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x20], 0xc
lea rdx, [rsp + 0x20]
call fcn.140097680
jmp 0x14005d499
test al, 0x10
je 0x14005d499
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x14005d526
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ff130
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005d526
jne 0x14005d51b
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005d4e1
mov rcx, rdi
call fcn.1400921b0
lea rcx, [rsi + 0x30]
call fcn.14005bf60
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x14005d500
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x1d8
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x1d8
pop rdi
pop rsi
ret
ud2

Function at 0x14005d530
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d550
test al, 1
je 0x14005d667
test al, 2
jne 0x14005d667
test al, 8
jne 0x14005d594
mov rdi, qword [rsi + 0x28]
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d5b4
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14005d5b7
test al, 0x10
je 0x14005d5d7
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14005d667
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x10]
jmp 0x14005d5d7
xorps xmm6, xmm6
lea rcx, [rsi + 0x30]
call fcn.14005a220
mov byte [rsi + 0xa8], 4
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d5d7
movups xmmword [rax + 0x20], xmm6
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400fee10
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005d667
jne 0x14005d65b
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005d61f
mov rcx, rdi
call fcn.140092b80
lea rcx, [rsi + 0x30]
call fcn.14005a220
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14005d63e
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
ud2
Function at 0x14005d670
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d690
test al, 1
je 0x14005d7a7
test al, 2
jne 0x14005d7a7
test al, 8
jne 0x14005d6d4
mov rdi, qword [rsi + 0x28]
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d6f4
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14005d6f7
test al, 0x10
je 0x14005d717
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14005d7a7
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x10]
jmp 0x14005d717
xorps xmm6, xmm6
lea rcx, [rsi + 0x30]
call fcn.14005a220
mov byte [rsi + 0xa8], 4
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d717
movups xmmword [rax + 0x20], xmm6
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ff130
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005d7a7
jne 0x14005d79b
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005d75f
mov rcx, rdi
call fcn.1400921b0
lea rcx, [rsi + 0x30]
call fcn.14005a220
mov rax, qword [rsi + 0xc0]
test rax, rax
je 0x14005d77e
mov rcx, qword [rsi + 0xc8]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
ud2

Function at 0x14005d7b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d7d0
test al, 1
je 0x14005d8e8
test al, 2
jne 0x14005d8e8
test al, 8
jne 0x14005d814
mov rdi, qword [rsi + 0x28]
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d834
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14005d837
test al, 0x10
je 0x14005d858
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x14005d8e8
mov rcx, qword [rsi + 0xf0]
call qword [rax + 0x10]
jmp 0x14005d858
xorps xmm6, xmm6
lea rcx, [rsi + 0x30]
call fcn.1400975c0
mov qword [rsi + 0x30], 3
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005d858
movups xmmword [rax + 0x20], xmm6
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400fee10
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005d8e8
jne 0x14005d8dc
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005d8a0
mov rcx, rdi
call fcn.140092b80
lea rcx, [rsi + 0x30]
call fcn.14005c800
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x14005d8bf
mov rcx, qword [rsi + 0xf0]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
ud2
Function at 0x14005d8f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [rcx]
nop dword [rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d900
test al, 1
je 0x14005d9d3
test al, 2
jne 0x14005d9d3
test al, 8
jne 0x14005d93a
lea rcx, [rsi + 0x20]
mov dword [rsp + 0x30], 0x3b9aca01
lea rdx, [rsp + 0x28]
call fcn.1400988b0
jmp 0x14005d952
test al, 0x10
je 0x14005d952
mov rax, qword [rsi + 0x70]
test rax, rax
je 0x14005d9d3
mov rcx, qword [rsi + 0x78]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ff130
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005d9d3
jne 0x14005d9cb
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005d99a
mov rcx, rdi
call fcn.1400921b0
lea rcx, [rsi + 0x30]
call fcn.14005a0a0
mov rax, qword [rsi + 0x70]
test rax, rax
je 0x14005d9b3
mov rcx, qword [rsi + 0x78]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x58
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x58
pop rdi
pop rsi
ret
ud2

Function at 0x14005d9e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005d9f0
test al, 1
je 0x14005dad6
test al, 2
jne 0x14005dad6
test al, 8
jne 0x14005da2b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x28], 4
lea rdx, [rsp + 0x28]
call fcn.140098640
jmp 0x14005da49
test al, 0x10
je 0x14005da49
mov rax, qword [rsi + 0x2e0]
test rax, rax
je 0x14005dad6
mov rcx, qword [rsi + 0x2e8]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ff130
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005dad6
jne 0x14005dacb
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005da91
mov rcx, rdi
call fcn.1400921b0
lea rcx, [rsi + 0x30]
call fcn.14005a500
mov rax, qword [rsi + 0x2e0]
test rax, rax
je 0x14005dab0
mov rcx, qword [rsi + 0x2e8]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x2c8
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x2c8
pop rdi
pop rsi
ret
ud2
Function at 0x14005dae0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005daf0
test al, 1
je 0x14005dbd6
test al, 2
jne 0x14005dbd6
test al, 8
jne 0x14005db2b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x20], 0xc
lea rdx, [rsp + 0x20]
call fcn.140097680
jmp 0x14005db49
test al, 0x10
je 0x14005db49
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x14005dbd6
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400fee10
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005dbd6
jne 0x14005dbcb
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005db91
mov rcx, rdi
call fcn.140092b80
lea rcx, [rsi + 0x30]
call fcn.14005bf60
mov rax, qword [rsi + 0x1f8]
test rax, rax
je 0x14005dbb0
mov rcx, qword [rsi + 0x200]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x1d8
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x1d8
pop rdi
pop rsi
ret
ud2

Function at 0x14005dbe0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rax, qword [rcx]
nop word cs:[rax + rax]
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005dc00
test al, 1
je 0x14005dd18
test al, 2
jne 0x14005dd18
test al, 8
jne 0x14005dc44
mov rdi, qword [rsi + 0x28]
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005dc64
movups xmm6, xmmword [rax + 0x20]
mov qword [rax + 0x20], 1
mov qword [rax + 0x28], rdi
jmp 0x14005dc67
test al, 0x10
je 0x14005dc88
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x14005dd18
mov rcx, qword [rsi + 0xf0]
call qword [rax + 0x10]
jmp 0x14005dc88
xorps xmm6, xmm6
lea rcx, [rsi + 0x30]
call fcn.1400975c0
mov qword [rsi + 0x30], 3
xor ecx, ecx
call fcn.140101510
test rax, rax
je 0x14005dc88
movups xmmword [rax + 0x20], xmm6
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400ff130
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005dd18
jne 0x14005dd0c
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005dcd0
mov rcx, rdi
call fcn.1400921b0
lea rcx, [rsi + 0x30]
call fcn.14005c800
mov rax, qword [rsi + 0xe8]
test rax, rax
je 0x14005dcef
mov rcx, qword [rsi + 0xf0]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
ud2
Function at 0x14005dd20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x2c8
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x14005dd30
test al, 1
je 0x14005de16
test al, 2
jne 0x14005de16
test al, 8
jne 0x14005dd6b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x28], 4
lea rdx, [rsp + 0x28]
call fcn.140098640
jmp 0x14005dd89
test al, 0x10
je 0x14005dd89
mov rax, qword [rsi + 0x2e0]
test rax, rax
je 0x14005de16
mov rcx, qword [rsi + 0x2e8]
call qword [rax + 0x10]
lea rdi, [rsi + 0x20]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1400fee10
cmp rax, 1
mov eax, 2
sbb rax, 0
mov rcx, rax
shl rcx, 6
neg rcx
lock xadd qword [rsi], rcx
shr rcx, 6
cmp rcx, rax
jb 0x14005de16
jne 0x14005de0b
mov rax, qword [rdi]
lock dec qword [rax]
jne 0x14005ddd1
mov rcx, rdi
call fcn.140092b80
lea rcx, [rsi + 0x30]
call fcn.14005a500
mov rax, qword [rsi + 0x2e0]
test rax, rax
je 0x14005ddf0
mov rcx, qword [rsi + 0x2e8]
call qword [rax + 0x18]
mov r8, qword [rsi - 8]
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x2c8
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x2c8
pop rdi
pop rsi
ret
ud2
Function at 0x140060020
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rax, qword [rdx + 0x178]
cmp rax, qword [rdx + 0x170]
ja 0x1400602db
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x168]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x70], rax
lea rcx, [rdx + 0x1f0]
lea rdx, [rsp + 0x68]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x140060192
cmp eax, 0x80090318
je 0x140060214
test eax, eax
jne 0x140060232
mov rax, qword [rsp + 0x40]
mov r14, qword [rdi + 0x168]
sub rax, r14
mov ebx, dword [rsp + 0x38]
mov rcx, rax
mov qword [rdi + 0x150], 0
add rcx, rbx
jb 0x1400602db
cmp rcx, qword [rdi + 0x170]
ja 0x1400602db
add r14, rax
xor r15d, r15d
cmp qword [rdi + 0x140], rbx
jb 0x1400602be
xor r12d, r12d
mov rcx, qword [rdi + 0x148]
add rcx, r12
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
add r12, rbx
cmp dword [rsp + 0x5c], 5
mov qword [rdi + 0x150], r12
cmove r15d, dword [rsp + 0x58]
mov qword [rdi + 0x158], 0
mov rax, qword [rdi + 0x178]
mov rdx, rax
sub rdx, r15
jb 0x1400602db
test r15, r15
je 0x140060260
mov rcx, qword [rdi + 0x170]
mov rbx, rcx
sub rbx, rdx
jb 0x1400602db
mov qword [rdi + 0x170], 0
cmp rax, r15
jne 0x140060242
cmp rcx, rdx
jne 0x140060259
jmp 0x140060260
cmp eax, 0x90317
je 0x14006022c
cmp eax, 0x90321
jne 0x140060232
xor r14d, r14d
cmp dword [rsp + 0x5c], 5
mov dword [rdi + 0x1d0], 0x10000
cmove r14d, dword [rsp + 0x58]
mov byte [rdi + 0x1d4], 0
mov rax, qword [rdi + 0x178]
mov rdx, rax
sub rdx, r14
jb 0x1400602db
test r14, r14
je 0x140060296
mov rcx, qword [rdi + 0x170]
mov rbx, rcx
sub rbx, rdx
jb 0x1400602db
mov qword [rdi + 0x170], 0
cmp rax, r14
jne 0x140060278
cmp rcx, rdx
jne 0x14006028f
jmp 0x140060296
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x210], rax
jmp 0x1400602a8
mov byte [rsi + 1], 1
jmp 0x1400602ac
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400602ae
cmp rcx, rdx
je 0x140060260
mov rcx, qword [rdi + 0x168]
add rdx, rcx
mov r8, rbx
call sub.msvcrt.dll_memmove
mov qword [rdi + 0x170], rbx
xor eax, eax
test r15d, r15d
sete al
mov qword [rdi + 0x178], r15
mov qword [rdi + 0x210], rax
jmp 0x1400602a8
cmp rcx, rdx
je 0x140060296
mov rcx, qword [rdi + 0x168]
add rdx, rcx
mov r8, rbx
call sub.msvcrt.dll_memmove
mov qword [rdi + 0x170], rbx
mov qword [rdi + 0x178], r14
mov qword [rdi + 0x210], 0
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 0x140]
xor edx, edx
mov r8, rbx
call fcn.14010eb20
mov r12, qword [rdi + 0x150]
jmp 0x14006010c
ud2
Function at 0x140061330
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rax, qword [rdx + 0x78]
cmp rax, qword [rdx + 0x70]
ja 0x140061594
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x68]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x70], rax
lea rcx, [rdx + 0xf0]
lea rdx, [rsp + 0x68]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x90316
jg 0x14006147b
cmp eax, 0x80090318
je 0x1400614e5
test eax, eax
jne 0x140061503
mov rax, qword [rsp + 0x40]
mov r14, qword [rdi + 0x68]
sub rax, r14
mov ebx, dword [rsp + 0x38]
mov rcx, rax
mov qword [rdi + 0x50], 0
add rcx, rbx
jb 0x140061594
cmp rcx, qword [rdi + 0x70]
ja 0x140061594
add r14, rax
xor r15d, r15d
cmp qword [rdi + 0x40], rbx
jb 0x14006157d
xor r12d, r12d
mov rcx, qword [rdi + 0x48]
add rcx, r12
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
add r12, rbx
cmp dword [rsp + 0x5c], 5
mov qword [rdi + 0x50], r12
cmove r15d, dword [rsp + 0x58]
mov qword [rdi + 0x58], 0
mov rax, qword [rdi + 0x78]
mov rdx, rax
sub rdx, r15
jb 0x140061594
test r15, r15
je 0x14006152b
mov rcx, qword [rdi + 0x70]
mov rbx, rcx
sub rbx, rdx
jb 0x140061594
mov qword [rdi + 0x70], 0
cmp rax, r15
jne 0x140061513
cmp rcx, rdx
jne 0x140061527
jmp 0x14006152b
cmp eax, 0x90317
je 0x1400614fd
cmp eax, 0x90321
jne 0x140061503
xor r14d, r14d
cmp dword [rsp + 0x5c], 5
mov dword [rdi + 0xd0], 0x10000
cmove r14d, dword [rsp + 0x58]
mov byte [rdi + 0xd4], 0
mov rax, qword [rdi + 0x78]
mov rdx, rax
sub rdx, r14
jb 0x140061594
test r14, r14
je 0x140061558
mov rcx, qword [rdi + 0x70]
mov rbx, rcx
sub rbx, rdx
jb 0x140061594
mov qword [rdi + 0x70], 0
cmp rax, r14
jne 0x140061540
cmp rcx, rdx
jne 0x140061554
jmp 0x140061558
cmp dword [rsp + 0x3c], 4
mov eax, 1
cmove eax, dword [rsp + 0x38]
mov qword [rdi + 0x110], rax
jmp 0x140061567
mov byte [rsi + 1], 1
jmp 0x14006156b
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14006156d
cmp rcx, rdx
je 0x14006152b
mov rcx, qword [rdi + 0x68]
add rdx, rcx
mov r8, rbx
call sub.msvcrt.dll_memmove
mov qword [rdi + 0x70], rbx
xor eax, eax
test r15d, r15d
sete al
mov qword [rdi + 0x78], r15
mov qword [rdi + 0x110], rax
jmp 0x140061567
cmp rcx, rdx
je 0x140061558
mov rcx, qword [rdi + 0x68]
add rdx, rcx
mov r8, rbx
call sub.msvcrt.dll_memmove
mov qword [rdi + 0x70], rbx
mov qword [rdi + 0x78], r14
mov qword [rdi + 0x110], 0
mov byte [rsi + 1], 0
xor eax, eax
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rdi + 0x40]
xor edx, edx
mov r8, rbx
call fcn.14010eb20
mov r12, qword [rdi + 0x50]
jmp 0x140061407
ud2
Function at 0x140065d70
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.1400b4f90
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x140065dd7
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140065f0f
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x800
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140065f0f
mov rbx, rax
mov qword [rsp + 0x38], 0x800
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x58]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x140065e70
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x140065e30
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.14010eb20
mov rbx, qword [rsp + 0x40]
jmp 0x140065e16
test eax, eax
jne 0x140065e92
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x140065ef1
movabs rax, 0xde00000002
jmp 0x140065e9a
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp qword [rsp + 0x38], 0
je 0x140065ec4
mov rcx, qword [0x140205100]
xor edx, edx
mov r8, rbx
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x50], 0
je 0x140065edf
mov r8, qword [rsp + 0x58]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
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 0x140065ecc
jmp 0x140065edf
ud2
Function at 0x14008a550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x14008a6ba
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x14008a581
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x14008a6ec
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x14008a6f2
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x14008a70f
mov rsi, rax
test rax, rax
jne 0x14008a616
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x14008a5d3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14008a730
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x60
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14008a730
mov rsi, rax
lea rax, [0x140194108]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov ecx, dword [0x140194120]
test ecx, ecx
je 0x14008a71d
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
mov rax, qword [rsi + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsi + 0x48]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movups xmm3, xmmword [rsi + 0x38]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 8], 1
movups xmm0, xmmword [0x1401cd950]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x1401cd940]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x1401cd930]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x1401cd920]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x1401cd910]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x14008a6ec
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x14008a6ec
lea rcx, [rsp + 0x38]
test rax, rax
je 0x14008a6dc
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x14008a6ec
call fcn.1400921b0
jmp 0x14008a6ec
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jae 0x14008a573
jmp 0x14008a581
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x14008a6ec
call fcn.140092b80
add rsi, 0x10
jmp 0x14008a711
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x14008a5a0
xor esi, esi
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x140194108]
call fcn.1400db390
mov ecx, eax
jmp 0x14008a60e
ud2