joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008740
Capabilities:
Create thread
Delete registry value
Set registry value

Disassembly:
mov eax, 0x1058
call fcn.1800480a0
sub rsp, rax
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rcx, [0x1800691b0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [rsp + 0x30]
lea r8, [0x1800527f8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov r9d, 4
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea r8, [0x1800527f8]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call fcn.18002cc84
cmp dword [0x180067228], 0
je 0x180008906
lea rax, str._PendingFetchThread
mov qword [rsp + 0x1060], rbx
lea r9, str.._rptcache.cpp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x1050], rdi
lea r8, str._s._d:_s
lea rcx, [rsp + 0x40]
xor edi, edi
mov edx, 0x800
mov dword [rsp + 0x20], 0x17b
mov dword [0x180067228], edi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [rsp + 0x30]
lea r8, [0x180006e50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x18000886f
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18002fec4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, str._StockReportThread
lea r9, str.._rptcache.cpp
mov qword [rsp + 0x28], r11
lea r8, str._s._d:_s
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], 0x17c
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rax, [rsp + 0x30]
lea r8, [0x1800084b0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, qword [rsp + 0x1050]
mov rbx, rax
test rax, rax
je 0x1800088f5
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18002fec4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x1060]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x1058
ret
Function at 0x180008920
Capabilities:
Check if file exists
Delete directory
Delete registry key

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea rcx, [rsp + 0x32]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call fcn.180035e00
lea rcx, [rsp + 0x30]
call fcn.180031314
test eax, eax
je 0x1800089c3
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x1800089c3
lea rax, [0x18002c3c4]
lea r8, [0x18002c37c]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.18002b9e4
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x250
pop rbx
ret

Function at 0x1800089e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
xor esi, esi
mov edi, esi
mov dword [r11 + 0x18], esi
mov dword [r11 + 0x10], 4
lea rax, [r11 + 0x10]
mov qword [r11 - 0x80], rax
lea rax, [r11 + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [r11 + 0x18]
lea r8, str.online
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x180008b2c
cmp dword [rsp + 0xc0], 4
jne 0x180008b2c
cmp dword [rsp + 0xc8], esi
je 0x180008b2c
mov byte [rsp + 0xb8], sil
test rbx, rbx
je 0x180008ada
mov qword [rsp + 0x58], recvfrom
mov qword [rsp + 0x50], rsi
mov byte [rsp + 0x40], sil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180001d80
nop
mov dword [rsp + 0xc0], 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.180003b00
nop
mov edi, 3
mov dword [rsp + 0xc0], edi
lea rdx, [rsp + 0xb8]
mov rcx, rax
call fcn.1800063b0
test eax, eax
setne bl
jmp 0x180008adc
xor bl, bl
test dil, 2
je 0x180008b10
and edi, 0xfffffffd
cmp qword [rsp + 0x80], 8
jb 0x180008afa
mov rcx, qword [rsp + 0x68]
call fcn.180033b90
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], rsi
mov word [rsp + 0x68], si
test dil, 1
je 0x180008b28
cmp qword [rsp + 0x58], 0x10
jb 0x180008b28
mov rcx, qword [rsp + 0x40]
call fcn.180033b90
mov al, bl
jmp 0x180008b2e
xor al, al
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800145c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x160
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
mov word [rsp + 0xd0], si
xor edx, edx
lea r8d, [rsi + 0x7e]
lea rcx, [r11 - 0x96]
call fcn.180035e00
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov r11d, dword [0x180069818]
mov ebx, r11d
inc r11d
mov dword [0x180069818], r11d
call fcn.18002c508
movzx edx, word [rsp + 0x6c]
movzx r8d, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x68]
movzx r11d, word [rsp + 0x66]
movzx ecx, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r8, str._04d__02d__02d__02d:_02d:_02d__d__08x
lea edx, [rsi + 0x40]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call fcn.18001de5c
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180003b00
cmp qword [rax + 0x20], 8
jb 0x1800146b8
mov rbx, qword [rax + 8]
jmp 0x1800146bc
lea rbx, [rax + 8]
test rbx, rbx
je 0x1800146cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x1800146ce
mov eax, esi
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
lea r8, [rsp + 0xd0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ebx, esi
test eax, eax
sete bl
cmp qword [rsp + 0x90], 8
jb 0x180014719
mov rcx, qword [rsp + 0x78]
call fcn.180033b90
mov qword [rsp + 0x90], 7
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
cmp qword [rsp + 0xc0], 0x10
jb 0x18001474a
mov rcx, qword [rsp + 0xa8]
call fcn.180033b90
test ebx, ebx
je 0x18001475c
lea rcx, str.GlobalD36B0A68_AE78_4fa2_BD9C_05FD95224F52
call fcn.1800144a0
jmp 0x180014780
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xd0]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcachependings_
lea rcx, str.CachedReport_write_register_failed:__s._s__d
call fcn.1800301f4
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800336d0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800155e0
Capabilities:
Create thread

Disassembly:
push rbx
mov eax, 0x1050
call fcn.1800480a0
sub rsp, rax
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rax, str._UdpRptHandleRoutine
lea r9, str..udprpt.cpp
lea r8, str._s._d:_s
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
mov edx, 0x800
mov dword [rsp + 0x20], WSAGetLastError
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r11d, r11d
lea rax, [rsp + 0x30]
lea r8, [0x180015360]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x30], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x18001567b
mov edx, dword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, str.thread__d_created:__s
call fcn.18002fec4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x1050
pop rbx
ret
Function at 0x18002b9e4
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xae8
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0xad0], rax
mov rax, qword [rsp + 0xb30]
mov rdi, rcx
mov rcx, qword [rsp + 0xb38]
mov qword [rsp + 0x48], rcx
xor ecx, ecx
mov qword [rsp + 0x38], r9
mov rbp, r8
mov dword [rsp + 0x30], edx
mov qword [rsp + 0x40], rax
cmp rdi, rcx
je 0x18002bc00
cmp r8, rcx
jne 0x18002ba44
cmp rax, rcx
je 0x18002bc00
cmp word [rdi + 2], 0x3a
je 0x18002ba9b
cmp word [rdi + 2], 0x5c
je 0x18002ba9b
mov word [rsp + 0x6c0], cx
lea rcx, [rsp + 0x6c2]
xor edx, edx
mov r8d, 0x40e
call fcn.180035e00
lea rdx, [rsp + 0x6c0]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x6c0]
mov rdx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdi, [rsp + 0x6c0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18002bc00
test al, 0x10
je 0x18002bc00
lea rcx, [rsp + 0x4b0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x180054058]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18002bc00
mov ebx, 1
lea rdx, [0x18005405c]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18002bbd7
lea rdx, [0x180054060]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18002bbd7
cmp dword [rsp + 0x50], 0xffffffff
je 0x18002bbd7
lea rcx, [rsp + 0x2a0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test byte [rsp + 0x50], 0x10
je 0x18002bbbf
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x18002bb8c
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x2a0]
call rax
test eax, eax
je 0x18002bbee
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
je 0x18002bbd7
mov rdx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
mov r8, rbp
mov qword [rsp + 0x28], rdx
mov edx, ecx
lea rcx, [rsp + 0x2a0]
mov qword [rsp + 0x20], rax
call fcn.18002b9e4
cmp eax, 2
jmp 0x18002bbd5
test rbp, rbp
je 0x18002bbd7
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x2a0]
call rbp
test eax, eax
je 0x18002bbee
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x18002bbf3
jmp 0x18002bb00
mov ebx, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
jmp 0x18002bc02
xor eax, eax
mov rcx, qword [rsp + 0xad0]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0xae8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002c314
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
cmp eax, ebx
jne 0x18002c331
xor eax, eax
jmp 0x18002c371
xor r9d, r9d
lea rax, [0x18002c3c4]
lea r8, [0x18002c37c]
lea edx, [r9 + 1]
mov rcx, rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.18002b9e4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x18002c508
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x140
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x21]
xor ebx, ebx
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], bl
call fcn.180035e00
lea rcx, [rsp + 0x20]
mov edx, 0x104
call fcn.18002c404
mov r11d, 0x179b06cc
movzx edx, byte [rsp + rbx + 0x20]
movzx eax, r11b
mov ecx, r11d
xor rdx, rax
shr ecx, 8
lea rax, [0x1800678d0]
mov r11d, dword [rax + rdx*4]
inc rbx
xor r11d, ecx
cmp rbx, 0x24
jl 0x18002c550
not r11d
mov eax, r11d
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x140
pop rbx
ret

Function at 0x18002c888
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebx, ecx
mov rdi, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x434
call fcn.180035e00
mov edx, ebx
mov ecx, 8
mov dword [rsp + 0x20], 0x438
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
test rax, rax
je 0x18002c911
cmp rax, 0xffffffffffffffff
je 0x18002c925
lea rdx, [rsp + 0x20]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
jmp 0x18002c90d
lea rcx, [rsp + 0x20]
mov rdx, rdi
call fcn.18002c948
test eax, eax
je 0x18002c911
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x18002c8ef
cmp rbx, 0xffffffffffffffff
je 0x18002c925
test rbx, rbx
je 0x18002c925
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1800336d0
mov rbx, qword [rsp + 0x490]
add rsp, 0x470
pop rdi
ret

Function at 0x18002d058
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov rdi, r9
mov rbp, r8
mov rsi, rdx
cmp r9, rbx
je 0x18002d08e
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x18002d090
mov eax, ebx
lea ecx, [rax + rax + 2]
mov r9d, 1
mov r8, rbp
mov dword [rsp + 0x28], ecx
mov rcx, 0xffffffff80000002
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800336d0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x18002d0d8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x868
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov qword [rcx + 0x20], 7
mov qword [rcx + 0x18], r13
mov word [rcx + 8], r13w
mov dword [rsp + 0x38], 1
mov rsi, r13
cmp r8, r13
je 0x18002d248
mov word [rsp + 0x50], r13w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x52]
call fcn.180035e00
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x34], r13d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [rsp + 0x34], 1
je 0x18002d198
cmp dword [rsp + 0x34], 2
jne 0x18002d248
mov eax, dword [rsp + 0x30]
cmp eax, r13d
je 0x18002d248
cmp eax, 0x800
jbe 0x18002d1ee
lea rcx, [rax + 2]
call fcn.180034bb8
mov rsi, rax
mov r8d, dword [rsp + 0x30]
add r8, 2
xor edx, edx
mov rcx, rax
call fcn.180035e00
lea r11, [rsp + 0x30]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x18002d214
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea rdx, [rsp + 0x50]
cmp rsi, r13
cmovne rdx, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.18000a880
cmp rsi, r13
je 0x18002d248
mov rcx, rsi
call fcn.180034b78
mov rax, rbx
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x868
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002d26c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x20a0
call fcn.1800480a0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov dword [rsp + 0x44], ebp
lea ecx, [rbp + 8]
call fcn.180033c8c
cmp rax, rbp
je 0x18002d2c7
mov qword [rax], rbx
jmp 0x18002d2ca
mov rax, rbp
mov qword [rbx], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], rbp
mov dword [rsp + 0x44], 1
lea r12, vtable.RegHandleHolder.0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdi, qword [rsp + 0x50]
cmp rdi, rbp
je 0x18002d420
mov esi, ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x1ffe
lea rcx, [rsp + 0x92]
call fcn.180035e00
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x18002d41b
inc esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.18000a880
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.18002d758
nop
cmp qword [rsp + 0x78], 8
jb 0x18002d3d6
mov rcx, qword [rsp + 0x60]
call fcn.180033b90
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
je 0x18002d376
mov rdi, qword [rsp + 0x50]
jmp 0x18002d420
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], r12
cmp rdi, rbp
je 0x18002d433
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.1800336d0
add rsp, 0x20a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18002d458
Capabilities:
Query or enumerate registry key

Disassembly:
push rsi
push rdi
push r13
mov eax, 0x20a0
call fcn.1800480a0
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x20c8], rbx
mov qword [rsp + 0x20d0], rbp
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x2090], rax
mov rbx, rcx
mov qword [rsp + 0x80], rcx
xor ebp, ebp
mov dword [rsp + 0x44], ebp
lea ecx, [rbp + 8]
call fcn.180033c8c
cmp rax, rbp
je 0x18002d4bb
mov qword [rax], rbx
jmp 0x18002d4be
mov rax, rbp
mov qword [rbx], rax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], rbp
mov dword [rsp + 0x44], 1
lea r13, vtable.RegHandleHolder.0
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 8
xor r8d, r8d
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_rptstore_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
mov rdi, qword [rsp + 0x50]
cmp rdi, rbp
je 0x18002d61c
mov esi, ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x1ffe
lea rcx, [rsp + 0x92]
call fcn.180035e00
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
jne 0x18002d617
inc esi
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x90]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.18000a880
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.18002d758
nop
cmp qword [rsp + 0x78], 8
jb 0x18002d5d2
mov rcx, qword [rsp + 0x60]
call fcn.180033b90
mov dword [rsp + 0x40], 0x1000
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov edx, esi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebp
je 0x18002d572
mov rdi, qword [rsp + 0x50]
jmp 0x18002d61c
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0x48], r13
cmp rdi, rbp
je 0x18002d62f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rcx, qword [rsp + 0x2090]
xor rcx, rsp
call fcn.1800336d0
lea r11, [rsp + 0x20a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret
Function at 0x1800311c4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.180035e00
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.18000a880
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800336d0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x1800312b4
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1800312d6
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x180031309
call fcn.18002cac4
mov rbx, rax
test rax, rax
je 0x180031309
mov r8, rax
mov edx, 4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
mov rcx, rbx
call fcn.18002cc48
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180031314
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x280
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1800654c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
lea r9, [0x180054440]
lea r8, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x38]
call fcn.18002d0d8
nop
xor edi, edi
cmp qword [rsp + 0x50], rdi
jbe 0x1800313af
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8d, 0x104
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rbx
call fcn.1800312b4
nop
cmp qword [rsp + 0x58], 8
jb 0x1800313a5
mov rcx, qword [rsp + 0x40]
call fcn.180033b90
mov eax, 1
jmp 0x18003145f
mov word [rsp + 0x60], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.180035e00
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
jne 0x1800313f4
cmp qword [rsp + 0x58], 8
jb 0x1800313f0
mov rcx, qword [rsp + 0x40]
call fcn.180033b90
xor eax, eax
jmp 0x18003145f
lea rdx, str.PodlpRptCache
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x60]
call fcn.1800312b4
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x60]
lea r8, [0x180054440]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_rptcache_
mov rcx, 0xffffffff80000002
call fcn.18002d058
nop
cmp qword [rsp + 0x58], 8
jb 0x18003145a
mov rcx, qword [rsp + 0x40]
call fcn.180033b90
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1800336d0
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret