joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004064e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14005fef0
mov rax, rcx
neg rcx
test rax, 7
je 0x14005ff0d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14005ff68
test al, 7
jne 0x14005ff00
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14005ff21
mov rdx, qword [rax - 8]
test dl, dl
je 0x14005ff92
test dh, dh
je 0x14005ff8c
shr rdx, 0x10
test dl, dl
je 0x14005ff86
test dh, dh
je 0x14005ff80
shr rdx, 0x10
test dl, dl
je 0x14005ff7a
test dh, dh
je 0x14005ff74
shr edx, 0x10
test dl, dl
je 0x14005ff6e
test dh, dh
jne 0x14005ff21
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x140040991
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x14005a068
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x1400cb128]
mov ecx, 2
lea r8, [0x1400cb120]
lea rdx, str.FlsGetValue
call fcn.140059b38
mov ecx, ebx
test rax, rax
je 0x14005a0a2
add rsp, 0x20
pop rbx
jmp qword [0x1400ed020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x140040ae0
Capabilities:
Query environment variable

Disassembly:
jmp 0x1400a528c
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400a52bc
xor eax, eax
jmp 0x1400a537f
mov rbp, rbx
cmp word [rax], si
je 0x1400a52e1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400a52c8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400a52c4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140041530
movsxd r14, eax
test eax, eax
jne 0x1400a531f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400a52b5
mov rcx, r14
call fcn.14003f041
mov rdi, rax
test rax, rax
jne 0x1400a5338
xor ecx, ecx
call fcn.14003f19a
jmp 0x1400a5314
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140041530
test eax, eax
jne 0x1400a5369
mov rcx, rdi
call fcn.14003f19a
jmp 0x1400a5373
xor ecx, ecx
call fcn.14003f19a
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140040aef
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140059fb8
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x1400cb0e8]
xor ecx, ecx
lea r8, [0x1400cb0e0]
lea rdx, str.FlsAlloc
call fcn.140059b38
test rax, rax
je 0x140059ff1
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400ed020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140040b71
Capabilities:
Get geographical location

Disassembly:
jmp 0x1400974d8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x1400cc708]
mov rbp, rcx
lea r8, [0x1400cc700]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.1400969f4
test rax, rax
je 0x140097538
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400ed030]
jmp 0x140097552
xor edx, edx
mov rcx, rbp
call fcn.1400403ab
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140040b85
Capabilities:
Terminate process

Disassembly:
jmp 0x14004adb8
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x140040cd9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140091670
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x1400913bc
Function at 0x1400411de
Capabilities:
Parse pe header

Disassembly:
jmp 0x14004bb78
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004bbc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004bbc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004bbc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004bbc2
cmp dword [rcx + 0x84], 0xe
jbe 0x14004bbc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004bbc4
xor al, al
add rsp, 0x28
ret
Function at 0x1400416ac
Capabilities:
Terminate process

Disassembly:
jmp 0x140095d10
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140095d2a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140041de1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140041ed6
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14005a0c0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400cb148]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400cb140]
call fcn.140059b38
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14005a100
call qword [0x1400ed020]
jmp 0x14005a106
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140041f80
Capabilities:
Set environment variable

Disassembly:
jmp 0x1400b7830
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400402de
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b78ba
cmp byte [rbp - 0x21], r15b
je 0x1400b78b5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b78f0
call fcn.14004239a
test eax, eax
jne 0x1400b78dc
cmp byte [rbp - 0x21], r15b
je 0x1400b78d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b78f0
cmp byte [rbp - 0x21], r15b
je 0x1400b78ed
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14004259d
test eax, eax
jne 0x1400b7990
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400402de
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b792f
cmp byte [rbp - 0x21], r15b
je 0x1400b7964
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b7964
call fcn.14004239a
test eax, eax
jne 0x1400b7950
cmp byte [rbp - 0x21], r15b
je 0x1400b7949
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b7964
cmp byte [rbp - 0x21], r15b
je 0x1400b7961
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14004259d
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b7990
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b7993
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b79a1
mov rcx, rdi
call fcn.14003f19a
cmp byte [rbp + 0x3f], r15b
je 0x1400b79b0
mov rcx, qword [rbp + 0x27]
call fcn.14003f19a
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14004207f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140091660
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14009142b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14009142b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009142b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009142b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009142b
cmp dword [rcx + 0x84], 0xe
jbe 0x14009142b
cmp dword [rcx + 0xf8], 0
je 0x14009142b
mov ecx, ebx
call fcn.1400915a4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140091114
nop
cmp dword [rbp + 0x20], 0
je 0x140091479
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400914b4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400913bc
Function at 0x1400425cf
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x1400461d0
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400ec1a5]
call fcn.14004216f
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, byte [rax + 2]
mov byte [rbp + 0x24], al
movzx eax, byte [rbp + 0x24]
cmp eax, 1
jne 0x140046218
mov dword [rbp + 0xf4], 1
jmp 0x140046222
mov dword [rbp + 0xf4], 0
mov eax, dword [rbp + 0xf4]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400020e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140002141
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140002100
mov ecx, dword [r9]
jmp 0x140002228
cmp ecx, 0x4e0
jb 0x140002228
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140002160
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400021b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140002cd8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002d22
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002d22
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002d22
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002d22
cmp dword [rcx + 0x84], 0xe
jbe 0x140002d22
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002d24
xor al, al
add rsp, 0x28
ret
Function at 0x140001350
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
lea rax, [0x140001470]
mov rbx, rcx
mov qword [rcx + 0x68], rax
lea rcx, [0x140001630]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rbx + 0x28]
lea rcx, [rbp - 0x30]
xor edx, edx
or dword [rax + 0x68], 0x20
lea r8d, [rdx + 0x28]
call fcn.140001540
call qword [sym.imp.ntoskrnl.exe_ObGetFilterVersion]
and qword [rbp - 0x18], 0
lea rdx, [0x140001640]
mov ebx, 1
mov word [rbp - 0x30], ax
lea rcx, [rbp - 0x28]
mov word [rbp - 0x2e], bx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
lea rdx, [0x140003f30]
and dword [rbp - 0x44], 0
lea rcx, [rbp - 0x30]
and qword [rbp - 0x38], 0
mov qword [rbp - 0x50], rax
lea rax, [0x140001450]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x48], 3
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
test eax, eax
jne 0x14000141b
lea rcx, [0x140001650]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [0x140003f30]
lea rcx, [0x140001660]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000142b
mov edx, eax
lea rcx, [0x140001670]
call sub.ntoskrnl.exe_DbgPrint
xor ebx, ebx
mov dword [0x140003f28], ebx
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret
Function at 0x140002234
Capabilities:
Encode data using xor

Disassembly:
movabs r9, 0xfffff78000000014
mov r9, qword [r9]
xor r9d, r8d
mov r8d, 0xc
sub rcx, rdx
mov al, r9b
xor al, byte [rcx + rdx]
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x14000224d
ret

Function at 0x140002754
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r9, dword [rcx + 0x3c]
lea rbx, [rcx + 0x18]
add rbx, r9
xor r10d, r10d
xor edi, edi
mov r14, r8
mov r15, rdx
mov rbp, rcx
movzx eax, word [r9 + rcx + 0x14]
movzx esi, word [r9 + rcx + 6]
add rbx, rax
test esi, esi
je 0x1400027d4
cmp dword [rbx], 0x45474150
je 0x1400027ae
cmp dword [rbx], 0x7865742e
jne 0x1400027ca
cmp byte [rbx + 4], 0x74
jne 0x1400027ca
mov ecx, dword [rbx + 0xc]
mov r9, r14
mov edx, dword [rbx + 8]
add rcx, rbp
mov r8, r15
call fcn.1400026e0
mov r10, rax
test rax, rax
jne 0x1400027d4
inc edi
add rbx, 0x28
cmp edi, esi
jb 0x140002798
mov rbx, qword [rsp + 0x40]
mov rax, r10
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400027f0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x150
xor ebx, ebx
lea r9, [rax + 0x18]
mov r14, rdx
mov dword [rax + 0x18], ebx
mov r15, rcx
xor r8d, r8d
xor edx, edx
mov ebp, ebx
lea esi, [rbx + 0xb]
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
jne 0x14000294a
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x14000294a
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rax
mov ecx, esi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
js 0x14000293a
mov esi, ebx
cmp dword [rdi], ebx
jbe 0x140002937
mov eax, esi
mov edx, 2
imul rcx, rax, 0x128
lea rax, [rdi + 8]
add rax, rcx
lea rcx, [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140002898
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.1400029a8
mov rcx, rax
mov rdx, r15
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140002926
inc esi
cmp esi, dword [rdi]
jb 0x14000287e
jmp 0x140002937
mov rbp, qword [rsp + 0x30]
test r14, r14
je 0x140002937
mov eax, dword [rsp + 0x38]
mov dword [r14], eax
mov rbx, rbp
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbx
jmp 0x14000294c
xor eax, eax
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x14000296c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x140002976
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4f9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x1400029a3
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x14000298e
mov eax, ecx
ret
Function at 0x140002a60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov edi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rsi
call fcn.14000296c
xor ebx, eax
test edi, edi
je 0x140002abf
mov r8d, edi
imul ebx, ebx, 0x41c64e6d
mov eax, 0x80808081
add ebx, 0x3039
mov ecx, ebx
shr ecx, 0x10
and ecx, 0x7fff
mul ecx
shr edx, 7
imul eax, edx, 0xff
sub ecx, eax
xor byte [rsi], cl
inc rsi
sub r8, 1
jne 0x140002a8b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x1400a6d00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400a6d0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400a6d1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400a6d05
lea eax, [rcx + 1]
jmp 0x1400a6d2b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400a6d3e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400a6d24
sub eax, 3
jb 0x1400a6d5e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400a6dad
sar eax, 1
movsxd rbp, eax
jb 0x1400a6d94
jmp 0x1400a6d6c
add ebx, ebx
jne 0x1400a6d6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a6d94
inc ecx
add ebx, ebx
jne 0x1400a6d7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400a6d94
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400a6d8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400a6d7c
add ecx, 2
jmp 0x1400a6d99
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400a6cc2
jmp 0x1400a6d0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23200
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400a6df9
cmp rsi, rcx
jae 0x1400a6e01
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400a6de0
cmp al, 0x8f
ja 0x1400a6de0
cmp byte [rsi - 2], 0xf
je 0x1400a6de6
sub al, 0xe8
cmp al, 1
ja 0x1400a6dca
cmp rsi, rcx
jae 0x1400a6e01
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400a6dd0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400a6e01
lodsb al, byte [rsi]
jmp 0x1400a6de0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xa4000]
mov eax, dword [rdi]
or eax, eax
je 0x1400a6e5e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10f75c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400a6e0e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400a6e58
mov qword [rbx], rax
add rbx, 8
jmp 0x1400a6e2e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400a6e98
cmp al, 0xef
ja 0x1400a6e8a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400a6e6a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400a6e79
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400a6eec
sub rsp, 0xffffffffffffff80
jmp 0x14000c0f8