joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ffef2417fb4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x7ffef2445490], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
xor ebx, ebx
and eax, 0x80000000
lea rbp, [0x7ffef2400000]
mov dword [0x7ffef2442c70], eax
cmp dword [0x7ffef2445540], ebx
jne 0x7ffef2418012
lea rcx, [0x7ffef2445498]
call fcn.7ffef2417d70
cmp eax, ebx
jl 0x7ffef2418204
mov dword [0x7ffef2445540], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movsxd rdx, dword [0x7ffef240003c]
mov rdi, qword [rsp + 0x28]
mov edx, dword [rdx + rbp + 0x50]
mov r8d, 0x80000000
lea rcx, [0x7ffef2400000]
lea rax, [rdi + r8]
add rdx, rcx
cmp rdx, rax
jb 0x7ffef241804d
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
and rdx, 0xffffffffffff0000
lea rax, [rdi - 0x80000000]
mov qword [0x7ffef2445488], rdx
cmp rcx, rax
jbe 0x7ffef241807c
mov qword [0x7ffef2445480], rdi
jmp 0x7ffef2418086
add rcx, r8
mov qword [0x7ffef2445480], rcx
mov word [0x7ffef2445480], bx
mov rax, qword [0x7ffef2445480]
sub rax, rdx
shr rax, 0x10
mov qword [0x7ffef24454c0], rax
mov eax, ebx
cmp eax, ebx
jl 0x7ffef2418204
mov rax, qword [0x7ffef2445a10]
mov edi, 0x100
cmp rax, rdi
jae 0x7ffef24180f5
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x42c80]
call fcn.7ffef2417d70
cmp eax, ebx
mov edx, eax
jl 0x7ffef24180ee
mov rax, qword [0x7ffef2445a10]
inc rax
mov qword [0x7ffef2445a10], rax
cmp rax, rdi
jb 0x7ffef24180bd
cmp edx, ebx
jge 0x7ffef24180f5
mov eax, edx
jmp 0x7ffef2418204
mov eax, dword [0x7ffef243d854]
cmp eax, ebx
je 0x7ffef241818f
mov edx, dword [0x7ffef243d850]
mov eax, dword [0x7ffef243d854]
lea rsi, [0x7ffef2445a08]
imul edx, eax
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x7ffef2418151
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x54f
cmp eax, ebx
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x7ffef2418191
mov eax, dword [0x7ffef243d854]
mov r8, rbx
cmp eax, ebx
jbe 0x7ffef241818f
mov edi, dword [0x7ffef243d850]
mov ecx, dword [0x7ffef243d850]
xor eax, eax
mov dword [rbp + r8*4 + 0x45570], 0xc32d
imul rdi, r8
add rdi, rsi
inc r8
rep stosb byte [rdi], al
mov eax, dword [0x7ffef243d854]
cmp r8, rax
jb 0x7ffef241815e
mov ecx, ebx
cmp ecx, ebx
jge 0x7ffef2418199
mov eax, ecx
jmp 0x7ffef2418204
mov ecx, dword [0x7ffef2445510]
cmp ecx, ebx
je 0x7ffef24181eb
mov edx, dword [0x7ffef2445508]
lea rdi, [0x7ffef2445538]
lea rax, [rdx + rbp + 0x45538]
mov qword [0x7ffef2445518], rdi
mov qword [0x7ffef2445520], rax
mov eax, dword [0x7ffef244550c]
add rdx, rax
add rcx, rdx
lea rax, [rdx + rbp + 0x45538]
add rcx, rdi
mov qword [0x7ffef2445528], rax
mov qword [0x7ffef2445530], rcx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], ebx
call fcn.7ffef2417dec
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x7ffef2433e74
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x280
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x7ffef2433eb0
mov eax, 0x80004005
jmp 0x7ffef2433f54
lea rax, [rsp + 0x48]
mov r9d, 0x2000000
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r11d, eax
test eax, eax
jne 0x7ffef2433f44
jmp 0x7ffef2433eeb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.7ffef2433e74
test eax, eax
jne 0x7ffef2433f2a
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x7ffef2433ed8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov r11d, eax
movzx eax, r11w
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call int.7ffef2401000
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
ret
Function at 0x7ffef2434024
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rdi, qword [rsp + 0x300]
mov rbx, rdx
mov rsi, r8
lea rdx, [rsp + 0x40]
mov r8d, 0x27
mov rbp, r9
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov r13d, 0x104
lea r9, [rsp + 0x40]
lea r8, str.CLSID_ls
lea rcx, [rsp + 0x90]
mov rdx, r13
call fcn.7ffef2404c34
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x7ffef24340b0
or eax, 0x80070000
jmp 0x7ffef2434222
lea r8, [0x7ffef243ab48]
lea rcx, [rsp + 0x90]
mov r9, rbx
mov rdx, r13
call fcn.7ffef2404c34
mov rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 1]
lea r9, [rsp + 0x90]
mov dword [rsp + 0x20], 0x208
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
test eax, eax
je 0x7ffef2434109
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, 0x80070000
mov eax, ebx
jmp 0x7ffef2434222
lea r8, [0x7ffef243ab48]
lea rcx, [rsp + 0x90]
mov r9, rdi
mov rdx, r13
call fcn.7ffef2404c34
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ebx, eax
test eax, eax
jne 0x7ffef24340f1
lea r8, [0x7ffef243ab48]
lea rcx, [rsp + 0x90]
mov r9, rsi
mov rdx, r13
call fcn.7ffef2404c34
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x90]
lea eax, [rax + rax + 2]
lea r8d, [rbx + 1]
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ebx, eax
test eax, eax
je 0x7ffef24341a5
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
jmp 0x7ffef24340f6
lea r8, [0x7ffef243ab48]
lea rcx, [rsp + 0x90]
mov r9, rbp
mov rdx, r13
call fcn.7ffef2404c34
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x38]
lea rdx, str.ThreadingModel
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call int.7ffef2401000
add rsp, 0x2b0
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ffef243554c
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x530
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x7ffef24355b7
and qword [rsp + 0x38], 0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x50]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov r8, rbx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
jmp 0x7ffef24355d7
mov rax, qword [rsp + 0x538]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x530
pop rbx
ret
Function at 0x1400103b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400103d8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400103fe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140010400
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140010459
test ecx, ecx
jle 0x140010439
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140010459
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140010459
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140010480
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400104a2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400104b8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400104d4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400104d6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140010512
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400105ae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001054d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001058e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400105ae
cmp rbx, rax
ja 0x140010560
test rbx, rbx
je 0x1400105ae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400109e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140113010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140010a0d
xor eax, eax
jmp 0x140010b79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010a47
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140010a47
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 0x140010b79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140010b6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140010a8a
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 0x140010ab5
mov rdx, qword [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 0x140010b71
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x140010b24
sub eax, 1
je 0x140010b24
cmp eax, 2
jne 0x140010b6c
movsx ecx, byte [rsp + 0x50]
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 0x140010b71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010b52
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 0x140010b6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010b71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140098e80
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400113a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140113010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140011473
cmp byte [rcx + 0x71], 0
je 0x140011473
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001146f
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 0x140011434
sub eax, 1
je 0x140011438
cmp eax, 2
jne 0x14001146f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140098e80
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140011466
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 0x14001146f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001141c
xor al, al
jmp 0x14001141c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140098e80
add rsp, 0x60
pop rbx
ret
Function at 0x1400124f0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov r8d, 1
bsr rcx, rax
shlx rax, r8, rcx
cmp rdx, rax
jbe 0x140012520
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140139cc8]
or rax, r8
bsr rcx, rax
mov qword [rsp + 0x20], rdi
inc ecx
shlx rdi, r8, rcx
mov r8, rbx
lea rcx, [0x140139cd8]
lea rdx, [rdi + rdi]
call fcn.1400115f0
mov rax, qword [0x140139cc8]
lea r9, [rdi - 1]
mov qword [0x140139cf0], r9
mov qword [0x140139cf8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400126d2
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140139cd8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14001261b
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140012693
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140012658
mov r10, qword [rdx]
cmp r10, rax
je 0x140012652
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140012693
cmp r9, rdx
je 0x14001266f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1400126a7
cmp r9, rdx
jne 0x140012660
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1400126cd
mov r9, qword [0x140139cf0]
jmp 0x1400125a0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140012693
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x14003af60
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
cmp byte [0x140138b30], bl
jne 0x14003b1b2
lea rdx, [rsp + 0x20]
lea rcx, [0x140136888]
call fcn.140007a50
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003afde
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003afd9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003afd9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [rsp + 0x20]
lea rcx, [0x1401367f0]
call fcn.14002c200
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003b048
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b043
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
lea rdx, [rsp + 0x20]
lea rcx, [0x1401368a0]
call fcn.140010c50
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14003b0b2
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003b0ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b0ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009931c
call fcn.14002aa90
lea rcx, [0x140139e20]
call fcn.14001ce50
lea rcx, [0x140139e20]
call fcn.1400266c0
mov rax, qword [0x140139e08]
cmp rax, qword [0x140139e10]
je 0x14003b10e
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rax], xmm0
mov r8d, 1
mov qword [rax + 0x10], rbx
lea rdx, [0x140100920]
mov qword [rax + 0x18], rbx
mov rcx, rax
call fcn.140004b90
add qword [0x140139e08], 0x20
jmp 0x14003b11d
mov rdx, rax
lea rcx, [0x140139e00]
call fcn.1400403d0
mov rax, qword [0x140138b70]
mov byte [0x140138aac], 1
mov qword [rax + 0x37dc], rbx
mov byte [rax + 0x38a0], 1
mov byte [rax + 0x38a2], 1
mov qword [rax + 0x3844], 0x40c00000
mov dword [rax + 0x37d8], ebx
mov dword [rax + 0x3998], 0x3e34b4b5
mov dword [rax + 0x399c], 0x3e34b4b5
mov dword [rax + 0x39a0], 0x3e34b4b5
mov dword [rax + 0x39a4], 0x3f800000
mov dword [rax + 0x39a8], 0x3e828283
mov dword [rax + 0x39ac], 0x3e828283
mov dword [rax + 0x39b0], 0x3e828283
mov dword [rax + 0x39b4], 0x3f800000
mov dword [rax + 0x38e4], 0x3f400000
mov byte [0x140138b30], 1
mov al, 1
add rsp, 0x40
pop rbx
ret
Function at 0x140041490
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x290
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x270], rbx
mov qword [rbp + 0x280], rsi
mov qword [rbp + 0x288], rdi
mov rax, qword [0x140113010]
xor rax, rbp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov dword [rbp], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r14d, r14d
movabs r15, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0x2c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140041510
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14004158a
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14004153b
mov rcx, r15
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.14009a050
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x14004158a
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
xor edx, edx
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x2c]
mov r9d, 0xffffffff
mov byte [rbx], r14b
mov qword [rsp + 0x20], rbx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r14
jmp 0x14004158d
mov rbx, r14
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14004159a
mov rdx, qword [rdi]
sub rdx, rbx
nop dword [rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x1400415b2
inc rbx
test eax, eax
jne 0x1400415a0
test ecx, ecx
mov rcx, rsi
je 0x140041612
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140041500
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14004160e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140041609
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041693
mov rcx, r8
call fcn.14009931c
xor eax, eax
jmp 0x140041653
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rbp + 8]
cmp rdx, 0x10
jb 0x140041651
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14004164c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140041693
mov rcx, r8
call fcn.14009931c
mov eax, ebx
mov byte [rdi], r14b
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov rcx, qword [rbp + 0x240]
xor rcx, rbp
call fcn.140098e80
mov rbx, qword [rbp + 0x270]
mov rsi, qword [rbp + 0x280]
mov rdi, qword [rbp + 0x288]
lea rsp, [rbp + 0x250]
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3