joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004fb20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14004fbb5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14004fc16
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400294e0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140063220
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14004fcd1
sub ecx, 1
je 0x14004fd44
sub ecx, 1
je 0x14004fc80
cmp ecx, 1
je 0x14004fc63
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14006e930]
call fcn.1400294e0
jmp 0x14004fd44
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14004f850
test eax, eax
je 0x14004fd44
jmp 0x14004fbea
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004fd44
sub rax, rsi
cmp rax, rbp
jae 0x14004fd44
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140029660
jmp 0x14004fd44
cmp r8d, 4
jle 0x14004fd44
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14004fd44
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140029400
mov esi, eax
test eax, eax
je 0x14004fd23
mov edx, 5
mov rcx, rbx
call fcn.140050810
mov eax, esi
jmp 0x14004fbea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.140038a70
mov rcx, r14
call fcn.140038d50
test eax, eax
je 0x14004fbe8
mov edx, 5
mov rcx, rbx
call fcn.140050810
mov eax, Ordinal_46
jmp 0x14004fbea
Function at 0x140062c20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140062c62
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x140062ca9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140062d02
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x140062cc0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140062d43
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14007414a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14007414b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140062d10
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140063c30
Capabilities:
Parse pe header

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

Function at 0x140001b18
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b62
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b62
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b62
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b62
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b62
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b64
xor al, al
add rsp, 0x28
ret
Function at 0x140001120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r10, qword [rdx + 0x20]
mov rdi, qword [rdx + 0x28]
lea rsi, [rdi + 1]
mov qword [rdx + 0x28], rsi
cmp rsi, r10
jae 0x140001300
mov byte [rsp + 0x2f], r8b
mov r8d, dword [rsp + 0xb0]
movabs rbx, 0x1999999999999998
lea ebp, [rdi + 1]
mov eax, ebp
sub eax, r10d
add rsi, qword [rdx + 0x18]
mov r15, rdi
sub r15, r10
inc r15
xor r14d, r14d
lea r12, [rbx + 1]
jmp 0x1400011a3
movzx r11d, r11b
lea r13, [rdi + r14]
add r13, 2
mov qword [rdx + 0x28], r13
lea r9, [r9 + r9*4]
lea r9, [r11 + r9*2]
inc r14
mov r11, r15
add r11, r14
je 0x140001207
movzx r13d, byte [rsi + r14]
lea r11d, [r13 - 0x30]
cmp r11b, 0xa
jae 0x1400011da
cmp r9, rbx
jbe 0x140001180
cmp r9, r12
jne 0x1400011c2
cmp r11b, 5
jbe 0x140001180
sub r8d, r14d
mov dword [rsp + 0x20], r8d
movzx r8d, byte [rsp + 0x2f]
call fcn.1401a3090
jmp 0x1400012d9
test r14d, r14d
je 0x1400012f9
mov eax, r8d
sub rax, r14
or r13d, 0x20
cmp r13d, 0x65
jne 0x140001213
mov dword [rsp + 0x20], eax
movzx r8d, byte [rsp + 0x2f]
call fcn.140001620
jmp 0x1400012d9
cmp ebp, r10d
je 0x140001310
add eax, r8d
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401aea00]
subpd xmm1, xmmword [0x1401aea10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x135
jb 0x140001290
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401aea20]
nop word cs:[rax + rax]
ucomisd xmm0, xmm1
jne 0x14000126c
jnp 0x1400012ee
test eax, eax
jns 0x140001339
divsd xmm0, xmm2
add eax, 0x134
mov r9d, eax
neg r9d
cmovs r9d, eax
cmp r9d, 0x134
ja 0x140001260
mov r8d, r9d
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + r8*8]
test eax, eax
js 0x1400012ea
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401aea30]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401aea40]
movzx eax, byte [rsp + 0x2f]
jae 0x140001339
test al, al
jne 0x1400012cf
xorpd xmm0, xmmword [0x1401aea50]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
divsd xmm0, xmm1
movzx eax, byte [rsp + 0x2f]
test al, al
je 0x1400012c7
jmp 0x1400012cf
lea rsi, [rdi + r14]
inc rsi
cmp rsi, r10
jae 0x140001310
mov qword [rsp + 0x30], 0xd
jmp 0x140001319
mov qword [rsp + 0x30], 5
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a2bb0
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400012d9
mov qword [rsp + 0x30], 0xe
lea rax, [rsp + 0x30]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3270
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x1400012d9
Function at 0x140001620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x140001660
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x140001655
cmp edi, 0x2d
jne 0x140001660
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x1400017f4
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x1400017ff
movzx r11d, r11b
cmp rbx, rsi
jae 0x1400016fd
add r10, 2
mov ebx, 1
sub rbx, rsi
jmp 0x1400016bc
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x1400016fd
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x1400016fd
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x1400016a0
cmp r11d, 0xccccccc
jne 0x1400016e8
cmp sil, 7
jbe 0x1400016a0
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401a31d0
jmp 0x1400017e1
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14000171a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14000172a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401aea00]
subpd xmm1, xmmword [0x1401aea10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14000179c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401aea20]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x140001778
jnp 0x1400017ca
test r10d, r10d
jns 0x140001828
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x134
ja 0x140001770
mov eax, eax
mov r9, qword [0x140294038]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x1400017e9
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x1401aea30]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x1401aea40]
jae 0x140001828
test r8b, r8b
jne 0x1400017d7
xorpd xmm0, xmmword [0x1401aea50]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x1400017cf
jmp 0x1400017d7
mov qword [rsp + 0x28], 5
jmp 0x140001808
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3270
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400017e1
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401a3270
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400017de
Function at 0x140045070
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm9
movdqa xmmword [rsp + 0xa0], xmm8
movdqa xmmword [rsp + 0x90], xmm7
movdqa xmmword [rsp + 0x80], xmm6
test rcx, rcx
je 0x1400450bb
mov r8, qword [rcx + 8]
cmp qword [rcx], 0
mov qword [rcx], 0
jne 0x14004524c
call fcn.14017bd10
cmp qword [rax], 0
je 0x1400450cc
add rax, 8
jmp 0x1400450d6
mov rcx, rax
xor edx, edx
call fcn.140001c60
movdqu xmm6, xmmword [rax]
inc qword [rax]
pshufd xmm7, xmm6, 0x44
pxor xmm7, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm8, xmm6, 0xee
pxor xmm8, xmmword [0x1401aea80]
mov ebx, 1
lea r14, [rsp + 0x60]
xorps xmm9, xmm9
lea rsi, [rsp + 0x30]
lea rdi, [rsp + 0x28]
nop word cs:[rax + rax]
movdqa xmmword [rsp + 0x30], xmm7
movdqa xmmword [rsp + 0x40], xmm8
movdqa xmmword [rsp + 0x50], xmm6
movaps xmmword [r14], xmm9
mov qword [r14 + 0x10], 0
mov qword [rsp + 0x28], rbx
mov r8d, 8
mov rcx, rsi
mov rdx, rdi
call fcn.14000ee50
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
rol rcx, 0x15
xor rax, r8
add rdx, rax
rol rax, 0x11
mov r8, rdx
rol r8, 0x20
xor r8, rax
xor r8, rcx
inc rbx
xor r8, rdx
je 0x140045120
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 8], 1
mov qword [rax + 0x10], r8
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140061e00
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 0x140061e96
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401aea80]
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.14000ee50
test rdi, rdi
je 0x140061f25
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140061f3e
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 0x140062036
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400620b8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140062043
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 0x140061f00
cmp r9, 8
jae 0x14006204c
jmp 0x1400620b8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000ee50
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x1400620b8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1400620b8
mov r8, rcx
cmp r9, 8
jb 0x1400620b8
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 0x140062050
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x1400a2660
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, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov r14, rdx
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x48]
mov r8d, 0xb
mov rdx, rax
call fcn.1400a22f0
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x140297081]
mov ecx, 0x800
mov edx, 1
call fcn.140017460
test rax, rax
je 0x1400a27ee
mov rbx, rax
mov qword [rbp - 0x20], 0x800
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], 0
mov rsi, qword [rbp - 0x40]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rdi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
sub r13, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call rdi
cmp eax, 0xea
jne 0x1400a274b
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x1400a2710
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp - 0x30]
call fcn.1401a3f40
mov rbx, qword [rbp - 0x18]
jmp 0x1400a26f6
test eax, eax
jne 0x1400a276e
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x28]
jbe 0x1400a27d1
movabs rax, 0xde00000002
jmp 0x1400a277a
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400a27a2
mov r8d, 1
mov rcx, rbx
call fcn.140017470
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x1400a27bc
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.140017470
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1400a27ab
jmp 0x1400a27bc
mov ecx, 1
mov edx, 0x800
call fcn.1401abfa0
ud2
Function at 0x1400ad090
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x178]
mov rdx, qword [rdx + 0x170]
cmp rcx, rdx
ja 0x1400ad33e
mov rax, qword [rdi + 0x168]
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], 1
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x68], rax
lea rcx, [rdi + 0x1f0]
lea rdx, [rsp + 0x60]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x90316
jg 0x1400ad204
cmp eax, 0x80090318
je 0x1400ad28a
add dword [rax], eax
invalid
test eax, eax
jne 0x1400ad277
mov rcx, qword [rsp + 0x38]
cmp eax, 0x90317
je 0x1400ad29b
mov word [rax], es
add byte [rax], al
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
jmp 0x1400ad300
mov byte [rsi + 1], 1
jmp 0x1400ad30b
lea r8, [0x1401bb8e0]
call fcn.1401ac690

Function at 0x1400b1f40
Capabilities:
Encrypt data using rc4 prga

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, r9
mov qword [rbp - 0x58], r8
mov qword [rbp - 0x50], rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r13, qword [rcx + 8]
lea r15, [r13 + 1]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400b2013
cmp rax, 1
jne 0x1400b1fa0
xor r8d, r8d
jmp 0x1400b1ff7
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1401aea90]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9]
por xmm1, xmm0
movdqa xmmword [rdx + r9], xmm1
lea r8, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdx + r9 + 0x10], xmm1
mov r9, r8
add rcx, 0xfffffffffffffffe
jne 0x1400b1fc0
test al, 1
je 0x1400b2013
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdx + r8]
por xmm0, xmmword [0x1401aea90]
movdqa xmmword [rdx + r8], xmm0
mov rbx, qword [rbp + 0x90]
cmp r15, 0x10
jae 0x1400b204b
lea rcx, [rdx + 0x10]
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
test r15, r15
jne 0x1400b2061
mov rcx, 0xffffffffffffffff
xor eax, eax
jmp 0x1400b2393
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rdx + r15], xmm0
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x20], rsi
mov rbx, rdi
and rbx, 0xffffffffffffffe0
mov r15, rdi
and r15, 0xfffffffffffffff8
lea rax, [rdi - 1]
mov qword [rbp - 0x38], rax
mov eax, 0x10
sub rax, rdi
Function at 0x1400dd9a0
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x20]
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400dd9d4
mov rdx, qword [rsp + 0x20]
mov al, cl
add rsp, 0x28
ret
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140134d00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rax, qword [rdx + rax*8]
movzx eax, byte [rax + 0x48]
test eax, eax
je 0x140134d30
cmp eax, 1
je 0x140134d66
xor eax, eax
jmp 0x140134e56
mov eax, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rdi, qword [rdx + rax*8]
lea rax, [rdi + 0x18]
lea rdx, [0x140134e60]
mov rsi, rcx
mov rcx, rax
call fcn.140189740
mov rcx, rsi
mov byte [rdi + 0x48], 1
movaps xmm0, xmmword [0x1401fc930]
mov al, 1
test rcx, rcx
je 0x140134da0
cmp qword [rcx], 0
mov qword [rcx], 0
je 0x140134da0
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x60], xmm1
movzx eax, byte [rcx + 0x28]
mov edx, dword [rcx + 0x2c]
mov dword [rsp + 0x2b], edx
mov ecx, dword [rcx + 0x29]
mov dword [rsp + 0x28], ecx
mov ecx, dword [0x140297248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x38]
movaps xmmword [rsp + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x28]
movaps xmmword [rsp + 0x40], xmm1
mov qword [rcx + 0x18], 1
movups xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x30], xmm0
mov byte [rcx + 0x40], al
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x2b]
mov dword [rcx + 0x44], edx
mov dword [rcx + 0x41], eax
cmp qword [rsp + 0x30], 0
je 0x140134e3c
mov rax, qword [rsp + 0x40]
cmp rax, 2
je 0x140134e3c
test rax, rax
je 0x140134e3c
mov rax, qword [rsp + 0x48]
lock dec qword [rax]
jne 0x140134e3c
lea rcx, [rsp + 0x48]
call fcn.14000c790
mov eax, dword [0x140297248]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x20]
add rsp, 0x78
pop rdi
pop rsi
ret