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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000de93
cmp byte [rcx + 0x71], 0
je 0x14000de93
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000de8f
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 0x14000de54
sub eax, 1
je 0x14000de58
cmp eax, 2
jne 0x14000de8f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140033260
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000de86
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 0x14000de8f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000de3c
xor al, al
jmp 0x14000de3c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140033260
add rsp, 0x60
pop rbx
ret
Function at 0x14000f9a0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x710
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x700], rax
mov rdi, rcx
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea r8, [0x140039c98]
mov edx, 0x104
lea rcx, [rsp + 0x4f0]
call fcn.14000f6a0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000fb34
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.14000f6a0
lea r8, [rsp + 0x60]
xor edx, edx
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000fb12
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 0x14000fa86
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.140006810
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000faff
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14000faf6
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.140006810
jmp 0x14000fb12
lea rdx, str.Failed_to_convert_file_time_to_system_time._n
jmp 0x14000fb06
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.140006810
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000fa10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.140033260
mov rbx, qword [rsp + 0x730]
add rsp, 0x710
pop rdi
ret
Function at 0x1400137a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400137d4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400137c0
ret
Function at 0x140017ff0
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 0x1400180bc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400180bc
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 0x1400180d5
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 0x1400180ac
cmp byte [rax], 0x5c
jne 0x1400180a6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400180a6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140018092
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400180a3
test r8b, 0x10
jne 0x1400180a6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400180a6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140014680
test edi, edi
jne 0x140018010
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.140014670
int3
Function at 0x14001cff0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x14001d021
xor eax, eax
jmp 0x14001d16b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14001d05e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14001d05e
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 0x14001d16b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14001d160
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14001d0a5
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 [rbx + 0x68]
test rcx, rcx
jne 0x14001d0b3
movzx ecx, di
jmp 0x14001d107
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 0x14001d120
sub eax, 1
je 0x14001d120
cmp eax, 2
jne 0x14001d160
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 0x14001d163
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001d14e
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 0x14001d160
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.140033260
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001d390
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 0x14001d3d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14001d3c0
ret
Function at 0x14001d7d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001d8a5
cmp byte [rcx + 0x72], 0
je 0x14001d8a5
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14001d8a1
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 0x14001d866
sub eax, 1
je 0x14001d86a
cmp eax, 2
jne 0x14001d8a1
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140033260
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001d898
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 0x14001d8a1
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14001d84e
xor al, al
jmp 0x14001d84e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140033260
add rsp, 0x60
pop rbx
ret
Function at 0x140021790
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 [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140021873
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x140021873
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 0x140021891
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 0x140021863
cmp word [rax], 0x5c
jne 0x14002185c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14002185c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140021847
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x140021859
test r8b, 0x10
jne 0x14002185c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14002185c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.14001e880
test edi, edi
jne 0x1400217c0
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.140014670
int3
Function at 0x140024c30
Capabilities:
Enumerate files on windows
Enumerate processes
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x730
mov rax, qword [0x14004b040]
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 0x140024df1
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 0x140024dcb
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 0x140024dcb
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]
test eax, eax
je 0x140024dc2
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 0x140024dc2
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x510]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140024dc2
test byte [rsp + 0x2c0], 0x10
jne 0x140024da4
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x2d4]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea rdx, [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 0x140024da4
lea rdx, [rsp + 0x2ec]
lea rcx, str.____Suspicious_mod_found:__s._Analyze_it_with_Bintext._n
call fcn.140006810
lea rdx, [rsp + 0x2c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140024d46
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 0x140024c90
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.140033260
mov rbp, qword [rsp + 0x758]
add rsp, 0x730
pop rsi
ret
Function at 0x140025bb0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14004b040]
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.140033260
add rsp, 0x58
ret
Function at 0x14002a450
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x468
mov rax, qword [0x14004b040]
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 0x14002a638
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x460], rdi
nop dword [rax + rax]
lea rdx, str.Rename:
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14002a60c
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 0x14002a656
mov ecx, 0x800
mov qword [r14], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [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 0x14002a656
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 dword [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 0x14002a565
inc edi
add rbx, 8
cmp edi, 6
jl 0x14002a540
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14002a60c
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 0x14002a60c
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 0x14002a5d9
lea r8, [0x14003e6c8]
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]
test rax, rax
jne 0x14002a4b0
mov rbx, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140033260
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 0x14002b5b0
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 [0x14004b040]
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 0x14002b739
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x14003c150]
lea rcx, [rsp + 0x40]
call fcn.140003930
nop
lea r9d, [rdi + 0x41]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x14002b667
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 0x14002b671
lea rcx, [rsp + 0x40]
call fcn.14000e3d0
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x14002b6ad
lea rax, [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 0x14002b6cc
mov qword [rsp + 0x20], 2
lea r9, [0x140038824]
mov edx, 2
lea rcx, [rsp + 0x40]
call fcn.140005f60
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x14002b6ea
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140002ee0
add qword [rbx + 8], 0x20
jmp 0x14002b6fb
lea r8, [rsp + 0x40]
mov rdx, rax
mov rcx, rbx
call fcn.140009c50
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14002b739
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b76a
call fcn.140033280
inc edi
cmp edi, 0x1a
jl 0x14002b600
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140033260
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
Function at 0x14002e380
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
xor sil, sil
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002e3dc
xor al, al
jmp 0x14002e43b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14002e42e
nop
lea rax, [rsp + 0x4c]
mov r8, rdi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14002e413
inc rax
test ecx, ecx
jne 0x14002e400
test edx, edx
je 0x14002e42b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14002e3f0
jmp 0x14002e42e
mov sil, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140033260
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140031d60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140031f20
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov esi, 0xffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
js 0x140031f14
mov qword [rsp + 0x20], rdi
lea r9, [0x140037de8]
xor edx, edx
lea r8d, [r12 + 1]
lea rcx, [0x140037df8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140031f14
mov r15, qword [rdi]
mov rax, qword [r15]
mov rbp, qword [rax + 0x18]
lea ecx, [rsi + 0x19]
call fcn.1400333a8
mov rbx, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140031e41
mov qword [rax + 8], r12
mov dword [rax + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140031f44
jmp 0x140031e44
mov rbx, r12
mov qword [rsp + 0x90], rbx
test rbx, rbx
je 0x140031f39
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, r15
call rbp
mov ebp, eax
lock xadd dword [rbx + 0x10], esi
cmp esi, 1
jne 0x140031eb8
mov rcx, qword [rbx]
test rcx, rcx
je 0x140031e99
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140031eab
call fcn.140033280
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.140033280
test ebp, ebp
jns 0x140031ecf
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x140031f20
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [r14]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x140031f1e
mov rcx, qword [r14]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rdi]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x140031f20
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140032f20
nop
mov ecx, 0x8007000e
call fcn.140032f20
int3