joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006018
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f1c0]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x1400071f8
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007188
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020628]
jmp 0x140007234
cmp qword [rbx + 0x18], rdi
je 0x14000723b
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000722b
jmp 0x140007255
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020628]
call fcn.140011fd8
lea rcx, [0x1400211f0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [rbx - 0x5add14e1]
invalid
test al, 0xab
test byte [rbx - 0x3a1bb422], ah
sub dl, byte [rbx + 0x3d]
add ch, byte [rdx - 0x62]
scasd eax, dword [rdi]
and ecx, dword [rax + rbx - 0x2df4a07c]
loope 0x14003f711
invalid
jp 0x14003f665
int 0xf
invalid
pmullw mm0, mm7
pop rsp
cld
invalid
pop rdx
hlt
popfq
xchg r8b, r8b
stosb byte [rdi], al
invalid
sub eax, 0x3d2a2f62
invalid
invalid
cmp byte [rsi + 0x61], ch
jb 0x14003f6a0
and eax, 0x25b17083
mov cl, 0x25
invalid
pop rdx
mov dh, 0xd0
mov esp, 0xe82aa6d3
cmp dl, byte [rax]
adc byte [rsi], al
std
test eax, 0x31a64fdf
movabs eax, dword [0x32c4dcc31aefbbad]
xor dword [rax + 0x66787f71], esi
mov cl, byte [rax + 0x6670152]
xchg edi, eax
xlatb
lea eax, [rdx]
pop rax
cmp dword [rbx + rdx], eax
movabs al, byte [0xd002df455e79f17a]
invalid
Function at 0x180001930
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180001958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180001958
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180006890
Capabilities:
Initialize winsock library

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x200
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movups xmm0, xmmword [0x1800152f0]
xor ebp, ebp
mov r14, r8
mov rsi, rdx
mov dword [rsp + 0x30], ebp
movdqu xmmword [rsp + 0x1e0], xmm0
mov rbx, rcx
mov dword [rsp + 0x34], ebp
mov rcx, qword [section..data]
lea r15, section..data
cmp rcx, r15
je 0x180006905
test byte [rcx + 0x1c], 1
je 0x180006905
mov eax, dword [r8]
mov edx, 0xb9
mov rcx, qword [rcx + 0x10]
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.1800092e4
test rsi, rsi
je 0x180006912
cmp dword [r14], ebp
jbe 0x180006912
mov word [rsi], bp
mov ecx, 0x101
lea rdx, [rsp + 0x40]
call qword [sym.imp.WSOCK32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x180006936
mov ebx, 0x4c6
jmp 0x180006ac9
lea rcx, [rsp + 0x30]
call fcn.180008d7c
test eax, eax
js 0x180006a89
cmp dword [rsp + 0x30], ebp
je 0x180006a89
lea rax, [rsp + 0x34]
mov r8, r14
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call fcn.18000b728
mov ebx, eax
test eax, eax
je 0x1800069ac
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006abd
test byte [rcx + 0x1c], 2
je 0x180006abd
mov eax, dword [r14]
mov edx, 0xbb
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.180009368
jmp 0x180006abd
test rsi, rsi
jne 0x1800069e2
mov rcx, qword [section..data]
cmp rcx, r15
je 0x1800069d8
test byte [rcx + 0x1c], 2
je 0x1800069d8
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xbc
call fcn.18000256c
mov ebx, 0x1e7
jmp 0x180006abd
cmp dword [rsp + 0x38], 1
jne 0x180006a28
cmp dword [rsp + 0x34], ebp
jne 0x180006a28
mov ebx, 0x4b1
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006abd
test byte [rcx + 0x1c], 2
je 0x180006abd
mov rcx, qword [rcx + 0x10]
mov edx, 0xbd
mov r9, rsi
mov dword [rsp + 0x20], ebx
call fcn.1800092e4
jmp 0x180006abd
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006a85
test byte [rcx + 0x1c], 8
je 0x180006a65
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xbe
mov r9, rsi
call fcn.1800091cc
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006a85
test byte [rcx + 0x1c], 1
je 0x180006a85
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xbf
call fcn.18000256c
xor eax, eax
jmp 0x180006af5
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006ab8
test byte [rcx + 0x1c], 2
je 0x180006ab8
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x1e0]
mov edx, 0xba
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, 0x4c6
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r15
je 0x180006af3
test byte [rcx + 0x1c], 2
je 0x180006af3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xc0
mov r9d, ebx
call fcn.180002598
mov eax, ebx
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.180001570
add rsp, 0x200
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x180008a24
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1e0
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov r14, rdx
mov dword [rsp + 0x20], 0x1000
mov r15, rcx
lea rdx, [rsp + 0x30]
xor r12d, r12d
mov ecx, 0x101
mov ebx, r12d
call qword [sym.imp.WSOCK32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x180008a87
mov ebx, 0x4c6
jmp 0x180008b16
mov eax, dword [rsp + 0x20]
mov edi, r12d
cmp edi, 2
jae 0x180008b0a
cmp eax, 0x8000000
jae 0x180008b0a
mov edx, eax
mov ecx, 0x40
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov rcx, r15
mov rdx, rax
mov rsi, rax
call fcn.18000ba54
mov ebx, eax
test eax, eax
js 0x180008b45
mov eax, dword [rsp + 0x20]
cmp ebp, eax
jb 0x180008ae4
mov r8d, eax
mov rdx, rsi
mov rcx, r14
call fcn.18000c5f0
mov ebx, eax
mov eax, dword [rsp + 0x20]
test rsi, rsi
je 0x180008afc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov eax, dword [rsp + 0x20]
test ebx, ebx
js 0x180008b04
cmp ebp, eax
jae 0x180008b0a
inc edi
test ebx, ebx
jns 0x180008a8e
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180001570
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
cmp ebx, 0x8007006f
jne 0x180008ae0
mov eax, dword [rsp + 0x20]
cmp eax, 0x8000000
cmovb ebx, r12d
jmp 0x180008ae4
Function at 0x18000e6a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x150], rax
and dword [rsp + 0x30], 0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9d, 0x103
lea rcx, [rsp + 0x40]
mov r8, rbx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Mount
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000e798
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.MountAsAnonymousUser
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rsp + 0x30], 0
mov eax, dword [rsi + 0x38]
je 0x18000e7a7
or eax, 2
jmp 0x18000e7aa
and eax, 0xfffffffd
mov dword [rsi + 0x38], eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000ea78
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov r9d, 0x103
mov rdi, r8
mov rbx, rcx
mov r8, rdx
xor r14d, r14d
lea rcx, [rsp + 0x50]
mov word [rbp + 0x156], r14w
lea edx, [r9 + 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Mount
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
mov eax, 0x100000
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x34], eax
mov r9d, 0x20019
mov dword [rsp + 0x38], eax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000eba9
mov rcx, qword [rsp + 0x40]
lea ebx, [rax + 4]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rax
lea rdx, str.ReadBuffer
lea rax, [rsp + 0x34]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.WriteBuffer
lea rax, [rsp + 0x38]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0xc], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x10], eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x270
pop r14
pop rdi
pop rbp
ret
Function at 0x18000ebe4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rbx, qword [r8]
lea rcx, [rsp + 0x50]
mov eax, 1
mov dword [rsp + 0x40], 0x100
mov r9d, 0x103
mov dword [rsp + 0x4c], eax
mov rdi, r8
mov dword [rsp + 0x48], eax
xor r14d, r14d
mov dword [rsp + 0x44], 0x1e
lea r8, str.SOFTWAREMicrosoftClientForNFSCurrentVersionUsersDefault
mov word [rbp + 0x156], r14w
lea esi, [r9 + 1]
mov edx, esi
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Cache
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000edd2
mov rcx, qword [rsp + 0x38]
lea esi, [rax + 4]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rax
lea rdx, str.FileAttributeCache
lea rax, [rsp + 0x4c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.RemoteWriteCache
lea rax, [rsp + 0x48]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.HashTableSize
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rcx
lea rax, [rdi + 0x20]
mov rcx, qword [rsp + 0x38]
lea rdx, str.CacheBlocks
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.AttributeTimeDelta
lea rax, [rsp + 0x44]
mov dword [rsp + 0x30], esi
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov eax, dword [rsp + 0x44]
mov qword [rbx + 0x30], rax
cmp dword [rsp + 0x48], r14d
je 0x18000edec
or dword [rbx + 0x38], 8
cmp dword [rsp + 0x4c], r14d
je 0x18000edf7
or dword [rbx + 0x38], 0x10
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.180001570
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18000ee28
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov ebx, 0x1ed
lea rcx, [rsp + 0x40]
mov rsi, r8
mov dword [rsp + 0x30], ebx
xor edx, edx
mov edi, 0xd
lea r8d, [rbx + 0x1b]
call sub.msvcrt.dll_memset
mov r9d, 0x103
lea r8, str.SOFTWAREMicrosoftClientForNFSCurrentVersionUsersDefault
lea rcx, [rsp + 0x40]
lea edx, [r9 + 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Defaults
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000ef33
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.Access
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test edi, edi
cmove ebx, dword [rsp + 0x30]
mov dword [rsi + 0x20], ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180001570
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x18000ef6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
mov eax, 1
mov edx, 0x8c
mov rbx, r8
mov dword [rbp + 0x20], eax
mov dword [rbp + 0x38], eax
lea ecx, [rax + 0x3f]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x18000f0d2
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
call sub.msvcrt.dll_memset
mov edx, 0x46
lea rax, str.Defaults
mov qword [rsp + 0x28], rax
lea r9, [0x1800150f8]
lea rax, str.SOFTWAREMicrosoftClientForNFSCurrentVersionUsersDefault
mov rcx, rdi
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 1]
call qword [sym.imp.msvcrt.dll__snwprintf_s]
nop dword [rax + rax]
lea rax, [rbp - 0x10]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000f09d
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rdx, str.NFSLookup
lea rax, [rbp + 0x20]
mov dword [rbp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rdx, str.NFSReaddir
lea rax, [rbp + 0x38]
mov dword [rbp + 0x28], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
cmp dword [rbp + 0x20], 0
mov eax, dword [rbx + 0x38]
je 0x18000f0bb
bts eax, 7
jmp 0x18000f0bf
btr eax, 7
cmp dword [rbp + 0x38], 0
je 0x18000f0cb
bts eax, 8
jmp 0x18000f0cf
btr eax, 8
mov dword [rbx + 0x38], eax
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
Function at 0x18000f0e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r8
mov dword [rsp + 0x30], 1
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9d, 0x103
lea rcx, [rsp + 0x40]
mov r8, rbx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Mount
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000f1df
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.NFSReaddir
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [rsp + 0x30], 0
mov eax, dword [rsi + 0x38]
je 0x18000f1ef
bts eax, 8
jmp 0x18000f1f3
btr eax, 8
mov dword [rsi + 0x38], eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000f220
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov esi, 0x1ed
mov r15, r8
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r14d, 0xd
lea r8d, [rsi + 0x1b]
call sub.msvcrt.dll_memset
mov r9d, 0x103
lea rcx, [rsp + 0x40]
mov r8, rbx
lea ebx, [r9 + 1]
mov edx, ebx
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Mount
mov edx, ebx
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000f327
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.Access
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov r14d, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test r14d, r14d
cmove esi, dword [rsp + 0x30]
mov dword [r15 + 0x20], esi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x260
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000f360
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [r8]
mov rbx, r8
call fcn.18000ffa8
lea rbp, str.SOFTWAREMicrosoftClientForNFSCurrentVersionUsersDefault
mov rsi, 0xffffffff80000002
mov rdx, rbp
mov rcx, rsi
mov r8, rdi
call fcn.18000ea78
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.18000fb70
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.18000f7e4
mov r8, rdi
call fcn.18000ef6c
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.18000f414
mov r8, rbx
call fcn.18000ebe4
mov r8, rdi
call fcn.18000ee28
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.18000e6a0
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.18000f908

Function at 0x18000f414
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r9d, 0x103
mov dword [rsp + 0x30], 1
mov rdi, r8
mov dword [rsp + 0x34], 4
mov rbx, rcx
mov r8, rdx
xor r14d, r14d
lea rcx, [rsp + 0x40]
lea edx, [r9 + 1]
mov word [rbp + 0x146], r14w
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
lea r8, str.Mount
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x18000f507
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.MountType
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rdi]
mov eax, dword [rsp + 0x30]
mov dword [rcx + 0x1c], eax
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.180001570
mov rbx, qword [rsp + 0x298]
add rsp, 0x260
pop r14
pop rdi
pop rbp
ret