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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
call fcn.14003fd3b
cmp rax, 1
jbe 0x140053e57
mov rsi, rax
add rsi, 8
jmp 0x140053ecd
je 0x140053ecb
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi], xmm0
mov edx, 0x10
mov rcx, rsi
call sub.bcryptprimitives.dll_ProcessPrng
movaps xmm6, xmmword [rsi]
mov ecx, 0x18
mov edx, 8
call fcn.14010297c
mov rsi, rax
mov rbx, rax
lea rax, [0x1402131c0]
mov qword [rsi], rax
movups xmmword [rsi + 8], xmm6
call fcn.14003fd3b
mov rdi, rax
mov ecx, dword [0x1402131d8]
test ecx, ecx
je 0x140053edd
dec ecx
add rsi, 8
mov rdx, rbx
call fcn.14011c0fc
test rdi, rdi
je 0x140053ecd
mov edx, 8
mov rcx, rdi
call fcn.14003fef0
jmp 0x140053ecd
xor esi, esi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402131c0]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x140053eab
Function at 0x14006a6e5
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140213028]
test ecx, ecx
je 0x14006a6fe
dec ecx
add rsp, 0x28
jmp fcn.14011c0f4
lea rcx, [0x140213010]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x14006a6f5

Function at 0x14006a70e
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov r14, qword [0x1402de060]
test r14, r14
jne 0x14006a835
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14006a775
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006a775
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006a775
mov r15, rax
xor ebx, ebx
jmp 0x14006a7f6
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14006a849
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006a849
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006a849
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14006a849
mov rdi, rax
lea rcx, [rsp + 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14006a849
mov r15, qword [rsp + 0x20]
mov ecx, 0x18
call fcn.1400c64bd
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x1402de060], r14
je 0x14006a835
mov rdi, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 0x10]
call fcn.14006a8a4
mov rcx, r14
call fcn.14004543d
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.01__
lea rcx, [rsp + 0x20]
mov qword [rcx], rax
mov qword [rcx + 8], 1
mov qword [rcx + 0x10], 8
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str._home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.10_src_thread_parker_windows_mod.rs
call fcn.140032920
mov rsi, rax
mov rcx, r14
call fcn.14004543d
jmp 0x14006a896
mov rcx, rsi
call fcn.14011c5e0
call fcn.1400375d0
int3
Function at 0x14006d2bc
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x140213050]
test ecx, ecx
je 0x14006d2d5
dec ecx
add rsp, 0x28
jmp fcn.14011c0f4
lea rcx, [0x140213038]
call fcn.1400cb3c0
mov ecx, eax
jmp 0x14006d2cc

Function at 0x14006d307
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov r14d, 0x20
mov r15d, 0xffffffff
test r14, r14
je 0x14006d34b
cmp r14, r15
mov ebx, 0xffffffff
cmovb rbx, r14
mov rcx, rdi
mov edx, ebx
call sub.advapi32.dll_SystemFunction036
test al, al
je 0x14006d34f
sub r14, rbx
add rdi, rbx
jmp 0x14006d324
mov al, 5
jmp 0x14006d398
call sub.kernel32.dll_GetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov qword [rsp + 0x28], rdi
mov ecx, 8
mov edx, 8
call fcn.14000ac37
mov qword [rax], rdi
lea rcx, str.couldnt_generate_random_bytesNoTimerCoarseTimerNotMonotonicTinyVariantionsTooManyStuck_home_ellie_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rand_0.5.6_src_rngs_thread.rscould_not_initialize_thread_rng:
mov qword [rsi], rcx
mov qword [rsi + 8], 0x1e
mov qword [rsi + 0x10], rax
lea rax, fcn.14006b87e
mov qword [rsi + 0x18], rax
xor eax, eax
mov byte [rsi + 0x20], al
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14006e54d
Capabilities:
Encrypt data using hc-128 via wolfssl

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x1030
call fcn.14011bb50
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
lea rdx, [rcx + 0x1018]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.14006bc76
cmp qword [rbx], 0
je 0x14006e5b1
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rsp + 0x48]
cmp eax, 2
je 0x14006e5db
cmp eax, 5
je 0x14006e5d2
mov r8, qword [rdi + 0x1008]
mov rbx, r8
sar rbx, 8
test al, al
cmove rbx, r8
call fcn.14006d29c
jmp 0x14006e5e2
lea rdx, [rsp + 0x28]
mov rax, qword [rdi + 0x1008]
mov qword [rdi + 0x1010], rax
mov r8d, 0x1008
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov rbx, qword [rdi + 0x1008]
jmp 0x14006e5e2
call fcn.14006d29c
xor ebx, ebx
add rbx, 0xffffffffffffffc0
mov qword [rdi + 0x1010], rbx
mov rcx, rdi
mov rdx, rsi
add rsp, 0x1030
pop rbx
pop rdi
pop rsi
jmp fcn.14006d7cb
Function at 0x1400a6c81
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x78]
mov rcx, qword [rdx + 0x68]
mov rdx, qword [rdx + 0x70]
lea r9, [0x140258cf0]
call fcn.1400a6a48
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xf0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400a6dce
test eax, eax
je 0x1400a6d5c
cmp eax, 0x90317
je 0x1400a6dc8
cmp eax, 0x90321
jne 0x1400a6dec
mov dword [rdi + 0xd0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xd4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a6c2b
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1400a6dfa
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x40]
and qword [rdi + 0x50], 0
call fcn.1400a6e04
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14010e3ed
and qword [rdi + 0x58], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x78]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a6c2b
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1400a6dfa
mov byte [rsi + 1], 1
jmp 0x1400a6de8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400a6dfa
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a72c1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.1400a7194
mov r14, rax
mov r15, rdx
lea r12, [rsp + 0x30]
mov rcx, rsi
call fcn.1400a7265
test rdx, rdx
jne 0x1400a70af
mov rcx, r12
mov rdx, rsi
call fcn.1400a5c05
mov eax, dword [rsp + 0x30]
cmp eax, 2
je 0x1400a7116
test eax, eax
je 0x1400a70af
cmp qword [rsi + 0x110], 0
je 0x1400a7096
mov rcx, rsi
call fcn.1400a6a91
mov rbx, rdx
test rax, rax
jne 0x1400a7122
test rbx, rbx
je 0x1400a70af
and qword [rsi + 0x110], 0
mov rcx, r12
mov rdx, rsi
call fcn.1400a6c81
cmp byte [rsp + 0x30], 0
jne 0x1400a7116
cmp byte [rsp + 0x31], 0
je 0x1400a7042
mov rcx, rsi
call fcn.1400a7265
mov r12, rax
mov rbx, rdx
test rax, rax
je 0x1400a7122
cmp r15, rbx
cmovb rbx, r15
lea r9, [0x1402585c0]
mov rcx, rbx
mov rdx, r14
mov r8, r15
call fcn.140001590
lea rcx, [0x1402585d8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r12
mov r9, rbx
call fcn.1401178d9
mov rax, qword [rsi + 0x58]
add rax, rbx
cmp rax, qword [rsi + 0x50]
ja 0x1400a716a
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400a7201
jmp 0x1400a7150
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x1400a712c
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x1400a7150
mov rcx, rbx
call fcn.1400471aa
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x1400a7157
lea rcx, [rsp + 0x30]
call fcn.140072eed
mov eax, 1
xor ebx, ebx
jmp 0x1400a7159
and qword [rsi + 0x38], 0
xor ebx, ebx
xor eax, eax
mov rdx, rbx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1402586de]
lea r8, [0x140258720]
mov edx, 0x3b
call fcn.140033610
ud2
cmp dword [rcx], 2
jne 0x1400a7018
add rcx, 8
jmp fcn.140109ed4
Function at 0x1400a72d3
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.1400a5c05
mov eax, dword [rsp + 0x28]
cmp eax, 2
jne 0x1400a59d4
mov rdi, qword [rsp + 0x30]
jmp 0x1400a5b9d
test eax, eax
je 0x1400a5b56
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400a5b8d
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x1400a5a29
lea rcx, [rsi + 0x80]
mov rdx, rax
call fcn.1400a69e0
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, [0x140258d20]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400a6a31
lea rcx, [0x140258d38]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.1401178d9
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x140258d50]
mov r8, r12
call fcn.1400a6a48
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, [0x140258d68]
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.1400a6a31
mov r12, rax
mov rbp, rdx
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, [0x140258d80]
mov r8, r14
call fcn.1400a6a59
xor ecx, ecx
test r12, r12
cmove ebp, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov edi, eax
test eax, eax
je 0x1400a5b62
shl rdi, 0x20
or rdi, 2
jmp 0x1400a5b9d
movabs rdi, 0x8009031700000002
jmp 0x1400a5b9d
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x90], rax
jb 0x1400a5b7e
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], rbx
mov rcx, rsi
call fcn.1400a6922
test rax, rax
je 0x1400a5be7
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.1400471aa
and qword [rsi + 0x38], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x1400a5bd3
lea rcx, [rsp + 0x30]
call fcn.140072eed
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x118]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x1400a5bd3
cmp dword [rcx], 2
jne 0x1400a5994
add rcx, 8
jmp fcn.14010a187
Function at 0x1400a8a32
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x140258cf0]
call fcn.1400a6a48
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x1400a8ba0
test eax, eax
je 0x1400a8b19
cmp eax, 0x90317
je 0x1400a8b9a
cmp eax, 0x90321
jne 0x1400a8bbe
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a89d3
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400a8bcc
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.1400a6e04
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14010e3ed
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a89d3
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400a8bcc
mov byte [rsi + 1], 1
jmp 0x1400a8bba
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400a8bcc
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400b8657
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x58]
mov r8d, 0xb
mov rdx, rax
call fcn.1400b862a
mov dword [rsp + 0x38], 0x800
and dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x40]
mov edx, 0x800
call fcn.1400a0927
mov rsi, qword [rsp + 0x60]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x3c]
lea r12, [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400b86e7
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14010e3b0
jmp 0x1400b86b2
test eax, eax
jne 0x1400b8709
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x1400b8731
movabs rax, 0xde00000002
jmp 0x1400b8711
shl rax, 0x20
or rax, 2
mov qword [rdi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rdi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, r14
call fcn.1400c5fec
jmp 0x1400b8745
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
call fcn.1400f7235
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400c1310
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400c1335
cmp rax, rcx
je 0x1400c133b
cmp rdx, 4
jae 0x1400c1342
xor eax, eax
xor r8d, r8d
jmp 0x1400c13e0
pop rbp
jmp fcn.140032e30
xor eax, eax
jmp 0x1400c13f7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140219df0]
movdqa xmm3, xmmword [0x140219e00]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x1400c1370
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400c13f7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400c13e0
pop rbp
ret
Function at 0x1400c22d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x1400c2354
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400c2354
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x1400c236d
cmp eax, 0x42
jne 0x1400c2354
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x1400c249d
cmp byte [r10 + rsi], 0x5f
jne 0x1400c242c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x1400c249d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x1400c24f7
mov dil, 1
xor r9d, r9d
jmp 0x1400c249f
xor edx, edx
call fcn.1400bdde0
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1400bdde0
test al, al
jne 0x1400c24dd
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400c23ac
lea rdx, [0x14025b2fb]
mov r8d, 1
call fcn.140033310
mov rdx, rbx
test al, al
jne 0x1400c24dd
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x1400c2360
xor r14d, r14d
lea rdi, [0x140266490]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x1400c23e4
cmp byte [rax + rcx], 0x45
je 0x1400c2530
sub r14, 1
jb 0x1400c240c
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400c240c
mov r8d, 2
mov rdx, rdi
call fcn.140033310
mov rdx, rbx
test al, al
jne 0x1400c24dd
mov rcx, rdx
call case.0x1400accc4.190
test al, al
jne 0x1400c24dd
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x1400c23d0
jmp 0x1400c2360
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x1400c248d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x1400c246f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x1400c2461
add dl, 0xa9
jmp 0x1400c246d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x1400c249d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x1400c249d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x1400c249f
cmp rsi, r11
jb 0x1400c2440
jmp 0x1400c249f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400c232f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400c24e5
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for___::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14025b630]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140033310
mov rcx, rbx
test al, al
je 0x1400c24e5
mov sil, 2
jmp 0x1400c2360
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x1400c2360
cmp qword [rcx + 0x20], 0
je 0x1400c24f0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.1400c22d0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400c2362
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x1400c2360
Function at 0x1400c5524
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd0
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [rsp + 0x80], 4
mov dword [rsp + 0xc8], 0x400010
cmp qword [rcx + 0x18], rax
je 0x1400c5596
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0xa8], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0xb0], rdx
cmp qword [rcx + 0x30], rax
je 0x1400c55d1
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400c55c8
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14028d8cc]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400c55b5
jmp 0x1400c55ca
xor edx, edx
mov dword [rsp + 0xb8], edx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x1400c5628
lea rbx, [rsi*8]
mov rax, rsi
shr rax, 0x3c
jne 0x1400c56ee
mov r15, qword [rcx + 8]
mov r14d, 8
mov ecx, 8
mov rdx, rbx
call fcn.140072f82
test rax, rax
je 0x1400c56f1
mov rdi, rax
xor eax, eax
mov rcx, qword [r15 + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp rsi, rax
jne 0x1400c5614
mov eax, esi
jmp 0x1400c5631
xor esi, esi
mov edi, 8
xor eax, eax
lea rcx, [rsp + 0x80]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x14025e3a3]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test eax, eax
je 0x1400c568a
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1400c56ce
movaps xmm0, xmmword [rsp + 0x50]
mov eax, 1
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x70], xmm0
mov ecx, 8
mov edx, 0x20
call fcn.140072f82
test rax, rax
je 0x1400c56fc
mov rbx, rax
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor r14d, r14d
mov rcx, rsi
mov rdx, rdi
call fcn.1400af29d
mov rax, r14
mov rdx, rbx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
mov rcx, r14
mov rdx, rbx
call fcn.14002f670
lea r14, [rsp + 0x70]
mov ecx, 8
mov edx, 0x20
call fcn.14002f6d0
ud2

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call sub.secur32.dll_QueryContextAttributesW
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400c5e54
mov rdx, qword [rsp + 0x20]
jmp 0x1400c5e5c
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret