joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003580
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x888
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rsp + 0x870], rax
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0x8e0]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.1800174c0
lea rax, [r14 + 0xc0]
cmp qword [rax + 0x18], 8
jb 0x1800035ef
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x70]
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x180003630
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180006750
mov dword [rsp + 0x30], 1
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x18000365c
mov rax, qword [rbx]
mov r11, rdi
sub r11, rax
movzx r10d, word [rax]
movzx edx, word [rax + r11]
sub r10d, edx
jne 0x180003678
add rax, 2
test edx, edx
jne 0x180003662
test r10d, r10d
jne 0x18000378c
mov qword [rsp + 0x20], rdi
mov r9, rbp
mov r8, rsi
cmp byte [r14 + 9], r10b
je 0x180003718
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.180003240
mov rdi, rax
cmp rbx, rax
je 0x1800036d1
mov rcx, rbx
call fcn.180002a00
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000378c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800037b5
jmp 0x180003787
lea rdx, str.HaoKanWallPaper
lea rcx, [rsp + 0x48]
call fcn.18000d920
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x18000374e
mov rcx, rbx
call fcn.180002a00
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18000378c
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000378c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003787
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800037af
call fcn.1800153bc
mov rax, rbx
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1800154d0
add rsp, 0x888
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.180019c44
int3
call fcn.180019c44
int3
Function at 0x180004b50
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1800174c0
cmp qword [rdi + 0x58], 8
lea r8, [rdi + 0x40]
jb 0x180004b9e
mov r8, qword [r8]
lea r9, str.Config
lea rdx, [0x180031a40]
lea rcx, [rsp + 0x40]
call fcn.180002c70
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004bcf
lea rcx, [rsp + 0x40]
call fcn.18000bd50
xor edx, edx
lea rcx, [rbp + 0x360]
mov r8d, 0x208
call fcn.1800174c0
lea r9, str.userconfig.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x360]
call fcn.180002c70
mov rbx, 0xffffffffffffffff
lea rax, [rbp + 0x360]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x180004c13
lea rcx, [rdi + 0xc0]
lea rdx, [rbp + 0x360]
call fcn.180006750
xor edx, edx
lea rcx, [rbp + 0x570]
mov r8d, 0x208
call fcn.1800174c0
lea r9, str.Config.ini
lea r8, [rsp + 0x40]
lea rdx, str._s_s
lea rcx, [rbp + 0x570]
call fcn.180002c70
lea rax, [rbp + 0x570]
mov r8, rbx
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x180004c70
lea rcx, [rdi + 0xe0]
lea rdx, [rbp + 0x570]
call fcn.180006750
xor edx, edx
lea rcx, [rbp + 0x150]
mov r8d, 0x208
call fcn.1800174c0
lea rdx, str.XsfyPath
lea rcx, [rsp + 0x20]
call fcn.18000bff0
cmp qword [rax + 0x18], 8
jb 0x180004cbd
mov rax, qword [rax]
mov r8, rax
lea rdx, [0x180031a9c]
lea rcx, [rbp + 0x150]
call fcn.180002c70
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180004d15
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d10
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004db4
call fcn.1800153bc
lea rcx, [rbp + 0x150]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180004d32
lea rcx, [rbp + 0x150]
call fcn.18000bd50
xor edx, edx
lea rcx, [rbp + 0x780]
mov r8d, 0x208
call fcn.1800174c0
lea r9, str.Config.ini
lea r8, [rbp + 0x150]
lea rdx, str._s_s
lea rcx, [rbp + 0x780]
call fcn.180002c70
lea rax, [rbp + 0x780]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004d70
mov r8, rbx
lea rcx, [rdi + 0x100]
lea rdx, [rbp + 0x780]
call fcn.180006750
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.1800154d0
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180019c44
int3
Function at 0x18000b940
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.180015540
sub rsp, rax
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov rdi, rdx
xor ecx, ecx
call fcn.18001d9d0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.18001e3cc
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.18000b7d0
mov rcx, rsi
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, 1
lea rdx, [0x180032268]
test eax, eax
mov rcx, rsi
cmovne edi, ebp
call fcn.18001ddbc
mov rbx, rax
test rax, rax
je 0x18000ba93
test edi, edi
jne 0x18000ba24
mov eax, 0xfeff
lea r8d, [rbp + 1]
mov r9, rbx
mov word [rsp + 0x54], ax
mov edx, ebp
lea rcx, [rsp + 0x54]
call fcn.18001a19c
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000ba30
add eax, eax
lea rcx, [rsp + 0x60]
movsxd r8, eax
mov r9, rbx
mov rdx, rbp
call fcn.18001a19c
mov eax, 0xd
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 0xb]
call fcn.18001a19c
mov eax, 0xa
lea rcx, [rsp + 0x50]
mov r9, rbx
mov word [rsp + 0x50], ax
mov rdx, rbp
lea r8d, [rax - 8]
call fcn.18001a19c
mov rcx, rbx
call fcn.180019ef0
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.1800154d0
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret

Function at 0x18000bd50
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 0x18000bd70
movsxd rcx, edi
mov eax, 2
inc rcx
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.180015520
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 0x18000bda0
movsxd rdi, edi
mov ebp, 1
test rdi, rdi
js 0x18000be17
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 0x18000be00
mov rcx, rsi
mov word [rsi + rbx*2], r14w
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000bdfb
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x18000be0a
mov word [rsi + rbx*2], r15w
inc rbx
cmp rbx, rdi
jle 0x18000bdd3
jmp 0x18000be0d
mov ebp, r14d
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rcx, rsi
call fcn.1800153bc
mov rbx, qword [rsp + 0x50]
mov eax, ebp
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000be30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor r9d, r9d
mov rbx, rdx
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call fcn.18000c2f0
lea rcx, [rsp + 0x20]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000be74
test eax, eax
je 0x18000bf13
lea rcx, [rsp + 0x20]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x18000be90
mov eax, dword [0x180031944]
lea rdx, [rsp + 0x20]
sub rdx, 2
mov dword [rcx], eax
nop dword [rax]
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x18000beb0
xor r8d, r8d
nop
movzx ecx, word [rbx + r8*2]
mov word [rdx + r8*2], cx
lea r8, [r8 + 1]
test cx, cx
jne 0x18000bec0
lea rdx, [rsp + 0x20]
sub rdx, 2
nop dword [rax]
cmp word [rdx + 2], 0
lea rdx, [rdx + 2]
jne 0x18000bee0
lea rcx, [rsp + 0x20]
mov dword [rdx], eax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18000bf06
lea rcx, [rsp + 0x20]
call fcn.18000bd50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180009d00
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800154d0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
Function at 0x18000c2f0
Capabilities:
Get common file path

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x18004a0a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor bl, bl
mov dword [rsp + 0x38], r9d
cmp byte [0x18004b380], bl
mov r12d, r8d
mov r15, rdx
mov r13, rcx
mov r14d, 1
jne 0x18000c3a7
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.1800174c0
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 0x18000c39a
lea rcx, [rsp + 0x40]
call fcn.18001dc2c
lea rdx, str.config_systemprofile
lea rcx, [rsp + 0x40]
call fcn.180017868
test rax, rax
jne 0x18000c391
lea rdx, str.documents_and_settingslocalservice
lea rcx, [rsp + 0x40]
call fcn.180017868
test rax, rax
je 0x18000c39a
mov byte [0x18004b380], r14b
jmp 0x18000c3a7
cmp byte [0x18004b380], 0
je 0x18000c4dd
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 0x18000c476
test rax, rax
je 0x18000c476
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 0x18000c452
test r14, r14
jne 0x18000c452
call rax
mov ecx, eax
lea rdx, [rsp + 0x30]
xor eax, eax
call rax
test eax, eax
je 0x18000c452
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 0x18000c458
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 0x18000c476
mov rax, qword [rsp + 0x30]
jmp 0x18000c487
lea rcx, str.EXPLORER.EXE
call fcn.18000cf90
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x268]
mov rsi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x278]
test rax, rax
je 0x18000c4dd
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 0x18000c4dd
movzx eax, bl
jmp 0x18000c4fd
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.1800154d0
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x18000cd30
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 [0x18004a0a8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
test rcx, rcx
jne 0x18000cd70
xor eax, eax
jmp 0x18000cf50
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180009d00
nop
lea rcx, [rsp + 0x48]
call fcn.18000efe0
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.1800174c0
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000cf10
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000cf06
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.180009d00
nop
lea rcx, [rsp + 0x28]
call fcn.18000efe0
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 0x18000ceb9
test rdx, rdx
je 0x18000ce64
sub r8, rax
nop dword [rax + rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x18000ceb9
add rax, 2
sub rdx, 1
jne 0x18000ce50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000cf10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ceb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf7a
call fcn.1800153bc
jmp 0x18000cf10
cmp r10, 8
jb 0x18000cef4
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000ceec
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf80
mov rcx, r9
call fcn.1800153bc
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000cddb
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x18000cf4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cf49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf74
call fcn.1800153bc
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800154d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180019c44
nop
call fcn.180019c44
nop
call fcn.180019c44
int3
Function at 0x18000d180
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 [0x18004a0a8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
xor edi, edi
xor edx, edx
mov r8d, 0x238
lea rcx, [rsp + 0x70]
call fcn.1800174c0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180009d00
nop
lea rcx, [rsp + 0x28]
call fcn.18000efe0
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18000d302
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x18000d2f8
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.180009d00
nop
lea rcx, [rsp + 0x48]
call fcn.18000efe0
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 0x18000d36a
test rdx, rdx
je 0x18000d2b8
sub r8, rax
nop word [rax + rax]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x18000d36a
add rax, 2
sub rdx, 1
jne 0x18000d2a0
mov edi, 1
cmp r10, 8
jb 0x18000d2f8
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000d2f0
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d3b9
mov rcx, r9
call fcn.1800153bc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000d344
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d33f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d3bf
call fcn.1800153bc
mov eax, edi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1800154d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
cmp r10, 8
jb 0x18000d3a1
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x18000d399
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d3b3
mov rcx, r9
call fcn.1800153bc
lea rdx, [rsp + 0x70]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
jmp 0x18000d222
call fcn.180019c44
int3
call fcn.180019c44
nop
call fcn.180019c44
int3
Function at 0x18000d6e0
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 [0x18004a0a8]
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 [0x1800317a0]
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 0x18000d750
lea rcx, [rsp + 0x58]
call fcn.180006750
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, [0x180031b78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000d7cf
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 0x18000d7e5
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 0x18000d8f1
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 0x18000d81c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
jmp 0x18000d7c9
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x80]
call fcn.1800174c0
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 0x18000d881
test edi, edi
je 0x18000d7cf
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.180006750
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x18000d8f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d8ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d915
call fcn.1800153bc
mov rax, rbx
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1800154d0
add rsp, 0x890
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180019c44
int3
Function at 0x18000d920
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 [0x18004a0a8]
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 [0x1800317a0]
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 0x18000d990
lea rcx, [rsp + 0x78]
call fcn.180006750
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, [0x180031b78]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000da23
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 0x18000da38
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 0x18000db5f
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 0x18000da83
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
jmp 0x18000da1d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x60]
call fcn.1800174c0
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 0x18000daf0
test edi, edi
je 0x18000da23
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.180006750
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18000db5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000db5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000db83
call fcn.1800153bc
mov rax, rbx
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1800154d0
add rsp, 0x8b0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180019c44
int3