joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000df20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000df4d
xor eax, eax
jmp 0x14000e0c2
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000df87
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000df87
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000e0c2
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000e0b5
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000dfca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000dff7
mov rdx, qword ds:[rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e0ba
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000e06a
nop dword [rax]
sub eax, 1
je 0x14000e06a
cmp eax, 2
jne 0x14000e0b5
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e0ba
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000e09b
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000e0b5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000e0ba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140038df0
mov rbx, qword ss:[rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000e5a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000e686
cmp byte [rcx + 0x71], 0
je 0x14000e686
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
mov rax, qword [rax + 0x18]
call qword [0x14003ebc0]
cmp eax, 0xffffffff
je 0x14000e682
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000e643
sub eax, 1
je 0x14000e647
nop dword [rax + rax]
cmp eax, 2
jne 0x14000e682
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000e678
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000e682
cmp byte ds:[rbx + 0x71], 0
sete al
jmp 0x14000e62b
xor al, al
jmp 0x14000e62b
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x60
pop rbx
ret
Function at 0x140010820
Capabilities:
Enumerate files on windows

Disassembly:
mov qword ss:[rsp + 0x18], rbx
push rdi
sub rsp, 0x710
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rdi, rcx
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, [0x140041498]
mov edx, 0x104
lea rcx, [rsp + 0x4f0]
call fcn.1400104e0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400109b7
nop word [rax + rax]
lea rax, [rsp + 0xbc]
mov r9, rdi
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x2e0]
call fcn.1400104e0
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x140010992
mov rax, qword [rsp + 0x74]
lea rdx, str.Glorious_Core
lea rcx, [rsp + 0x2e0]
mov qword [rsp + 0x40], rax
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x140010906
lea rcx, str.____Glorious_software_detected._Open_the_Glorious_Core_program_and_check_if_any_button_click_contains_a_macro._If_so__ban_the_player._n
call fcn.140001dc0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14001097f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x140010976
movzx ecx, word [rsp + 0x5a]
movzx edx, word [rsp + 0x58]
movzx eax, word [rsp + 0x5c]
movzx r10d, word [rsp + 0x56]
movzx r9d, word [rsp + 0x52]
movzx r8d, word [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
lea rcx, str.____Macro_file_detected._Modification_time_of__s:__d__d__d__d:_d:_d._Ban_the_player_if_this_modification_time_is_just_after_the_tike_you_freezed_the_player._n
mov dword [rsp + 0x28], edx
lea rdx, [rsp + 0x2e0]
mov dword [rsp + 0x20], r10d
call fcn.140001dc0
jmp 0x140010992
lea rdx, str.Failed_to_convert_file_time_to_system_time._n
jmp 0x140010986
lea rdx, str.Failed_to_convert_file_time_to_local_time._n
lea rcx, str.Error_ocurred_while_checking_macro_files:__s_n
call fcn.140001dc0
lea rdx, ds:[rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140010890
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140038df0
mov rbx, qword [rsp + 0x730]
add rsp, 0x710
pop rdi
ret
Function at 0x1400144e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140014514
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140014500
ret
Function at 0x140018fe0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400190be
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400190be
mov r9d, dword ds:[rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400190d7
lea eax, ds:[r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x1400190ae
cmp byte [rax], 0x5c
jne 0x1400190a8
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400190a8
mov r8d, dword ds:[rbx + 0x80]
test r8b, 8
jne 0x140019091
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400190a5
test r8b, 0x10
jne 0x1400190a8
movzx ecx, byte ds:[rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400190a8
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140015500
test edi, edi
jne 0x140019000
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400154e0
int3
Function at 0x14001eaa0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x14001ead1
xor eax, eax
jmp 0x14001ec28
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001eb0e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14001eb0e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14001ec28
cmp qword ds:[rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14001ec1d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001eb57
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword ds:[rbx + 0x68]
test rcx, rcx
jne 0x14001eb6a
movzx ecx, di
jmp 0x14001ebbe
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001ebd7
sub eax, 1
je 0x14001ebd7
cmp eax, 2
jne 0x14001ec1d
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x14001ec20
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001ec0b
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x14001ec1d
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001ee60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x14001eea5
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte ds:[rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001ee90
ret
Function at 0x14001f2c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001f3a6
cmp byte [rcx + 0x72], 0
je 0x14001f3a6
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
mov rax, qword [rax + 0x18]
call qword [0x14003ebc0]
cmp di, ax
je 0x14001f3a2
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14001f363
sub eax, 1
je 0x14001f367
nop dword [rax]
cmp eax, 2
jne 0x14001f3a2
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001f398
lfence
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001f3a2
cmp byte ds:[rbx + 0x72], 0
sete al
jmp 0x14001f34b
xor al, al
jmp 0x14001f34b
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x60
pop rbx
ret
Function at 0x140023680
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word ds:[rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140023772
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140023772
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x140023790
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x140023762
cmp word [rax], 0x5c
jne 0x14002375b
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14002375b
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140023746
movzx ecx, word ds:[rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x140023758
test r8b, 0x10
jne 0x14002375b
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14002375b
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400202c0
test edi, edi
jne 0x1400236b0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400154e0
int3
Function at 0x140028900
Capabilities:
Enumerate files on windows
Enumerate processes
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x730
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x720], rax
xor edx, edx
mov rbp, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140028ae2
mov qword [rsp + 0x748], rbx
mov qword [rsp + 0x750], rdi
nop
mov rdx, rbp
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140028abc
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140028abc
lea rax, [rsp + 0x40]
mov rcx, rdi
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
nop dword [rax]
test eax, eax
je 0x140028ab3
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov r8d, 0x104
lea rdx, [rsp + 0x510]
lea rcx, str._appdata_.minecraftmods.jar
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x140028ab3
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x510]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140028ab3
nop word [rax + rax]
test byte [rsp + 0x2c0], 0x10
jne 0x140028a91
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x2d4]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rdx, ds:[rsp + 0x38]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x2d4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x140028a91
lea rdx, [rsp + 0x2ec]
lea rcx, str.____Suspicious_mod_found:__s._Analyze_it_with_Bintext._n
call fcn.140001dc0
lea rdx, ds:[rsp + 0x2c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140028a30
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140028960
mov rdi, qword [rsp + 0x750]
mov rbx, qword [rsp + 0x748]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.140038df0
mov rbp, qword [rsp + 0x758]
add rsp, 0x730
pop rsi
ret
Function at 0x14002cce0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x44], 2
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x58
ret
Function at 0x1400313c0
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x468
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov r14, rdx
mov rbp, rcx
xor r15d, r15d
mov dword [r8], r15d
mov edx, 0x400
mov r8, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400315b9
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x460], rdi
nop
lea rdx, str.Rename:
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14003158c
movsxd rdx, dword [rsi]
mov rcx, qword [r14]
lea rdx, [rdx*8 + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x1400315d7
mov ecx, 0x800
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword ds:[r14]
movsxd rdx, dword [rsi]
mov qword [rcx + rdx*8], rax
movsxd rcx, dword [rsi]
mov rax, qword [r14]
cmp qword [rax + rcx*8], r15
je 0x1400315d7
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x30], r15
mov edi, 1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
nop word [rax + rax]
mov rcx, qword [rbx - 8]
mov edx, 0x2c
inc rcx
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov qword [rbx], rax
test rax, rax
je 0x1400314e5
inc edi
add rbx, 8
cmp edi, 6
jl 0x1400314c0
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14003158c
movsxd rax, dword [rsi]
lea r8, [rdi + 2]
mov rcx, qword [r14]
mov r9, rdi
sub r9, qword [rsp + 0x40]
mov edx, 0x400
inc r9
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movsxd rcx, dword [rsi]
mov rax, qword [r14]
mov rdx, qword [rax + rcx*8]
sub rdx, qword [rsp + 0x40]
mov byte [rdx + rdi], r15b
mov rdi, qword [rsp + 0x30]
test rdi, rdi
je 0x14003158c
mov rbx, qword [rsp + 0x28]
mov rax, rdi
sub rax, rbx
mov r9, r15
dec rax
test rbx, rbx
lea r8, [rbx + 1]
cmovne r9, rax
jne 0x140031559
lea r8, [0x140046020]
movsxd rcx, dword [rsi]
mov edx, 0x400
mov rax, qword [r14]
mov rcx, qword [rax + rcx*8]
add rcx, 0x400
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movsxd rcx, dword [rsi]
mov rax, qword [r14]
mov rdx, qword [rax + rcx*8]
sub rdx, rbx
mov byte [rdx + rdi + 0x3ff], r15b
inc dword [rsi]
mov r8, rbp
lea rcx, [rsp + 0x50]
mov edx, 0x400
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
nop
test rax, rax
jne 0x140031420
mov rbx, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140038df0
add rsp, 0x468
pop r15
pop r14
pop rsi
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400324c0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor ebp, ebp
mov dword [rsp + 0x30], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, ebp
nop
bt esi, edi
jae 0x140032652
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x140045018]
lea rcx, [rsp + 0x40]
call fcn.140003500
nop
lea r9d, [rdi + 0x41]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x140032577
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, qword [rsp + 0x40]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], bp
jmp 0x140032585
lea rcx, ds:[rsp + 0x40]
call fcn.14000eb60
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x1400325c2
lea rax, ds:[rcx + 2]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, qword [rsp + 0x40]
mov dword [rax + rcx*2], 0x5c003a
mov word [rax + rcx*2 + 4], bp
jmp 0x1400325e5
lfence
mov qword [rsp + 0x20], 2
lea r9, [0x14003fe14]
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140005a40
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140032603
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140002a80
add qword [rbx + 8], 0x20
jmp 0x140032614
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rbx
call fcn.140009500
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140032652
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003264d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032683
call fcn.140038e10
inc edi
cmp edi, 0x1a
jl 0x140032510
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140038df0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3