joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb110
Capabilities:
Print debug messages

Disassembly:
jmp 0x14021cec0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140288080]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14021cee6
jmp 0x14021cf63
mov rcx, qword [rbp + 0x30]
call fcn.1400ba4ef
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14021ceff
jmp 0x14021cf63
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14021cf1c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400b8f00
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400b94fa
test eax, eax
jne 0x14021cf63
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400ba7bf
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400bb543
Capabilities:
Set environment variable

Disassembly:
jmp 0x140211790
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret

Function at 0x1400bb881
Capabilities:
Parse pe header

Disassembly:
jmp 0x14013ba70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14013ba90
xor al, al
jmp 0x14013bb11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14013baa3
xor al, al
jmp 0x14013bb11
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14013bacd
xor al, al
jmp 0x14013bb11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14013bae1
xor al, al
jmp 0x14013bb11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14013baf3
xor al, al
jmp 0x14013bb11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14013bb0f
xor al, al
jmp 0x14013bb11
mov al, 1
add rsp, 0x38
ret
Function at 0x1400bc0ec
Capabilities:
Terminate process

Disassembly:
jmp 0x14015e880
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14015e8ae
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400bcca9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400bcd2b
Capabilities:
Print debug messages

Disassembly:
jmp 0x1401ebc40
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400bce8e
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14015d600
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.14015cf50
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14015d649
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1402a5020]
jmp 0x14015d658
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x1401f3270
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400b8f00
sub rsp, rax
mov rax, qword [0x140288080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14028cd10]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401f3462
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1401f33b6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1401f33b6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1401f339b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1401f3338
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401f3422
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401f3481
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1401f345d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401f3481
jmp 0x1401f330e
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400ba7bf
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1401f3530
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400b8f00
sub rsp, rax
mov rax, qword [0x140288080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14028cd10]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401f373d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1401f3689
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1401f3689
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1401f3669
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1401f35f8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1401f36fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401f375c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1401f3738
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1401f375c
jmp 0x1401f35ce
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400ba7bf
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400019a0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov dword [rsp + 0xa8], 0x30
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xc0], 0x240
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa8]
mov edx, 0x110000
lea rcx, [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jl 0x140001b5e
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x454c4946
xor r9d, r9d
mov rax, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov r8, qword [rax]
mov edx, 0x110000
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0
jl 0x140001b4e
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x28]
mov qword [rax + 0x10], 0
xor edx, edx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
movzx eax, al
test eax, eax
je 0x140001b40
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov dword [rsp + 0x80], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
mov eax, dword [rsp + 0x80]
add rsp, 0xe8
ret
Function at 0x140002128
Capabilities:
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov dword [rsp + 0x20], 0xc0000001
cmp dword [rsp + 0x90], 0
jbe 0x140002188
cmp qword [rsp + 0x98], 0
jbe 0x140002188
movabs rax, 0x7fffffffffff
cmp qword [rsp + 0x98], rax
ja 0x140002188
cmp dword [rsp + 0xa8], 0
jbe 0x140002188
cmp qword [rsp + 0xa0], 0
ja 0x140002192
mov eax, 0xc0000001
jmp 0x14000231d
mov qword [rsp + 0x48], 0
mov eax, dword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140002319
cmp qword [rsp + 0x48], 0
je 0x140002319
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x28], 0
je 0x140002306
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140002328
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000223f
jmp 0x140002306
mov rax, qword [rsp + 0x30]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x28]
jae 0x140002279
mov rax, qword [rsp + 0x30]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140002283
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400020c8
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x20], 0
jge 0x1400022f7
jmp 0x140002306
cmp qword [rsp + 0x40], 0
jne 0x140002301
jmp 0x140002306
jmp 0x140002204
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x140002614
Capabilities:
Find process by pid

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov dword [rsp + 0x20], 0xc0000001
cmp dword [rsp + 0x90], 0
jbe 0x140002674
cmp qword [rsp + 0x98], 0
jbe 0x140002674
movabs rax, 0x7fffffffffff
cmp qword [rsp + 0x98], rax
ja 0x140002674
cmp dword [rsp + 0xa8], 0
jbe 0x140002674
cmp qword [rsp + 0xa0], 0
ja 0x14000267e
mov eax, 0xc0000001
jmp 0x140002809
mov qword [rsp + 0x48], 0
mov eax, dword [rsp + 0x90]
lea rdx, [rsp + 0x48]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140002805
cmp qword [rsp + 0x48], 0
je 0x140002805
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x28], 0
je 0x1400027f2
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140002328
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000272b
jmp 0x1400027f2
mov rax, qword [rsp + 0x30]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x28]
jae 0x140002765
mov rax, qword [rsp + 0x30]
and rax, 0xfff
mov ecx, 0x1000
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x14000276f
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x40]
mov r8, qword [rsp + 0x70]
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.14000256c
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
cmp dword [rsp + 0x20], 0
jge 0x1400027e3
jmp 0x1400027f2
cmp qword [rsp + 0x40], 0
jne 0x1400027ed
jmp 0x1400027f2
jmp 0x1400026f0
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1400029ec
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x60], 0x30
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x78], 0x40
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
lea r8, [rsp + 0x60]
mov edx, 0xf003f
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140002adb
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb0]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov al, 1
jmp 0x140002ae1
xor al, al
jmp 0x140002ae1
add rsp, 0x98
ret
Function at 0x1400018b4
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400018f8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.1400039d0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400018e8
mov qword [rdi], rsi
call fcn.140007bc0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140004300
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x34]
mov r8d, 0x118
xor edx, edx
call fcn.1401e0c20
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x98
call fcn.140172d74
mov rsi, rax
mov edi, dword [rsp + 0x2c]
mov eax, dword [0x14027e8c0]
mov ecx, dword [0x1402829b0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x14]
jg 0x1400043cc
lea r8, [0x14027e890]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.140004420
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140173230
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14027e8c0]
call fcn.1401730a0
cmp dword [0x14027e8c0], 0xffffffff
jne 0x140004398
xorps xmm0, xmm0
movups xmmword [0x14027e8b0], xmm0
movups xmmword [0x14027e8a0], xmm0
movups xmmword [0x14027e890], xmm0
lea rcx, [0x14027e890]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14027e8c0]
call fcn.140173034
jmp 0x140004398
Function at 0x14000f500
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rax, qword [rcx]
jne 0x14000f534
test rax, rax
jne 0x14000f534
cmp dword [rsi + 0x14], 0
je 0x14000f526
xor eax, eax
jmp 0x14000f534
xor eax, eax
cmp qword [rsi + 8], 0
mov edx, 0
je 0x14000f58b
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x14000f554
call fcn.140007bc0
mov rcx, qword [rsi]
call fcn.140012230
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x14000f57d
call fcn.140007bc0
mov rcx, qword [rsi + 8]
call fcn.140012230
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov rdx, rax
mov qword [rsi + 0x10], 0
mov rax, rcx
mov rbx, qword [rdi]
cmp rdx, rbx
je 0x14000f5d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14000f5bb
call fcn.140007bc0
mov rcx, qword [rsi]
call fcn.140012230
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14000f5cd
mov qword [rsi], rbx
call fcn.140007bc0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
mov rbp, qword [rdi + 8]
cmp rax, rbp
je 0x14000f628
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x14000f60d
call fcn.140007bc0
mov rcx, qword [rsi + 8]
call fcn.140012230
mov qword [rsi + 8], 0
lea rax, [rbp + 1]
cmp rax, 2
jb 0x14000f620
mov qword [rsi + 8], rbp
call fcn.140007bc0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14000f750
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x14000f805
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
mov rbp, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rbp
mov rbx, rax
call rbp
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
test eax, eax
je 0x14000f809
mov rbx, qword [rsp + 0x38]
cmp qword [rsi], rbx
je 0x14000f819
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14000f7f1
call fcn.140007bc0
mov rcx, qword [rsi]
call fcn.140012230
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14000f811
mov qword [rsi], rbx
call fcn.140007bc0
jmp 0x14000f811
mov bl, 1
jmp 0x14000f81e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140173230
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400103c0
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400103e0
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140010b4c
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.14000f6e0
test al, al
je 0x140010b7f
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r15, [rsi + 0x38]
mov rcx, r15
xor edx, edx
call fcn.140010c40
mov rbx, qword [rsi + 0x58]
test rbx, rbx
je 0x140010bf6
lea r14, [rsi + 0x58]
mov rdi, qword [rsi + 0x60]
cmp rbx, rdi
je 0x140010bb7
mov rcx, rbx
call fcn.14000ff50
add rbx, 0x18
cmp rbx, rdi
jne 0x140010ba3
mov rbx, qword [r14]
mov rdx, qword [rsi + 0x68]
sub rdx, rbx
cmp rdx, 0x1000
jb 0x140010bdf
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x140010c3a
add rdx, 0x27
mov rbx, rax
mov rcx, rbx
call fcn.140172db0
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140010c04
call fcn.14017afa0
mov rcx, r15
call fcn.140010c6c
lea rcx, [rsi + 0x28]
call fcn.1400039d0
lea rcx, [rsi + 0x20]
call fcn.1400039d0
lea rcx, [rsi + 0x18]
call fcn.1400039d0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14000f640
call fcn.14017a8e4
int3