joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f49e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10c8
call fcn.180110140
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1030], xmm6
mov qword [rbp + 0x1028], 0xfffffffffffffffe
mov rsi, rdx
mov qword [rbp + 0x1020], rcx
mov qword [rbp + 0xfd8], rcx
mov qword [rbp + 0xfe0], rdx
lea rcx, [rbp - 0x50]
mov r8d, 0x1000
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea rbx, [0x1800fa1b0]
lea r12, [rbp + 0xfb0]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov r15, qword [sym.imp.kernel32.dll_SleepEx]
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
mov r8d, 0x1000
lea rcx, [rbp + 0xfd8]
lea rdx, [rbp - 0x50]
call fcn.1800fa0d0
mov r14, rdx
test rax, rax
jne 0x1800f4b7c
test r14, r14
je 0x1800f4b4c
cmp r14, 0x1000
ja 0x1800f4c20
xor r13d, r13d
nop dword [rax + rax]
cmp r13, r14
ja 0x1800f4bf7
mov r8d, r14d
sub r8d, r13d
lea rdx, [r13 - 0x50]
add rdx, rbp
mov dword [rbp + 0xff4], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea rax, [rbp + 0xff4]
mov qword [rbp + 0xfc8], rax
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov r9, r12
call rdi
test eax, eax
je 0x1800f4b46
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r15
cmp dword [rbp + 0xff4], 1
jne 0x1800f4b10
cmp dword [rbp + 0xff8], 0
jne 0x1800f4b4c
mov eax, dword [rbp + 0xffc]
add r13, rax
cmp r13, r14
jne 0x1800f4ab0
jmp 0x1800f4a5b
call qword [sym.imp.kernel32.dll_GetLastError]
mov rdi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1020]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1030]
add rsp, 0x10c8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, r14d
and eax, 3
cmp eax, 1
jne 0x1800f4b4c
mov rax, r14
dec rax
mov qword [rbp + 0xfe8], rax
mov rax, qword [r14 - 1]
mov qword [rbp + 0x1000], rax
mov rax, qword [r14 + 7]
mov qword [rbp + 0x1008], rax
mov rax, qword [rax]
test rax, rax
je 0x1800f4bbb
mov rcx, qword [rbp + 0x1000]
call rax
mov rcx, qword [rbp + 0x1000]
mov rax, qword [rbp + 0x1008]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800f4bdb
mov r8, qword [rax + 0x10]
call fcn.1800093e0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp + 0xfe8]
call fcn.1800093e0
jmp 0x1800f4b4c
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.library_std_src_syspalwindowspipe.rs
mov rcx, r13
mov rdx, r14
call fcn.180117210
jmp 0x1800f4c49
mov qword [rbp + 0x1018], rsi
mov rax, qword [rbp + 0x1020]
mov qword [rbp + 0x1010], rax
lea r8, str.library_std_src_syspalwindowspipe.rs
mov edx, 0x1000
mov rcx, r14
call fcn.1801171a0
ud2
Function at 0x1800f8be0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 8], r9
lea rcx, [rbp]
mov qword [rbp], rax
movups xmm0, xmmword [0x1801b31f8]
movaps xmmword [rbp + 0x10], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xor r8d, r8d
test r9b, 1
cmove rcx, r8
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1800f8c76
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x10]
cmp eax, 0x103
je 0x1800f8ca3
test eax, eax
js 0x1800f8c82
mov rdx, qword [rbp + 0x18]
xor eax, eax
jmp 0x1800f8c99
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb8
pop rsi
pop rbp
ret
mov dword [rbp + 0x28], 0
mov byte [rbp + 0x2c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x30]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x28]
lea rdx, [rbp - 0x38]
call fcn.1800f1130
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.1800e9c40
mov ecx, 7
int 0x29
ud2
Function at 0x1800f9290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 8], rcx
movzx r15d, byte [rdx + 0x18]
mov byte [rdx + 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 2
mov qword [rbp - 0x10], 0
mov r12, qword [rdx + 8]
movzx esi, word [rdx + 0x10]
mov eax, 2
xor edi, edi
xor r13d, r13d
jmp 0x1800f92fc
mov word [rax + rdi*2], r14w
inc rdi
mov qword [rbp - 0x10], rdi
mov rdx, qword [rbx]
mov r14d, esi
test si, si
jne 0x1800f93a0
nop dword [rax + rax]
cmp rdx, r12
je 0x1800f945f
lea rcx, [rdx + 1]
mov qword [rbx], rcx
movzx r9d, byte [rdx]
movzx r14d, r9b
test r14b, r14b
jns 0x1800f93ca
mov r8d, r14d
and r8d, 0x1f
lea rcx, [rdx + 2]
mov qword [rbx], rcx
movzx r10d, byte [rdx + 1]
and r10d, 0x3f
cmp r14b, 0xdf
jbe 0x1800f93c0
lea rcx, [rdx + 3]
mov qword [rbx], rcx
movzx r14d, byte [rdx + 2]
shl r10d, 6
and r14d, 0x3f
or r14d, r10d
cmp r9b, 0xf0
jb 0x1800f93e8
lea rcx, [rdx + 4]
mov qword [rbx], rcx
movzx edx, byte [rdx + 3]
and r8d, 7
shl r8d, 0x12
shl r14d, 6
and edx, 0x3f
or edx, r14d
or edx, r8d
mov r14d, edx
cmp r14d, 0xffff
jbe 0x1800f93ca
jmp 0x1800f93f8
mov word [rbx + 0x10], 0
xor esi, esi
cmp r14w, 0x22
je 0x1800f93d6
jmp 0x1800f9430
shl r8d, 6
or r8d, r10d
mov r14d, r8d
xor esi, esi
mov rdx, rcx
cmp r14w, 0x22
jne 0x1800f9430
xor r13b, 1
mov r14d, esi
test si, si
je 0x1800f9310
jmp 0x1800f93a0
shl r8d, 0xc
or r14d, r8d
cmp r14d, 0xffff
jbe 0x1800f93ca
lea r8d, [r14 + 0xff0000]
shr r8d, 0xa
or r8d, 0xd800
and r14d, 0x3ff
or r14d, 0xdc00
mov word [rbx + 0x10], r14w
mov rdx, rcx
mov esi, r14d
mov r14d, r8d
cmp r14w, 0x22
je 0x1800f93d6
nop dword [rax]
movzx ecx, r14w
cmp ecx, 0x3b
jne 0x1800f943f
test r13b, 1
je 0x1800f945b
cmp rdi, qword [rbp - 0x20]
jne 0x1800f92f0
lea rcx, [rbp - 0x20]
call fcn.1800edfc0
mov rax, qword [rbp - 0x18]
jmp 0x1800f92f0
mov byte [rbx + 0x18], 1
test rdi, rdi
setne al
or r15b, al
je 0x1800f9498
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x40]
mov r8, rdi
call fcn.1800f16a0
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
mov rax, qword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x1800f94b2
jmp 0x1800f94c4
movabs rax, 0x8000000000000000
mov rcx, qword [rbp - 8]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1800f94c4
mov rcx, qword [rbp - 0x18]
add rdx, rdx
mov r8d, 2
call fcn.1800093e0
mov rax, qword [rbp - 8]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1800fa0d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp - 4], 0
xorps xmm0, xmm0
movaps xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
lea rax, [rbp - 4]
mov qword [rbp - 0x18], rax
mov rcx, qword [rcx]
lea rax, [0x1800fa1b0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x1800fa15f
mov rsi, qword [sym.imp.kernel32.dll_SleepEx]
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call rsi
cmp dword [rbp - 4], 1
jne 0x1800fa130
mov eax, dword [rbp]
mov esi, dword [rbp + 4]
mov rcx, rax
shl rcx, 0x20
or rcx, 2
test eax, eax
cmovne rsi, rcx
jne 0x1800fa172
xor eax, eax
jmp 0x1800fa1a2
call qword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
mov eax, ecx
and eax, 3
shr rcx, 0x20
cmp eax, 2
jne 0x1800fa192
call case.0x1800f3ae7.119
xor ecx, ecx
cmp al, 0xb
setne al
cmove rsi, rcx
jmp 0x1800fa1a2
cmp rcx, 0xb
setne al
xor edx, edx
cmp ecx, 0xb
cmove rsi, rdx
movzx eax, al
mov rdx, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
Function at 0x180115660
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xe0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x58], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
lea rcx, [rbp + 0x57]
lea rsi, [rbp + 0x30]
mov r8d, 0x20
mov rdx, rsi
call fcn.1800e5160
test rax, rax
jne 0x180115860
movaps xmm0, xmmword [rbp + 0x30]
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp]
lea r8, [0x1801b0710]
lea rdx, [rbp - 0x30]
mov r9d, 8
call fcn.1800e4f50
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movaps xmm2, xmmword [rbp + 0x20]
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm1
movups xmmword [rbp + 0x18], xmm2
movzx eax, byte [0x1801d91a1]
mov ecx, 0x170
mov edx, 0x10
call fcn.1800093d0
test rax, rax
je 0x1801158b4
mov qword [rax], 1
mov qword [rax + 8], 1
xorps xmm0, xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x60], xmm0
movaps xmmword [rax + 0x70], xmm0
movaps xmmword [rax + 0x80], xmm0
movaps xmmword [rax + 0x90], xmm0
movaps xmmword [rax + 0xa0], xmm0
movaps xmmword [rax + 0xb0], xmm0
movaps xmmword [rax + 0xc0], xmm0
movaps xmmword [rax + 0xd0], xmm0
movaps xmmword [rax + 0xe0], xmm0
movaps xmmword [rax + 0xf0], xmm0
movaps xmmword [rax + 0x100], xmm0
mov qword [rax + 0x110], 0x40
movups xmm0, xmmword [rbp - 0x10]
movups xmm1, xmmword [rbp]
movups xmm2, xmmword [rbp + 0x10]
movups xmmword [rax + 0x118], xmm0
movups xmmword [rax + 0x128], xmm1
movups xmmword [rax + 0x138], xmm2
mov rcx, qword [rbp + 0x20]
mov qword [rax + 0x148], rcx
mov qword [rax + 0x150], 0x10000
mov qword [rax + 0x158], 0x10000
mov qword [rax + 0x160], 0
mov ecx, dword [0x1801d92fc]
mov rdx, qword gs:[0x58]
mov r8, qword [rdx + rcx*8]
mov rdx, qword [r8 + 0x18]
mov rcx, qword [r8 + 0x20]
mov qword [r8 + 0x18], 1
mov qword [r8 + 0x20], rax
cmp rdx, 1
je 0x180115830
test rdx, rdx
jne 0x18011583b
mov eax, dword [0x1801d92fc]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x18]
lea rdx, [0x1800e29a0]
call fcn.180102410
jmp 0x18011583b
dec qword [rcx]
jne 0x18011583b
dec qword [rcx + 8]
je 0x180115846
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
ret
mov edx, 0x170
mov r8d, 0x10
add rsp, 0xe0
pop rdi
pop rsi
pop rbp
jmp fcn.1800093e0
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdx
mov qword [rbp - 0x30], rsi
lea rax, [0x1800e5100]
mov qword [rbp - 0x28], rax
lea rax, str.could_not_initialize_thread_rng:
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp + 0x10], 0
lea rax, [rbp - 0x30]
mov qword [rbp], rax
mov qword [rbp + 8], 1
lea rdx, str.C:UsersHarrison.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rand_0.8.5_src_rngs_thread.rs
lea rcx, [rbp - 0x10]
call fcn.180116d10
ud2
mov ecx, 0x10
mov edx, 0x170
call fcn.180116ac0
int3
Function at 0x1400012d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, qword [rcx]
mov r9, qword [rcx + 8]
cmp rbx, r9
je 0x14000147b
mov rsi, rdx
mov r15, qword [rcx + 0x10]
mov r12, qword [rcx + 0x18]
mov r13, qword [rcx + 0x20]
mov rbp, qword [rcx + 0x28]
mov qword [rsp + 0x20], rdx
jmp 0x14000132b
mov rax, qword [rsi + 8]
mov byte [rax + rdi], r14b
inc rdi
inc r13
mov qword [rsi + 0x10], rdi
cmp rbx, r9
je 0x14000147b
movzx edx, byte [rbx]
movzx r14d, dl
test r14b, r14b
js 0x140001340
inc rbx
jmp 0x1400013b0
mov eax, r14d
and eax, 0x1f
movzx r8d, byte [rbx + 1]
and r8d, 0x3f
cmp r14b, 0xdf
jbe 0x140001393
movzx ecx, byte [rbx + 2]
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
cmp dl, 0xf0
jb 0x1400013a2
movzx r14d, byte [rbx + 3]
and eax, 7
shl eax, 0x12
shl ecx, 6
and r14d, 0x3f
or r14d, ecx
or r14d, eax
cmp r14d, 0x110000
je 0x14000147b
add rbx, 4
jmp 0x1400013b0
add rbx, 2
shl eax, 6
or eax, r8d
mov r14d, eax
jmp 0x1400013b0
add rbx, 3
shl eax, 0xc
or ecx, eax
mov r14d, ecx
nop
cmp r15, r12
setne al
cmp r13, rbp
setne cl
cmove rbp, r12
cmove r13, r15
or cl, al
cmp cl, 1
jne 0x14000147b
cmp r14d, 0x110000
je 0x14000147b
xor r14b, byte [r13]
js 0x140001420
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi]
jne 0x140001310
mov rcx, rsi
mov rsi, r12
mov r12, r15
mov r15, r9
call fcn.1400015d0
mov r9, r15
mov r15, r12
mov r12, rsi
mov rsi, qword [rsp + 0x20]
jmp 0x140001310
mov rax, qword [rsi]
mov rdi, qword [rsi + 0x10]
sub rax, rdi
cmp rax, 1
jbe 0x14000145e
mov eax, r14d
shr al, 6
or al, 0xc0
and r14b, 0xbf
mov rcx, qword [rsi + 8]
mov byte [rcx + rdi], al
mov byte [rcx + rdi + 1], r14b
add rdi, 2
inc r13
mov qword [rsi + 0x10], rdi
cmp rbx, r9
jne 0x14000132b
jmp 0x14000147b
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rdi, r9
call fcn.14003f1d0
mov r9, rdi
mov rdi, qword [rsi + 0x10]
jmp 0x140001430
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001e60
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, 0x58
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov r12d, dword [rax + rcx + 0x1c]
mov r15d, dword [rax + rcx + 0x20]
mov r13d, dword [rax + rcx + 0x24]
mov r14d, dword [r15 + rcx]
add r14, rcx
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.140036b30
test byte [rsp + 0x28], 1
jne 0x140001f38
add r13, rsi
lea rbp, [rsi + r15]
add rbp, 4
lea r14, [rsp + 0x28]
jmp 0x140001efd
add r13, 2
mov r15d, dword [rbp]
add r15, rsi
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea r8, [rax + 1]
mov rcx, r14
mov rdx, r15
call fcn.140036b30
add rbp, 4
test byte [rsp + 0x28], 1
jne 0x140001f38
cmp qword [rsp + 0x38], rdi
jne 0x140001ed0
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001ed0
add r12, rsi
movzx eax, word [r13]
mov eax, dword [r12 + rax*4]
add rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x40], xmm0
lea rax, str.src_main.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x140043560]
lea r9, [0x140043540]
lea r8, [rsp + 0x40]
mov edx, 0x2b
call fcn.140042c60
int3
Function at 0x14000a330
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp + 8], 0
mov qword [rbp + 0x10], 1
mov qword [rbp + 0x18], 0
mov eax, dword [rdx + 0xa0]
cmp eax, 0xcc
mov qword [rbp + 0x20], rdx
je 0x14000a416
cmp eax, 0x130
je 0x14000a416
lea r15, [rbp - 0x57]
lea rdi, [rbp - 0x60]
lea rbx, [rbp + 8]
jmp 0x14000a3b3
mov rax, qword [rbp + 0x10]
mov byte [rax + r14], r12b
inc r14
mov qword [rbp + 0x18], r14
mov rdx, qword [rbp + 0x20]
mov rcx, rdi
call fcn.14000b5f0
mov rax, qword [rbp - 0x60]
cmp rax, 0xb
je 0x14000a40c
movzx r12d, byte [rbp - 0x58]
mov r8, qword [rbp - 0x50]
cmp eax, 0xa
jne 0x14000a4af
mov rax, qword [rbp + 8]
mov r14, qword [rbp + 0x18]
mov rcx, rax
sub rcx, r14
cmp r8, rcx
jbe 0x14000a3fd
mov rcx, rbx
mov rdx, r14
call fcn.14003f1d0
mov rax, qword [rbp + 8]
mov r14, qword [rbp + 0x18]
cmp r14, rax
jne 0x14000a3a0
mov rcx, rbx
call fcn.1400015d0
jmp 0x14000a3a0
mov rdx, qword [rbp + 0x20]
mov eax, dword [rdx + 0xa0]
mov rcx, qword [rdx + 0x10]
mov qword [rbp - 0x50], rcx
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rdx + 0x70]
movups xmm2, xmmword [rdx + 0x80]
movups xmm3, xmmword [rdx + 0x90]
movaps xmmword [rbp - 0x10], xmm3
movaps xmmword [rbp - 0x20], xmm2
movaps xmmword [rbp - 0x30], xmm1
mov rcx, qword [rbp + 0x18]
mov qword [rbp - 0x38], rcx
mov rcx, qword [rbp + 8]
mov qword [rbp - 0x48], rcx
mov rcx, qword [rbp + 0x10]
mov qword [rbp - 0x40], rcx
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x50], xmm3
movups xmmword [rsi + 0x40], xmm2
movups xmmword [rsi + 0x30], xmm1
mov rcx, qword [rbp - 0x40]
mov qword [rsi + 0x20], rcx
mov rcx, qword [rbp - 0x38]
mov qword [rsi + 0x28], rcx
mov rcx, qword [rbp - 0x50]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rbp - 0x48]
mov qword [rsi + 0x18], rcx
mov dword [rsi + 0x60], eax
mov rcx, qword [rbp + 0x20]
add rcx, 0x18
call fcn.140009cd0
mov rax, rsi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov ecx, dword [r15]
mov edx, dword [r15 + 3]
mov dword [rsi + 0x14], edx
mov dword [rsi + 0x11], ecx
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], r12b
mov qword [rsi + 0x18], r8
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 8]
test rdx, rdx
je 0x14000a4ed
mov rcx, qword [rbp + 0x10]
mov r8d, 1
call fcn.140005df0
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a50c
mov rcx, qword [rax + 8]
mov r8d, 1
call fcn.140005df0
mov rax, qword [rbp + 0x20]
lea rcx, [rax + 0x70]
call fcn.14000ce50
jmp 0x14000a48d
Function at 0x14000da80
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000dac2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000daca
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000dadb
jmp 0x14000daf2
xor r10d, r10d
jmp 0x14000db7d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000daf2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000db09
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000db29
add r11, r8
jmp 0x14000dc59
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000dbf2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000dba0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000dc0f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14000dc20
jmp 0x14000dc3b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14000dc3b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14000dc55
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000e300
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov r15, rdx
mov rsi, rcx
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14000e590
mov ecx, dword [rsp + 0x28]
cmp ecx, 2
jne 0x14000e341
mov rdx, qword [rsp + 0x30]
mov eax, 1
jmp 0x14000e509
mov eax, 1
test ecx, ecx
je 0x14000e47f
mov rdx, qword [rsi + 0x60]
mov r14, qword [rsi + 0x68]
cmp r14, rdx
jne 0x14000e4b9
mov rdi, qword [rsp + 0x30]
mov ebp, edi
shr rdi, 0x20
cmp r12, rdi
cmovb rdi, r12
mov r13d, dword [rsp + 0x2c]
lea r12, [rdi + r13]
add rbp, r12
sub rbp, r14
jbe 0x14000e3c6
mov rax, qword [rsi + 0x50]
sub rax, r14
cmp rax, rbp
jb 0x14000e51a
mov rbx, qword [rsi + 0x58]
lea rcx, [rbx + r14]
cmp rbp, 2
jb 0x14000e3b7
lea r8, [rbp - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r14, rbp
dec r14
add rbx, r14
mov rcx, rbx
lea rbx, [rsp + 0x28]
mov byte [rcx], 0
inc r14
mov qword [rsi + 0x60], r14
cmp r12, r14
ja 0x14000e553
mov rcx, qword [rsi + 0x58]
add rcx, r13
mov rdx, r15
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x60]
cmp rdx, r13
jb 0x14000e565
cmp rdx, r12
jb 0x14000e574
mov rax, qword [rsi + 0x58]
lea rcx, [rax + r13]
sub edx, r12d
add r12, rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
lea rcx, [rsi + 0xc8]
lea r8, [rsp + 0x68]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14000e48b
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x14000e337
movabs rdx, 0x8009031700000002
jmp 0x14000e509
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
mov rdx, qword [rsi + 0x60]
cmp rdx, rax
jb 0x14000e4a7
mov qword [rsi + 0x60], rax
mov rdx, rax
mov qword [rsi + 0x68], 0
mov qword [rsi + 0xf0], rdi
xor r14d, r14d
cmp r14, rdx
je 0x14000e500
lea rdi, [rsi + 0xc0]
nop word cs:[rax + rax]
mov r8, rdx
sub r8, r14
jb 0x14000e544
mov rdx, qword [rsi + 0x58]
add rdx, r14
mov rcx, rdi
call fcn.140025930
test rax, rax
jne 0x14000e337
add r14, rdx
mov qword [rsi + 0x68], r14
mov rdx, qword [rsi + 0x60]
cmp r14, rdx
jne 0x14000e4d0
mov rdx, qword [rsi + 0xf0]
xor eax, eax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi + 0x50]
mov rdx, r14
mov r8, rbp
call fcn.14003f1d0
mov r14, qword [rsi + 0x60]
mov rbx, qword [rsi + 0x58]
lea rcx, [rbx + r14]
cmp rbp, 2
jae 0x14000e3a0
jmp 0x14000e3b7
lea r8, [0x140044820]
mov rcx, r14
call fcn.140042cf0
lea r8, [0x140044780]
mov rcx, r12
mov rdx, r14
call fcn.140042d60
lea r8, [0x140044798]
mov rcx, r13
call fcn.140042d60
lea r8, [0x1400447b0]
mov rcx, r12
call fcn.140042d60
int3
Function at 0x140012e50
Capabilities:
Get remote cert context via schannel

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