joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400428b8
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov r14, qword [0x14016db10]
test r14, r14
jne 0x1400429ef
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140042922
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042922
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042922
mov r15, rax
xor ebx, ebx
jmp 0x1400429a7
lea rcx, [0x14011fca0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140042a03
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042a03
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042a03
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042a03
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140042a03
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.14003f31b
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x14016db10], r14
je 0x1400429ef
mov rdi, rax
cmp qword [r14], 0
je 0x1400429df
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
mov rcx, r14
call fcn.1400bdee0
mov r14, rdi
and qword [rsi + 8], 0
mov qword [rsi], r14
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.9_src_thread_parkerwindowsmod.rs
lea r8, [0x14011fda0]
mov edx, 0x5b
call fcn.1400cf340
ud2
Function at 0x140044084
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.140046233
test rax, rax
je 0x1400440bc
mov edx, 4
mov rcx, rax
call fcn.1400bdee0
jmp 0x1400440f5
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.140043501
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.140043556
Function at 0x140046233
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test r12, r12
je 0x1400462c6
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x140046260
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x140046260
xor ebx, 0x80000000
je 0x1400462c6
mov al, byte [0x14016dc80]
mov ecx, 4
mov edx, 4
call fcn.1400bde50
test rax, rax
je 0x1400462d9
mov dword [rax], ebx
jmp 0x1400462c8
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1400cdc50
ud2

Function at 0x14004fcf8
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1e28
call fcn.1400be430
sub rsp, rax
movaps xmmword [rsp + 0x1e10], xmm9
movaps xmmword [rsp + 0x1e00], xmm8
movaps xmmword [rsp + 0x1df0], xmm7
movaps xmmword [rsp + 0x1de0], xmm6
mov rdi, rcx
cmp dword [rcx + 0x180], 2
je 0x140052129
mov rbx, rdx
lea rcx, [rdi + 0x180]
mov qword [rsp + 0x220], rcx
call fcn.1400468c3
test al, al
je 0x140052129
lea rax, [rdi + 0xd8]
mov qword [rsp + 0x288], rax
mov al, byte [rdi + 0xc9]
mov byte [rsp + 0x45], al
mov eax, dword [rdi + 0xca]
mov dword [rsp + 0x34], eax
mov al, byte [rdi + 0xce]
mov byte [rsp + 0x46], al
mov al, byte [rdi + 0xd0]
mov byte [rsp + 0x47], al
lea rax, [rdi + 0x158]
mov qword [rsp + 0x100], rax
lea rax, [rdi + 0x18]
mov qword [rsp + 0x280], rax
xorps xmm6, xmm6
movss xmm7, dword [0x1400d37a0]
lea rbp, [rsp + 0x4e0]
lea r13, [rsp + 0x1b0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x218], rax
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0x228], rbx
mov byte [rdi + 0x1e0], 1
mov qword [rdi + 0x70], 4
mov qword [rdi + 0x90], 5
mov byte [rdi + 0xd2], 2
xor edx, edx
xor eax, eax
movaps xmm6, xmmword [rsp + 0x1de0]
movaps xmm7, xmmword [rsp + 0x1df0]
movaps xmm8, xmmword [rsp + 0x1e00]
test byte [rax + rax], ah
invalid
add byte [rax], al
movaps xmm9, xmmword [rsp + 0x1e10]
add rsp, 0x1e28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140059258
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.23_src_tls_stream.rs
call fcn.140058fd8
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 0x140059336
test eax, eax
je 0x140059352
cmp eax, 0x90317
je 0x1400593cb
cmp eax, 0x90321
jne 0x1400593d3
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.1400591f8
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400593e1
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400593cf
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.1400593f5
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14008dcf2
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.1400591f8
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400593e1
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400593e1
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 0x140059690
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.23_src_tls_stream.rs
call fcn.140058fd8
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 0x140059774
test eax, eax
je 0x140059793
cmp eax, 0x90317
je 0x140059815
cmp eax, 0x90321
jne 0x14005981d
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.140059630
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x14005982b
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140059819
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.1400593f5
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14008dcf2
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.140059630
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x14005982b
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14005982b
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 0x140059835
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140059847
add rcx, 8
jmp fcn.1400b3551
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rsi, rcx
mov qword [rcx + 0x38], rdx
mov rcx, r8
call fcn.1400599d9
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140059ab0
test rdx, rdx
jne 0x1400598ea
mov rcx, r15
mov rdx, rsi
call fcn.14005836c
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140059979
test eax, eax
je 0x1400598ea
cmp qword [rsi + 0xf8], 0
je 0x1400598cd
mov rcx, r15
mov rdx, rsi
call fcn.140059033
cmp qword [rsp + 0x28], 0
jne 0x140059979
cmp qword [rsp + 0x30], 0
je 0x1400598ea
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.140059258
cmp byte [rsp + 0x28], 0
jne 0x140059979
cmp byte [rsp + 0x29], 0
je 0x140059873
mov rcx, rsi
call fcn.140059ab0
mov r15, rdx
test rax, rax
je 0x14005997e
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.140058fe9
mov rbx, rax
mov r14, rdx
lea r9, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14002efd4
mov r9, rdx
lea rcx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.140040351
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x1400599bf
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.140059a46
xor r15d, r15d
jmp 0x1400599a5
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.140025ba4
cmp al, 0xd
jne 0x1400599a5
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.14004688d
mov eax, 1
jmp 0x1400599ac
and qword [rsi + 0x38], 0
xor eax, eax
mov rdx, r15
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, 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.23_src_tls_stream.rs
mov edx, 0x3b
call fcn.1400ce090
ud2

Function at 0x14005cfd8
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, 0x348
sub esp, 0x348
Function at 0x14005dc10
Capabilities:
Connect socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x338
lea rbp, [rsp + 0x80]
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov r12, rcx
movzx eax, byte [rdx + 0x78]
push 2
pop rbx
test eax, eax
je case.0x140020a22.881
cmp eax, 3
jne 0x14005e595
lea r14, [rsi + 0x30]
lea r13, [rsi + 0x70]
movzx eax, byte [rsi + 0x70]
test eax, eax
je 0x14005dd64
cmp eax, 3
jne 0x14005e5a9
mov rax, qword [rsi + 0x68]
mov rdx, qword [rax + 0x10]
lea rdi, [rsp + 0x1e0]
mov rcx, rdi
call fcn.1400b34f9
mov al, byte [rdi + 9]
cmp al, 3
jne 0x14005e0b8
mov byte [r13], 3
jmp 0x14005e44d
mov qword [rsp + 0x88], r12
mov qword [rsp + 0xf0], r8
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r14
jmp 0x14005de55
cmp al, 2
mov qword [rsp + 0x98], r14
jne 0x14005e230
mov r14, qword [rsp + 0x1e0]
jmp 0x14005e2ec
lea rcx, [rsi + 0x40]
call fcn.1400b253f
mov rcx, qword [rax]
lea r9, [rsp + 0x100]
and dword [r9], 0
mov dword [rsp + 0x1e0], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
invalid
add byte [rbx + 0x6d74fff8], al
movsxd r14, dword [rsp + 0x100]
test r14, r14
jne 0x14005e2e4
mov rbx, qword [rsi + 0x40]
mov r14, qword [rsi + 0x48]
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x2f0], rax
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0x2e0], xmm0
jmp 0x14005e422
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
lea rcx, [rsi + 0x40]
call fcn.140056264
jmp 0x14005e422
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x2b0], rax
movaps xmm0, xmmword [rsp + 0x2e0]
movaps xmmword [rsp + 0x2a0], xmm0
mov byte [r13], 1
cmp rbx, 3
jne 0x14005e459
mov qword [r12], 3
mov al, 3
jmp 0x14005e4ac
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2d0], rax
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x2c0], xmm0
mov rcx, qword [rsp + 0x98]
call fcn.14005dbf5
mov qword [r12], rbx
mov qword [r12 + 8], r14
movaps xmm0, xmmword [rsp + 0x2c0]
movups xmmword [r12 + 0x10], xmm0
mov rax, qword [rsp + 0x2d0]
mov qword [r12 + 0x20], rax
mov al, 1
mov byte [rsi + 0x78], al
lea rsp, [rbp + 0x2b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_socket.rs
in eax, 0x5e
or al, 0
jmp 0x14005e5b7
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chainC:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_util_0.7.10_srcutilpoll_buf.rs
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.36.0_src_net_tcp_stream.rs
push 0x23
pop rdx
call fcn.1400ce090
ud2
Function at 0x14006c9ca
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, 0x6b8
mov r15, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1b0]
mov rcx, rsi
call fcn.140021242
lea rdx, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.140049ed1
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x14006ca29
mov rcx, rax
call fcn.140040206
jmp 0x14006ca55
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.140040206
cmp rsi, 1
ja 0x14006ca55
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140075a1f
mov rdx, qword [rdi + 0x378]
cmp rdx, 2
mov qword [rsp + 0x48], r15
jne 0x14006ca75
mov qword [rsp + 0x1b0], 2
jmp 0x14006cac9
lea rsi, [rdi + 0x378]
lea r14, [rdi + 0x390]
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
test rdx, rdx
je 0x14006caa4
mov rdx, rax
call fcn.1400aec88
mov rcx, rax
mov rax, rdx
mov rdx, r14
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1b0]
mov rcx, r15
mov ecx, edi
mov rdx, rsi
call fcn.1400b661d
mov qword [r15 + 0x18], r14
mov r15, qword [rsp + 0x48]
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1b0]
mov rdx, qword [rsp + 0x1b8]
movups xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
cmp dword [rsp + 0x440], 2
and al, 0x40
add al, 0
add byte [rdx], al
je 0x14006cb27
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.1400b6671
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r14, [rdi + 0x48]
lea rax, [rdi + 0x410]
mov qword [rsp + 0x190], rax
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x198], rax
lea r12, [rsp + 0x110]
lea rbp, [rsp + 0x1b0]
mov dword [rsp + 0x6c], eax
mov qword [rsp + 0x40], r14
and al, 0x40
Function at 0x14007eefc
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14007ed52
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.14003f10b
mov rbx, rax
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov rbp, qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x14007ef9e
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.1400bdbc9
mov rbx, qword [rsp + 0x38]
jmp 0x14007ef6c
test eax, eax
jne 0x14007efc0
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14007efde
movabs rax, 0xde00000002
jmp 0x14007efc8
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.140010910
jmp 0x14007eff2
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400b16a7
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140089be0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140013430
cmp rax, rcx
je 0x140089c05
cmp rdx, 4
jae 0x140089c08
xor eax, eax
xor r8d, r8d
jmp 0x140089ca0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400d3720]
movdqa xmm3, xmmword [0x1400d3730]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140089c30
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140089cb7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140089ca0
ret
Function at 0x14008ac40
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 0x14008ac9b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14008ac9b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14008acb6
cmp eax, 0x42
jne 0x14008ac9b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14008ad66
cmp byte [r9 + r11], 0x5f
jne 0x14008ad66
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14008adce
mov rcx, rsi
xor edx, edx
call fcn.140086620
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.140086620
test al, al
jne 0x14008ae61
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14008acf2
lea rdx, [0x140127513]
mov r8d, 1
call fcn.1400138a0
test al, al
jne 0x14008ae61
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14008acaa
xor r14d, r14d
lea rbx, [0x1401278c8]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14008ad24
cmp byte [rax + rcx], 0x45
je 0x14008ae83
sub r14, 1
jb 0x14008ad49
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14008ad49
mov r8d, 2
mov rdx, rbx
call fcn.1400138a0
test al, al
jne 0x14008ae61
mov rcx, rsi
call fcn.140087e70
test al, al
jne 0x14008ae61
mov rax, qword [rsi]
test rax, rax
jne 0x14008ad10
jmp 0x14008acaa
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14008ae28
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14008adc2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14008adac
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14008ad9b
add dl, 0xa9
jmp 0x14008adaa
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14008ae28
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14008ae28
movzx edx, bl
add rax, rdx
jae 0x14008ad70
jmp 0x14008ae28
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14008ae28
cmp rax, rcx
jae 0x14008ae25
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14008ae7b
cmp qword [rsi + 0x20], 0
je 0x14008ae74
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.14008ac40
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14008acac
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14008ae69
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140127888]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.1400138a0
test al, al
je 0x14008ae69
mov dil, 2
jmp 0x14008acaa
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14008acaa
mov dil, 1
xor r8d, r8d
jmp 0x14008ae2a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14008acaa