joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fc40
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 0x14000fcd0
cmp r11, r10
ja 0x14000fd46
cmp r10, rdx
ja 0x14000fd58
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000fcd2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000fcb0
jmp 0x14000fd34
ja 0x14000fcda
mov r11, r10
cmp rax, r8
jne 0x14000fc74
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 0x14000fd10
mov rdi, r8
sub ecx, edx
jns 0x14000fd2b
jmp 0x14000fd36
cmp r8, rsi
je 0x14000fd67
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000fd36
xor al, 1
cmp rdi, rsi
jne 0x14000fcf0
jmp 0x14000fd36
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.1400a8bd0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a88c0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400a8d40
int3

Function at 0x140012daf
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140012dd5
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x140012dbf
mov qword [rcx], rax
ret

Function at 0x140012f68
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.140012d84
test rbx, rbx
je 0x140012fa1
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140012daf
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140012da7
Function at 0x1400336c1
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x140117160]
test r14, r14
jne 0x1400337f8
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003372b
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003372b
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003372b
mov r15, rax
xor ebx, ebx
jmp 0x1400337b0
lea rcx, [0x1400d7828]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14003380c
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003380c
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003380c
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14003380c
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14003380c
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.140030f82
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x140117160], r14
je 0x1400337f8
mov rdi, rax
cmp qword [r14], 0
je 0x1400337e8
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.140007740
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x1400d7930]
mov edx, 0x5b
call fcn.1400a9c1f
int3
Function at 0x140036b26
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.advapi32.dll_SystemFunction036]
test r12, r12
je 0x140036bb6
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x140036b53
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x140036b53
and ebx, 0x7fffffff
je 0x140036bb6
mov al, byte [0x1401172e0]
mov edx, 4
xor ecx, ecx
call fcn.140090a70
test rax, rax
je 0x140036bc9
mov dword [rax], ebx
jmp 0x140036bb8
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1400a8570
int3

Function at 0x14003a0b5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6f8
mov r13, r8
mov r12, rdx
mov qword [rsp + 0x148], rcx
mov word [rax + rcx*2], fs
add dword [rax], eax
add byte [rax - 0x75], cl
xchg edx, eax
add byte [rax + rax], al
add byte [rax - 0x7d], cl
ret 0x4810
lea esi, [rsp + 0x1b0]
mov rcx, rsi
call fcn.14001230f
cmp qword [rsi], 0
jne 0x14003bc51
mov rcx, qword [rsp + 0x1b8]
mov dl, byte [rsp + 0x1c0]
mov rax, qword [rcx + 0x28]
or rax, qword [rcx + 0x38]
je 0x14003a11b
call fcn.140031368
jmp 0x14003a146
mov rsi, qword [rcx + 0x230]
call fcn.140031368
cmp rsi, 1
ja 0x14003a146
mov rdx, qword [r12 + 0x400]
add rdx, 0x10
lea rcx, [r12 + 0x3a0]
call fcn.14003fcbd
mov rax, qword [r12 + 0x378]
cmp rax, 2
add dh, byte [rbp + 7]
mov eax, 2
jmp 0x14003a1cd
lea rsi, [r12 + 0x378]
lea rdx, [r12 + 0x390]
test rax, rax
je 0x14003a194
mov rcx, qword [r12 + 0x380]
mov rax, qword [r12 + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x14003a1a4
mov rcx, qword [r12 + 0x380]
mov rax, qword [r12 + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1b0]
mov rcx, r15
mov rdx, rsi
call fcn.14009ff71
mov rax, qword [r15]
movups xmm0, xmmword [r15 + 8]
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rsp + 0x2f0], xmm0
mov rcx, qword [r12 + 0x398]
mov qword [rsp + 0x4b8], rax
movaps xmm0, xmmword [rsp + 0x2f0]
add byte [rdi], cl
adc dword [rsp + 0x4c0], eax
mov qword [rsp + 0x4d0], r14
mov qword [rsp + 0x4d8], rcx
cmp rax, 2
je 0x14003a218
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x4b8]
call fcn.14009ffed
mov qword [rsp + 0x608], 2
and qword [rsp + 0x628], 0
lea rax, [r12 + 0x48]
mov qword [rsp + 0x80], rax
lea rax, [r12 + 0x3a0]
mov qword [rsp + 0x198], rax
add byte [rax], al
mov rax, qword [rsp + 0x1b8]
mov cl, byte [rsp + 0x1c0]
mov word [rax + rax*8], fs
add dword [rax], eax
add byte [rbp + rcx*4 - 0x7c], cl
and al, 0xf0
add al, byte [rax]
add byte [rcx - 0x77], cl
add byte [rcx - 0x78], al
or byte [rax - 0x73], cl
add eax, 0x9df92
Function at 0x140065694
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, [0x1400dd2d8]
call fcn.140065437
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 qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400657e3
test eax, eax
je 0x140065770
cmp eax, 0x90317
je 0x1400657dd
cmp eax, 0x90321
jne 0x140065801
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.14006563e
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x14006580f
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.140065823
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400a6e5b
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.14006563e
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x14006580f
mov byte [rsi + 1], 1
jmp 0x1400657fd
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 0x14006580f
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 0x140065abb
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, [0x1400dd2d8]
call fcn.140065437
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 qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x140065c2b
test eax, eax
je 0x140065ba3
cmp eax, 0x90317
je 0x140065c25
cmp eax, 0x90321
jne 0x140065c49
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.140065a5c
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140065c57
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.140065823
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400a6e5b
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.140065a5c
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140065c57
mov byte [rsi + 1], 1
jmp 0x140065c45
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 0x140065c57
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 0x140065c61
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140065c73
add rcx, 8
jmp fcn.14009a374
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.140065e07
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140065edb
test rdx, rdx
jne 0x140065d16
mov rcx, r15
mov rdx, rsi
call fcn.140064769
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140065daa
test eax, eax
je 0x140065d16
cmp qword [rsi + 0x110], 0
je 0x140065cf9
mov rcx, r15
mov rdx, rsi
call fcn.140065491
cmp qword [rsp + 0x28], 0
jne 0x140065daa
cmp qword [rsp + 0x30], 0
je 0x140065d16
and qword [rsi + 0x110], 0
mov rcx, r15
mov rdx, rsi
call fcn.140065694
cmp byte [rsp + 0x28], 0
jne 0x140065daa
cmp byte [rsp + 0x29], 0
je 0x140065c9f
mov rcx, rsi
call fcn.140065edb
mov r15, rdx
test rax, rax
je 0x140065daf
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x1400dcb28]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140065448
mov rbx, rax
mov r14, rdx
lea r9, [0x1400dcb40]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.140022eef
mov r9, rdx
lea rcx, [0x1400dcb58]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140011eb3
mov rax, qword [rsi + 0x58]
add rax, r12
cmp rax, qword [rsi + 0x50]
ja 0x140065dee
mov qword [rsi + 0x58], rax
mov rcx, rdi
mov rdx, r12
call fcn.140065e74
and qword [rsi + 0x38], 0
xor r15d, r15d
jmp 0x140065dd9
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.1400152f8
and qword [rsi + 0x38], 0
cmp al, 0xd
jne 0x140065dd9
lea rcx, [rsp + 0x28]
call fcn.140024b22
mov eax, 1
xor r15d, r15d
jmp 0x140065ddb
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400dcc96]
lea r8, [0x1400dccd8]
mov edx, 0x3b
call fcn.1400a88d0
int3

Function at 0x140069142
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push rbp
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
je 0x14006918e
cmp eax, 3
jne case.default.0x14006918c
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x140110634]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
adc byte [r8 - 0x77], cl
sbb byte [r8 - 0x7d], cl
invalid
and byte [rax], al
mov qword [rbx + 0x40], rax
xor edi, edi
jmp 0x1400691c2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.14.28_srcclientconnecthttp.rs
Function at 0x14007adfd
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 rdi, rdx
mov rsi, rcx
lea r15, [rsp + 0x58]
mov r8d, 0xb
mov rcx, r15
mov rdx, rax
call fcn.14007af40
lea r12, [rsp + 0x38]
mov dword [r12], 0x800
lea rbx, [rsp + 0x3c]
and dword [rbx], 0
mov ecx, 0x800
call fcn.140031010
lea r14, [rsp + 0x40]
mov qword [r14], rax
mov qword [r14 + 8], rdx
and qword [r14 + 0x10], 0
mov r15, qword [r15 + 8]
mov r13, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdx
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9, rbx
call r13
cmp eax, 0xea
jne 0x14007ae99
mov edx, dword [rsp + 0x38]
mov rcx, r14
call fcn.1400a0132
mov rdx, qword [rsp + 0x48]
jmp 0x14007ae66
test eax, eax
jne 0x14007aebb
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14007aee5
movabs rax, 0xde00000002
jmp 0x14007aec3
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
call fcn.140031079
jmp 0x14007aef9
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.140062485
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14007f8a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14000a620
cmp rax, rcx
je 0x14007f8c5
cmp rdx, 4
jae 0x14007f8c8
xor eax, eax
xor r8d, r8d
jmp 0x14007f960
xor eax, eax
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400ad660]
movdqa xmm3, xmmword [0x1400ad670]
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 0x14007f8f0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14007f977
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14007f960
ret
Function at 0x1400833bc
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x14008342a
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x98], rdx
cmp qword [rcx + 0x30], rax
je 0x140083465
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14008345c
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14010f460]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140083449
jmp 0x14008345e
xor edx, edx
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x1400834b7
mov rax, r15
shr rax, 0x3c
jne 0x140083579
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.140094924
test rax, rax
je 0x14008357e
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x1400834a2
mov eax, r15d
jmp 0x1400834be
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
ror byte [rdi], 0x11
and al, 0x28
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400e2373]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140083515
mov ebx, eax
shl rbx, 0x20
or rbx, 2
add al, byte [rcx - 0x42]
add dword [rax], eax
add byte [rax], al
jmp 0x14008354d
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.140094924
test rax, rax
je 0x14008358b
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov dword [rbx], eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x140083562
invalid
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14000228a
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
add esp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140007810
mov ecx, 8
mov rdx, rsi
call fcn.1400a8570
mov ecx, 8
mov edx, 0x20
call fcn.1400a8570
invalid
add r8b, byte [r8]
int3

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
lea eax, [rsp + 0x20]
and al, 0x20
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
ror byte [rdi], cl
xchg ebp, eax
invalid
jne case.0x1400602a8.361
invalid
mov rdx, qword [rsp + 0x20]
jmp case.0x14005f7c9.359
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x14008b3a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
in al, dx
and byte [rdi + rcx - 0x4a], al
cmp byte [rdi], cl
mov dh, 0x42
invalid
test al, al

Function at 0x14008c3d0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push rsi
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.1400881d0
mov rax, qword [rbp - 0x60]
movabs rdi, 0x8000000000000000
cmp rax, rdi
jne 0x14008c426
lea rcx, [rbp - 0x58]
call fcn.140087450
mov al, 0xff
dec dword [rax - 0x77]
notrack jmp 0x14008c668
mov qword [rbp + 0x3f8], rsi
mov qword [rbp + 0x3f0], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x400], rax
mov dword [rbp + 0x400], eax
mov qword [rbp + 0x408], 0
mov qword [rbp + 0x410], 2
mov qword [rbp + 0x418], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r14d, r14d
cmp r8, 0x201
jae 0x14008c4b0
jmp 0x14008c49f
jae 0x14008c576
cmp r8, 0x201
jae 0x14008c4b0
mov r15d, 0x200
lea r12, [rbp - 0x60]
mov r13, r8
jmp 0x14008c508
sub r8, r14
sub rbx, r14
cmp rbx, r8
cmp ebx, eax
jae case.0x140041e73.1041
lea rcx, [rbp + 0x408]
mov rdx, r14
call fcn.1400ab000
jmp 0x14008c4ca
add byte [rax - 0x75], cl
mov ebp, 0x408
mov rax, qword [rbp + 0x410]
test dword [rax], edx
add al, 0
add byte [rax - 0x77], cl
test eax, ebp
add eax, dword [rax]
invalid
mov eax, 0xffffffff
cmp rdi, rax
mov r14d, 0xffffffff
invalid
dec dword [rdi + rcx + 0x42]
test dword [rcx + rcx*4 - 0x4b], 0x418
mov rbx, rdi
mov r15, r14
mov r12, qword [rbp + 0x3e8]
mov r13, r14
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x400]
mov rdx, r12
mov edx, esp
mov r8d, r13d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x14008c537
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14008c5f6
mov r8d, esi
cmp r13, r8
jne 0x14008c490
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14008c67d
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x14008c49f
jmp 0x14008c4b0
cmp r15, r8
jb 0x14008c697
sbb byte [rcx], al
add byte [rax], al
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c8], rax
enter 3, 0
movabs rsi, 0x8000000000000000
mov qword [rbp + 0x3c0], rsi
add byte [rax - 0x7d], cl
mov ebp, 0x408
add al, 0
add byte [rax], al
je 0x14008c637
mov rcx, qword [rbp + 0x410]
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400a88d0
jmp 0x14008c6ac
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r15
cli
mov r8, rax
call fcn.1400a88c0
invalid
ud2