joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400dbfd5
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 rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x1400dc066
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 sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x1400dbff5
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x1400dbff5
xor ebx, 0x80000000
je 0x1400dc064
mov al, byte [0x140430330]
mov ecx, 4
mov edx, 4
call fcn.140077a60
test rax, rax
je 0x1400dc079
mov rsi, rax
mov dword [rax], ebx
jmp 0x1400dc066
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140099f80
int3
Function at 0x1400e591f
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1402de160]
test ecx, ecx
je 0x1400e5938
dec ecx
add rsp, 0x28
jmp fcn.1401e10b4
lea rcx, [0x1402de148]
call fcn.140196c20
mov ecx, eax
jmp 0x1400e592f

Function at 0x1400ef844
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r9
mov rsi, r8
mov r11, rdx
movabs rdi, 0x100000001b3
mov r15, qword [r9 + 8]
mov r8, qword [r9 + 0x10]
lea rdx, [r8*8]
movabs rax, 0xcbf29ce484222325
mov r9, r15
test rdx, rdx
je 0x1400ef8b8
movzx r10d, byte [r9 + 4]
xor rax, r10
imul rax, rdi
movzx r10d, byte [r9 + 5]
xor r10, rax
mov eax, dword [r9]
add r9, 8
imul r10, rdi
xor rax, r10
imul rax, rdi
add rdx, 0xfffffffffffffff8
jmp 0x1400ef887
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x1400efa1a
movabs r13, 0x8000000000000008
xor edx, edx
div r9
mov rdi, rdx
mov rax, qword [rsi + 8]
mov r12, rdx
shl r12, 5
movzx edx, word [rax + r12 + 0x1c]
cmp dx, word [rsi + 0x20]
jne 0x1400ef92e
cmp qword [rax + r12 + 0x10], r8
jne 0x1400ef92e
mov rbx, qword [rax + r12 + 8]
xor edx, edx
cmp r8, rdx
je 0x1400efa0d
mov r9b, byte [rbx + rdx*8 + 4]
cmp r9b, byte [r15 + rdx*8 + 4]
jne 0x1400ef92e
mov r9b, byte [rbx + rdx*8 + 5]
cmp r9b, byte [r15 + rdx*8 + 5]
jne 0x1400ef92e
mov r9d, dword [rbx + rdx*8]
lea r10, [rdx + 1]
cmp r9d, dword [r15 + rdx*8]
mov rdx, r10
je 0x1400ef8fc
mov qword [rsp + 0x28], r14
mov rbx, rcx
lea r13, [rsp + 0x30]
mov rcx, r13
mov rdx, r15
mov r14, r11
call fcn.1400efa42
lea rbp, [rsp + 0x48]
mov rcx, rbp
mov rdx, r14
mov r8, r13
movabs r14, 0x8000000000000008
call fcn.1400ee770
mov rax, qword [rbp]
cmp rax, r14
jne 0x1400ef9d1
mov rdx, qword [rsi + 0x10]
cmp rdx, rdi
jbe 0x1400efa32
mov edi, dword [rsp + 0x50]
movzx ebp, word [rsi + 0x20]
mov rsi, qword [rsi + 8]
mov rcx, qword [rsi + r12]
mov rdx, qword [rsi + r12 + 8]
call fcn.1400ee7ca
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + 0x10]
mov qword [rsi + r12 + 0x10], rax
movups xmm0, xmmword [rcx]
movups xmmword [rsi + r12], xmm0
mov dword [rsi + r12 + 0x18], edi
mov word [rsi + r12 + 0x1c], bp
mov dword [rbx + 8], edi
mov qword [rbx], r14
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x54]
mov edx, dword [rsi - 4]
lea rdi, [rbx + 0xc]
mov ecx, 0x1d
rep movsd dword [rdi], dword [rsi]
mov qword [rbx], rax
mov dword [rbx + 8], edx
mov r14, qword [rsp + 0x28]
mov rcx, qword [r14]
mov rdx, r15
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400ee7ca
mov eax, dword [rax + r12 + 0x18]
mov dword [rcx + 8], eax
mov qword [rcx], r13
jmp 0x1400ef9ef
lea rcx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zerothere_is_no_such_thing_as_a_release_load
lea r8, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_src_nfa_thompsonmap.rs
mov edx, 0x39
call fcn.14009e210
lea r8, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_regex_automata_0.4.7_src_nfa_thompsonmap.rs
mov rcx, rdi
call fcn.14009d480
int3
Function at 0x140173841
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, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.140173532
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 0x140173918
test eax, eax
je 0x140173934
cmp eax, 0x90317
je 0x1401739a0
cmp eax, 0x90321
jne 0x1401739a8
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.1401737eb
and qword [rdi + 0x110], 0
mov byte [rsi + 1], bl
jmp 0x1401739b6
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1401739a4
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.1401739ca
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1401d7233
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.1401737eb
xor eax, eax
cmp qword [rdi + 0x78], rbx
sete al
mov qword [rdi + 0x110], rax
mov byte [rsi + 1], 0
jmp 0x1401739b6
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1401739b6
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 0x140173a5c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], r8
mov rcx, r8
call fcn.140173cc8
mov r15, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea r12, [rsp + 0x92]
lea rbp, [rsp + 0x3a]
mov rsi, qword [r14 + 0x10]
mov r13, qword [r14 + 0x18]
mov eax, 0x7fffffff
cmp rdx, rax
cmovb rax, rdx
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 0x20]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x88]
mov qword [rsp + 0x28], rsi
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
xor r9d, r9d
call fcn.1401d2412
mov al, byte [rsp + 0x91]
cmp al, 3
je 0x140173c06
mov rdi, qword [rsp + 0x88]
cmp al, 2
je 0x140173c28
mov cl, byte [rsp + 0x90]
movzx edx, word [r12 + 4]
mov word [rbp + 4], dx
mov edx, dword [r12]
mov dword [rbp], edx
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], cl
mov byte [rsp + 0x39], al
cmp r13, 0xffffffffffffffff
je 0x140173c81
mov rcx, r13
mov rdx, r15
mov r8, qword [rsp + 0x50]
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
jne 0x140173c0d
call sub.ws2_32.dll_WSAGetLastError
cmp eax, 0x274a
je 0x140173c1b
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rdi
call fcn.1401715bb
cmp al, 0xd
jne 0x140173bd0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140173bd0
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x140173c8d
mov rsi, r13
mov r13, r14
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.1400d6ae7
mov r14, rax
xor ecx, ecx
call fcn.1400d50ca
test r14, r14
je 0x140173bc5
mov ecx, 1
mov rdx, rdi
call fcn.1400d6ca9
mov rdi, r14
mov r14, r13
mov r13, rsi
mov rsi, qword [rsp + 0x28]
mov rcx, rdi
call fcn.1401cc554
cmp al, 0xd
jne 0x140173c28
mov qword [rsp + 0x88], rdi
mov rcx, r14
lea rdx, [rsp + 0x30]
call fcn.1401d23af
lea rdi, [rsp + 0x88]
mov rcx, rdi
call fcn.1401cc4b9
jmp 0x140173ad3
mov ebx, 1
jmp 0x140173c2a
cdqe
test rax, rax
je 0x140173c1f
mov qword [rsp + 0x70], rax
jmp 0x140173c21
xor eax, eax
jmp 0x140173c21
jne 0x140173c8f
mov qword [rsp + 0x68], rax
xor edi, edi
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
test rbx, rbx
jne 0x140173c67
test rdi, rdi
jne 0x140173c67
lea rcx, [rsp + 0x58]
call fcn.1401591d8
mov rsi, rdx
lea rcx, [rsp + 0x78]
call fcn.140159236
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call fcn.140173ce2
xor edi, edi
mov rax, rbx
mov rdx, rdi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.1_srciopoll_evented.rs
call fcn.1400a17b0
ud2
lea rax, [0x1403bfdb8]
lea rcx, [rsp + 0x88]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str._rustc_d5fd0997291ca0135401a39dff25c8a9c13b8961librarycore_src_sync_atomic.rsthere_is_no_such_thing_as_an_acquire_store
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.38.1_srciopoll_evented.rs
call fcn.14009d3a0
int3
Function at 0x140173fda
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, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
call fcn.140173532
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 0x1401740bd
test eax, eax
je 0x1401740dc
cmp eax, 0x90317
je 0x14017415d
cmp eax, 0x90321
jne 0x140174165
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.140173f7b
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x140174173
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140174161
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.1401739ca
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.1401d7233
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.140173f7b
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x140174173
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140174173
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 0x14017417d
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x14017418f
add rcx, 8
jmp fcn.140173a5c
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rcx, r8
call fcn.140173cc8
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rdi + 0x38], rbx
call fcn.14017437e
mov r14, rax
mov r15, rdx
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14017441e
test rdx, rdx
jne 0x14017424d
mov rcx, rbx
mov rdx, rdi
call fcn.14017282f
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x1401742e1
test eax, eax
je 0x14017424d
cmp qword [rdi + 0x110], 0
je 0x140174230
mov rcx, rbx
mov rdx, rdi
call fcn.14017359d
cmp qword [rsp + 0x28], 0
jne 0x1401742e1
cmp qword [rsp + 0x30], 0
je 0x14017424d
and qword [rdi + 0x110], 0
mov rcx, rbx
mov rdx, rdi
call fcn.140173841
cmp byte [rsp + 0x28], 0
jne 0x1401742e1
cmp byte [rsp + 0x29], 0
je 0x1401741d6
mov rcx, rdi
call fcn.14017441e
mov rbx, rdx
test rax, rax
je 0x1401742e6
mov r13, rax
cmp r15, rbx
mov r12, rbx
cmovb r12, r15
lea r9, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.140173554
mov r14, rax
mov r15, rdx
lea r9, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r13
mov rdx, rbx
mov r8, r12
call fcn.140080d07
mov r9, rdx
lea rcx, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.1400dbfa9
mov rax, qword [rdi + 0x58]
add rax, r12
cmp rax, qword [rdi + 0x50]
ja 0x140174365
mov qword [rdi + 0x58], rax
lea rcx, [rsp + 0x50]
mov rdx, r12
call fcn.1401743eb
xor ebx, ebx
jmp 0x14017430f
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rbx
mov rcx, rbx
call fcn.1401715bb
cmp al, 0xd
jne 0x14017430f
and qword [rdi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.1401486f9
mov edi, 1
xor eax, eax
jmp 0x140174318
and qword [rdi + 0x38], 0
mov al, 1
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
test al, al
je 0x14017434f
test rbx, rbx
jne 0x14017434f
lea rcx, [rsp + 0x50]
call fcn.1401591d8
mov rbx, rdx
lea rcx, [rsp + 0x40]
call fcn.140159236
mov rcx, rsi
mov rdx, rbx
call fcn.140173ce2
xor ebx, ebx
mov rax, rdi
mov rdx, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, str.C:UsersEFE.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov edx, 0x3b
call fcn.14009e210
int3
Function at 0x140177960
Capabilities:
Resolve function by parsing pe exports
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
mov rbx, rdx
movzx eax, byte [rdx + 0x388]
test eax, eax
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x68], rcx
je 0x1401779b1
cmp eax, 3
jne case.default.0x1401779af
mov r15, r8
lea r12, [rbx + 0x1f8]
movzx eax, byte [rbx + 0x288]
lea rcx, [0x1402e700c]
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
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
jmp 0x1401779e3
lea rcx, str._async_fn__resumed_after_completion
lea r8, [0x1403afb18]
Function at 0x140186150
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 r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov rcx, rdi
mov rdx, r8
mov r8, r9
call fcn.14018628b
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
mov ecx, 0x800
call fcn.140190163
mov rbx, rdx
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.ADVAPI32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1401861e8
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.1401d7207
mov rbx, qword [rsp + 0x48]
jmp 0x1401861b3
test eax, eax
jne 0x14018620a
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x140186232
movabs rax, 0xde00000002
jmp 0x140186212
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, rbx
call fcn.1401ddf18
jmp 0x140186246
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, rdi
call fcn.1401e09fb
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x14018c800
Capabilities:
Encode data using xor

Disassembly:
sub rdx, rcx
cmp rdx, 0x20
jb fcn.1400a3e80
jmp fcn.14009d8f0
Function at 0x14018d700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x14018d75b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14018d75b
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x14018d776
cmp eax, 0x42
jne 0x14018d75b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14018d826
cmp byte [r8 + r11], 0x5f
jne 0x14018d826
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14018d88e
mov rcx, rsi
xor edx, edx
call fcn.140189270
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.140189270
test al, al
jne 0x14018d921
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14018d7b2
lea rdx, [0x1403b6b9b]
mov r8d, 1
call fcn.14009def0
test al, al
jne 0x14018d921
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14018d76a
xor r14d, r14d
lea rbx, [0x1403b6f09]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14018d7e4
cmp byte [rax + rcx], 0x45
je 0x14018d943
sub r14, 1
jb 0x14018d809
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14018d809
mov r8d, 2
mov rdx, rbx
call fcn.14009def0
test al, al
jne 0x14018d921
mov rcx, rsi
call fcn.14018aa90
test al, al
jne 0x14018d921
mov rax, qword [rsi]
test rax, rax
jne 0x14018d7d0
jmp 0x14018d76a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x14018d8e8
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x14018d882
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14018d86c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14018d85b
add dl, 0xa9
jmp 0x14018d86a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14018d8e8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14018d8e8
movzx edx, bl
add rax, rdx
jae 0x14018d830
jmp 0x14018d8e8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14018d8e8
cmp rax, rcx
jae 0x14018d8e5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14018d93b
cmp qword [rsi + 0x20], 0
je 0x14018d934
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14018d700
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14018d76c
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14018d929
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x1403b6ee8]
test r9b, r9b
cmovne rdx, rax
call fcn.14009def0
test al, al
je 0x14018d929
mov dil, 2
jmp 0x14018d76a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14018d76a
mov dil, 1
xor r9d, r9d
jmp 0x14018d8ea
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14018d76a
Function at 0x14019071d
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
movabs rax, 0x8000000000000000
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
cmp qword [rcx + 0x18], rax
je 0x14019078b
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 0x1401907c6
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1401907bd
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1403e8e24]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1401907aa
jmp 0x1401907bf
xor edx, edx
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140190818
mov rax, r15
shr rax, 0x3c
jne 0x1401908d9
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.140019f08
test rax, rax
je 0x1401908de
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140190803
mov eax, r15d
jmp 0x14019081f
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
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1403b9e13]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x140190875
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x1401908ad
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.140019f08
test rax, rax
je 0x1401908eb
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x1401908c2
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.140020809
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.140099f40
mov ecx, 8
mov rdx, rsi
call fcn.140099f80
mov ecx, 8
mov edx, 0x20
call fcn.140099f80
int3

Function at 0x140190f55
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 0x140190f7e
mov rdx, qword [rsp + 0x20]
jmp 0x140190f86
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140195800
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14019582c
xor eax, eax
jmp 0x140195831
call fcn.1400d61bd
nop
add rsp, 0x38
ret