joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000117c
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
call fcn.140002428
test eax, eax
je 0x140001208
lea rdx, [0x140007ff0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001208
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov qword [rsp + rax + 0x58], rcx
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov dx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x68
ret

Function at 0x140001214
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x298
mov rax, qword [0x1400085d8]
xor rax, rsp
mov qword [rsp + 0x280], rax
call fcn.140002428
test eax, eax
je 0x14000132b
lea rdx, str.MIT_Kerberos
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000132b
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x60], rax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x2a0]
mov edx, 0x201
lea rcx, [rsp + 0x70]
call fcn.140003674
mov eax, 1
imul rax, rax, 0x200
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x201
jae 0x1400012b5
jmp 0x1400012ba
call fcn.140003bf8
mov rax, qword [rsp + 0x58]
mov byte [rsp + rax + 0x70], 0
mov eax, 8
imul rax, rax, 0
lea rcx, [rsp + 0x70]
mov qword [rsp + rax + 0x68], rcx
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov dx, 4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140003e20
add rsp, 0x298
ret

Function at 0x140002428
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x58
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetServicesMIT_KerberosNetworkProvider
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400024aa
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Debug
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x14000249f
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x30], 0
je 0x1400024bb
mov dword [rsp + 0x34], 1
jmp 0x1400024c3
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
add rsp, 0x58
ret
Function at 0x1400024d4
Capabilities:
Check mutex on windows

Disassembly:
sub rsp, 0x178
mov rax, qword [0x1400085d8]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp dword [0x140008658], 0
jne 0x14000272f
mov qword [rsp + 0x40], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__getpid]
mov r8d, eax
lea rdx, str.AFS_KFW_Init_pid_d
lea rcx, [rsp + 0x50]
call fcn.1400037fc
lea r8, [rsp + 0x50]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000255a
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000255a
jmp 0x14000272f
cmp dword [0x140008658], 0
jne 0x140002719
mov dword [0x140008658], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008610]
lea rdx, [0x1400072f0]
lea rcx, str.krb5_64.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140008628]
lea rdx, [0x140007db0]
lea rcx, str.comerr64.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008630]
lea rdx, [0x140007e20]
lea rcx, str.advapi32.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008620]
lea rdx, [0x140007ec0]
lea rcx, str.secur32.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008638]
lea rdx, [0x140007cf0]
lea rcx, str.xpprof64.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008640]
lea rdx, [0x140007090]
lea rcx, [0x140008078]
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008650]
lea rdx, section..data
lea rcx, str.krbcc64.dll
call fcn.1400038e8
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140008648]
lea rdx, [0x1400072b0]
lea rcx, str.leashw64.dll
call fcn.1400038e8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140003e20
add rsp, 0x178
ret
Function at 0x1400162e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140016370
cmp r11, r10
ja 0x1400163e6
cmp r10, rdx
ja 0x1400163fa
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140016372
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140016350
jmp 0x1400163d4
ja 0x14001637a
mov r11, r10
cmp rax, r8
jne 0x140016314
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400163b0
mov rdi, r8
sub ecx, edx
jns 0x1400163cb
jmp 0x1400163d6
cmp r8, rsi
je 0x14001640b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400163d6
xor al, 1
cmp rdi, rsi
jne 0x140016390
jmp 0x1400163d6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140011bd0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140010f30
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400112d0
ud2

Function at 0x140018ec0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400d4028]
test ecx, ecx
je 0x140018ed9
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x1400d4010]
call fcn.140086940
mov ecx, eax
jmp 0x140018ed0

Function at 0x140018ee9
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rax, rcx
mov ecx, dword [rcx + 0x18]
test ecx, ecx
je 0x140018f0a
dec ecx
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp sub.kernel32.dll_TlsSetValue
mov rcx, rax
call fcn.140086940
mov ecx, eax
jmp 0x140018efd

Function at 0x140019024
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rcx
movups xmm0, xmmword [0x1400de8d8]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
lea rdi, [rsp + 0x28]
and qword [rdi], 0
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.shell32.dll_SHGetKnownFolderPath
mov rcx, qword [rdi]
test eax, eax
je 0x140019064
call sub.ole32.dll_CoTaskMemFree
mov byte [rsi + 0x18], 2
jmp 0x140019083
call sub.kernel32.dll_lstrlenW
movsxd r8, eax
mov rdx, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14008a800
mov rcx, qword [rsp + 0x28]
call sub.ole32.dll_CoTaskMemFree
nop
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x14001b594
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x14001b5ba
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14001b5a4
mov qword [rcx], rax
ret
Function at 0x14001b6a2
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.14001b569
test rbx, rbx
je 0x14001b6db
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001b594
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001b58c
Function at 0x14003b212
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsi + 0x20]
add rsp, 0x50
pop rsi
ret

Function at 0x14003c4ea
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 [0x14014d0d0]
test r14, r14
jne 0x14003c619
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14003c551
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003c551
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003c551
mov r15, rax
xor ebx, ebx
jmp 0x14003c5d2
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14003c62d
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003c62d
mov r14, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003c62d
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14003c62d
mov rdi, rax
lea rcx, [rsp + 0x28]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x14003c62d
mov r15, qword [rsp + 0x28]
mov ecx, 0x18
call fcn.1400398b7
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], r15
xor eax, eax
lock cmpxchg qword [0x14014d0d0], r14
je 0x14003c619
mov rdi, rax
cmp qword [r14], 0
je 0x14003c609
mov rcx, qword [r14 + 0x10]
call fcn.1400d0d2c
mov edx, 8
mov rcx, r14
call fcn.14000d2f0
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__home_floppa_.cargo_registry_src_index.crates.io_6f17d22bba15001f_parking_lot_core_0.9.9_src_thread_parker_windows_mod.rs
lea r8, [0x1401063f0]
mov edx, 0x5b
call fcn.14003c647
ud2

Function at 0x14003ccbe
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1400d4048]
test ecx, ecx
je 0x14003ccd7
dec ecx
add rsp, 0x28
jmp sub.kernel32.dll_TlsGetValue
lea rcx, [0x1400d4030]
call fcn.140086940
mov ecx, eax
jmp 0x14003ccce
Function at 0x14005955a
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, [0x14010bbc0]
call fcn.140059291
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140059637
test eax, eax
je 0x140059653
cmp eax, 0x90317
je 0x1400596cc
cmp eax, 0x90321
jne 0x1400596d4
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.1400594fa
and qword [rdi + 0xf8], 0
mov byte [rsi + 1], bl
jmp 0x1400596e2
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400596d0
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.1400596f6
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140084c57
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.1400594fa
xor eax, eax
cmp qword [rdi + 0x98], rbx
sete al
mov qword [rdi + 0xf8], rax
mov byte [rsi + 1], 0
jmp 0x1400596e2
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x1400596e2
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 0x14005999c
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, [0x14010bbc0]
call fcn.140059291
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 sub.secur32.dll_DecryptMessage
cmp eax, 0x80090318
je 0x140059a7f
test eax, eax
je 0x140059a9e
cmp eax, 0x90317
je 0x140059b20
cmp eax, 0x90321
jne 0x140059b28
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.14005993c
and qword [rdi + 0x1f8], 0
mov byte [rsi + 1], bl
jmp 0x140059b36
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140059b24
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.1400596f6
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.140084c57
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.14005993c
xor eax, eax
cmp qword [rdi + 0x198], rbx
sete al
mov qword [rdi + 0x1f8], rax
mov byte [rsi + 1], 0
jmp 0x140059b36
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x140059b36
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 0x140059b40
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp dword [rcx], 2
jne 0x140059b52
add rcx, 8
jmp fcn.1400c61b7
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.140059ce4
mov rbx, rax
mov r14, rdx
lea r15, [rsp + 0x28]
mov rcx, rsi
call fcn.140059dbb
test rdx, rdx
jne 0x140059bf5
mov rcx, r15
mov rdx, rsi
call fcn.14005863a
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x140059c84
test eax, eax
je 0x140059bf5
cmp qword [rsi + 0xf8], 0
je 0x140059bd8
mov rcx, r15
mov rdx, rsi
call fcn.140059335
cmp qword [rsp + 0x28], 0
jne 0x140059c84
cmp qword [rsp + 0x30], 0
je 0x140059bf5
and qword [rsi + 0xf8], 0
mov rcx, r15
mov rdx, rsi
call fcn.14005955a
cmp byte [rsp + 0x28], 0
jne 0x140059c84
cmp byte [rsp + 0x29], 0
je 0x140059b7e
mov rcx, rsi
call fcn.140059dbb
mov r15, rdx
test rax, rax
je 0x140059c89
mov r13, rax
cmp r14, r15
mov r12, r15
cmovb r12, r14
lea r9, [0x14010b420]
mov rcx, r12
mov rdx, rbx
mov r8, r14
call fcn.1400592b3
mov rbx, rax
mov r14, rdx
lea r9, [0x14010b438]
mov rcx, r13
mov rdx, r15
mov r8, r12
call fcn.14002b8b3
mov r9, rdx
lea rcx, [0x14010b450]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
mov rdx, r14
mov r8, rax
call fcn.14001909d
mov rax, qword [rsi + 0x78]
add rax, r12
cmp rax, qword [rsi + 0x70]
ja 0x140059cca
mov qword [rsi + 0x78], rax
mov rcx, rdi
mov rdx, r12
call fcn.140059d51
xor r15d, r15d
jmp 0x140059cb0
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x28], r15
mov rcx, r15
call fcn.14001df34
cmp al, 0xd
jne 0x140059cb0
and qword [rsi + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.1400407f5
mov eax, 1
jmp 0x140059cb7
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, [0x14010b58e]
lea r8, [0x14010b5d0]
mov edx, 0x3b
call fcn.1400112d0
ud2
Function at 0x14007a29e
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x58]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14007a171
lea r13, [rsp + 0x38]
mov dword [r13], 0x800
lea r15, [rsp + 0x3c]
and dword [r15], 0
mov ecx, 0x800
call fcn.140083bbf
mov rbx, rax
lea r12, [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14007a33b
mov edx, dword [rsp + 0x38]
mov rcx, r12
call fcn.14003d3fa
mov rbx, qword [rsp + 0x40]
jmp 0x14007a306
test eax, eax
jne 0x14007a35d
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x3c]
cmp eax, 0xb
jbe 0x14007a37b
movabs rax, 0xde00000002
jmp 0x14007a365
shl rax, 0x20
or rax, 2
mov qword [rsi], rax
mov byte [rsi + 0x18], 0xc
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.1400c93a6
jmp 0x14007a38f
mov rcx, qword [rsp + 0x50]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400840b9
nop
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140080b30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140010ac0
cmp rax, rcx
je 0x140080b55
cmp rdx, 4
jae 0x140080b58
xor eax, eax
xor r8d, r8d
jmp 0x140080bf0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400d6960]
movdqa xmm3, xmmword [0x1400d6970]
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 0x140080b80
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140080c07
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140080bf0
ret
Function at 0x140081b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r8, qword [rcx]
test r8, r8
je 0x140081bcb
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140081bcb
movzx eax, byte [r8 + rcx]
cmp eax, 0x49
je 0x140081be6
cmp eax, 0x42
jne 0x140081bcb
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140081c96
cmp byte [r8 + r11], 0x5f
jne 0x140081c96
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140081cfe
mov rcx, rsi
xor edx, edx
call fcn.14007d570
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.14007d570
test al, al
jne 0x140081d91
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081c22
lea rdx, [0x14010d843]
mov r8d, 1
call fcn.140010fb0
test al, al
jne 0x140081d91
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140081bda
xor r14d, r14d
lea rbx, [0x14010dbb1]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140081c54
cmp byte [rax + rcx], 0x45
je 0x140081db3
sub r14, 1
jb 0x140081c79
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081c79
mov r8d, 2
mov rdx, rbx
call fcn.140010fb0
test al, al
jne 0x140081d91
mov rcx, rsi
call fcn.14007eda0
test al, al
jne 0x140081d91
mov rax, qword [rsi]
test rax, rax
jne 0x140081c40
jmp 0x140081bda
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r9b, 1
cmp r11, r10
jae 0x140081d58
movzx edx, byte [r8 + r11]
cmp dl, 0x5f
je 0x140081cf2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140081cdc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140081ccb
add dl, 0xa9
jmp 0x140081cda
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140081d58
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140081d58
movzx edx, bl
add rax, rdx
jae 0x140081ca0
jmp 0x140081d58
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140081d58
cmp rax, rcx
jae 0x140081d55
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140081dab
cmp qword [rsi + 0x20], 0
je 0x140081da4
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.140081b70
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140081bdc
mov r9b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140081d99
mov eax, r9d
xor al, 1
movzx eax, al
lea r8, [rax + rax*8]
add r8, 0x10
lea rax, str.invalid_syntaxrecursion_limit_reached_for_____::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14010db90]
test r9b, r9b
cmovne rdx, rax
call fcn.140010fb0
test al, al
je 0x140081d99
mov dil, 2
jmp 0x140081bda
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140081bda
mov dil, 1
xor r9d, r9d
jmp 0x140081d5a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140081bda