joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000afa8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 7
mov word [rcx], r14w
mov dword [rbp - 0x50], 1
cmp qword [rdx + 8], r14
je 0x14000b049
mov dword [rax - 0x70], r14d
mov qword [rax - 0x78], r14
mov r9d, dword [rdx + 8]
mov r8, qword [rdx]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rsi, eax
test eax, eax
je 0x14000b064
mov rdx, rsi
mov rcx, rbx
call fcn.140008f2c
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000b02f
mov rax, qword [rbx]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov r9d, dword [rdi + 8]
mov r8, qword [rdi]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov dword [rbp - 0x28], 0x6c696146
mov dword [rbp - 0x24], 0x74206465
mov dword [rbp - 0x20], 0x6f63206f
mov dword [rbp - 0x1c], 0x7265766e
mov dword [rbp - 0x18], 0x4e412074
mov dword [rbp - 0x14], 0x74204953
mov dword [rbp - 0x10], 0x6e75206f
mov dword [rbp - 0xc], 0x646f6369
mov dword [rbp - 8], 0x65
xor eax, eax
mov dword [rbp - 4], eax
mov eax, dword [rbp - 0x28]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x40]
call fcn.14000adec
lea rdx, [0x14008f210]
lea rcx, [rbp - 0x40]
call sub.msvcrt.dll__CxxThrowException
int3

Function at 0x14000b518
Capabilities:
Check for software breakpoints

Disassembly:
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, 0x20
lea rdi, [rdx - 1]
mov rbp, r9
mov rsi, rcx
mov rdx, rdi
mov r14d, 1
test rdi, rdi
je 0x14000b554
cmp byte [rdx + rcx], 0xcc
je 0x14000b554
sub rdx, r14
jne 0x14000b549
mov al, dil
mov r8d, 0x100
sub al, dl
mov rcx, rbp
movzx ebx, al
cmove ebx, r14d
mov dl, bl
call fcn.140060530
movzx eax, bl
mov rdx, rdi
sub rdx, rax
jmp 0x14000b58a
movzx eax, byte [rdx + rsi]
mov cl, dil
sub cl, dl
add rdx, r14
mov byte [rax + rbp], cl
cmp rdx, rdi
jb 0x14000b57b
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140016c30
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rcx, 0xcbf29ce484222325
mov qword [rax - 0x68], rcx
xor r9d, r9d
mov qword [rsp + 0x40], r9
cmp r9, 8
jae 0x140016c9c
movzx eax, byte [r9 + r8]
xor rcx, rax
mov qword [rsp + 0x20], rcx
movabs rax, 0x100000001b3
imul rcx, rax
mov qword [rsp + 0x20], rcx
inc r9
jmp 0x140016c6c
mov r8, qword [rsi + 0x30]
and r8, rcx
mov qword [rsp + 0x58], r8
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 8]
mov qword [rsp + 0x30], rax
cmp qword [rcx + r8*8], rax
jne 0x140016cc4
mov rbx, qword [rsi + 8]
jmp 0x140016cd5
mov rax, qword [rsi + 0x18]
mov rbx, qword [rax + r8*8 + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsi + 0x18]
cmp rbx, qword [rax + r8*8]
je 0x140016d33
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x48], rbx
mov rax, qword [rbx + 0x10]
cmp qword [r10], rax
jne 0x140016d31
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rcx
dec qword [rsi + 0x10]
mov qword [rsp + 0x60], 0x20
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140016e59
jmp 0x140016cda
mov rax, qword [rdi]
cmp rbx, rax
je 0x140016d68
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140016d85
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140016db4
cmp rax, rbx
jne 0x140016d90
mov qword [rdx + r8*8], rdi
jmp 0x140016db4
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140016db4
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140072800]
test rax, rax
jns 0x140016dd5
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140016de6
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140016e4e
mov qword [rsp + 0x28], rdx
cmp rdx, 0x200
jae 0x140016e08
shl rdx, 3
mov qword [rsp + 0x28], rdx
jmp 0x140016e3d
movabs rax, 0x1fffffffffffffff
mov qword [rsp + 0x38], rax
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x30], rax
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140016e3d
add rdx, rdx
mov qword [rsp + 0x28], rdx
mov rcx, rsi
call fcn.140003a88
mov rcx, rsi
call fcn.140016888
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop r14
pop rdi
pop rsi
ret
Function at 0x14002e2dc
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov r8, rcx
xor r9d, r9d
test rcx, rcx
je 0x14002e38b
cmp rdx, 0x40
jb 0x14002e34f
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e34f
movsxd rcx, dword [rcx + 0x3c]
cmp dword [r8 + 0x3c], r9d
jl 0x14002e403
cmp rcx, rdx
jae 0x14002e403
cmp rcx, 0x7fffffe7
jae 0x14002e403
lea rax, [rcx + 0x18]
cmp rax, rdx
jae 0x14002e403
lea rax, [rcx + r8]
cmp dword [rax], 0x4550
jne 0x14002e3c7
add rsp, 0x50
pop rbp
ret
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000012f
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc00000ef
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
lea rax, vtable.std::exception.0
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, method.std::bad_alloc.virtual_0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x10], 0xc000007b
mov dword [rbp - 0xc], r9d
lea rdx, [0x14008f100]
lea rcx, [rbp - 0x28]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x14002fcf8
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
call fcn.14002ef0c
mov r15, rax
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002e738
mov rax, qword [rbp + 0x40]
mov qword [rbp], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.140031418
nop
lea rcx, [rbp]
call fcn.14002f360
mov rdx, r14
lea rcx, [rbp]
call fcn.14002f5bc
mov rdi, rax
mov ebx, dword [r14 + 0x14]
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rcx]
mov rcx, qword [rdx + 0x30]
mov qword [rbp + 0x10], r12
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x10]
mov edx, 0x227b1ade
call fcn.1400046bc
mov r8, qword [rbp + 0x10]
test eax, eax
cmovs r8, r12
mov rdx, qword [0x140097b18]
mov eax, dword [0x140092084]
mov dword gs:[0x68], eax
lea r9, [rdi + rbx]
mov qword [rsp + 0x20], r12
mov rbx, qword [rbp + 8]
mov rcx, rbx
call fcn.14005fa20
test eax, eax
js 0x14002fed1
lea rcx, [rbp + 8]
call fcn.140003940
mov byte [rbp + 0x38], 1
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.14005fa20
nop
cmp byte [rbp + 0x38], r12b
jne 0x14002fe6d
mov rcx, qword [rbp + 0x30]
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
mov rcx, qword [rcx]
call fcn.14005fa20
nop
cmp rbx, 0xfffffffffffffffe
cmove rbx, r12
mov qword [rbp + 8], rbx
test rbx, rbx
je 0x14002fe8b
mov rcx, rbx
call qword [0x140068658]
mov qword [rbp + 8], r12
mov rcx, qword [rbp]
test rcx, rcx
je 0x14002fe9e
call qword [0x140068658]
mov qword [rbp], r12
test r15, r15
je 0x14002feb0
mov rcx, r15
call qword [0x140068658]
mov qword [rbp + 0x28], r12
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, vtable.std::exception.0
mov qword [rbp + 0x60], rcx
xor ecx, ecx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rcx
lea rcx, method.std::bad_alloc.virtual_0
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x78], 0xd000160c
mov dword [rbp + 0x7c], eax
lea rdx, [0x14008f100]
lea rcx, [rbp + 0x60]
call sub.msvcrt.dll__CxxThrowException
int3
Function at 0x140031968
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rsi, rcx
mov rax, rcx
mov rdx, qword [rcx + 0x18]
cmp rdx, 8
jb 0x1400319a8
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x10]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
mov r9d, 0x5c
cmp word [rax - 2], r9w
je 0x1400319e9
cmp rcx, rdx
jae 0x1400319e1
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 8
jb 0x1400319db
mov rax, qword [rsi]
mov dword [rax + rcx*2], r9d
jmp 0x1400319e9
mov rcx, rsi
call fcn.14000df60
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 0x18]
jae 0x140031a11
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140031a08
mov rax, qword [rsi]
mov dword [rax + rcx*2], 0x2a
jmp 0x140031a1f
mov r9d, 0x2a
mov rcx, rsi
call fcn.14000df60
mov dword [rsp + 0x20], 0x65002e
mov dword [rsp + 0x24], 0x650078
xor eax, eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000de4c
nop
lea rdi, [rsp + 0x20]
xor eax, eax
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140031a60
mov rcx, qword [rsi]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140031b09
test dword [rsp + 0x70], 0x4c14
jne 0x140031ac8
cmp word [rbp - 0x64], 0x2e
je 0x140031ac8
lea rax, [rbp - 0x64]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140031ab6
lea rdx, [rbp - 0x64]
mov rcx, rax
call fcn.14000d47c
add qword [rbx + 8], 0x20
jmp 0x140031ac8
lea r8, [rbp + 0x1f8]
mov rdx, rax
mov rcx, rbx
call fcn.140031650
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140031a7d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or qword [rsp + 0x30], 0xffffffffffffffff
mov rcx, rsi
call fcn.140002adc
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword gs:[0x68]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rcx, method.std::bad_alloc.virtual_0
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x50], 0xd0001d10
mov dword [rsp + 0x54], eax
lea rdx, [0x14008f100]
lea rcx, [rsp + 0x38]
call sub.msvcrt.dll__CxxThrowException
int3

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

Disassembly:
mov rdx, rcx
test rcx, rcx
je 0x140031fb4
movzx r8d, word [rcx]
test r8w, r8w
je 0x140031fb4
mov r9d, 0x811c9dc5
lea eax, [r8 - 0x41]
cmp ax, 0x19
lea ecx, [r8 + 0x20]
lea rdx, [rdx + 2]
cmova cx, r8w
movzx r8d, word [rdx]
movzx eax, cx
xor eax, r9d
imul r9d, eax, 0x1000193
test r8w, r8w
jne 0x140031f84
mov eax, r9d
ret
xor eax, eax
ret
Function at 0x140031fb8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rax - 0x48], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xor ebx, ebx
mov qword [rax - 0x58], rbx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x140032019
test r12d, r12d
je 0x140032019
mov r8d, r12d
xor edx, edx
mov rcx, rbx
call fcn.140060530
nop
and dword [rsp + 0xb8], 0
mov eax, dword [0x140092168]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r13]
call fcn.14005fa20
nop
mov dword [r14], eax
cmp eax, 0xc0000023
je 0x140032069
cmp eax, 0x80000005
jne 0x140032117
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x140032195
add eax, 2
mov dword [rsp + 0xb8], eax
mov r8d, eax
mov rax, qword gs:[0x60]
mov edx, 8
mov rcx, qword [rax + 0x30]
test rbx, rbx
je 0x1400320ad
mov r9d, r8d
mov r8, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop
jmp 0x1400320b4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x1400320cd
mov dword [r14], 0xc000009a
jmp 0x1400321a2
mov r12d, dword [rsp + 0xb8]
mov dword [rsp + 0x30], r12d
mov eax, dword [0x140092168]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r13]
call fcn.14005fa20
nop
mov dword [r14], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
test eax, eax
js 0x140032183
cmp dword [rbx + 0xc], 0
jbe 0x140032183
lea rcx, [rbx + 0x10]
call fcn.140031f6c
nop
xor eax, 0x66d29210
mov dword [rsp + 0x38], eax
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x14003214c
mov qword [rsp + 0x58], rdx
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x14003215a
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.140031448
nop
jmp 0x140032183
inc r15d
mov dword [rsp + 0x34], r15d
cmp dword [r14], 0
jge 0x140032001
cmp dword [r14], 0x8000001a
jne 0x1400321a2
and dword [r14], 0
test rbx, rbx
je 0x1400321c8
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
and qword [rsp + 0x40], 0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x140039574
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov r14, rdx
mov r10, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
lea rsi, [rbx + 0x10]
movzx eax, byte [rsi + r9]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x1400395ab
mov rdx, qword [r10 + 0x30]
and rdx, r8
add rdx, rdx
mov rcx, qword [r10 + 0x18]
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x140039602
cmp qword [rcx + rdx*8], rbx
jne 0x1400395f7
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r10 + 8]
mov rcx, qword [r10 + 0x18]
jmp 0x1400395fb
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14003960f
cmp qword [rcx + rdx*8], rbx
jne 0x14003960f
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14003963c
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi + 8], 0
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14003e608
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r9
mov r14, rdx
mov r13, rcx
lea rdi, [rdx + 0xd0]
mov qword [rbp + 0x48], rdi
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
nop
mov r10, qword [r14 + 0x100]
mov rbx, qword [r14 + 0xf8]
jmp 0x14003e67e
lea rcx, [rbx + 0x30]
cmp qword [rbx + 0x48], 8
jb 0x14003e669
mov rcx, qword [rcx]
call fcn.140031f6c
xor eax, 0x66d29210
cmp eax, 0x7f107aec
je 0x14003e683
add rbx, 0x58
cmp rbx, r10
jne 0x14003e65b
xor r12d, r12d
cmp rbx, r10
jne 0x14003e697
mov dword [r15], 0xd0001413
jmp 0x14003e839
mov rsi, qword [r13 + 0x140]
test rsi, rsi
jne 0x14003e7a8
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14000f180
nop
mov ecx, 0x5a4d
mov rax, qword [rbp - 0x10]
cmp word [rax], cx
jne 0x14003e80d
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14003e80d
mov dword [rbp - 0x28], 0x7865742e
mov dword [rbp - 0x24], 0x74
xor eax, eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x28]
lea rdx, [0x140096a70]
cmp qword [0x140096a88], 0x10
cmovae rdx, qword [0x140096a70]
lea r9, [rbp - 0x28]
mov r8, qword [0x140096a80]
mov rcx, qword [rbp - 0x10]
call fcn.14000b73c
mov rdx, rax
lea rdi, [rbp - 0x28]
xor eax, eax
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
test rdx, rdx
jne 0x14003e760
cmp qword [rbp - 0x10], r12
je 0x14003e757
mov eax, dword [0x14009220c]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov rdi, qword [rbp + 0x48]
jmp 0x14003e82e
mov rdi, qword [rbp + 0x48]
jmp 0x14003e832
movsxd rax, dword [0x140096a90]
mov eax, dword [rdx + rax]
sub eax, dword [rsi + 0x34]
mov esi, eax
mov qword [r13 + 0x140], rsi
cmp qword [rbp - 0x10], r12
je 0x14003e79b
mov eax, dword [0x14009220c]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov qword [rbp - 0x10], r12
mov rdi, qword [rbp + 0x48]
test rsi, rsi
je 0x14003e832
mov rdx, qword [rbx]
add rdx, rsi
mov eax, dword [0x1400921ec]
mov dword gs:[0x68], eax
lea r8, [r13 + 0x148]
mov qword [rsp + 0x20], r12
mov r12d, 1
mov r9d, r12d
mov rcx, qword [r14]
call fcn.14005fa20
mov dword [r15], eax
mov rdx, qword [rbx]
add rdx, rsi
mov eax, dword [0x1400921e0]
mov dword gs:[0x68], eax
and qword [rsp + 0x20], 0
mov r9d, r12d
lea r8, [rbp + 0x50]
mov rcx, qword [r14]
call fcn.14005fa20
xor r12d, r12d
mov dword [r15], r12d
jmp 0x14003e839
cmp qword [rbp - 0x10], r12
je 0x14003e832
mov eax, dword [0x14009220c]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov qword [rbp - 0x10], r12
mov dword [r15], 0xc0000001
test rdi, rdi
je 0x14003e84b
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov qword [rbp + 0x48], r12
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140048c50
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rcx, [0x140070d80]
call fcn.1405e8429
nop
mov rbx, rax
mov qword [rsp + 0x50], rax
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x1b0]
mov edx, 0x2001f
mov rcx, rax
call fcn.14000c240
nop
mov rcx, rbx
call fcn.1405e846e
nop
xor esi, esi
cmp dword [rbp + 0x1a0], esi
jl 0x140048d5f
mov rbx, qword [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rbx
mov dword [rbp + 0x1a8], 1
lea rcx, [0x140070e00]
call fcn.1405e8429
nop
mov rdi, rax
mov qword [rsp + 0x58], rax
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x140048ce6
add ax, ax
mov word [rsp + 0x38], ax
add ax, 2
mov word [rsp + 0x3a], ax
mov qword [rsp + 0x40], rdi
mov eax, dword [0x1400920e8]
mov dword gs:[0x68], eax
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14005fa20
mov dword [rbp + 0x1a0], eax
mov rcx, rdi
call fcn.1405e846e
nop
nop
test rbx, rbx
je 0x140048d5f
mov rcx, rbx
call qword [0x140068658]
mov qword [rbp + 0x1b8], rsi
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call fcn.140060530
lea rcx, str._F_
call fcn.1405e8429
nop
mov rbx, rax
mov qword [rsp + 0x60], rax
lea r8, [0x140097f30]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14004a57c
mov edi, eax
mov rcx, rbx
call fcn.1405e846e
nop
test edi, edi
jle 0x140048dfd
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x1b0]
mov edx, 0x3001f
lea rcx, [rsp + 0x70]
call fcn.14000c240
cmp dword [rbp + 0x1a0], esi
jl 0x140048dfd
mov rbx, qword [rbp + 0x1b0]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop
test rbx, rbx
je 0x140048dfd
mov rcx, rbx
call qword [0x140068658]
mov qword [rsp + 0x30], rsi
add rsp, 0x278
pop rdi
pop rsi
pop rbx
pop rbp
ret