joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001e410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001e5c7
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001e4a6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001dd80
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001d390
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001e497
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140013080
mov dword [rbx + 0x80], 0
jmp 0x14001e5b3
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001c280
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002faa0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14002fad1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400ea188]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400ea198]
lea rdx, [rdi + rdi]
call fcn.14002d2c0
mov rax, qword [0x1400ea188]
lea r9, [rdi - 1]
mov qword [0x1400ea1b0], r9
mov qword [0x1400ea1b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14002fc44
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400ea198]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14002fb90
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14002fc05
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14002fbcd
mov r10, qword [rdx]
cmp r10, rax
je 0x14002fbc7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14002fc05
cmp r9, rdx
je 0x14002fbe1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14002fc19
cmp r9, rdx
jne 0x14002fbd2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x14002fc3f
mov r9, qword [0x1400ea1b0]
jmp 0x14002fb41
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14002fc05
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400460b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140046140
cmp r11, r10
ja 0x1400461b6
cmp r10, rdx
ja 0x1400461ca
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140046142
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140046120
jmp 0x1400461a4
ja 0x14004614a
mov r11, r10
cmp rax, r8
jne 0x1400460e4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140046180
mov rdi, r8
sub ecx, edx
jns 0x14004619b
jmp 0x1400461a6
cmp r8, rsi
je 0x1400461db
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400461a6
xor al, 1
cmp rdi, rsi
jne 0x140046160
jmp 0x1400461a6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140041300
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14003e430
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14003e7d0
ud2
Function at 0x14005dd00
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 0x14005dd36
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14005dd3e
mov esi, dword [rdx]
mov r9d, 4
jmp 0x14005dd43
xor r10d, r10d
jmp 0x14005ddf1
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14005dd66
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14005dd7d
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 0x14005dd9d
add r11, r8
jmp 0x14005dece
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14005de72
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop word cs:[rax + rax]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14005de20
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x14005de84
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x14005de8a
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14005deb0
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14005deca
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 0x140096f20
Capabilities:
Encrypt data using speck

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov qword [rsp + 0x1e8], rcx
mov rax, qword [rsp + 0x2c8]
mov rdi, qword [rsp + 0x2c0]
mov qword [rsp + 0x220], r9
mov qword [rdi + 0x10], 0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x58], rax
add r8, rdx
xorps xmm6, xmm6
movups xmmword [rsp + 0x12b], xmm6
mov byte [rsp + 0x13b], 0
movups xmmword [rsp + 0x15a], xmm6
movzx eax, word [rsp + 0x168]
mov word [rsp + 0xf6], ax
movups xmm0, xmmword [rsp + 0x158]
movups xmmword [rsp + 0xe6], xmm0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x70], 0
mov word [rsp + 0x74], 0
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x7c], 0
add dh, al
test byte [rax + rax*4], ah
add byte [rax], al
add byte [rax], al
Function at 0x1400d6670
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x20
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x1400d66f6
mov esi, eax
mov rcx, rbx
mov edx, 0x20
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x1400d66b0
xor edi, edi
jmp 0x1400d66f6
xor esi, 0x80000000
je 0x1400d66ac
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x1400d66df
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400d6701
mov rcx, rax
mov qword [0x14036c198], rax
mov r8d, 4
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400d6701
mov rdi, rax
mov dword [rax], esi
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov ecx, 4
mov edx, 4
call fcn.140004360
ud2

Function at 0x1400e0e00
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rdx + 0xc0]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x1400e0e58
mov rdx, rax
shl rdx, 0x20
or rdx, 2
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rdx
cmp eax, 0x8009030e
jne 0x1400e0eb1
lea rcx, [rsp + 0x48]
jmp 0x1400e0ec4
mov rbx, qword [rsp + 0x28]
mov r14, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x1400e0ece
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x1400e0e90
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400e0ea2
mov rcx, rax
mov qword [0x14036c198], rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapAlloc
mov r15, rax
test rax, rax
jne 0x1400e0ed4
mov ecx, 1
mov rdx, rdi
call fcn.140004360
ud2
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 2
call fcn.1400b4570
xor r15d, r15d
jmp 0x1400e0eea
mov r15d, 1
mov rcx, r15
mov rdx, r14
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 8], r15
mov qword [rsi], 1
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140117640
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x80
mov ecx, dword [0x140284ac0]
test ecx, ecx
je 0x1401177df
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 2
jb 0x140117671
mov rsi, rax
cmp qword [rax + 8], 0
jne 0x140117802
mov ecx, dword [0x140284ac0]
test ecx, ecx
je 0x140117812
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x1401177db
mov rsi, rax
test rax, rax
jne 0x140117737
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x1401176c7
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140117838
mov rcx, rax
mov qword [0x14036c198], rax
mov r8d, 0x60
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x140117838
mov rsi, rax
lea rax, [0x140284aa8]
mov qword [rsi], rax
mov qword [rsi + 8], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmm3, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x40], xmm3
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x50], xmm0
mov ecx, dword [0x140284ac0]
test ecx, ecx
je 0x140117825
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 [0x140307870]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [0x140307860]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [0x140307850]
movups xmmword [rsi + 0x30], xmm0
movups xmm0, xmmword [0x140307840]
movups xmmword [rsi + 0x20], xmm0
movups xmm0, xmmword [0x140307830]
movups xmmword [rsi + 0x10], xmm0
cmp qword [rsp + 0x20], 0
je 0x140117802
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x140117802
lea rcx, [rsp + 0x38]
test rax, rax
je 0x1401177f2
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x140117802
call fcn.1400f28b0
jmp 0x140117802
xor esi, esi
jmp 0x140117806
lea rcx, [0x140284aa8]
call fcn.140202220
mov ecx, eax
jmp 0x140117658
mov rax, qword [rsp + 0x38]
lock dec qword [rax]
jne 0x140117802
call fcn.1400f2790
add rsi, 0x10
mov rax, rsi
add rsp, 0x80
pop rsi
ret
lea rcx, [0x140284aa8]
call fcn.140202220
mov ecx, eax
jmp 0x140117681
lea rcx, [0x140284aa8]
call fcn.140202220
mov ecx, eax
jmp 0x14011772f
mov ecx, 8
mov edx, 0x60
call fcn.140004360
ud2
Function at 0x14011bc70
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 rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov r8d, 0xb
mov rdx, rax
call fcn.140168ef0
mov dword [rsp + 0x30], 0x800
mov dword [rsp + 0x34], 0
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x14011bcd7
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14011be05
mov rcx, rax
mov qword [0x14036c198], rax
mov r8d, 0x800
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x14011be05
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x800
mov qword [rsp + 0x48], 0
mov rbx, qword [rbx]
mov r14, qword [rsp + 0x50]
lea rbp, [rsp + 0x30]
lea r15, [rsp + 0x34]
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
sub r12, r13
nop word cs:[rax + rax]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14011bd70
mov r8d, dword [rsp + 0x30]
cmp r12, r8
jae 0x14011bd30
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.1400a4660
mov rdi, qword [rsp + 0x38]
jmp 0x14011bd19
test eax, eax
jne 0x14011bd92
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14011bde7
movabs rax, 0xde00000002
jmp 0x14011bd9a
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
cmp qword [rsp + 0x40], 0
je 0x14011bdba
mov rcx, qword [0x14036c198]
xor edx, edx
mov r8, rdi
call fcn.14027f164
cmp qword [rsp + 0x58], 0
je 0x14011bdd5
mov r8, qword [rsp + 0x50]
mov rcx, qword [0x14036c198]
xor edx, edx
call fcn.14027f164
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 + 0x58], 0
jne 0x14011bdc2
jmp 0x14011bdd5
mov ecx, 1
mov edx, 0x800
call fcn.140004360
ud2
Function at 0x1401581f0
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 0x1401582ad
mov rax, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
movabs r9, 0x6c7967656e657261
xor r9, rax
movabs r10, 0x7465646279746573
xor r10, rcx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
movups 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.14005dd00
test rdi, rdi
je 0x140158335
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x14015834e
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 0x140158446
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1401584c8
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140158453
mov r11, rax
mov r8, rcx
nop word [rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140158310
cmp r9, 8
jae 0x14015845c
jmp 0x1401584c8
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14005dd00
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 0x1401584c8
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x1401584c8
mov r8, rcx
cmp r9, 8
jb 0x1401584c8
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 0x140158460
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140168d10
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 0x140168d46
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x140168d4e
mov esi, dword [rdx]
mov r9d, 4
jmp 0x140168d53
xor r10d, r10d
jmp 0x140168e01
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140168d76
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140168d8d
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 0x140168dad
add r11, r8
jmp 0x140168ede
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140168e82
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop word cs:[rax + rax]
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140168e30
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140168e94
mov r9d, dword [rdx + r10]
mov r8d, 4
jmp 0x140168e9a
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140168ec0
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140168eda
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 0x14017eb50
Capabilities:
Get remote cert context via schannel

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
lea rcx, [rdx + 0x1c0]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
test eax, eax
je 0x14017eba8
mov rdx, rax
shl rdx, 0x20
or rdx, 2
mov qword [rsp + 0x40], 1
mov qword [rsp + 0x48], rdx
cmp eax, 0x8009030e
jne 0x14017ec01
lea rcx, [rsp + 0x48]
jmp 0x14017ec14
mov rbx, qword [rsp + 0x28]
mov r14, qword [rbx + 8]
mov edi, dword [rbx + 0x10]
test rdi, rdi
je 0x14017ec1e
movzx eax, byte [0x14036c240]
mov rcx, qword [0x14036c198]
test rcx, rcx
jne 0x14017ebe0
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14017ebf2
mov rcx, rax
mov qword [0x14036c198], rax
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapAlloc
mov r15, rax
test rax, rax
jne 0x14017ec24
mov ecx, 1
mov rdx, rdi
call fcn.140004360
ud2
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], 2
call fcn.1400b4570
xor r15d, r15d
jmp 0x14017ec3a
mov r15d, 1
mov rcx, r15
mov rdx, r14
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call sub.crypt32.dll_CertFreeCertificateContext
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 8], r15
mov qword [rsi], 1
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401b4eb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14003ddb0
cmp rax, rcx
je 0x1401b4ed5
cmp rdx, 4
jae 0x1401b4ed8
xor eax, eax
xor r8d, r8d
jmp 0x1401b4f70
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14028bc00]
movdqa xmm3, xmmword [0x14028bc10]
pxor xmm1, xmm1
nop dword [rax]
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 0x1401b4f00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1401b4f87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1401b4f70
ret