joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000b4a0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.180011620
sub rsp, rax
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.180019b90
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.18001a58c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rbx]
lea rdx, str.__d__d__d__d__d__d___d_:_s
mov r9d, dword [rbx + 0x10]
mov r8d, dword [rbx + 0x14]
inc r9d
mov qword [rsp + 0x48], rdi
add r8d, 0x76c
mov dword [rsp + 0x40], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 4]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 8]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call fcn.18000b330
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x18002e208]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.180019f74
mov rbx, rax
test rax, rax
je 0x18000b5f3
test edi, edi
jne 0x18000b584
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.180016354
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000b590
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.180016354
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.180016354
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.180016354
mov rcx, rbx
call fcn.1800160a8
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1800115b0
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000b8b0
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov r8, 0xffffffffffffffff
mov rbx, rcx
mov rdi, r8
nop dword [rax]
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x18000b8d0
movsxd rcx, edi
mov eax, 2
inc rcx
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.180011600
mov rsi, rax
sub rax, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rax + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x18000b900
movsxd rdi, edi
mov ebp, 1
test rdi, rdi
js 0x18000b977
mov qword [rsp + 0x40], r14
xor r14d, r14d
mov qword [rsp + 0x48], r15
mov ebx, r14d
mov r15d, 0x5c
cmp word [rsi + rbx*2], r15w
jne 0x18000b960
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000b95b
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000b96a
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x18000b933
jmp 0x18000b96d
mov ebp, r14d
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rcx, rsi
call fcn.180011494
mov rbx, qword [rsp + 0x50]
mov eax, ebp
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000b990
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rdi, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call fcn.18000bea0
mov rbx, 0xffffffffffffffff
lea rcx, [rsp + 0x20]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000b9e0
test eax, eax
je 0x18000ba9a
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000ba00
mov eax, dword [0x18002d910]
lea rdx, [rsp + 0x20]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax]
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x18000ba20
xor r8d, r8d
nop
movzx ecx, word [rdi + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x18000ba30
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000ba50
mov dword [rcx], eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000ba76
lea rcx, [rsp + 0x20]
call fcn.18000b8b0
lea rax, [rsp + 0x20]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18000ba80
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180002980
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800115b0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18000bea0
Capabilities:
Get common file path

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor bl, bl
mov dword [rsp + 0x38], r9d
cmp byte [0x180044fb0], bl
mov r12d, r8d
mov r15, rdx
mov r13, rcx
mov r14d, 1
jne 0x18000bf57
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180013680
mov r9d, r14d
lea r8d, [r14 + 0x19]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x18000bf4a
lea rcx, [rsp + 0x40]
call fcn.180019de4
lea rdx, str.config_systemprofile
lea rcx, [rsp + 0x40]
call fcn.180013a28
test rax, rax
jne 0x18000bf41
lea rdx, str.documents_and_settingslocalservice
lea rcx, [rsp + 0x40]
call fcn.180013a28
test rax, rax
je 0x18000bf4a
mov byte [0x180044fb0], r14b
jmp 0x18000bf57
cmp byte [0x180044fb0], 0
je 0x18000c08d
mov qword [rsp + 0x278], rbp
lea rcx, str.Kernel32.dll
xor eax, eax
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x268], rdi
xor dil, dil
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rcx, str.Wtsapi32.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rbp, rbp
je 0x18000c026
test rax, rax
je 0x18000c026
lea rdx, str.WTSQueryUserToken
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.WTSGetActiveConsoleSessionId
mov rcx, rbp
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18000c002
test r14, r14
jne 0x18000c002
call rax
mov ecx, eax
lea rdx, [rsp + 0x30]
xor eax, eax
call rax
test eax, eax
je 0x18000c002
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
movzx edi, dil
mov r14d, 1
test eax, eax
cmovne edi, r14d
jmp 0x18000c008
mov r14d, 1
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test dil, dil
je 0x18000c026
mov rax, qword [rsp + 0x30]
jmp 0x18000c037
lea rcx, str.EXPLORER.EXE
call fcn.18000cae0
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x268]
mov rsi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x278]
test rax, rax
je 0x18000c08d
mov r9d, r14d
mov qword [rsp + 0x20], r15
mov r8, rax
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
movzx ebx, bl
cmove ebx, r14d
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x18000c08d
movzx eax, bl
jmp 0x18000c0ad
mov r9d, dword [rsp + 0x38]
mov r8d, r12d
mov rdx, r15
mov rcx, r13
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
movzx ecx, bl
cmovne ecx, r14d
movzx eax, cl
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1800115b0
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x18000c850
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
test rcx, rcx
jne 0x18000c890
xor eax, eax
jmp 0x18000caa0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], bx
jne 0x18000c8b0
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180002980
nop
lea rcx, [rsp + 0x48]
call fcn.18000eb60
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.180013680
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ca60
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000ca56
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000c940
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180002980
nop
lea rcx, [rsp + 0x28]
call fcn.18000eb60
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
lea r8, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae r8, r9
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x58]
jne 0x18000ca09
test rdx, rdx
je 0x18000c9b4
sub r8, rax
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x18000ca09
add rax, 2
sub rdx, 1
jne 0x18000c9a0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000ca60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ca02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000caca
call fcn.180011494
jmp 0x18000ca60
cmp r10, 8
jb 0x18000ca44
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000ca3c
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cad0
mov rcx, r9
call fcn.180011494
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000c910
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000ca9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ca99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cac4
call fcn.180011494
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800115b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180015e04
nop
call fcn.180015e04
nop
call fcn.180015e04
int3
Function at 0x18000ccd0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.180013680
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bx
jne 0x18000cd35
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.180002980
nop
lea rcx, [rsp + 0x28]
call fcn.18000eb60
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ce82
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000ce78
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000cdb0
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.180002980
nop
lea rcx, [rsp + 0x48]
call fcn.18000eb60
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
lea r8, [rsp + 0x48]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x60]
cmp r10, 8
cmovae r8, r9
mov rdx, qword [rsp + 0x58]
cmp rdx, qword [rsp + 0x38]
jne 0x18000ceea
test rdx, rdx
je 0x18000ce38
sub r8, rax
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x18000ceea
add rax, 2
sub rdx, 1
jne 0x18000ce20
mov ebx, 1
cmp r10, 8
jb 0x18000ce78
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000ce70
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf39
mov rcx, r9
call fcn.180011494
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000cec4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cebf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf3f
call fcn.180011494
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800115b0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp r10, 8
jb 0x18000cf21
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000cf19
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf33
mov rcx, r9
call fcn.180011494
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000cd83
call fcn.180015e04
int3
call fcn.180015e04
nop
call fcn.180015e04
int3
Function at 0x18000d260
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rbp + 0x7f0]
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rsp + 0x68], xmm0
xor r12d, r12d
mov word [rsp + 0x58], r12w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x18000d2d0
lea rcx, [rsp + 0x58]
call fcn.180002980
nop
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, [0x18002db18]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d34f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000d365
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18000d471
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18000d39c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
jmp 0x18000d349
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.180013680
mov dword [rsp + 0x48], 0x400
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x80]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x18000d401
test edi, edi
je 0x18000d34f
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180002980
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18000d471
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d46c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d495
call fcn.180011494
mov rax, rbx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1800115b0
add rsp, 0x890
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180015e04
int3
Function at 0x18000d4a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180044078]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov rdx, qword [rbp + 0x810]
movdqa xmm0, xmmword [0x18002d730]
movdqu xmmword [rbp - 0x78], xmm0
xor r12d, r12d
mov word [rsp + 0x78], r12w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x18000d510
lea rcx, [rsp + 0x78]
call fcn.180002980
nop
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf013f
xor r8d, r8d
lea rdx, [0x18002db18]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d5a3
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18000d5b8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18000d6df
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18000d603
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
jmp 0x18000d59d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.180013680
mov dword [rsp + 0x68], 0x400
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x60]
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x18000d670
test edi, edi
je 0x18000d5a3
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov r8, rdi
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.180002980
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18000d6df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d6da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d703
call fcn.180011494
mov rax, rbx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1800115b0
add rsp, 0x8b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180015e04
int3
Function at 0x18000d710
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x70
xor ebp, ebp
lea rax, [r11 - 0x28]
mov rsi, r9
mov qword [r11 - 0x28], rbp
mov rdi, r8
mov qword [r11 - 0x20], rbp
mov rbx, rcx
mov qword [r11 - 0x18], rbp
mov r9d, 0xf013f
mov qword [r11 - 0x10], rbp
xor r8d, r8d
mov qword [r11 - 0x58], rax
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d873
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov r9d, 0xf013f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x18002db18]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d868
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rbx
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000d85d
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rbp
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000d852
mov rcx, qword [rsp + 0xa0]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x18000d815
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rsi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000d890
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x70
xor r14d, r14d
lea rax, [r11 - 0x18]
mov rbx, r9
mov qword [r11 - 0x18], r14
mov rbp, r8
mov qword [r11 - 0x20], r14
mov rsi, rdx
mov qword [r11 - 0x28], r14
mov rdi, rcx
mov qword [r11 - 0x58], rax
mov r9d, 0xf013f
lea rdx, [0x18002db18]
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d9d4
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rdi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x18000d9c9
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], r14
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov rdx, rsi
mov dword [rsp + 0x28], 0xf013f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x18000d979
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
jmp 0x18000d9ce
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], r14w
lea rax, [rax + 1]
jne 0x18000d980
lea ecx, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret