joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140036420
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rcx, str.Executing_MoveFile_command_n
call fcn.14005cb30
mov rdx, qword [rsi + 0x70]
lea rcx, str.Rough_source_file:__s_n
call fcn.14005cb30
mov rdx, qword [rsi + 0x78]
lea rcx, str.Rough_destination_file:__s_n
call fcn.14005cb30
mov rcx, qword [rsi + 0x70]
lea rdx, [rsp + 0x48]
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x30], rdi
call fcn.14005bc00
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x140036490
lea rdx, [rsp + 0x30]
call fcn.14005bc00
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
jne 0x1400364b2
lea rcx, str.No_variables_to_expand_in_source_file._Using_original_n
call fcn.14005cb30
mov rcx, qword [rsi + 0x70]
call fcn.140069798
mov rbx, rax
movzx r9d, byte [rsi + 0x80]
lea rcx, str.Preparing_to_move_file__s_to__s___afterReboot:__d__n
mov r8, rdi
mov rdx, rbx
call fcn.14005cb30
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14003651d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.MoveFileEx_error:__d_n
call fcn.14005cb30
cmp byte [rsi + 0x80], 0
je 0x14003651d
lea rcx, str.After_reboot_flag_set._Trying_after_reboot_n
call fcn.14005cb30
mov r8d, 5
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rcx, str.Finished_moving_file_n
call fcn.14005cb30
mov rcx, rbx
call fcn.140069370
mov rcx, rdi
call fcn.140069370
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140041260
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x240
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov rsi, r8
add rcx, 0x48
call qword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov edx, dword [rbx + 8]
lea r8, str.Fork
test eax, eax
je 0x14004141e
mov eax, dword [rbx + 0x74]
lea rcx, str._i:__s_Begin_execute__threadId_i__threadStart_i._n
mov r9d, dword [rbx + 0x70]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x268], rdi
call fcn.14005cb30
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x100
call fcn.1400659a0
xor edx, edx
lea rcx, [rsp + 0x130]
mov r8d, 0x100
call fcn.1400659a0
mov r8d, dword [rbx + 0x70]
lea rdx, str.ThreadInfoType_ThreadId_i
lea rcx, [rsp + 0x30]
call fcn.140041130
mov r8d, dword [rbx + 0x70]
lea rdx, str.ThreadHandle_i
lea rcx, [rsp + 0x130]
call fcn.140041130
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rsp + 0x30]
call sym.Installer.exe_Get
mov r9d, dword [rbx + 0x70]
mov rdi, rax
mov edx, dword [rbx + 8]
lea r8, str.Fork
test rax, rax
jne 0x140041368
lea rcx, str._i:__s_Creating_thread_info_for_threadId_i._n
call fcn.14005cb30
mov r8d, dword [rbx + 0x74]
mov rdx, rsi
mov ecx, dword [rbx + 0x70]
call fcn.140042160
mov rdx, rax
lea rcx, [rsp + 0x30]
mov rdi, rax
call sym.Installer.exe_Put
jmp 0x140041374
lea rcx, str._i:__s_Found_thread_info_for_threadId_i._n
call fcn.14005cb30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
xchg dword [rdi + 0x20], eax
test eax, eax
jne 0x1400413db
mov r9d, dword [rbx + 0x70]
lea r8, str.Fork
mov edx, dword [rbx + 8]
lea rcx, str._i:__s_Starting_threadId_i._n
call fcn.14005cb30
mov eax, dword [rbx + 0x74]
lea r8, [0x140041f80]
mov dword [rdi + 0x1c], eax
mov r9, rdi
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
mov qword [rdi], rax
lea rcx, [rsp + 0x130]
call sym.Installer.exe_Put
mov rax, qword [rbx]
mov rcx, rbx
mov byte [rbx + 0x10], 1
mov rax, qword [rax + 0x18]
call qword [0x1400926f0]
mov edx, dword [rbx + 8]
lea r8, str.Fork
mov r9d, eax
lea rcx, str._i:__s_End_execute._Next_command__i._n
call fcn.14005cb30
lea rcx, [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x268]
xor eax, eax
jmp 0x14004142f
lea rcx, str._i:__s_Error:_Multiple_threads_attempting_execution._n
call fcn.14005cb30
mov eax, 0x54f
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x240
pop rsi
pop rbp
pop rbx
ret
Function at 0x14004a220
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004a3e0
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400cb8e8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400cb8f8]
lea rdx, [rdi + rdi]
call fcn.140016000
mov rcx, qword [0x1400cb8e8]
lea r9, [rdi - 1]
mov qword [0x1400cb910], r9
mov qword [0x1400cb918], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14004a3d5
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1400cb8f8]
mov r10, qword [r11]
cmp r10, rbx
jne 0x14004a312
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x14004a396
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x14004a34f
mov r10, qword [rax]
cmp r10, rcx
je 0x14004a349
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x14004a396
mov r8, rax
cmp r10, rax
je 0x14004a372
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x14004a3aa
cmp r10, rax
jne 0x14004a360
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x14004a3d0
mov r9, qword [0x1400cb910]
jmp 0x14004a2c0
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14004a396
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140060888
int3
Function at 0x14004acf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov rbp, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
mov rdi, qword [r8 + 0x10]
mov rsi, r8
mov r14, qword [r8 + 0x18]
cmp r14, 0x10
jb 0x14004ad30
mov rsi, qword [r8]
test rdi, rdi
je 0x14004af11
mov r8, rdi
mov edx, 0x5f
mov rcx, rsi
call fcn.140065900
test rax, rax
je 0x14004af11
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14004af11
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
cmp rdi, rax
cmovb rax, rdi
cmp r14, 0x10
jb 0x14004ad8f
mov rbx, qword [rbx]
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14001d830
nop
lea r8, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
cmp r15, 0x10
cmovae r8, rsi
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14004adf4
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, rdi
jb 0x14004ade0
mov rcx, qword [r13 + 0x30]
and rcx, rdx
add rcx, rcx
mov rax, qword [r13 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r13 + 8]
je 0x14004aede
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004ae32
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
cmp r15, 0x10
cmovae rcx, rsi
cmp rdi, rax
jne 0x14004ae50
mov r8, rdi
call fcn.140065b40
test eax, eax
je 0x14004ae5f
cmp rbx, r14
je 0x14004aede
mov rbx, qword [rbx + 8]
jmp 0x14004ae20
test rbx, rbx
je 0x14004aede
cmp rbx, qword [r13 + 8]
je 0x14004aede
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, r13
call fcn.14004afb0
mov rcx, qword [rax]
mov qword [rbp + 0x38], 0
mov rcx, qword [rcx + 0x68]
test rcx, rcx
je 0x14004aea3
mov rax, qword [rcx]
mov rdx, rbp
mov rax, qword [rax]
call qword [0x1400926f0]
mov qword [rbp + 0x38], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14004af19
inc rdx
mov rcx, qword [rsp + 0x40]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14004aed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14004af38
call fcn.140062610
jmp 0x14004af19
cmp r15, 0x10
jb 0x14004af11
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14004af09
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004af38
mov rcx, rsi
call fcn.140062610
mov qword [rbp + 0x38], 0
mov rax, rbp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x70
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400695b8
int3
Function at 0x140052020
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
lea rcx, [rsp + 0x48]
call fcn.140020ab0
mov rax, qword [rsp + 0x78]
test al, al
jne 0x1400520a3
mov ecx, 0x14c
movzx eax, word [rsp + 0x48]
cmp ax, cx
jne 0x1400520a3
cmp ax, word [rsp + 0x4a]
je 0x1400520a3
lea rcx, [rsp + 0x28]
call fcn.140057380
lea rcx, [rsp + 0x28]
call fcn.14005b560
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], ax
jmp 0x140052107
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 7
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140093470]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x1400520f3
mov rdx, qword [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400520e0
mov rcx, rbx
call fcn.14001c900
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rcx, rbx
call fcn.14005b560
lea rcx, [rsp + 0x48]
call fcn.1400216c0
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x90
pop rbx
ret
Function at 0x140052130
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14d, eax
xor ebx, ebx
test eax, eax
jne 0x14005217d
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
jmp 0x1400522d4
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 7
mov rdx, r14
cmp r14, 7
ja 0x1400521af
mov qword [rbp - 0x20], rdx
movzx eax, bx
lea rdi, [rbp - 0x30]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + r14*2 - 0x30], bx
jmp 0x1400521c0
mov word [rsp + 0x20], bx
mov r9, rdx
lea rcx, [rbp - 0x30]
call fcn.140019860
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x140052233
mov qword [rsi], rbx
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400522d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400522f8
call fcn.140062610
jmp 0x1400522d4
cmp eax, r14d
jae 0x1400522bc
mov ecx, eax
mov r8, qword [rbp - 0x20]
cmp rcx, r8
ja 0x14005225f
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rcx
mov word [rax + rcx*2], bx
jmp 0x1400522b3
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400522a2
mov qword [rbp - 0x20], rcx
lea r9, [rbp - 0x30]
cmp rdi, 8
cmovae r9, qword [rbp - 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x140052297
movzx eax, bx
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], bx
jmp 0x1400522b3
mov word [rsp + 0x20], bx
mov r9, rdx
lea rcx, [rbp - 0x30]
call fcn.140019860
lea rcx, [rbp - 0x30]
call fcn.140012d70
lea rcx, [rbp - 0x30]
call fcn.14005b560
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400695b8
int3
Function at 0x140052300
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], di
mov qword [rsp + 0x48], rdi
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400934c0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140052384
mov rdx, qword [rsp + 0x48]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], di
jne 0x140052370
lea rcx, [rsp + 0x50]
call fcn.14001c900
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x50]
call fcn.14005b560
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
cmp r9, 8
cmovae rax, rcx
cmp word [rax], 0x63
jb 0x1400523cb
lea rax, [rsp + 0x50]
cmp r9, 8
cmovae rax, rcx
cmp word [rax], 0x7a
jbe 0x1400523f9
lea rax, [rsp + 0x50]
cmp r9, 8
cmovae rax, rcx
cmp word [rax], 0x43
jb 0x1400524bc
lea rax, [rsp + 0x50]
cmp r9, 8
cmovae rax, rcx
cmp word [rax], 0x5a
ja 0x1400524bc
lea rax, [rsp + 0x50]
cmp r9, 8
cmovae rax, rcx
cmp word [rax + 2], 0x3a
jne 0x1400524bc
lea rax, [rsp + 0x50]
cmp r9, 8
cmovae rax, rcx
cmp word [rax + 4], 0x5c
jne 0x1400524bc
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov r8d, 3
cmp qword [rsp + 0x60], r8
cmovb r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x50]
cmp r9, 8
cmovae rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14001c900
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
mov byte [rbx + 0x20], 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400524b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400524b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14005251d
call fcn.140062610
mov rax, rbx
jmp 0x1400524ff
cmp r9, 8
jb 0x1400524f1
lea rdx, [r9*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400524eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005251d
call fcn.140062610
nop
jmp 0x1400524f8
mov byte [rbx + 0x20], 0
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400625f0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
call fcn.1400695b8
int3
Function at 0x140059230
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov esi, edx
mov rdi, rcx
test edx, edx
jne 0x14005928a
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, 0x10025
call fcn.140062618
test rax, rax
je 0x1400593bb
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
mov qword [rsp + 0x20], rcx
lea rbx, [rcx + 0xfffe]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov r8d, 0xfffe
call fcn.1400659a0
mov qword [rsp + 0x28], rbx
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400592f5
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
jmp 0x140059374
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub r8, rdx
sar r8, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x140059325
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
jmp 0x140059365
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140058f40
cmp byte [rsp + 0x58], 0
je 0x14005934a
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140013070
jmp 0x14005935b
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
lea rcx, [rsp + 0x38]
call fcn.140011a10
cmp rbx, 0xffffffffffffffff
je 0x140059374
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140059268
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400593b1
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400593bb
call fcn.140062610
jmp 0x140059268
call fcn.1400695b8
int3
Function at 0x14005b5a0
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0xa8
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
lea rdx, str.SeShutdownPrivilege
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call fcn.14005ad00
mov edx, 0x80020003
mov ecx, 2
call qword [sym.imp.USER32.dll_ExitWindowsEx]
cmp byte [rsp + 0x68], 0
je 0x14005b633
cmp dword [rsp + 0x58], 0
je 0x14005b633
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x58]
xor eax, eax
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov byte [rsp + 0x68], 0
mov rcx, qword [rsp + 0x70]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b648
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x30]
call fcn.14005b820
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0xa8
ret
Function at 0x14005b670
Capabilities:
Shutdown system

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
mov edi, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [r11 - 0x28], xmm0
lea rdx, str.SeShutdownPrivilege
lea rcx, [r11 - 0x78]
call fcn.14005ad00
nop
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], si
jne 0x14005b6f0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001c900
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov dword [rsp + 0x28], 0x80020003
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14005b77d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b778
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b819
call fcn.140062610
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
cmp byte [rsp + 0x88], 0
je 0x14005b7cb
cmp dword [rsp + 0x78], 0
je 0x14005b7cb
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov byte [rsp + 0x88], 0
mov rcx, qword [rsp + 0x90]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14005b7e3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x50]
call fcn.14005b820
movzx eax, bl
jmp 0x14005b7f4
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400695b8
int3
Function at 0x14005c370
Capabilities:
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push rdi
sub rsp, 0x4a0
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14005c395
cmp rax, 1
ja 0x14005c3ac
xor eax, eax
jmp 0x14005c501
mov qword [rsp + 0x4b8], rbx
lea rcx, [rsp + 0x280]
xor edx, edx
mov qword [rsp + 0x4c0], rsi
mov r8d, 0x208
call fcn.1400659a0
lea r9, str._s
mov qword [rsp + 0x20], rdi
mov edx, 0x104
lea rcx, [rsp + 0x280]
mov r8, 0xffffffffffffffff
call fcn.14005cac0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14005c420
mov ebx, 0x54f
jmp 0x14005c4ef
movzx ecx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5e]
cmp cx, 0x2e
jne 0x14005c447
test ax, ax
je 0x14005c4a6
cmp cx, cx
jne 0x14005c447
cmp ax, cx
jne 0x14005c447
cmp word [rsp + 0x60], 0
je 0x14005c4a6
lea rax, [rsp + 0x5c]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_s
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x280]
call fcn.14005cac0
test byte [rsp + 0x30], 0x10
lea rcx, [rsp + 0x280]
je 0x14005c49a
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call fcn.14005c370
test eax, eax
jne 0x14005c4bc
jmp 0x14005c4a6
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14005c420
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
cmp eax, 0x12
je 0x14005c4d8
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x14005c4ef
jmp 0x14005c4de
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
mov rsi, qword [rsp + 0x4c0]
mov eax, ebx
mov rbx, qword [rsp + 0x4b8]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x4a0
pop rdi
ret