joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a0850
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.1400a05b2
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 0x1400a092e
test eax, eax
je 0x1400a094a
cmp eax, 0x90317
je 0x1400a09c2
cmp eax, 0x90321
jne 0x1400a09ca
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.1400a07eb
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400a09d8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a09c6
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.1400a09e2
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140025a4f
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.1400a07eb
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400a09d8
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a09d8
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 0x1400a0f8e
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.1400a0e2d
mov rdi, rax
mov rbx, rdx
lea r14, [rbp - 0x28]
mov rdx, qword [rbp - 0x10]
mov rcx, rdx
call fcn.1400a0f04
test rdx, rdx
mov rdx, qword [rbp - 0x10]
jne 0x1400a0d0a
mov rcx, r14
call fcn.14009f2b6
mov eax, dword [rbp - 0x28]
cmp eax, 2
je 0x1400a0da1
test eax, eax
mov rdx, qword [rbp - 0x10]
je 0x1400a0d0a
cmp qword [rdx + 0xf8], 0
je 0x1400a0cee
mov rcx, r14
call fcn.1400a061e
cmp qword [rbp - 0x28], 0
jne 0x1400a0da1
cmp qword [rbp - 0x20], 0
mov rdx, qword [rbp - 0x10]
je 0x1400a0d0a
and qword [rdx + 0xf8], 0
mov rcx, r14
call fcn.1400a0850
cmp byte [rbp - 0x28], 0
jne 0x1400a0da1
cmp byte [rbp - 0x27], 0
mov rdx, qword [rbp - 0x10]
je 0x1400a0c91
mov rcx, rdx
call fcn.1400a0f04
mov r12, rax
mov r14, rdx
test rax, rax
je 0x1400a0da5
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.1400a05d4
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.140070965
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.1400e39df
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx + 0x78]
add rax, r15
cmp rax, qword [rcx + 0x70]
ja 0x1400a0de5
mov qword [rcx + 0x78], rax
mov rcx, rsi
mov rdx, r15
call fcn.1400a0e9a
xor r14d, r14d
mov rsi, qword [rbp - 0x10]
jmp 0x1400a0dcc
mov r14, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x10]
mov qword [rbp - 0x28], r14
mov rcx, r14
call fcn.140105ee4
cmp al, 0xd
jne 0x1400a0dcc
and qword [rsi + 0x38], 0
lea rcx, [rbp - 0x28]
call fcn.140059486
push 1
pop rax
jmp 0x1400a0dd3
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.140159860
ud2
cmp dword [rcx], 2
jne 0x1400a0c55
add rcx, 8
jmp fcn.14010e6f3
Function at 0x1400a2c67
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.1400a05b2
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 0x1400a2d4b
test eax, eax
je 0x1400a2d6a
cmp eax, 0x90317
je 0x1400a2deb
cmp eax, 0x90321
jne 0x1400a2df3
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.1400a2c07
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x1400a2e01
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a2def
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.1400a09e2
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.140025a4f
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.1400a2c07
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x1400a2e01
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400a2e01
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 0x1400d22ac
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.1400d213e
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
mov ecx, 0x800
call fcn.1400e3938
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 0x1400d234b
mov edx, dword [rbp - 4]
mov rcx, r15
call fcn.14006f6c3
jmp 0x1400d231b
test eax, eax
jne 0x1400d236a
mov eax, dword [rbp - 4]
mov qword [rbp - 0x18], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400d238b
movabs rax, 0xde00000002
jmp 0x1400d2372
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.14007054b
jmp 0x1400d23a1
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.14010ac6d
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400de780
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 0x1400de7db
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400de7db
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400de7f6
cmp eax, 0x42
jne 0x1400de7db
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x1400de8a6
cmp byte [r9 + r11], 0x5f
jne 0x1400de8a6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400de90e
mov rcx, rsi
xor edx, edx
call fcn.1400da030
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.1400da030
test al, al
jne 0x1400de9a1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400de832
lea rdx, [0x1401bf282]
mov r8d, 1
call fcn.14002f2f0
test al, al
jne 0x1400de9a1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400de7ea
xor r14d, r14d
lea rbx, [0x1401bf666]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x1400de864
cmp byte [rax + rcx], 0x45
je 0x1400de9c3
sub r14, 1
jb 0x1400de889
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400de889
mov r8d, 2
mov rdx, rbx
call fcn.14002f2f0
test al, al
jne 0x1400de9a1
mov rcx, rsi
call fcn.1400de9e0
test al, al
jne 0x1400de9a1
mov rax, qword [rsi]
test rax, rax
jne 0x1400de850
jmp 0x1400de7ea
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x1400de968
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400de902
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400de8ec
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400de8db
add dl, 0xa9
jmp 0x1400de8ea
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x1400de968
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x1400de968
movzx edx, bl
add rax, rdx
jae 0x1400de8b0
jmp 0x1400de968
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x1400de968
cmp rax, rcx
jae 0x1400de965
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x1400de9bb
cmp qword [rsi + 0x20], 0
je 0x1400de9cf
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.1400de780
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400de7ec
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400de9a9
lea rax, [0x1401bf631]
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.14002f2f0
test al, al
je 0x1400de9a9
mov dil, 2
jmp 0x1400de7ea
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400de7ea
mov dil, 1
xor r8d, r8d
jmp 0x1400de96a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400de7ea
xor edi, edi
jmp 0x1400de7ea
Function at 0x1400e147b
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 0x1400e14d0
mov edx, dword [rcx + 0x28]
mov dword [rbp - 8], edx
mov qword [rbp], rax
mov rax, qword [rcx + 0x30]
test rax, rax
je 0x1400e1501
mov rdx, qword [rcx + 0x40]
xor r8d, r8d
lea r9, [0x1401eeec0]
xor r10d, r10d
cmp rdx, r8
je 0x1400e14fd
movzx r11d, byte [rax + r8]
or r10d, dword [r9 + r11*4]
inc r8
jmp 0x1400e14ea
mov dword [rbp + 8], r10d
mov rbx, qword [rcx]
mov r14, qword [rcx + 0x10]
lea rsi, [r14*8]
test r14, r14
je 0x1400e154b
xor edi, edi
mov rax, r14
shr rax, 0x3c
sete al
jne 0x1400e161d
mov dil, al
shl rdi, 3
mov rcx, rdi
mov rdx, rsi
call fcn.1400268cc
test rax, rax
jne 0x1400e154e
mov rcx, rdi
mov rdx, rsi
call fcn.1401592c0
ud2
push 8
pop rax
xor edx, edx
test rsi, rsi
je 0x1400e1566
mov rcx, qword [rbx + rdx*8]
mov qword [rax + rdx*8], rcx
inc rdx
add rsi, 0xfffffffffffffff8
jmp 0x1400e1550
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 0x1400e15c2
shl rsi, 0x20
or rsi, 2
push 1
pop rdi
mov rdx, qword [rbp + 0x60]
jmp 0x1400e1600
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.1400268d4
test rax, rax
mov rdx, qword [rbp + 0x60]
je 0x1400e1624
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.14010c0ea
mov rax, rdi
mov rdx, rsi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call fcn.140024890
ud2
push 8
pop rcx
push 0x20
pop rdx
call fcn.1401592c0
ud2

Function at 0x1400e1d23
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 0x1400e1d4d
mov rdx, qword [rsp + 0x20]
jmp 0x1400e1d55
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x1400e3a0c
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 0x1400e3a38
xor eax, eax
jmp 0x1400e3a3d
call fcn.140028373
nop
add rsp, 0x38
ret

Function at 0x1400e5e40
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 [0x1401c2480]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x1400e5e84
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 0x1400e5eea
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400e5f21
test eax, eax
js 0x1400e5efb
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400e5f14
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, [0x1401c24e0]
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.1400e4a80
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400e4b20
mov ecx, 7
int 0x29
ud2
Function at 0x1400e90f0
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 0x1400e9120
test ecx, ecx
jne 0x1400e9170
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400e912c
test ecx, ecx
jne 0x1400e9170
mov rcx, rdi
call fcn.1400e8fd0
movzx eax, al
test bpl, bpl
jne 0x1400e9177
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400e9163.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x1400e92e8]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400e9163.2
xor eax, eax
test bpl, bpl
je 0x1400e913c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400e92c9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400e91aa
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400e9229
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 0x1400e91f0
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x1400e920b
inc rax
dec rdi
cmp rax, 1
jne 0x1400e91d0
jmp 0x1400e9229
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x1400e920b
cmp ebx, 0x5c
je 0x1400e920b
inc rax
dec rdi
cmp rax, 1
jne 0x1400e91f0
jmp 0x1400e9229
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400e92d7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400e9253
mov al, 9
cmp rdx, 2
je 0x1400e9257
cmp rdx, 1
jne 0x1400e9267
cmp byte [r8], 0x2e
jne 0x1400e9267
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400e9267
mov al, 0xa
jmp 0x1400e9267
cmp byte [r8], 0x2e
jne 0x1400e9267
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.0x1400e9163.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.0x1400e9163.2
mov ecx, 2
jmp case.0x1400e9163.2
lea r8, str.library_std_srcpath.rs
call fcn.140159760
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140159760
ud2
Function at 0x1400e97a0
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.1400e6980
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x410], rax
test rax, rax
je 0x1400e9927
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 0x1400e9860
jmp 0x1400e984f
jae 0x1400e9939
cmp r8, 0x201
jae 0x1400e9860
lea r12, [rbp - 0x58]
mov esi, 0x200
mov r15, r8
jmp 0x1400e98b8
sub r8, r13
sub rbx, r13
cmp rbx, r8
jae 0x1400e988f
lea rcx, [rbp + 0x3f0]
mov rdx, r13
call fcn.14015bd10
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 0x1400e98e8
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1400e996f
mov r8d, r14d
cmp r15, r8
jne 0x1400e9840
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400e9a12
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x1400e984f
jmp 0x1400e9860
lea rcx, [rbp - 0x50]
call fcn.1400e3fc0
mov byte [rsi + 0x18], 2
jmp 0x1400e99dc
cmp rsi, r8
jb 0x1400e9a2c
lea rcx, [rbp + 0x3a8]
mov rdx, r12
call fcn.1400e7ca0
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
movaps xmmword [rbp + 0x3e0], xmm1
movaps xmmword [rbp + 0x3d0], xmm0
jmp 0x1400e998b
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 0x1400e99a8
mov edx, 2
mov rcx, qword [rbp + 0x418]
call fcn.140024600
cmp byte [rbp + 0x3e8], 2
jne 0x1400e99f1
mov byte [rsi + 0x18], 2
lea rcx, [rbp + 0x3d0]
call fcn.1400e3fc0
cmp qword [rbp + 0x408], 0
je 0x1400e99dc
mov edx, 2
mov rcx, qword [rbp + 0x410]
call fcn.140024600
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 0x1400e99cb
jmp 0x1400e99dc
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140159860
jmp 0x1400e9a41
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1401597e0
ud2
Function at 0x1400ed210
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401c2480]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x1400ed27c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x1400ed28b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x1400ed2c3
cmp eax, 0x103
je 0x1400ed2cd
test eax, eax
js 0x1400ed2a8
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x1400ed2c3
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1401c24e0]
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.1400e4a80
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400e4b20
mov ecx, 7
int 0x29
ud2