joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013c40
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x240
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov r13, rdx
mov rsi, rcx
call fcn.14000e670
xor edi, edi
mov rbp, rax
test rax, rax
je 0x140013ce6
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [0x14003eaf0]
mov rcx, rax
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x14003eb00]
mov rcx, r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rbp + 2]
lea rdx, [0x14003eb10]
lea rcx, [rsp + 0x20]
mov r8, r13
call rbx
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140013cda
mov dil, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, dil
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001cb70
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140013e10
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
and qword [rsp + 0x30], 0
lea r9, [rsp + 0x30]
lea rcx, [0x14003aec0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140013e3c
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
lea r9, [rsp + 0x30]
lea rcx, [0x14003aeb0]
xor ebx, ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
cmovns rbx, qword [rsp + 0x30]
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x140013e74
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140013eb3
xor al, al
jmp 0x140013f03
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x140013ef8
jmp 0x140013ee2
lea rcx, [rsp + 0x4c]
mov rdx, rsi
call fcn.14001f5ac
test eax, eax
je 0x140013ef6
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140013ed1
jmp 0x140013ef8
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140013f28
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5b8]
sub rsp, 0x6b0
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
lea rdx, [rbp + 0x390]
mov rbx, rcx
sub rdx, rcx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x140013f64
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x390]
repne scasw ax, word [rdi]
mov eax, dword [0x14003ebdc]
lea rdx, [rsp + 0x30]
mov dword [rdi - 2], eax
movzx eax, word [0x14003ebe0]
lea rcx, [rbp + 0x390]
mov word [rdi + 2], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
jne 0x140013fbc
xor al, al
jmp 0x1400140a9
mov r8d, 2
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003eac4]
mov ecx, r8d
repe cmpsw word [rsi], word [rdi]
je 0x140014077
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003ebe4]
lea ecx, [r8 + 1]
repe cmpsw word [rsi], word [rdi]
je 0x140014077
lea rdx, [rbp + 0x180]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x140014000
or rdx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x180]
mov rcx, rdx
repne scasw ax, word [rdi]
mov eax, dword [0x14003eafc]
mov rcx, rdx
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x180]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x140014046
test byte [rsp + 0x30], 0x10
lea rcx, [rbp + 0x180]
je 0x14001406d
call fcn.140013f28
test al, al
jmp 0x140014075
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400140d1
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013fbc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140013fb5
Function at 0x1400140e4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov r8, rcx
lea rdx, [0x14003ebf0]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014272
test byte [rsp + 0x40], 0x10
jne 0x140014294
test byte [rsp + 0x40], 2
jne 0x140014294
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x30], 0x1f40
jge 0x140014253
lea r9, [rsp + 0x6c]
lea rdx, [0x14003ec00]
lea rcx, [rbp + 0x190]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea rdx, [0x14003ec10]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec20]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec30]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec40]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec50]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec60]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x14001423f
lea rdx, [0x14003ec68]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x14001424e
lea rcx, [rbp + 0x190]
mov rdx, rsi
call fcn.140013c40
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140014152
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14001cb70
mov rbx, qword [rsp + 0x900]
add rsp, 0x8d0
pop rdi
pop rsi
pop rbp
ret
lea rsi, [rsp + 0x6c]
lea rdi, [0x14003eb0c]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14001431c
lea rsi, [rsp + 0x6c]
lea rdi, [0x14003ec70]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14001431c
lea rcx, [rsp + 0x6c]
call fcn.140013d74
mov rdi, qword [rsp + 0x20]
test al, al
jne 0x140014326
lea r9, [rsp + 0x6c]
lea rdx, str._s_s
lea rcx, [rbp + 0x3a0]
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3a0]
call fcn.140013d10
mov rsi, qword [rsp + 0x28]
test al, al
je 0x140014253
lea rcx, [rbp + 0x3a0]
mov rdx, rsi
call fcn.1400140e4
jmp 0x140014253
mov rsi, qword [rsp + 0x28]
jmp 0x14001424e
mov rsi, qword [rsp + 0x28]
jmp 0x140014253
Function at 0x140014330
Capabilities:
Copy file
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x7c8]
sub rsp, 0x8c0
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov rax, rdx
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14001452c
lea rdx, [rbp + 0x5a0]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
test ax, ax
jne 0x14001438a
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5a0]
repne scasw ax, word [rdi]
mov eax, dword [0x14003ec84]
lea rdx, [rsp + 0x30]
mov dword [rdi - 2], eax
movzx eax, word [0x14003ec88]
lea rcx, [rbp + 0x5a0]
mov word [rdi + 2], ax
call qword [0x14004dab0]
or r10, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
cmp rax, r10
je 0x14001452c
mov r8d, 2
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003eb1c]
mov ecx, r8d
repe cmpsw word [rsi], word [rdi]
je 0x140014501
lea rsi, [rsp + 0x5c]
lea rdi, [0x14003ec8c]
lea ecx, [r8 + 1]
repe cmpsw word [rsi], word [rdi]
je 0x140014501
lea rdx, [rbp + 0x390]
mov rcx, rbx
sub rdx, rbx
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x140014426
xor eax, eax
lea rdi, [rbp + 0x390]
mov rcx, r10
repne scasw ax, word [rdi]
mov eax, dword [0x14003eb34]
mov rcx, r10
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x390]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x140014468
mov rax, qword [rsp + 0x28]
lea rdx, [rbp + 0x180]
mov rcx, rax
sub rdx, rax
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, r8
test ax, ax
jne 0x14001448a
xor eax, eax
lea rdi, [rbp + 0x180]
mov rcx, r10
repne scasw ax, word [rdi]
mov eax, dword [0x14003eb44]
mov rcx, r10
sub rdi, r8
lea rdx, [rsp + 0x5c]
mov dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x180]
repne scasw ax, word [rdi]
sub rdi, r8
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, r8
test ax, ax
jne 0x1400144cc
test byte [rsp + 0x30], 0x10
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
je 0x1400144f8
call fcn.140014330
jmp 0x140014501
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r10, 0xffffffffffffffff
test eax, eax
jne 0x1400143e2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400145b0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov rbx, r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov rdx, rcx
lea r8, [0x14003ec94]
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x38], rbx
call fcn.140009230
lea rcx, [rbp - 0x48]
call fcn.140004f30
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400147a9
xor edi, edi
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140004ecc
mov rdx, qword [rsp + 0x28]
lea r8, [0x14003eb94]
lea rcx, [rbp - 0x20]
call fcn.140009230
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
mov rdx, rax
call fcn.140015490
lea rcx, [rbp - 0x20]
call fcn.140004f24
mov rdx, qword [rsp + 0x30]
lea r8, [0x14003ebac]
lea rcx, [rbp - 0x20]
call fcn.140009230
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x68]
mov rdx, rax
call fcn.140015490
lea rcx, [rbp - 0x20]
call fcn.140004f24
lea rdx, [0x14003ebcc]
lea rcx, [rsp + 0x40]
call fcn.1400154c4
test al, al
je 0x14001476e
lea rdx, [0x14003ec9c]
lea rcx, [rsp + 0x40]
call fcn.1400154c4
test al, al
je 0x14001476e
test byte [rbp + 0x10], 0x10
je 0x140014740
mov r8d, dword [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov rdx, rbx
call fcn.140014554
test al, al
jne 0x14001476e
lea rcx, [rsp + 0x68]
call fcn.140004f30
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140014716
mov r9d, dword [rsp + 0x20]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
mov r8, rbx
call fcn.1400145b0
test al, al
jne 0x14001476e
lea rcx, [rsp + 0x68]
call fcn.140004f24
lea rcx, [rbp - 0x70]
call fcn.140004f24
lea rcx, [rsp + 0x40]
call fcn.140004f24
lea rcx, [rbp - 0x48]
call fcn.140004f24
xor al, al
jmp 0x1400147b8
lea rcx, [rsp + 0x68]
call fcn.140004f30
lea rcx, [rbp - 0x70]
mov rbx, rax
call fcn.140004f30
xor r8d, r8d
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400147d3
mov rbx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140004f24
lea rcx, [rbp - 0x70]
call fcn.140004f24
lea rcx, [rsp + 0x40]
call fcn.140004f24
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140014624
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov dil, 1
lea rcx, [rbp - 0x48]
call fcn.140004f24
mov al, dil
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.14001cb70
add rsp, 0x378
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [rsp + 0x68]
call fcn.140004f24
lea rcx, [rbp - 0x70]
call fcn.140004f24
lea rcx, [rsp + 0x40]
call fcn.140004f24
jmp 0x1400147ac
Function at 0x140014804
Capabilities:
Get common file path
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov rdi, rcx
xor ebx, ebx
lea rcx, [rsp + 0x60]
mov edx, 0x104
mov byte [rsp + 0x58], bl
mov dword [rsp + 0x59], eax
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movzx ecx, byte [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea edx, [rbx + 0x43]
test eax, eax
cmove ecx, edx
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x40]
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov word [rsp + 0x59], 0x5c3a
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea rcx, [rsp + 0x40]
call fcn.1400147f4
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x48], eax
call fcn.1400147f4
lea rcx, [rsp + 0x40]
call fcn.1400147f4
mov word [rsp + 0x4e], ax
lea rcx, [rsp + 0x40]
call fcn.1400147f4
inc rbx
mov byte [rsp + rbx + 0x4f], al
cmp rbx, 8
jl 0x1400148c4
mov eax, dword [rsp + 0x52]
movzx r9d, word [rsp + 0x4e]
mov r8d, dword [rsp + 0x48]
lea rdx, str._08lX_04lX_lu
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140014920
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [rsp + 0x38]
lea rcx, [0x14003aed0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
xor ecx, ecx
test eax, eax
js 0x14001495d
mov r8, qword [rsp + 0x38]
lea rdx, [0x14003ecc0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x140014960
mov word [rbx], cx
add rsp, 0x20
pop rbx
ret

Function at 0x140014968
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edi, edi
test eax, eax
je 0x1400149ba
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14001ee44
mov dword [rbx + 4], 0x5c
jmp 0x1400149bd
mov word [rbx], di
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14001cb70
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x1400149e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014aa3
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140014a96
lea rax, [rsp + 0x4c]
mov rdx, rsi
sub rdx, rax
movzx ecx, word [rax]
movzx r8d, word [rax + rdx]
sub ecx, r8d
jne 0x140014a58
add rax, 2
test r8d, r8d
jne 0x140014a42
test ecx, ecx
jne 0x140014a88
mov r8d, dword [rsp + 0x28]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140014a88
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140014a37
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140014ac8
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140014b2e
lea rdx, str.Failed_to_retrieve_the_list_of_running_processes.
lea rcx, [0x14004b5a0]
call fcn.14000954c
mov rcx, rax
call fcn.14000c274
jmp 0x140014c08
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x140014bf7
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x170]
call fcn.140004ecc
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x170]
call fcn.14000aaa0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
mov rbx, rax
call fcn.14000aa7c
mov r8, qword [rbx]
mov rdx, qword [rax]
lea rcx, [rbp + 0x198]
call fcn.14000af18
lea rdx, str.Process_ID:
mov rcx, rsi
mov rbx, rax
call fcn.14000954c
mov edx, dword [rsp + 0x38]
mov rcx, rax
call fcn.14000c27c
lea rdx, str.__Name:
mov rcx, rax
call fcn.14000954c
mov rdx, rbx
mov rcx, rax
call fcn.14000974c
mov rcx, rax
call fcn.14000c274
lea rcx, [rbp + 0x198]
call fcn.140004e14
lea rcx, [rbp + 0x170]
call fcn.140004f24
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140014b49
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140014cac
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x4e0]
sub rsp, 0x5e0
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x4d0], rax
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014eb6
lea r8d, [rax + 2]
lea rdx, str.Installed_Apps.txt
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x40], 0xff
call fcn.140012060
lea rcx, [rsp + 0x70]
call fcn.14000acbc
test al, al
je 0x140014ea1
xor edi, edi
and qword [rsp + 0x38], rdi
and qword [rsp + 0x30], rdi
and qword [rsp + 0x28], rdi
and qword [rsp + 0x20], rdi
xor edx, edx
jmp 0x140014e75
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
lea rdx, [rbp + 0xd0]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014e51
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, [0x14003edc0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0xff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014e46
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x80]
call fcn.140004ecc
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x80]
call fcn.14000aaa0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
mov rbx, rax
call fcn.14000aa7c
mov r8, qword [rbx]
mov rdx, qword [rax]
lea rcx, [rbp + 0xa8]
call fcn.14000af18
lea rdx, [0x14003edd8]
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.14000954c
mov rdx, rbx
mov rcx, rax
call fcn.14000974c
mov rcx, rax
call fcn.14000c274
lea rcx, [rbp + 0xa8]
call fcn.140004e14
lea rcx, [rbp + 0x80]
call fcn.140004f24
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
inc edi
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0xff
mov edx, edi
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x140014d52
lea rcx, [rsp + 0x70]
call fcn.140006140
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x70]
call fcn.1400040f8
mov rcx, qword [rbp + 0x4d0]
xor rcx, rsp
call fcn.14001cb70
lea r11, [rsp + 0x5e0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140014edc
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x14004a490]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r13, rdx
mov rsi, r8
mov r12, rcx
mov rdx, rcx
lea r8, str..
lea rcx, [rbp - 0x40]
call fcn.140009230
lea rcx, [rbp - 0x40]
call fcn.140004f30
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140015045
test byte [rbp - 0x10], 0x10
jne 0x140015027
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x20]
call fcn.140004ecc
xor ebx, ebx
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rdx, [rsi + rcx*8]
lea rcx, [rsp + 0x20]
call fcn.1400154d8
test al, al
jne 0x140014f86
inc ebx
cmp ebx, 4
jl 0x140014f61
jmp 0x14001501d
lea r8, [0x14003ebec]
lea rcx, [rsp + 0x48]
mov rdx, r12
call fcn.140009230
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.140015490
lea rcx, [rsp + 0x48]
call fcn.140004f24
lea r8, [0x14003ebfc]
lea rcx, [rsp + 0x48]
mov rdx, r13
call fcn.140009230
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x68]
mov rdx, rax
call fcn.140015490
lea rcx, [rsp + 0x48]
call fcn.140004f24
lea rcx, [rbp - 0x68]
call fcn.140004f30
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.140004f30
xor r8d, r8d
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rbp - 0x68]
call fcn.140004f24
lea rcx, [rsp + 0x70]
call fcn.140004f24
lea rcx, [rsp + 0x20]
call fcn.140004f24
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140014f47
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp - 0x40]
call fcn.140004f24
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14001cb70
mov rbx, qword [rsp + 0x398]
add rsp, 0x350
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret