joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048c7d
Capabilities:
Hash data using fnv

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

Function at 0x140048dcb
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.140048c52
test rbx, rbx
je 0x140048e04
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140048c7d
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140048c75
Function at 0x14007a842
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rdx, qword [0x14023e960]
test rdx, rdx
jne 0x14007a995
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14007a8bd
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007a8bd
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007a8bd
mov qword [rbp - 0x18], rax
xor eax, eax
mov qword [rbp - 0x10], rax
jmp 0x14007a94b
lea rcx, [0x1401bb858]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
test rax, rax
je 0x14007a9a8
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007a9a8
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007a9a8
mov r14, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14007a9a8
mov rdi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14007a9a8
mov qword [rbp - 0x10], r14
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
push 0x18
pop rcx
call fcn.140048bc9
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov rax, qword [rbp - 0x18]
mov qword [rdx + 0x10], rax
xor eax, eax
lock cmpxchg qword [0x14023e960], rdx
je 0x14007a995
mov rdi, rax
mov rcx, qword [rdx]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rdx + 0x10]
call fcn.14000bf5c
mov rcx, qword [rbp - 0x10]
call fcn.140065750
mov rdx, rdi
and qword [rsi + 8], 0
mov qword [rsi], rdx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.8_src_thread_parkerwindowsmod.rs
lea r8, [0x1401bb958]
push 0x5b
pop rdx
call fcn.14015df1b
ud2
Function at 0x1400a3cf4
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 + 0x98]
mov rcx, qword [rdx + 0x80]
mov rdx, qword [rdx + 0x90]
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.1400a3a56
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 + 0xc0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400a3dd2
test eax, eax
je 0x1400a3dee
cmp eax, 0x90317
je 0x1400a3e66
cmp eax, 0x90321
jne 0x1400a3e6e
mov dword [rdi + 0x40], 0x10000
xor ebx, ebx
mov byte [rdi + 0x44], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a3c8f
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400a3e7c
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a3e6a
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x80]
mov rdx, qword [rdi + 0x90]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x60]
and qword [rdi + 0x70], 0
call fcn.1400a3e86
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140028f3f
and qword [rdi + 0x78], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x98]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a3c8f
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a3e7c
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a3e7c
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 0x1400a4432
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, r8
mov qword [rbp - 0x10], rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.1400a42d1
mov rdi, rax
mov rbx, rdx
lea r14, [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
mov rcx, rdx
call fcn.1400a43a8
test rdx, rdx
mov rdx, qword [rbp - 0x10]
jne 0x1400a41ae
mov rcx, r14
call fcn.1400a275a
mov eax, dword [rbp - 0x28]
cmp eax, 2
je 0x1400a4245
test eax, eax
mov rdx, qword [rbp - 0x10]
je 0x1400a41ae
cmp qword [rdx + 0xf8], 0
je 0x1400a4192
mov rcx, r14
call fcn.1400a3ac2
cmp qword [rbp - 0x28], 0
jne 0x1400a4245
cmp qword [rbp - 0x20], 0
mov rdx, qword [rbp - 0x10]
je 0x1400a41ae
and qword [rdx + 0xf8], 0
mov rcx, r14
call fcn.1400a3cf4
cmp byte [rbp - 0x28], 0
jne 0x1400a4245
cmp byte [rbp - 0x27], 0
mov rdx, qword [rbp - 0x10]
je 0x1400a4135
mov rcx, rdx
call fcn.1400a43a8
mov r12, rax
mov r14, rdx
test rax, rax
je 0x1400a4249
cmp rbx, r14
mov r15, r14
cmovb r15, rbx
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.1400a3a78
mov rdi, rax
mov rbx, rdx
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.140073e05
mov r9, rdx
lea rcx, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400e6e7f
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx + 0x78]
add rax, r15
cmp rax, qword [rcx + 0x70]
ja 0x1400a4289
mov qword [rcx + 0x78], rax
mov rcx, rsi
mov rdx, r15
call fcn.1400a433e
xor r14d, r14d
mov rsi, qword [rbp - 0x10]
jmp 0x1400a4270
mov r14, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x10]
mov qword [rbp - 0x28], r14
mov rcx, r14
call fcn.140109384
cmp al, 0xd
jne 0x1400a4270
and qword [rsi + 0x38], 0
lea rcx, [rbp - 0x28]
call fcn.14005c926
push 1
pop rax
jmp 0x1400a4277
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, str.assertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
lea r8, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
push 0x3b
pop rdx
call fcn.14015cc80
ud2
cmp dword [rcx], 2
jne 0x1400a40f9
add rcx, 8
jmp fcn.140111b13
Function at 0x1400a610b
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 + 0x198]
mov rcx, qword [rdx + 0x180]
mov rdx, qword [rdx + 0x190]
lea r9, str.C:UsersUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rs
call fcn.1400a3a56
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 + 0x1c0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400a61ef
test eax, eax
je 0x1400a620e
cmp eax, 0x90317
je 0x1400a628f
cmp eax, 0x90321
jne 0x1400a6297
mov dword [rdi + 0x140], 0x10000
xor ebx, ebx
mov byte [rdi + 0x144], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400a60ab
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400a62a5
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a6293
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x180]
mov rdx, qword [rdi + 0x190]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x160]
and qword [rdi + 0x170], 0
call fcn.1400a3e86
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140028f3f
and qword [rdi + 0x178], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x198]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400a60ab
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a62a5
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a62a5
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 0x1400d574c
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, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rbx, rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x40]
push 0xb
pop r8
mov rdx, rax
call fcn.1400d55de
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
mov ecx, 0x800
call fcn.1400e6dd8
lea r15, [rbp - 0x28]
mov qword [r15], rax
mov qword [r15 + 8], rdx
and qword [r15 + 0x10], 0
mov rdi, qword [rbp - 0x40]
lea r13, [rbp - 4]
lea r12, [rbp - 8]
mov rsi, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov r14, qword [rbp - 0x28]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r12
call rsi
cmp eax, 0xea
jne 0x1400d57eb
mov edx, dword [rbp - 4]
mov rcx, r15
call fcn.140072b63
jmp 0x1400d57bb
test eax, eax
jne 0x1400d580a
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400d582b
movabs rax, 0xde00000002
jmp 0x1400d5812
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx], rax
mov byte [rcx + 0x18], 0xc
mov rdx, qword [rbp - 0x20]
mov rcx, r14
call fcn.1400739eb
jmp 0x1400d5841
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x10], rcx
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdx], xmm0
mov byte [rdx + 0x18], al
mov rdx, qword [rbp - 0x38]
mov rcx, rdi
call fcn.14010e08d
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e1c20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x1400e1c7b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400e1c7b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400e1c96
cmp eax, 0x42
jne 0x1400e1c7b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400e1d46
cmp byte [r9 + r11], 0x5f
jne 0x1400e1d46
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400e1dae
mov rcx, rsi
xor edx, edx
call fcn.1400dd4d0
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.1400dd4d0
test al, al
jne 0x1400e1e41
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e1cd2
lea rdx, [0x1401c2582]
mov r8d, 1
call fcn.140032790
test al, al
jne 0x1400e1e41
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400e1c8a
xor r14d, r14d
lea rbx, [0x1401c2966]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400e1d04
cmp byte [rax + rcx], 0x45
je 0x1400e1e63
sub r14, 1
jb 0x1400e1d29
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e1d29
mov r8d, 2
mov rdx, rbx
call fcn.140032790
test al, al
jne 0x1400e1e41
mov rcx, rsi
call fcn.1400e1e80
test al, al
jne 0x1400e1e41
mov rax, qword [rsi]
test rax, rax
jne 0x1400e1cf0
jmp 0x1400e1c8a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1400e1e08
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400e1da2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400e1d8c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400e1d7b
add dl, 0xa9
jmp 0x1400e1d8a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400e1e08
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400e1e08
movzx edx, bl
add rax, rdx
jae 0x1400e1d50
jmp 0x1400e1e08
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400e1e08
cmp rax, rcx
jae 0x1400e1e05
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400e1e5b
cmp qword [rsi + 0x20], 0
je 0x1400e1e6f
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.1400e1c20
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400e1c8c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400e1e49
lea rax, [0x1401c2931]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140032790
test al, al
je 0x1400e1e49
mov dil, 2
jmp 0x1400e1c8a
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400e1c8a
mov dil, 1
xor r8d, r8d
jmp 0x1400e1e0a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400e1c8a
xor edi, edi
jmp 0x1400e1c8a
Function at 0x1400e491b
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x30], 4
mov dword [rbp + 0x18], 0x400010
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x1400e4970
mov edx, dword [rcx + 0x28]
mov dword [rbp - 8], edx
mov qword [rbp], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400e49a1
mov rdx, qword [rcx + 0x40]
xor r8d, r8d
lea r9, [0x1401f21c0]
xor r10d, r10d
cmp rdx, r8
je 0x1400e499d
movzx r11d, byte [rax + r8]
or r10d, dword [r9 + r11*4]
inc r8
jmp 0x1400e498a
mov dword [rbp + 8], r10d
mov rbx, qword [rcx]
mov r14, qword [rcx + 0x10]
lea rsi, [r14*8]
test r14, r14
je 0x1400e49eb
xor edi, edi
mov rax, r14
shr rax, 0x3c
sete al
jne 0x1400e4abd
mov dil, al
shl rdi, 3
mov rcx, rdi
mov rdx, rsi
call fcn.140029dbc
test rax, rax
jne 0x1400e49ee
mov rcx, rdi
mov rdx, rsi
call fcn.14015c6e0
ud2
push 8
pop rax
xor edx, edx
test rsi, rsi
je 0x1400e4a06
mov rcx, qword [rbx + rdx*8]
mov qword [rax + rdx*8], rcx
inc rdx
add rsi, 0xfffffffffffffff8
jmp 0x1400e49f0
mov qword [rbp + 0x60], r14
lea rcx, [rbp - 0x30]
mov dword [rcx + 4], edx
mov qword [rbp + 0x58], rax
mov qword [rcx + 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
and qword [rsp + 0x40], 0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
push 2
pop r8
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
mov esi, eax
test eax, eax
je 0x1400e4a62
shl rsi, 0x20
or rsi, 2
push 1
pop rdi
mov rdx, qword [rbp + 0x60]
jmp 0x1400e4aa0
movaps xmm0, xmmword [rbp + 0x40]
push 1
pop rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
movups xmmword [rbp + 0x30], xmm0
push 8
pop rcx
push 0x20
pop rdx
xor r8d, r8d
call fcn.140029dc4
test rax, rax
mov rdx, qword [rbp + 0x60]
je 0x1400e4ac4
mov rsi, rax
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor edi, edi
mov rcx, qword [rbp + 0x58]
call fcn.14010f50a
mov rax, rdi
mov rdx, rsi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.140027d80
ud2
push 8
pop rcx
push 0x20
pop rdx
call fcn.14015c6e0
ud2

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

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400e51ed
mov rdx, qword [rsp + 0x20]
jmp 0x1400e51f5
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400e6eac
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 0x1400e6ed8
xor eax, eax
jmp 0x1400e6edd
call fcn.14002b863
nop
add rsp, 0x38
ret

Function at 0x1400e92e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1401c5780]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400e9324
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400e938a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400e93c1
test eax, eax
js 0x1400e939b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400e93b4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1401c57e0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400e7f20
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400e7fc0
mov ecx, 7
int 0x29
ud2
Function at 0x1400ec590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400ec5c0
test ecx, ecx
jne 0x1400ec610
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400ec5cc
test ecx, ecx
jne 0x1400ec610
mov rcx, rdi
call fcn.1400ec470
movzx eax, al
test bpl, bpl
jne 0x1400ec617
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400ec603.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400ec788]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400ec603.2
xor eax, eax
test bpl, bpl
je 0x1400ec5dc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400ec769
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400ec64a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400ec6c9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x1400ec690
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400ec6ab
inc rax
dec rdi
cmp rax, 1
jne 0x1400ec670
jmp 0x1400ec6c9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400ec6ab
cmp ebx, 0x5c
je 0x1400ec6ab
inc rax
dec rdi
cmp rax, 1
jne 0x1400ec690
jmp 0x1400ec6c9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400ec777
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400ec6f3
mov al, 9
cmp rdx, 2
je 0x1400ec6f7
cmp rdx, 1
jne 0x1400ec707
cmp byte [r8], 0x2e
jne 0x1400ec707
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400ec707
mov al, 0xa
jmp 0x1400ec707
cmp byte [r8], 0x2e
jne 0x1400ec707
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400ec603.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400ec603.2
mov ecx, 2
jmp case.0x1400ec603.2
lea r8, str.library_std_srcpath.rs
call fcn.14015cb80
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14015cb80
ud2
Function at 0x1400ecc40
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
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 - 0x58]
call fcn.1400e9e20
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x1400ecdc7
mov qword [rbp + 0x3c8], rsi
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x408], rax
mov qword [rbp + 0x3f0], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3f8], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x418], rax
xor edi, edi
xor ebx, ebx
xor r13d, r13d
cmp r8, 0x201
jae 0x1400ecd00
jmp 0x1400eccef
jae 0x1400ecdd9
cmp r8, 0x201
jae 0x1400ecd00
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x1400ecd58
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x1400ecd2f
lea rcx, [rbp + 0x3f0]
mov rdx, r13
call fcn.14015f130
mov rax, qword [rbp + 0x3f0]
mov qword [rbp + 0x418], rax
mov rdi, qword [rbp + 0x3f8]
mov eax, 0xffffffff
cmp rdi, rax
mov r13d, 0xffffffff
cmovb r13, rdi
mov qword [rbp + 0x400], r13
mov rbx, rdi
mov r12, qword [rbp + 0x418]
mov rsi, r13
mov r15, r13
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rbp + 0x410]
mov rdx, r12
mov r8d, r15d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x1400ecd88
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400ece0f
mov r8d, r14d
cmp r15, r8
jne 0x1400ecce0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400eceb2
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400eccef
jmp 0x1400ecd00
lea rcx, [rbp - 0x50]
call fcn.1400e7460
mov byte [rsi + 0x18], 2
jmp 0x1400ece7c
cmp rsi, r8
jb 0x1400ececc
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.1400eb140
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
jmp 0x1400ece2b
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3e8], 2
test rdi, rdi
mov rsi, qword [rbp + 0x3c8]
je 0x1400ece48
mov edx, 2
mov rcx, qword [rbp + 0x418]
call fcn.140027af0
cmp byte [rbp + 0x3e8], 2
jne 0x1400ece91
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.1400e7460
cmp qword [rbp + 0x408], 0
je 0x1400ece7c
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.140027af0
nop
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movaps xmm0, xmmword [rbp + 0x3d0]
movaps xmm1, xmmword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp qword [rbp + 0x408], 0
jne 0x1400ece6b
jmp 0x1400ece7c
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14015cc80
jmp 0x1400ecee1
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14015cc00
ud2