joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001846c
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x40], r12
lea r13, str.CVssRegistryKey::SetBinaryValue
mov qword [rsp + 0x48], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x16a
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.14001cce0
nop
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], rsi
mov r9d, 3
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
jne 0x14004eaa2
lea rcx, [rbp - 0x10]
call fcn.14001ce00
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x17d
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x18]
test ebx, ebx
jle 0x14004eaf8
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x38], 0x48
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegSetValueExW_0x_08lx__s_0_REG_BINARY__p._lu_
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400dcb7c
int3
Function at 0x14002a490
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rsi, rcx
xor ebx, ebx
lea edi, [rbx + 1]
test rcx, rcx
je 0x140058d80
mov edx, 0x105
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x140058df0
cmp eax, 0x104
ja 0x140058e1d
lea r8d, [rbx + 0x32]
mov word [rsp + 0xa6], bx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140058e59
lea rcx, [rsp + 0x30]
call fcn.140028f70
mov qword [rsi], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1400321c0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov r9d, 0x57
mov edi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14002a51f
test byte [rcx + 0x1c], 8
je 0x14002a51f
lea edx, [r9 - 0x49]
lea rax, [0x140140380]
jmp 0x140058dd5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0xf
mov rcx, qword [section..data]
mov r9d, eax
lea rax, str.GetLastError___
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401406f0]
mov qword [rsp + 0x20], rax
call fcn.1400e4514
nop
jmp 0x14002a51f
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14002a51f
test byte [rcx + 0x1c], 8
je 0x14002a51f
jmp 0x140058db9
mov r9d, 0x7a
mov edi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14002a51f
test byte [rcx + 0x1c], 8
je 0x14002a51f
lea edx, [r9 - 0x6a]
lea rax, str.ERROR_INSUFFICIENT_BUFFER
jmp 0x140058dd5
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14002a51f
test byte [rcx + 0x1c], 8
je 0x14002a51f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, 0x11
jmp 0x140058dc4
Function at 0x14002b310
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
lea rdx, [rsp + 0x20]
xor r9d, r9d
lea r8d, [rbx + 0x20]
lea ecx, [rbx + 0x5a]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14002b34a
cmp dword [rsp + 0x30], 3
cmovl ebx, dword [rsp + 0x30]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400321c0
add rsp, 0x50
pop rbx
ret
Function at 0x14002f6ec
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
lea r12, str.base_stor_vssinc_vs_vol.hxx
mov qword [rsp + 0x30], r12
lea r13, str.GetVolumeNameWithCheck
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x15b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
xor r15d, r15d
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14001cce0
nop
mov word [rsi], r15w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x163
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, str.GetVolumeNameForVolumeMountPointW_will_be_called_on__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14001cc70
mov r8d, dword [rbp + 0xb0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x14005c17c
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, str.INCVOLH
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x16b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.GetVolumeNameForVolumeMountPointW_succeeded_and_the_output_is__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14001cc70
nop
lea rcx, [rbp - 0x20]
call fcn.14001ce00
nop
mov rcx, rbx
call fcn.14000ae60
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000aeb0
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, str.GetVolumeNameForVolumeMountPoint__s_...__failed_with_error_code_0x_08lx
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1400dc25c
int3
Function at 0x140031f2c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14016bb80], rbx
je 0x140031f93
cmp rax, rbx
jne 0x140031f86
mov ebx, 1
mov esi, ebx
jmp 0x140031f98
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140031f6b
mov ebx, 1
mov eax, dword [0x14016bb88]
cmp eax, ebx
jne 0x140031fb0
mov edi, 0x1f
mov ecx, edi
call fcn.140209000
jmp 0x14003201c
mov eax, dword [0x14016bb88]
test eax, eax
jne 0x140032011
mov dword [0x14016bb88], ebx
lea r15, [0x1400f9f90]
lea rdi, [0x1400f9f78]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140032003
test eax, eax
jne 0x140032007
cmp qword [rdi], r14
je 0x140031ff8
mov rax, qword [rdi]
mov rcx, qword [0x1400f9ec0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140031fda
test eax, eax
je 0x140032017
mov eax, 0xff
jmp 0x140032172
mov dword [0x14016b574], ebx
mov edi, 0x1f
mov eax, dword [0x14016bb88]
cmp eax, ebx
jne 0x140032043
lea rdx, [0x1400f9f70]
lea rcx, [0x1400f9ec8]
call sub.msvcrt.dll__initterm
mov dword [0x14016bb88], 2
test esi, esi
jne 0x140032051
mov rax, r14
xchg qword [0x14016bb80], rax
cmp qword [0x14016bba0], r14
je 0x140032084
lea rcx, [0x14016bba0]
call fcn.140032980
test eax, eax
je 0x140032084
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14016bba0]
mov r9, qword [0x1400f9ec0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003209d
mov eax, 0xff
jmp 0x140032172
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140032123
test ax, ax
je 0x1400320b8
test edx, edx
jne 0x140032123
sub ax, bx
cmp ax, di
ja 0x1400320ce
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400320b8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400315a8
mov dword [0x14016b570], eax
cmp dword [0x14016b590], r14d
jne 0x14003210c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14016b574], r14d
jne 0x140032121
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14016b570]
jmp 0x140032172
cmp ax, 0x22
jne 0x140032137
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400320a6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140032a00
add rsp, 0x28
jmp 0x140031f2c
Function at 0x140032890
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400328dc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400328d4
cmp dword [rcx + 0x3c], edx
jl 0x1400328d4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400328d4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400328dc
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400dde58
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rdi, rcx
call qword [sym.imp.VssTrace.DLL_Ordinal_11]
cmp eax, dword [rdi + 4]
je 0x1400ddfae
mov rdx, qword [rdi + 0x28]
lea r8, [rsp + 0x50]
mov ecx, dword [rdi + 0x24]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rdi + 4], eax
call qword [sym.imp.VssTrace.DLL_Ordinal_8]
test eax, eax
je 0x1400ddeba
mov eax, dword [rsp + 0x50]
jmp 0x1400dded0
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400ddeca
call fcn.14005d5a4
jmp 0x1400dded0
call qword [sym.imp.VssTrace.DLL_Ordinal_6]
mov dword [rdi], eax
mov eax, dword [rdi + 4]
cmp dword [0x14016b420], eax
je 0x1400ddfae
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x800
call sub.msvcrt.dll_memset
lea rdx, [rbp]
call fcn.1400dae30
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov dword [rsp + 0x70], 0x24f
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x80]
xor edx, edx
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
lea rax, str.CVssFunctionTracer::UpdateLocalIsTracingEnabledFlag
mov dword [rsp + 0x78], 0xff
mov qword [rsp + 0x60], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0x68], rax
lea r8d, [rdx + 0x78]
mov dword [rbp - 8], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
mov ecx, dword [rdi + 4]
lea r8, str.TRACING_STARTED
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x58]
mov ecx, dword [0x14016b420]
mov r9d, 0x78
mov dword [rsp + 0x40], ecx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.Tracing_started_or_updated._PID_d__CommandLine__s___UserName__s_._SQN__d_____d_
mov qword [rsp + 0x20], rax
call fcn.14001cb90
mov eax, dword [rdi + 4]
mov dword [0x14016b420], eax
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.1400321c0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400f28fc
Capabilities:
Access the windows event log

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movzx r14d, dx
mov ebp, ecx
xor ebx, ebx
lea rcx, str.LogEvent
lea edi, [rbx + 1]
call fcn.140029428
xor edx, edx
lea r8d, [rbx + 0x50]
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll_memset
lea rdx, [0x140137d78]
xor ecx, ecx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_RegisterEventSourceW]
mov rsi, rax
test rax, rax
jne 0x1400f29c2
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rdx, qword [section..data]
lea rcx, section..data
cmp rdx, rcx
je 0x1400f2ae7
test byte [rdx + 0x1c], 8
je 0x1400f2ae7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [section..data]
lea edx, [rsi + 0xd]
mov r9d, eax
lea r8, [0x140140828]
lea rax, str.GetLastError__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400e4514
jmp 0x1400f2ae7
mov r9d, dword [rsp + 0xf0]
cmp r9d, 0xa
jle 0x1400f2a29
mov r8d, 0x7a
mov edi, ebx
mov ebx, r8d
mov rax, qword [section..data]
lea rcx, section..data
cmp rax, rcx
je 0x1400f2ade
test byte [rax + 0x1c], 8
je 0x1400f2ade
mov dword [rsp + 0x28], r9d
lea rcx, str.ERROR_INSUFFICIENT_BUFFER
mov qword [rsp + 0x20], rcx
lea edx, [r8 - 0x6c]
mov rcx, qword [rax + 0x10]
mov r9d, r8d
lea r8, [0x140140828]
call fcn.1400e7728
jmp 0x1400f2ade
lea rcx, [rsp + 0xf8]
test r9d, r9d
jle 0x1400f2a55
add rcx, 0xfffffffffffffff8
lea r8, [rsp + 0x50]
mov r10, r9
lea rcx, [rcx + 8]
mov rax, qword [rcx]
mov qword [r8], rax
lea r8, [r8 + 8]
sub r10, rdi
jne 0x1400f2a42
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
movzx edx, r14w
mov word [rsp + 0x28], r9w
mov rcx, rsi
mov r9d, ebp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
test eax, eax
jne 0x1400f2ade
mov edi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rax, qword [section..data]
lea rcx, section..data
cmp rax, rcx
je 0x1400f2ade
test byte [rax + 0x1c], 8
je 0x1400f2ade
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov rcx, qword [section..data]
lea r8, [0x140140828]
mov r9d, eax
mov edx, 0xf
lea rax, str.GetLastError__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400e4514
mov rcx, rsi
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_DeregisterEventSource]
lea rcx, str.LogEvent
call fcn.140027f60
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400321c0
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140001040
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov edx, 0x47
lea rcx, [entry0]
mov al, byte [rcx + rdx]
xor al, 0x98
add al, 0x25
xor al, 0xda
mov byte [rcx + rdx], al
inc rdx
cmp rdx, 0x2d9
jl 0x140001068
cmc
movsd dword [rdi], dword [rsi]
stosb byte [rdi], al
sbb esi, dword [rsi]
xchg byte [rdi + rax*8 - 0x45], cl
xor esi, esi
fldcw word [rsi + 0x3a]
adc eax, 0x9d50089a
pmaddwd mm6, qword [rsi - 0x25099f1e]
invalid
Function at 0x140001098
Capabilities:
Parse pe header
Print debug messages
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov eax, 0x5a4d
mov r12, r8
mov r8d, edx
mov rbp, rcx
cmp word [rcx], ax
je 0x1400010d3
lea rcx, [0x140001d00]
call sub.ntoskrnl.exe_DbgPrint
or eax, 0xffffffff
jmp 0x140001246
movsxd rsi, dword [rcx + 0x3c]
add rsi, rbp
cmp dword [rsi], 0x4550
je 0x1400010eb
lea rcx, [0x140001d30]
jmp 0x1400010c6
mov edx, 0x20b
mov eax, 0x88
cmp word [rsi + 0x18], dx
lea ecx, [rax - 0x10]
cmovne eax, ecx
mov rcx, rsi
mov r13d, dword [rax + rsi]
mov edx, r13d
mov eax, dword [rax + rsi + 4]
mov dword [rsp + 0x98], eax
call fcn.140001848
or edi, 0xffffffff
cmp eax, edi
jne 0x14000112c
lea rcx, [0x140001d60]
jmp 0x14000123f
mov ebx, eax
mov rcx, rsi
add rbx, rbp
mov eax, dword [rbx + 0x18]
mov edx, dword [rbx + 0x1c]
mov dword [rsp + 0x80], eax
call fcn.140001848
mov edx, dword [rbx + 0x24]
mov rcx, rsi
mov r15d, eax
call fcn.140001848
mov edx, dword [rbx + 0x20]
mov rcx, rsi
mov r14d, eax
call fcn.140001848
cmp r15d, edi
je 0x140001238
cmp r14d, edi
je 0x140001238
cmp eax, edi
je 0x140001238
lea rcx, [r15 + rbp]
mov eax, eax
add rax, rbp
mov qword [rsp + 0x28], rcx
lea rcx, [r14 + rbp]
mov qword [rsp + 0x30], rax
xor r14d, r14d
mov qword [rsp + 0x20], rcx
mov ebx, edi
cmp dword [rsp + 0x80], r14d
jbe 0x140001225
mov edx, dword [rax + r14*4]
mov rcx, rsi
call fcn.140001848
cmp eax, edi
je 0x140001200
mov rdx, qword [rsp + 0x28]
mov ecx, eax
mov rax, qword [rsp + 0x20]
add rcx, rbp
movzx eax, word [rax + r14*2]
mov r9d, dword [rdx + rax*4]
cmp r9d, r13d
jb 0x1400011e3
mov eax, dword [rsp + 0x98]
add eax, r13d
cmp r9d, eax
jb 0x140001200
mov r10, r12
sub r10, rcx
movzx eax, byte [rcx]
movzx edx, byte [rcx + r10]
sub eax, edx
jne 0x1400011fc
inc rcx
test edx, edx
jne 0x1400011e9
test eax, eax
je 0x140001214
inc r14d
cmp r14d, dword [rsp + 0x80]
jae 0x140001225
mov rax, qword [rsp + 0x30]
jmp 0x1400011a7
mov edx, r9d
mov rcx, rsi
call fcn.140001848
mov ebx, eax
cmp eax, edi
jne 0x140001234
mov rdx, r12
lea rcx, [0x140001dd0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x140001246
lea rcx, [0x140001d90]
call sub.ntoskrnl.exe_DbgPrint
mov eax, edi
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001260
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, dword [0x14000a688]
mov rdi, rcx
mov r8, rcx
mov rcx, qword [0x14000a680]
call fcn.140001098
mov edx, eax
mov eax, 0xffffffff
cmp rdx, rax
jne 0x140001298
or eax, 0xffffffff
jmp 0x1400012f4
mov r10, qword [0x14000a680]
or ebx, 0xffffffff
mov esi, dword [0x14000a688]
add r10, rdx
xor ecx, ecx
mov r8, r10
movsxd r9, ecx
lea rax, [r9 + rdx]
cmp rax, rsi
jae 0x1400012e3
mov r11b, byte [r8]
lea eax, [r11 + 0x3e]
cmp al, 1
jbe 0x1400012e3
cmp r11b, 0xb8
je 0x1400012d9
inc ecx
inc r8
cmp ecx, 0x20
jl 0x1400012b0
jmp 0x1400012e3
mov ebx, dword [r9 + r10 + 1]
cmp ebx, 0xffffffff
jne 0x1400012f2
mov rdx, rdi
lea rcx, [0x140001e10]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001304
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14000a610]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, qword [0x14000a698]
xor r12d, r12d
mov r15, rcx
test rbx, rbx
jne 0x140001474
lea rcx, [rbp - 0x30]
call fcn.1400014b0
mov rdi, rax
test rax, rax
je 0x1400013ae
cmp dword [rbp - 0x30], r12d
je 0x1400013ae
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rsi, rax
mov r14d, r12d
movzx ecx, word [rax + 0x14]
lea rbx, [rax + 0x18]
add rbx, rcx
cmp r12w, word [rax + 6]
jae 0x1400013ae
mov rcx, qword [rbx]
lea rdx, [0x140001cf0]
mov qword [rbp - 0x18], rcx
mov r8d, 5
lea rcx, [rbp - 0x18]
mov byte [rbp - 0x10], r12b
call sub.ntoskrnl.exe_strncmp
test eax, eax
je 0x1400013d5
movzx eax, word [rsi + 6]
add rbx, 0x28
inc r14d
cmp r14d, eax
jb 0x140001379
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140001a30
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov dword [rbp - 0x28], 0xefc1f88b
mov esi, r12d
mov dword [rbp - 0x24], 0x20e78307
mov dword [rbp - 0x20], 0xfff25
mov byte [rbp - 0x1c], r12b
cmp dword [rbx + 8], 0xd
je 0x1400013ae
mov ecx, dword [rbx + 0xc]
lea rdx, [rbp - 0x28]
mov r14d, esi
mov r8d, 0xd
add rcx, r14
add rcx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0xd
je 0x140001427
mov eax, dword [rbx + 8]
inc esi
sub eax, 0xd
cmp esi, eax
jb 0x1400013f7
jmp 0x1400013ae
mov edx, dword [rbx + 0xc]
add rdx, 0xd
add rdx, r14
add rdx, rdi
cmp byte [rdx], 0x4c
jne 0x1400013ae
cmp byte [rdx + 1], 0x8d
jne 0x1400013ae
cmp byte [rdx + 2], 0x15
jne 0x1400013ae
movsxd rax, dword [rdx + 3]
test eax, eax
je 0x1400013ae
lea rbx, [rax + 7]
add rbx, rdx
mov qword [0x14000a698], rbx
test rbx, rbx
je 0x1400013ae
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400013ae
mov rcx, r15
call fcn.140001260
cmp eax, 0xffffffff
je 0x1400013ae
mov ecx, eax
cmp rcx, qword [rbx + 0x10]
jae 0x1400013ae
mov rax, qword [rbx]
mov eax, dword [rax + rcx*4]
sar eax, 4
cdqe
add rax, rdi
jmp 0x1400013b0
Function at 0x1400014b0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
lea r9, [rax + 0x10]
and dword [rax + 0x10], esi
lea rdx, [rax + 0x10]
mov rdi, rcx
xor r8d, r8d
lea ecx, [rsi + 0xb]
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
cmp dword [rsp + 0x38], esi
je 0x14000154e
call fcn.140001560
mov r8d, eax
xor ecx, ecx
mov eax, dword [rsp + 0x38]
lea edx, [rax + rax]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x14000154e
mov eax, dword [rsp + 0x38]
xor edx, edx
mov rcx, rbx
lea r8d, [rax + rax]
call fcn.140001ac0
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
add r8d, r8d
lea ecx, [rsi + 0xb]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
js 0x14000153e
mov rsi, qword [rbx + 0x18]
test rdi, rdi
je 0x14000153e
mov ecx, dword [rbx + 0x20]
mov dword [rdi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rsi
jmp 0x140001550
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov edx, 0x14
mov dword [rbp - 0x50], 0x20707249
xor ecx, ecx
mov dword [rbp - 0x4c], 0x2b707249
mov dword [rbp - 0x48], 0x656c6946
mov dword [rbp - 0x44], 0x6174754d
mov dword [rbp - 0x40], 0x7346744e
mov dword [rbp - 0x3c], 0x616d6553
mov dword [rbp - 0x38], 0x52777445
mov dword [rbp - 0x34], 0x6e657645
mov dword [rbp - 0x30], 0x20646156
mov dword [rbp - 0x2c], 0x73646156
mov dword [rbp - 0x28], 0x61436d4d
mov dword [rbp - 0x24], 0x20206f49
mov dword [rbp - 0x20], 0x74696157
mov dword [rbp - 0x1c], 0x65536d4d
mov dword [rbp - 0x18], 0x43504c41
mov dword [rbp - 0x14], 0x47777445
mov dword [rbp - 0x10], 0x206c644d
mov dword [rbp - 0xc], 0x65726854
mov dword [rbp - 8], 0x63536343
mov dword [rbp - 4], 0x4b677844
call fcn.1400017ec
mov eax, eax
mov eax, dword [rbp + rax*4 - 0x50]
add rsp, 0x70
pop rbp
ret