joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002d320
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180113150
mov r9, rbx
lea r8, str.SYSTEMCurrentControlSetServices_s
mov edx, 0x103
lea rcx, [rsp + 0x40]
call fcn.18000f870
lea rax, [rsp + 0x30]
xor edi, edi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18002d3a9
xor eax, eax
jmp 0x18002d3ed
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.InstPath
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov dword [rsp + 0x38], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18010faf0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x18002d420
Capabilities:
Query service status

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rdx
mov rdi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x18002d479
mov r8d, 0xf01ff
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x18002d47d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x18002d4c4
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x80], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov esi, eax
test eax, eax
jne 0x18002d4a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18002d4a5
mov eax, dword [rsp + 0x24]
mov rcx, rdi
mov dword [r14], eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x50
pop r14
pop rdi
pop rbx
ret
Function at 0x18002d4e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x260], rax
movaps xmm0, xmmword [str.SystemCurrentControlSetServices_]
mov rbx, rcx
movaps xmm1, xmmword [0x1801590e0]
lea rcx, [rsp + 0x96]
mov eax, dword [0x180159110]
xor edx, edx
movaps xmmword [rsp + 0x50], xmm0
mov r8d, 0x1c2
movaps xmm0, xmmword [0x1801590f0]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [0x180159100]
mov dword [rsp + 0x90], eax
movzx eax, word [0x180159114]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
mov word [rsp + 0x94], ax
call fcn.180113150
test rbx, rbx
je 0x18002d605
mov r8, rbx
lea rcx, [rsp + 0x50]
mov edx, 0x103
call fcn.180125a58
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d605
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x38], eax
lea rdx, str.Start
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x38]
mov dword [rsp + 0x3c], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x18002d605
cmp dword [rsp + 0x38], 4
jne 0x18002d605
lea eax, [rbx + 1]
jmp 0x18002d607
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x270
pop rbx
ret

Function at 0x18002d620
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rdi
sub rsp, 0x120
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rdi, rcx
mov dword [rsp + 0x38], edx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0xc8
call fcn.180113150
test rdi, rdi
je 0x18002d718
lea r8, str.SystemCurrentControlSetServices_
mov edx, 0x63
lea rcx, [rsp + 0x40]
call fcn.1801259f0
mov r8, rdi
lea rcx, [rsp + 0x40]
mov edx, 0x63
call fcn.180125a58
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d718
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.Start
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x140], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, dword [rsp + 0x38]
lea rcx, str.Driver_s_New_Value_is__d_Status__d
mov r9d, ebx
mov rdx, rdi
call sym.SafeBase64.dll_DbgPrintW
xor eax, eax
test ebx, ebx
mov rbx, qword [rsp + 0x140]
sete al
jmp 0x18002d71a
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x120
pop rdi
ret
Function at 0x18002d740
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180113150
lea r8, str.SystemCurrentControlSetServices_
mov edx, 0x103
lea rcx, [rsp + 0x40]
call fcn.1801259f0
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, 0x103
call fcn.180125a58
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d81b
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Start
lea rax, [rsp + 0x3c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x18002d81b
cmp dword [rsp + 0x3c], 4
jae 0x18002d81b
lea eax, [rbx + 1]
jmp 0x18002d81d
xor eax, eax
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x260
pop rbx
ret

Function at 0x18002d840
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
mov r14, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.180113150
xor edi, edi
lea r8, str.SystemCurrentControlSetServices_
mov edx, 0x103
lea rcx, [rsp + 0x40]
mov esi, edi
call fcn.1801259f0
mov r8, rbx
lea rcx, [rsp + 0x40]
mov edx, 0x103
call fcn.180125a58
test r14, r14
je 0x18002d91a
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 4
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d91a
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Start
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete sil
test rbp, rbp
je 0x18002d993
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x208
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18002d98f
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.Group
xor r9d, r9d
mov qword [rsp + 0x20], rbp
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
jmp 0x18002d995
mov eax, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.18010faf0
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002d9c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov dword [rsp + 0x58], edx
mov rbx, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x70]
call fcn.180113150
xor edi, edi
lea r8, str.SystemCurrentControlSetServices_
mov edx, 0x103
lea rcx, [rsp + 0x70]
mov ebp, edi
call fcn.1801259f0
mov r8, rbx
lea rcx, [rsp + 0x70]
mov edx, 0x103
call fcn.180125a58
cmp dword [rsp + 0x58], 4
ja 0x18002dab8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18002dab8
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Start
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bpl
test rsi, rsi
je 0x18002db61
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
cmp word [rsi + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x18002dad0
lea ebx, [rax*2 + 2]
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18002db5d
mov rcx, qword [rsp + 0x50]
lea r9d, [rax + 1]
mov dword [rsp + 0x28], ebx
lea rdx, str.Group
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete dil
mov eax, edi
jmp 0x18002db63
mov eax, ebp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002dc70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x240
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbp, rcx
test rcx, rcx
je 0x18002dde0
xor edx, edx
mov qword [rsp + 0x258], rsi
mov r8d, 0x208
lea rcx, [rsp + 0x20]
call fcn.180113150
lea r8, str.SYSTEMCurrentControlSetControlSafeBootMinimal
mov edx, 0x103
lea rcx, [rsp + 0x20]
call fcn.1801259f0
lea r8, [0x180155ad4]
mov edx, 0x103
lea rcx, [rsp + 0x20]
call fcn.180125a58
mov r8, rbp
lea rcx, [rsp + 0x20]
mov edx, 0x103
call fcn.180125a58
xor edi, edi
mov ebx, edi
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
cmp eax, 5
jne 0x18002dd2a
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call sym.SafeBase64.dll_SetRegItemPrivilege
inc ebx
test esi, esi
je 0x18002dd37
cmp ebx, 3
jb 0x18002dd00
test esi, esi
mov rsi, qword [rsp + 0x258]
jne 0x18002dde0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.180113150
lea r8, str.SYSTEMCurrentControlSetControlSafeBootNetWork
mov edx, 0x103
lea rcx, [rsp + 0x20]
call fcn.1801259f0
lea r8, [0x180155ad4]
mov edx, 0x103
lea rcx, [rsp + 0x20]
call fcn.180125a58
mov r8, rbp
lea rcx, [rsp + 0x20]
mov edx, 0x103
call fcn.180125a58
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ebx, eax
cmp eax, 5
jne 0x18002ddca
lea rdx, [rsp + 0x20]
mov rcx, 0xffffffff80000002
call sym.SafeBase64.dll_SetRegItemPrivilege
inc edi
test ebx, ebx
je 0x18002ddd9
cmp edi, 3
jb 0x18002dda0
test ebx, ebx
jne 0x18002dde0
mov eax, 1
jmp 0x18002dde2
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.18010faf0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18002de10
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rbp + 0x40]
mov r8d, 0x208
call fcn.180113150
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.180113150
mov r8, rbx
lea rdx, str.SYSTEMCurrentControlSetServices_sInstances
lea rcx, [rbp + 0x40]
call fcn.18002e460
lea rax, [rsp + 0x30]
xor esi, esi
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18002dec6
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
lea rdx, [rbp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x18002df71
mov r8, rbx
lea rdx, str._s_Instances
lea rcx, [rsp + 0x40]
call fcn.18002e4c0
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x40]
mov rax, rbx
nop dword [rax]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x18002def0
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, str.DefaultInstance
lea rax, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x18002df6b
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x18002df78
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x18002df78
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x18002dffb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 4
lea rdx, str.Flags
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp word [rdi + rbx*2 + 2], si
lea rbx, [rbx + 1]
jne 0x18002dfb5
lea ecx, [rbx*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
lea rdx, str.Altitude
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x390]
add rsp, 0x360
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002e020
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r14, rcx
xor r12d, r12d
mov edi, r12d
mov qword [r11 - 0x38], r12
mov dword [r11 - 0x28], r12d
mov qword [r11 - 0x30], r12
lea r15d, [r12 + 1]
lea rax, [r11 - 0x30]
mov qword [r11 - 0x48], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlNetworkProviderOrder
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18002e0b5
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18010faf0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002e1fd
mov rsi, 0xffffffffffffffff
mov rcx, rsi
lea rcx, [rcx + 1]
cmp word [r14 + rcx*2], 0
jne 0x18002e0f0
mov eax, dword [rsp + 0x40]
add eax, 0x14
lea ecx, [rax + rcx*2]
mov ebx, ecx
call fcn.180115540
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002e1fd
mov r8d, ebx
xor edx, edx
mov rcx, rax
call fcn.180113150
shr rbx, 1
mov r8, r14
lea rdx, [rbx - 1]
mov rcx, rdi
call fcn.180125a58
lea r8, [0x1801593ec]
lea rdx, [rbx - 1]
mov rcx, rdi
call fcn.180125a58
mov rax, rsi
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x18002e153
lea rax, [rdi + rax*2]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18002e194
mov r15d, r12d
jmp 0x18002e1fd
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r14 + rax*2], 0
jne 0x18002e1a0
lea rcx, [rdi + rax*2]
mov rdx, r14
call fcn.18011273c
test rax, rax
jne 0x18002e1fd
nop dword [rax]
lea rsi, [rsi + 1]
cmp word [rdi + rsi*2], 0
jne 0x18002e1c0
lea eax, [rsi*2 + 2]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r15d
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmovne r15d, r12d
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x18002e20d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x18002e21a
mov rcx, rdi
call fcn.180115548
mov eax, r15d
jmp 0x18002e08d
Function at 0x18002e230
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor r15d, r15d
mov esi, r15d
mov qword [r11 - 0x48], r15
mov dword [r11 - 0x40], r15d
mov qword [r11 - 0x38], r15
lea r14d, [r15 + 1]
lea rax, [r11 - 0x38]
mov qword [r11 - 0x58], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SystemCurrentControlSetControlNetworkProviderOrder
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18002e2ba
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18010faf0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18002e42d
mov ecx, dword [rsp + 0x38]
add rcx, 2
mov rbx, 0xffffffffffffffff
cmovb rcx, rbx
call fcn.180115540
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18002e42d
mov r8d, dword [rsp + 0x38]
add r8, 2
xor edx, edx
mov rcx, rax
call fcn.180113150
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x18002e35c
mov r14d, r15d
jmp 0x18002e42d
mov rdx, rdi
mov rcx, rsi
call fcn.18011273c
mov r9, rax
test rax, rax
je 0x18002e42d
mov rcx, rbx
nop word [rax + rax]
lea rcx, [rcx + 1]
cmp word [rdi + rcx*2], 0
jne 0x18002e380
cmp word [rax + rcx*2], 0
jne 0x18002e3ad
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18002e392
imul eax, ebx, 0xfffffffe
add dword [rsp + 0x38], eax
mov word [r9], r15w
mov eax, dword [rsp + 0x38]
jmp 0x18002e406
mov rax, rbx
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x18002e3b0
lea rdx, [r9 + 2]
lea rdx, [rdx + rax*2]
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18002e3d0
add r8, 2
mov rcx, r9
call fcn.180112cb0
nop word [rax + rax]
lea rbx, [rbx + 1]
cmp word [rsi + rbx*2], 0
jne 0x18002e3f0
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9d, r14d
xor r8d, r8d
lea rdx, str.ProviderOrder
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmovne r14d, r15d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18002e43d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rsi, rsi
je 0x18002e44a
mov rcx, rsi
call fcn.180115548
mov eax, r14d
jmp 0x18002e297
Function at 0x18002fe80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 0x134]
lea rdx, [0x1801423a8]
mov rdi, rcx
lea esi, [rax + 0x2bc]
lea esi, [rax + rsi*2]
mov ecx, esi
call fcn.18010fb14
mov rbx, rax
test rax, rax
jne 0x18002fece
lea eax, [rbx - 0xa]
jmp 0x18002ff77
mov r8d, esi
mov rdx, rbx
mov rcx, rdi
call sym.SafeBase64.dll_Ordinal_508
mov edi, eax
test eax, eax
jne 0x18002fef1
mov rcx, rbx
call sym.SafeBase64.dll_SafeBase_free
mov eax, edi
jmp 0x18002ff77
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, str.License.dat
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18002ff38
mov rcx, rbx
call sym.SafeBase64.dll_SafeBase_free
xor eax, eax
jmp 0x18002ff77
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call sym.SafeBase64.dll_SafeBase_free
cmp dword [rsp + 0x40], edi
mov eax, 8
mov ecx, 0xfffffff5
cmovb eax, ecx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x1800300a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180185680]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx]
mov rdx, r8
mov rdi, r8
mov rbx, rcx
call qword [rax + 0x558]
cmp eax, 0x178
jae 0x1800300dc
mov eax, 0xffffffff
jmp 0x1800301d3
mov rax, qword [rbx]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x68], rsi
mov rcx, rbx
call qword [rax + 0x5c0]
lea rdx, [0x1801423a8]
mov rbx, rax
mov ecx, dword [rax + 0x134]
lea esi, [rcx + 0x2bc]
lea esi, [rcx + rsi*2]
mov ecx, esi
call fcn.18010fb14
mov rdi, rax
test rax, rax
jne 0x180030123
lea ebx, [rax - 0xa]
jmp 0x1800301cc
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call sym.SafeBase64.dll_Ordinal_508
mov ebx, eax
test eax, eax
jne 0x180030144
mov rcx, rdi
call sym.SafeBase64.dll_SafeBase_free
jmp 0x1800301cc
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
lea rcx, str.License.dat
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x18003018b
mov rcx, rdi
call sym.SafeBase64.dll_SafeBase_free
xor ebx, ebx
jmp 0x1800301cc
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call sym.SafeBase64.dll_SafeBase_free
cmp dword [rsp + 0x40], ebx
mov eax, 8
mov ecx, 0xfffffff5
cmovb eax, ecx
mov ebx, eax
mov rsi, qword [rsp + 0x68]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18010faf0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret