joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012980
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, r9d
mov r15, r8
mov r13d, edx
mov r14, rcx
xor edi, edi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
je 0x140012aa2
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov rcx, r14
mov dword [rsp + 0x20], edi
call fcn.1400252a0
mov rbp, rax
test rax, rax
je 0x140012a81
mov rdx, r15
mov rcx, rax
call fcn.140025170
test rax, rax
je 0x140012a70
sub eax, ebp
mov dword [rsi + 0x28], eax
test ebx, ebx
je 0x140012a01
mov eax, 0xdfff
and word [rsi + 0x16], ax
lea r8d, [r13 + 1]
mov r9, r14
shr r8d, 1
mov edx, edi
je 0x140012a2a
nop
movzx eax, word [r9]
lea r9, [r9 + 2]
add edx, eax
mov ecx, edx
movzx edx, dx
shr ecx, 0x10
add edx, ecx
add r8d, 0xffffffff
jne 0x140012a10
mov ebx, edx
mov rcx, r14
shr ebx, 0x10
add bx, dx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rcx, rax
test rax, rax
je 0x140012a5f
movzx eax, word [rax + 0x58]
cmp bx, ax
adc ax, di
sub bx, ax
movzx eax, word [rcx + 0x5a]
cmp bx, ax
adc ax, di
sub bx, ax
jmp 0x140012a62
movzx ebx, di
movzx eax, bx
mov edi, 1
add eax, r13d
mov dword [rsi + 0x58], eax
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [rsp + 0x50]
mov eax, edi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
ret
mov eax, edi
jmp 0x140012a88
Function at 0x140012f10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 8
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rsp + 0x40], ebx
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012fe4
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str..Translated
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012fd9
cmp dword [rsp + 0x48], 8
jne 0x140012fd9
mov rax, qword gs:[0x30]
mov edx, 8
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140012fd9
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str..Translated
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140013190
Capabilities:
Access peb ldr_data
Get ntdll base address
Get windows directory from kuser_shared_data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
sub rsp, 0x4a8
mov qword [rax + 0x18], rbx
lea r8, str._ws_system32_ws
xor ebx, ebx
mov qword [rax - 0x38], r15
mov qword [rax + 8], rbx
lea rcx, [rsp + 0x70]
lea rax, [0x140191500]
mov r9d, 0x7ffe0030
mov edx, 0x208
mov qword [rsp + 0x20], rax
mov r12d, ebx
call fcn.140001c40
lea rdx, str.drv64.dll
lea rcx, [rsp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14001320a
lea rcx, str.____Hello_from_LoadLibraryEx_polyfill_r_n
call fcn.140001980
mov ebp, 0x1337
mov r15d, 1
jmp 0x140013233
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
mov r15d, ebx
mov rbp, rax
setne r15b
test rax, rax
je 0x1400133a6
lea r9, [0x140011300]
xor edx, edx
lea r8, [0x1400112e0]
xor ecx, ecx
call fcn.140022320
test rax, rax
je 0x1400133a6
mov rcx, qword gs:[0x30]
mov r8, rax
mov qword [rsp + 0x490], r13
xor edx, edx
mov r13, qword [rax + 0x18]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r13, r13
je 0x14001339e
cmp dword [0x1401a59e0], ebx
je 0x14001339e
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x498], rdi
lea rcx, str.___Please_wait__loading_symbols_for__ws_file._r_n
call fcn.140001980
mov dword [rsp + 0x38], ebx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rbp
call qword [0x1401a59a8]
test rax, rax
mov edi, ebx
setne dil
test rax, rax
jne 0x1400132f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_to_load_symbols
call fcn.1400134b0
test edi, edi
je 0x140013396
lea rdx, [rsp + 0x4c0]
call fcn.1400136c0
test eax, eax
je 0x140013396
mov qword [rsp + 0x4a0], rsi
lea rdi, [rsp + 0x40]
xor eax, eax
mov qword [rsp + 0x488], r14
mov r14, qword [rsp + 0x4c0]
mov ecx, 0x25
rep stosb byte [rdi], al
nop word [rax + rax]
mov edi, ebx
lea rdx, [rsp + 0x40]
lea rsi, [rdi + r14]
mov rcx, rsi
call fcn.140003510
test dword [rsp + 0x61], 0x1000
jne 0x140013386
movzx eax, byte [rsp + 0x40]
cmp al, 0xa
jne 0x140013370
mov ecx, 0xb849
cmp word [rsi], cx
je 0x140013379
add ebx, eax
cmp ebx, 0x40
jb 0x140013340
jmp 0x140013386
sub rdi, rbp
lea r12, [r13 + 2]
add r12, rdi
add r12, r14
mov r14, qword [rsp + 0x488]
mov rsi, qword [rsp + 0x4a0]
mov rdi, qword [rsp + 0x498]
mov r13, qword [rsp + 0x490]
mov rbx, qword [rsp + 0x4d0]
test r15d, r15d
mov r15, qword [rsp + 0x480]
je 0x1400133c4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, r12
add rsp, 0x4a8
pop r12
pop rbp
ret
Function at 0x140013cb0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.1400248b0
mov edx, 8
lea r8, [rax*2 + 0x208]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
jne 0x140013d07
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov r9d, 0x7ffe0030
mov qword [rsp + 0x20], rdi
lea r8, str._ws_system32drivers_ws.sys
mov edx, 0x208
mov rcx, rbx
call fcn.140001c40
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140021f40
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
xor r15d, r15d
mov rax, rdx
mov qword [rbp - 1], r15
mov r14, r9
mov rsi, r8
mov rdx, rcx
test r8, r8
jne 0x140021f78
mov eax, 0xc00000f2
jmp 0x140022145
mov qword [rsp + 0xb8], rdi
test rdx, rdx
je 0x140021fdf
xor eax, eax
lea rdi, [rbp + 7]
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [rbp + 7]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea rax, [rbp + 7]
mov dword [rbp + 0x17], 0x30
xorps xmm0, xmm0
mov qword [rbp + 0x27], rax
lea r8, [rbp + 0x17]
mov qword [rbp + 0x1f], r15
mov edx, 1
mov dword [rbp + 0x2f], 0x40
lea rcx, [rbp - 1]
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
test eax, eax
js 0x14002213d
mov rax, qword [rbp - 1]
jmp 0x140021ff2
test rax, rax
jne 0x140021fee
mov eax, 0xc00000f0
jmp 0x14002213d
mov qword [rbp - 1], rax
lea rcx, [rbp + 0x77]
mov dword [rbp - 9], r15d
mov qword [rsp + 0x30], rcx
mov r9b, 1
lea rcx, [rbp - 9]
mov dword [rbp + 0x77], r15d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
mov rcx, rax
mov byte [rsp + 0x20], r15b
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov edi, eax
cmp eax, 0xc0000023
jne 0x14002212c
mov qword [rsp + 0xb0], rbx
nop word [rax + rax]
mov rcx, qword gs:[0x30]
mov edx, 8
mov r8d, dword [rbp + 0x77]
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140022124
mov r8d, dword [rbp + 0x77]
lea rax, [rbp + 0x77]
mov rcx, qword [rbp - 1]
mov r9b, 1
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r15b
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov edi, eax
test eax, eax
js 0x140022108
mov rdx, r14
mov rcx, rbx
call rsi
mov rcx, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov edi, eax
mov rcx, qword [rcx + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test edi, edi
jns 0x140022103
mov rcx, qword [rbp - 1]
lea rax, [rbp + 0x77]
mov qword [rsp + 0x30], rax
mov r9b, 1
lea rax, [rbp - 9]
mov dword [rbp + 0x77], r15d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov byte [rsp + 0x20], r15b
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov edi, eax
cmp eax, 0xc0000023
je 0x140022040
jmp 0x140022124
mov edi, r15d
jmp 0x140022124
mov rax, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov rbx, qword [rsp + 0xb0]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14002213b
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc8]
add rsp, 0x90
pop r15
pop r14
pop rbp
ret
Function at 0x140022320
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov dword [rsp + 0x40], 0x1000
mov rbp, r9
mov r14, r8
mov rdi, rdx
test rdx, rdx
je 0x14002234e
mov dword [rdx], 0
test ecx, ecx
mov eax, 0xb
mov esi, 0x4d
mov ecx, 0x1000
cmove esi, eax
call r14
mov rbx, rax
test rax, rax
je 0x1400223de
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov ecx, esi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edx, eax
cmp eax, 0xc0000004
jne 0x1400223b1
mov rcx, rbx
call rbp
mov ecx, dword [rsp + 0x40]
call r14
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, rax
mov ecx, esi
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edx, eax
test rdi, rdi
je 0x1400223bc
mov eax, dword [rsp + 0x40]
mov dword [rdi], eax
cmp edx, 0x80000005
jne 0x1400223cb
cmp dword [rbx], 0
jne 0x1400223cf
jmp 0x1400223d9
test edx, edx
js 0x1400223d4
mov rax, rbx
jmp 0x1400223e0
test rbx, rbx
je 0x1400223de
mov rcx, rbx
call rbp
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x140022400
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor eax, eax
mov rsi, r9
mov dword [rsp + 0x48], eax
mov rbp, r8
mov r14, rdx
mov r15d, ecx
mov ebx, 0x1000
test rdx, rdx
je 0x140022436
mov dword [rdx], eax
mov rcx, rbx
call rbp
mov rdi, rax
test rax, rax
je 0x1400224b2
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov ecx, r15d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, eax
cmp eax, 0xc0000004
jne 0x140022493
mov rcx, rdi
call rsi
add ebx, ebx
cmp ebx, 0x20000000
ja 0x1400224b2
mov ecx, ebx
call rbp
lea r9, [rsp + 0x48]
mov r8d, ebx
mov rdx, rax
mov ecx, r15d
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ecx, eax
cmp eax, 0xc0000004
je 0x140022460
test r14, r14
je 0x14002249f
mov eax, dword [rsp + 0x48]
mov dword [r14], eax
test ecx, ecx
js 0x1400224a8
mov rax, rdi
jmp 0x1400224b4
test rdi, rdi
je 0x1400224b2
mov rcx, rdi
call rsi
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140022510
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov ebp, edx
mov rcx, r8
mov rsi, r9
mov r15, r8
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rsi, rsi
je 0x14002253d
mov dword [rsi], 0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x14002257b
movzx ebx, word [rax + 0x14]
movzx edi, word [rax + 6]
add rbx, 0x18
add rbx, rax
test edi, edi
je 0x14002257b
nop
mov r8, rbp
mov rdx, r14
mov rcx, rbx
call fcn.1400255e0
test eax, eax
je 0x140022596
add rbx, 0x28
add edi, 0xffffffff
jne 0x140022560
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov eax, dword [rbx + 0xc]
add rax, r15
test rsi, rsi
je 0x14002257d
mov ecx, dword [rbx + 8]
mov dword [rsi], ecx
jmp 0x14002257d
Function at 0x140024fb0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140025161
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140024e70
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140025126
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400250a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140025115
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400250dd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400250d7
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 0x140025115
cmp r9, rdx
je 0x1400250f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14002513b
cmp r9, rdx
jne 0x1400250e2
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
jne 0x140025050
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
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 0x140025115
lea rcx, [0x140038b28]
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x140025170
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
push r14
sub rsp, 0x40
mov r14, rcx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rax, rax
jne 0x14002519d
mov ecx, 0xc0000005
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x40
pop r14
ret
movzx ecx, word [rax + 4]
mov edx, 0x8664
cmp cx, dx
jne 0x1400251b3
mov ecx, dword [rax + 0x88]
jmp 0x1400251c4
mov edx, 0x14c
cmp cx, dx
jne 0x140025283
mov ecx, dword [rax + 0x78]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov r15d, ecx
add r15, r14
mov r12d, dword [r15 + 0x20]
mov r13d, dword [r15 + 0x24]
add r12, r14
mov edi, dword [r15 + 0x18]
add r13, r14
dec edi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x58]
lea ebx, [rdi + rsi]
shr ebx, 1
mov edx, dword [r12 + rbx*4]
add rdx, r14
call fcn.140025470
test eax, eax
jns 0x14002522f
lea edi, [rbx - 1]
jmp 0x140025234
jle 0x140025264
lea esi, [rbx + 1]
cmp edi, esi
jae 0x140025210
xor eax, eax
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop r14
ret
cmp edi, esi
jb 0x140025238
movzx ecx, word [r13 + rbx*2]
cmp ecx, dword [r15 + 0x14]
jae 0x140025238
mov eax, dword [r15 + 0x1c]
add rax, r14
mov eax, dword [rax + rcx*4]
add rax, r14
jmp 0x14002523a
mov ecx, 0x65e
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x40
pop r14
ret

Function at 0x1400260b4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400260fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400260fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400260fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400260fe
cmp dword [rcx + 0x84], 0xe
jbe 0x1400260fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140026100
xor al, al
add rsp, 0x28
ret
Function at 0x14007b8c0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov dword [rsp + 0x34], 0
xor eax, eax
cmp eax, 1
je 0x14007b971
mov byte [rsp + 0x30], 2
mov rax, qword [rsp + 0x2c0]
add rax, 0x5d
mov rcx, rax
call fcn.14005d0d0
mov byte [rsp + 0x31], al
lea r8, [0x140166ce8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x31]
call fcn.1400594e0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14007b971
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
lea r8, [0x140166e70]
lea rdx, [0x140166f00]
lea rcx, [rsp + 0xa8]
call fcn.1400b5fe0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140004910
nop
lea rcx, [rsp + 0xa8]
call fcn.1400b60e0
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x98]
call fcn.14007d3e0
movzx eax, al
test eax, eax
jne 0x14007ba3f
call fcn.14007aef0
cmp eax, 1
jle 0x14007b9a2
jmp 0x14007ba22
lea rcx, [rsp + 0x38]
call fcn.140004910
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x10a
lea r8, [0x140166f90]
lea rdx, str.unsigned_char___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea rcx, [rsp + 0x1a8]
call fcn.1400b5f40
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x60]
call fcn.140004910
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.140004830
nop
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14007ba3f
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x1a8]
call fcn.1400b60e0
mov ecx, dword [rsp + 0x98]
call fcn.14007d8e0
add rsp, 0x2b8
ret

Function at 0x14007cea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007cf01
cmp dword [rsp + 0x34], 4
jne 0x14007cf01
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov al, 1
jmp 0x14007cf03
xor al, al
add rsp, 0x48
ret
Function at 0x14007cf10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x34], 0xa
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14007cfe4
cmp dword [rsp + 0x38], 1
jne 0x14007cfe4
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xb
jae 0x14007cf8d
jmp 0x14007cf92
call fcn.1400cba50
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x68], 0
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.140008180
nop
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x48]
call fcn.1400acc40
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x48]
call fcn.140009160
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14007cfe4
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov al, 1
jmp 0x14007cfe6
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x88
ret
Function at 0x140093a60
Capabilities:
Terminate process

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140093a8a
mov dword [rsp + 0x20], 1
jmp 0x140093a92
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1400af4a0
Capabilities:
Check os version
Create pipe

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1400af54a
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
and rax, 0xffff
movzx eax, ax
and rax, 0xff
movzx eax, al
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 6
jb 0x1400af4fb
mov byte [rsp + 0x40], 1
jmp 0x1400af500
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x1400af54a
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400ccc40
mov dword [rsp + 0x60], 0x18
xor ecx, ecx
call fcn.1400af5d0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x1400af560
mov dword [rsp + 0x44], 0x80000
jmp 0x1400af568
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
or eax, 3
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x90]
call fcn.14000f840
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0x200
mov r9d, 2
mov r8d, 6
mov ecx, dword [rsp + 0x50]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
add rsp, 0x88
ret