joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002ed00
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x14008e010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x140091a88]
mov r15d, r9d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test rax, rax
jne 0x14002ed4d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov qword [0x140091a88], rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [0x140091a88]
xor ebx, ebx
cmp dword [0x140091a6c], 1
sete bl
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
test ebx, ebx
jne 0x14002ed82
mov eax, 0xf0001000
jmp 0x14002ef21
test rdi, rdi
je 0x14002ef1c
test r14, r14
je 0x14002ef1c
test rbp, rbp
jne 0x14002eda2
test r15d, r15d
jne 0x14002ef1c
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14002d990
test eax, eax
je 0x14002ef1c
mov rax, qword [0x140091858]
mov ecx, 0x38
test rax, rax
je 0x14002eddd
mov r8d, 0x4fd
lea rdx, str.D:_buildagent_cd_8811workspace11934_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
call qword [0x140069610]
jmp 0x14002ede2
call fcn.14004c5b0
mov rbx, rax
test rax, rax
jne 0x14002edf4
mov eax, 0xf0001004
jmp 0x14002ef21
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov qword [rbx + 0x28], rax
mov rcx, rbx
test rax, rax
jne 0x14002ee45
mov rax, qword [0x140091850]
test rax, rax
je 0x14002ee36
mov r8d, 0x504
lea rdx, str.D:_buildagent_cd_8811workspace11934_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
call qword [0x140069610]
mov eax, 0xf000100a
jmp 0x14002ef21
call fcn.140044cd0
mov eax, 0xf000100a
jmp 0x14002ef21
mov qword [rsp + 0xb8], rsi
mov dword [rbx + 8], 1
mov qword [rbx + 0x30], 1
call fcn.14002d830
mov r8, rax
mov dword [rsp + 0x40], 6
mov rdx, rbx
lea rcx, str.Beihai_CreateSession__x__llx_n
mov rsi, rax
call fcn.14002d530
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x30]
mov r8, rbp
mov r9d, r15d
mov edx, 0x28
call fcn.14002dba0
mov r8d, dword [rbx + 0xc]
mov edi, eax
test eax, eax
jne 0x14002eea5
mov edi, r8d
mov rdx, rbx
lea rcx, str.Beihai_CreateSession__x_ret__x_n
call fcn.14002d530
mov rax, qword [0x140091850]
mov rcx, qword [rbx + 0x20]
test rax, rax
je 0x14002eed9
mov r8d, 0x517
lea rdx, str.D:_buildagent_cd_8811workspace11934_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
call qword [0x140069610]
jmp 0x14002eede
call fcn.140044cd0
mov qword [rbx + 0x20], 0
mov rdx, rsi
mov rcx, rbx
test edi, edi
jne 0x14002ef04
mov qword [r14], rsi
call fcn.14002d630
mov rsi, qword [rsp + 0xb8]
mov eax, edi
jmp 0x14002ef21
call fcn.14002d730
mov rsi, qword [rsp + 0xb8]
mov eax, edi
mov qword [r14], 0
jmp 0x14002ef21
mov eax, 0xf0001005
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140038b50
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret
Function at 0x140003c00
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 0x140003c96
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 [0x1401b4590]
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.140004a60
test rdi, rdi
je 0x140003d25
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140003d3e
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 0x140003e36
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140003eb8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140003e43
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 0x140003d00
cmp r9, 8
jae 0x140003e4c
jmp 0x140003eb8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140004a60
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 0x140003eb8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140003eb8
mov r8, rcx
cmp r9, 8
jb 0x140003eb8
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 0x140003e50
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140004a60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140004aa2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140004aaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140004abb
jmp 0x140004ad2
xor r10d, r10d
jmp 0x140004b5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140004ad2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140004ae9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140004b09
add r11, r8
jmp 0x140004c39
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140004bd2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140004b80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140004bef
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140004c00
jmp 0x140004c1b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x140004c1b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x140004c35
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400133b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
call fcn.140187e50
mov rsi, rax
cmp dword [rax], 1
jne 0x1400133e6
mov rax, rsi
add rax, 8
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
jmp 0x14001341a
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
call qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rax, rsi
add rax, 8
mov qword [rsi], 1
mov qword [rsi + 0x10], r14
lea rcx, [rbx + 1]
mov qword [rax], rcx
movabs r15, 0x736f6d6570736575
xor r15, rbx
movabs r12, 0x646f72616e646f6d
xor r12, r14
movabs r13, 0x6c7967656e657261
xor r13, rbx
movabs rbp, 0x7465646279746573
xor rbp, r14
mov esi, 1
lea rdi, [rsp + 0x50]
xorps xmm6, xmm6
nop word cs:[rax + rax]
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
movups xmmword [rdi], xmm6
mov qword [rdi + 0x10], 0
mov qword [rsp + 0x68], rsi
mov r8d, 8
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x68]
call fcn.140004a60
mov r9, qword [rsp + 0x50]
shl r9, 0x38
or r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
xor rdx, r9
mov rax, qword [rsp + 0x20]
add rax, r8
mov rcx, qword [rsp + 0x28]
rol r8, 0xd
add rcx, rdx
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
rol rax, 0x20
add rcx, r8
add rax, rdx
rol r8, 0x11
xor r8, rcx
rol rdx, 0x15
rol rcx, 0x20
xor rdx, rax
xor rax, r9
xor rcx, 0xff
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
rol rax, 0x20
xor rdx, rcx
add rcx, r8
rol r8, 0x11
add rax, rdx
xor r8, rcx
rol rdx, 0x15
xor rdx, rax
rol rcx, 0x20
add rax, r8
add rcx, rdx
rol r8, 0xd
xor r8, rax
rol rdx, 0x10
xor rdx, rcx
add rcx, r8
rol r8, 0x11
rol rdx, 0x15
mov rax, rcx
rol rax, 0x20
xor rax, r8
xor rax, rdx
inc rsi
cmp rax, rcx
je 0x140013470
xor rax, rcx
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140016ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x140016f10
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 0x140017032
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x140017041
cmp byte [rdx + 0x1a], 0
jne 0x140017068
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x140016f37
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x140016f66
cmp r8, r9
jae 0x140016f60
cmp byte [rax + r8], 0xbf
jg 0x140016f66
jmp 0x140017076
jne 0x140017076
cmp r8, r9
je 0x14001704b
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x140016fc0
test r11b, 1
jne 0x140017029
mov r11d, 1
cmp esi, 0x80
jb 0x140016f30
mov r11d, 2
cmp esi, 0x800
jb 0x140016f30
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x140016f30
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x140017007
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x14001701a
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x140016f86
jmp 0x140017029
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x140016f86
jmp 0x140017029
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x140016f86
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x140017055
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.1400161c0
jmp 0x14001706d
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x140017064
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x14001706a
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, [0x1401b64e8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.1401b3e90
int3
Function at 0x140067e30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x140067e44
xor eax, eax
jmp 0x14006806d
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
test byte [rcx], 1
je 0x140067e7f
lea rdx, [rcx + 8]
mov rax, qword [rcx + 0x58]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
je 0x140067fb6
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x140067fc5
cmp byte [rcx + 0x1a], 0
je 0x140067e9f
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x140068005
jmp 0x140068037
mov rax, qword [rcx + 8]
movzx edx, byte [rcx + 0x18]
jmp 0x140067eb7
add rax, r10
mov qword [rcx + 8], rax
mov r10d, edx
xor dl, 1
test rax, rax
je 0x140067ee6
cmp rax, r9
jae 0x140067ee0
cmp byte [r8 + rax], 0xbf
jg 0x140067ee6
jmp 0x140068075
jne 0x140068075
cmp rax, r9
je 0x140067fde
movzx ebx, byte [r8 + rax]
movzx r11d, bl
test r11b, r11b
jns 0x140067f60
mov esi, r11d
and esi, 0x1f
movzx edi, byte [r8 + rax + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x140067f4a
movzx r11d, byte [r8 + rax + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x140067fa2
movzx edi, byte [r8 + rax + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x140067f66
jmp 0x140067fae
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x140067fae
mov r10d, 1
cmp r11d, 0x80
jb 0x140067eb0
mov r10d, 2
cmp r11d, 0x800
jb 0x140067eb0
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x140067eb0
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x140067f66
mov byte [rcx + 0x18], dl
mov r9, rax
jmp 0x140067fe7
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
mov rsi, r8
call fcn.140065cb0
mov rcx, rdi
test byte [rsp + 0x38], 1
jne 0x140068005
jmp 0x140068037
mov byte [rcx + 0x18], dl
test r10b, 1
je 0x140068022
mov rsi, r8
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r9
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x140068037
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r9, qword [rcx + 0x68]
sub rdx, r9
mov rax, rsi
add rax, r9
mov qword [rcx + 0x68], r8
jmp 0x14006806d
mov rsi, r8
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x140068005
cmp byte [rcx + 0x79], 0
jne 0x140067e3d
mov byte [rcx + 0x79], 1
cmp byte [rcx + 0x78], 1
jne 0x140068055
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
jmp 0x140068066
mov rax, qword [rcx + 0x68]
mov rdx, qword [rcx + 0x70]
cmp rdx, rax
je 0x140067e3d
sub rdx, rax
add rax, qword [rcx + 0x48]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], dl
lea rcx, [0x1401bd6b0]
mov qword [rsp + 0x20], rcx
mov rcx, r8
mov rdx, r9
mov r8, rax
call fcn.1401b3e90
int3
Function at 0x14008a4a0
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 rbx, rdx
mov rsi, rcx
add r9, r8
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov word [rbp - 0x18], 0
mov dword [rbp - 0x10], 1
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x28]
call fcn.1400685f0
mov dword [rbp - 4], 0x800
mov dword [rbp - 8], 0
movzx eax, byte [0x1402aaf11]
mov ecx, 0x800
mov edx, 1
call fcn.140009a80
test rax, rax
je 0x14008a64d
mov r14, rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0x800
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0
mov rdi, qword [rbp - 0x48]
lea r12, [rbp - 4]
lea r15, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r13, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
sub r13, rax
nop dword [rax + rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rsi
cmp eax, 0xea
jne 0x14008a5aa
mov r8d, dword [rbp - 4]
cmp r13, r8
jae 0x14008a560
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rbp - 0x28]
mov rdx, qword [rbp - 0x38]
call fcn.1401abdc0
mov r14, qword [rbp - 0x20]
jmp 0x14008a549
test eax, eax
jne 0x14008a5cd
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
mov rdx, qword [rbp - 0x30]
jbe 0x14008a630
movabs rax, 0xde00000002
jmp 0x14008a5d9
shl rax, 0x20
or rax, 2
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdx], rax
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14008a601
mov r8d, 1
mov rcx, r14
call fcn.140009a90
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14008a61b
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140009a90
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 - 0x18]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x50]
test rdx, rdx
jne 0x14008a60a
jmp 0x14008a61b
mov ecx, 1
mov edx, 0x800
call fcn.1401b34a0
ud2
Function at 0x1400e4720
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 0x1400e4754
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 0x1401011a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
cmp dword [rcx], 2
jne 0x140101236
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
pshufd xmm2, xmm0, 0xee
pxor xmm2, xmmword [0x1401b4590]
movdqa xmmword [rsp + 0x30], xmm1
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rsi, qword [rdx]
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.140004a60
test rdi, rdi
je 0x1401012c5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1401012de
mov rcx, qword [rdx]
mov r8, qword [rcx]
xor edx, edx
test r8, r8
setne dl
movabs rax, 0xcbf29ce484222325
xor rax, rdx
movabs rdx, 0x1efac7090aef4a21
imul rax, rdx
test r8, r8
je 0x1401013d6
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140101458
mov rcx, qword [rcx + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1401013e3
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 0x1401012a0
cmp r9, 8
jae 0x1401013ec
jmp 0x140101458
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140004a60
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 0x140101458
movzx ecx, byte [rcx + 8]
xor rax, rcx
imul rax, rdx
jmp 0x140101458
mov r8, rcx
cmp r9, 8
jb 0x140101458
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 0x1401013f0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140104610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rsi, qword [rcx]
movups xmm0, xmmword [rcx + 8]
movups xmm1, xmmword [rcx + 0x18]
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x10], xmm0
mov r8, qword [rsi + 0x28]
cmp r8, 0x7fff
mov qword [rbp + 0x30], r8
jbe 0x14010468d
mov r9, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
add rdx, 0x18
mov rcx, rdx
mov rdx, rax
call qword [r9 + 0x20]
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x140104686
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x20]
call qword [rax + 0x20]
xor eax, eax
jmp 0x1401047df
lea rax, [rcx + 8]
movzx r14d, word [rcx + 0x30]
mov rdi, qword [rcx + 0x28]
movzx ebx, byte [rcx + 0x32]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
movups xmmword [rbp - 0x18], xmm0
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm1
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x20], rax
mov word [rbp + 8], r14w
mov qword [rbp - 0x58], 0
cmp r8, qword [rsi + 0x18]
jne 0x1401046e0
lea rcx, [rsi + 0x18]
call fcn.140007600
mov r8, qword [rsi + 0x20]
mov rcx, qword [rbp + 0x30]
imul rax, rcx, 0x68
movups xmm0, xmmword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x48]
movups xmm2, xmmword [rbp - 0x38]
movups xmm3, xmmword [rbp - 0x28]
movups xmm4, xmmword [rbp - 0x18]
movups xmm5, xmmword [rbp - 8]
mov rdx, qword [rbp + 8]
mov qword [r8 + rax + 0x60], rdx
movups xmmword [r8 + rax + 0x50], xmm5
movups xmmword [r8 + rax + 0x40], xmm4
movups xmmword [r8 + rax + 0x30], xmm3
movups xmmword [r8 + rax + 0x20], xmm2
movups xmmword [r8 + rax + 0x10], xmm1
movups xmmword [r8 + rax], xmm0
lea rdx, [rcx + 1]
mov qword [rsi + 0x28], rdx
mov r12, qword [rsi + 0x48]
mov r8, qword [rsi + 0x50]
xor r9d, r9d
xor edx, edx
mov r10d, ecx
cmp rdi, r8
cmovae rdi, r9
test r8, r8
je 0x1401047a0
nop word cs:[rax + rax]
movzx r11d, word [r12 + rdi*4]
cmp r11w, 0xffff
je 0x1401047a2
inc rdx
movzx r15d, word [r12 + rdi*4 + 2]
mov word [r12 + rdi*4], r10w
mov word [r12 + rdi*4 + 2], r14w
inc rdi
mov r14d, r15d
mov r10d, r11d
cmp rdi, r8
cmovae rdi, r9
test r8, r8
jne 0x140104760
nop word cs:[rax + rax]
jmp 0x1401047a0
xor bl, 1
mov word [r12 + rdi*4], r10w
mov word [r12 + rdi*4 + 2], r14w
cmp rdx, 0x80
setb dl
test dl, bl
jne 0x1401047cb
cmp qword [rsi], 0
jne 0x1401047cb
mov qword [rsi], 1
mov rdx, qword [rsi + 0x28]
cmp rcx, rdx
jae 0x1401047f1
mov rcx, qword [rsi + 0x20]
add rax, rcx
add rax, 0x18
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, [0x1401d7bc8]
call fcn.1401b38a0
int3