joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ec9c0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x6d0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov rsi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::FindFile
lea rcx, [rsp + 0x30]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rsi
mov r9, rbx
lea r8, str.lpszDirectory___s__lpszFile___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007780
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4b0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2a0]
call fcn.14024b970
mov rdx, rbx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsp + rcx*2 + 0x29e], 0x5c
je 0x1400eca95
lea rdx, [0x1402e5094]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9, rsi
lea r8, [rsp + 0x2a0]
lea rdx, [0x1402e3978]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400ecafb
mov edi, 1
nop word [rax + rax]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ecae0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
mov eax, edi
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400ed180
Capabilities:
Query or enumerate registry value

Disassembly:
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::GetRegistryData
lea rcx, [rsp + 0x40]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.lpsKey___s__lpszItem___s
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140007780
lea r11, [rsp + 0x30]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400ed237
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400ed270
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov esi, r9d
mov rdi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::WriteRegistryData
lea rcx, [rax - 0x20]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.lpsKey___s__lpszItem___s
mov edx, 1
lea rcx, [rsp + 0x68]
call fcn.140007780
lea r11, [rsp + 0x50]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400ed343
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140007780
nop
lea rcx, [rsp + 0x68]
call fcn.140007730
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400ed380
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r15d, r9d
mov r14, r8
mov r13, rdx
mov r12, rcx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::CheckFileVersion
lea rcx, [rsp + 0x40]
call fcn.1400075a0
nop
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
mov r9, r13
lea r8, str.lpszFile___s__lpszVersion___s__bFile___d
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140007780
xor edi, edi
mov dword [rsp + 0x34], edi
lea rdx, [rsp + 0x34]
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x1400ed43f
or r9d, 0xffffffff
lea r8, str.return___08x
lea edx, [rdi + 2]
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
or eax, 0xffffffff
jmp 0x1400ed593
lea edx, [rax + 0x64]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400ed480
or r9d, 0xffffffff
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
or eax, 0xffffffff
jmp 0x1400ed593
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400ed564
lea r8, str.VarFileInfoTranslation
mov edx, 0x40
lea rcx, [rsp + 0x60]
call fcn.140246628
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x30], 4
jne 0x1400ed4ff
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 3]
movzx r9d, byte [rax]
movzx r8d, byte [rax + 1]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str.StringFileInfo_02x_02x_02x_02x_
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400ed510
lea rdx, str.StringFileInfo040904e4_
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [0x140305b28]
lea rdx, [0x1403102f0]
cmp r15d, 1
cmove rdx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x30], edi
je 0x1400ed564
mov rax, qword [r12]
mov r8, r14
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call qword [rax + 0x80]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
mov eax, edi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140245660
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ee1a0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12d, r9d
mov rdi, r8
mov r13, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::GetFileVersionEx
lea rcx, [rsp + 0x40]
call fcn.1400075a0
nop
mov dword [rsp + 0x20], r12d
mov r9, r13
lea r8, str.lpszFile___s__bType___d
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140007780
mov dword [rsp + 0x50], 0
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x1400ee255
lea r9d, [rax + 1]
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
xor eax, eax
jmp 0x1400ee40a
lea edx, [rax + 0x64]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
jne 0x1400ee295
lea r9d, [rax + 1]
lea r8, str.return___08x
lea edx, [rax + 2]
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
xor eax, eax
jmp 0x1400ee40a
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400ee3bd
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
cmp dword [rsp + 0x30], 4
jne 0x1400ee301
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 3]
movzx r9d, byte [rax]
movzx r8d, byte [rax + 1]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str.StringFileInfo_02x_02x_02x_02x_
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400ee313
lea rdx, str.StringFileInfo040904e4_
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [0x140305b28]
lea rdx, [0x1403102f0]
cmp r12d, 1
cmove rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r9, [rsp + 0x60]
lea r8, str._t_t_tVerInfo__s_
mov edx, 7
lea rcx, [rsp + 0x40]
call fcn.140007780
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov r9d, dword [rsp + 0x30]
lea r8, str._t_t_tVerSize__d_
mov edx, 7
lea rcx, [rsp + 0x40]
call fcn.140007780
cmp dword [rsp + 0x30], 0
je 0x1400ee3bd
cmp r12d, 1
jne 0x1400ee39f
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1400ee3bd
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
add r8, r8
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.140246c50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r9, rdi
lea r8, str._t_t_tFile_Version__s_
mov edx, 7
lea rcx, [rsp + 0x40]
call fcn.140007780
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x40]
call fcn.140007780
nop
lea rcx, [rsp + 0x40]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x170
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ef2a0
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xc00]
sub rsp, 0xd00
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xd20], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::CopyFileWithWildCard
lea rcx, [rsp + 0x30]
call fcn.1400075a0
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.lpSrcDir___s__lpDstDir___s__lpFileName___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007780
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7d0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x5c0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.14024b970
mov rdx, rbx
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, rdi
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov r9, rsi
lea r8, [rbp + 0x1a0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x9e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400ef4c1
nop dword [rax]
test byte [rsp + 0x50], 0x10
jne 0x1400ef4a2
lea rdx, [0x1402e3994]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400ef4a2
lea rdx, [0x1402e3998]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400ef4a2
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x1a0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x3b0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x5c0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 1
lea rdx, [rbp + 0x5c0]
lea rcx, [rbp + 0x7d0]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea r11, [rbp + 0x5c0]
mov qword [rsp + 0x20], r11
lea r9, [rbp + 0x7d0]
lea r8, str._t_t_t_s_____s.
mov edx, 7
lea rcx, [rsp + 0x30]
call fcn.140007780
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ef3e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0xd20]
add rsp, 0xd00
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400ef8b0
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x278
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, r9
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::MoveFileEx
lea rcx, [rsp + 0x38]
call fcn.1400075a0
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbp
lea r8, str.lpSrcDir___s__lpDstDir___s__lpFileName___s
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140007780
mov r11, qword [rbx]
mov r9, rsi
mov r8, rdi
mov rdx, rbp
mov rcx, rbx
call qword [r11 + 0xd0]
mov ebx, eax
test eax, eax
je 0x1400ef9eb
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.14024b970
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140005900
nop
lea rdx, [0x1402dc4e0]
mov rcx, qword [rsp + 0x30]
call fcn.140247088
test eax, eax
je 0x1400ef9cb
lea r8, str..pnf
lea rdx, [0x140310df8]
lea rcx, [rsp + 0x30]
call fcn.14002fcb0
mov r9, qword [rsp + 0x30]
mov r8, rbp
lea rdx, [0x1402dd6b0]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
lea r9, [rsp + 0x50]
lea r8, str._t_t_tFile_Delete___s_
mov edx, 7
lea rcx, [rsp + 0x38]
call fcn.140007780
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400ef9eb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140007780
nop
lea rcx, [rsp + 0x38]
call fcn.140007730
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140245660
add rsp, 0x278
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400efa30
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5d8]
sub rsp, 0x6d0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x5c0], rax
mov rbx, r8
mov rdi, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::DeleteFile
lea rcx, [rsp + 0x30]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, str.lpszDirectory___s__lpszFile___s
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140007780
test rdi, rdi
je 0x1400efc18
test rbx, rbx
je 0x1400efc18
lea rdx, [0x1402dc4e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400efc18
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3b0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14024b970
mov rdx, rdi
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x19e], 0x5c
je 0x1400efb2e
lea rdx, [0x1402e5094]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9, rbx
lea r8, [rbp + 0x1a0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400efbeb
nop dword [rax + rax]
test byte [rsp + 0x50], 0x10
jne 0x1400efbd0
lea rdx, [0x1402e3994]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400efbd0
lea rdx, [0x1402e3998]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400efbd0
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x1a0]
lea rdx, [0x1402e3978]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400efb70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
mov eax, 1
jmp 0x1400efc3d
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x30]
call fcn.140007780
nop
lea rcx, [rsp + 0x30]
call fcn.140007730
xor eax, eax
mov rcx, qword [rbp + 0x5c0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400efc70
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5c8]
sub rsp, 0x6c0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rdi, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::DeleteFolder
lea rcx, [rsp + 0x20]
call fcn.1400075a0
nop
mov r9, rdi
lea r8, str.lpszDirectory___s
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140007780
test rdi, rdi
je 0x1400efe8a
lea rdx, [0x1402dc4e0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400efe8a
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3a0]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.14024b970
mov rdx, rdi
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x18e], 0x5c
je 0x1400efd5d
lea rdx, [0x1402e5094]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rbp + 0x190]
lea rdx, [0x1402e3988]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400efe54
test byte [rsp + 0x40], 0x10
je 0x1400efe08
lea rdx, [0x1402e3994]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400efe01
lea rdx, [0x1402e3998]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400efe01
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x190]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
lea rdx, [rbp + 0x3a0]
call qword [rax + 0xe8]
test byte [rsp + 0x40], 0x10
jne 0x1400efe35
lea r9, [rsp + 0x6c]
lea r8, [rbp + 0x190]
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400efd97
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x20]
call fcn.140007780
nop
lea rcx, [rsp + 0x20]
call fcn.140007730
mov eax, 1
jmp 0x1400efeaf
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x20]
call fcn.140007780
nop
lea rcx, [rsp + 0x20]
call fcn.140007730
xor eax, eax
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400f01a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rbx, r9
mov rdi, r8
mov rsi, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::QueryRegValue
lea rcx, [rsp + 0x38]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], rdi
mov r9, rsi
lea r8, str.hKey___08x__name___s
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140007780
mov r11, qword [rsp + 0x88]
mov qword [rsp + 0x28], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov r9d, eax
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.140007780
nop
lea rcx, [rsp + 0x38]
call fcn.140007730
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400f0260
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r12
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov edi, r9d
mov rsi, r8
mov rbp, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::SetRegValue
lea rcx, [rax - 0x20]
call fcn.1400075a0
nop
mov r12, qword [rsp + 0x90]
mov ebx, dword [rsp + 0x98]
mov r9, rbp
mov edx, 1
lea rcx, [rsp + 0x48]
cmp edi, edx
jne 0x1400f02df
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rsi
lea r8, str.hKey___08x__name___s__dwType___X__dwSize___d__value___s
call fcn.140007780
jmp 0x1400f0320
cmp edi, 4
jne 0x1400f0307
mov eax, dword [r12]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r8, str.hKey___08x__name___s__dwType___X__dwSize___d__value___X
call fcn.140007780
jmp 0x1400f0320
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
lea r8, str.hKey___08x__name___s__dwType___X__dwSize___d
call fcn.140007780
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
mov r9d, edi
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov r9d, eax
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret