joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140284f10
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.1400dd194
sub rsp, rax
mov rax, qword [0x14032f080]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140333af0]
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 0x14028511d
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 0x140285069
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140285069
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 0x140285049
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 0x140284fd8
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 0x1402850dd
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 0x14028513c
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 0x140285118
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 0x14028513c
jmp 0x140284fae
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.1400def3f
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400111db
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015470
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x14002f0d6]
call fcn.1400116e5
nop
cmp qword [rbp + 0x160], 0
jne 0x14001549e
xor eax, eax
jmp 0x140015502
mov rax, qword [rbp + 0x160]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400154bb
xor eax, eax
jmp 0x140015502
mov dword [rbp + 0x24], 0x400
mov rax, qword [rbp + 8]
mov eax, dword [rax + 0x3c]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0x400
jle 0x1400154d9
xor eax, eax
jmp 0x140015502
movsxd rax, dword [rbp + 0x44]
mov rcx, qword [rbp + 0x160]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
cmp dword [rax], 0x4550
je 0x1400154fe
xor eax, eax
jmp 0x140015502
mov rax, qword [rbp + 0x68]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x1400113ca
Capabilities:
Terminate process

Disassembly:
jmp 0x14001a490
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]
nop
add rsp, 0x28
ret

Function at 0x140011447
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140015fd0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002f0d6]
call fcn.1400116e5
nop
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
nop
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
xor r9d, r9d
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
nop
lea rax, [rbp + 0x148]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
nop
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140022f10]
call fcn.1400115d2
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.140011357
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400114c9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001b7e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001b800
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001b813
xor al, al
jmp 0x14001b881
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 0x14001b83d
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001b851
xor al, al
jmp 0x14001b881
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001b863
xor al, al
jmp 0x14001b881
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001b87f
xor al, al
jmp 0x14001b881
mov al, 1
add rsp, 0x38
ret
Function at 0x140011523
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140018230
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x40]
lea rcx, [0x14002f0d6]
call fcn.1400116e5
nop
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov r8, qword [0x1400284c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
add eax, 1
cdqe
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov edx, 2
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_calloc]
mov qword [0x1400287f0], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x28], eax
mov rax, qword [0x1400287f0]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [0x1400284c8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rdx, [0x1400284c4]
mov rcx, qword [0x1400287f0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [0x140028b20], rax
movsxd rax, dword [0x1400284c4]
shl rax, 3
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x64], 0
jmp 0x14001830a
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [0x1400284c4]
cmp dword [rbp + 0x64], eax
jge 0x14001836c
movsxd rax, dword [rbp + 0x64]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
mov rcx, qword [0x140028b20]
mov r8, qword [rcx + rax*8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
jmp 0x140018302
movsxd rax, dword [rbp + 0x44]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [0x140028b28], rax
movsxd rax, dword [rbp + 0x44]
movsxd rcx, dword [0x1400284c4]
shl rcx, 3
sub rax, rcx
mov dword [rbp + 0x84], eax
movsxd rax, dword [0x1400284c4]
mov rcx, qword [0x140028b28]
lea rax, [rcx + rax*8]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xc4], 0
jmp 0x1400183cd
mov eax, dword [rbp + 0xc4]
inc eax
mov dword [rbp + 0xc4], eax
mov eax, dword [0x1400284c4]
cmp dword [rbp + 0xc4], eax
jge 0x140018478
movsxd rax, dword [rbp + 0xc4]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov ecx, dword [rbp + 0x84]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xffffffff
mov rcx, qword [0x140028b20]
mov r8, qword [rcx + rax*8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 0xc4]
mov rcx, qword [0x140028b28]
mov rdx, qword [rbp + 0xa8]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
mov eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x84]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x84], eax
jmp 0x1400183bf
mov dword [0x1400284c0], 1
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400195f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011730
movzx eax, al
test eax, eax
jne 0x140019610
mov ecx, 7
call fcn.1400115e1
nop
mov byte [rsp + 0x20], 0
call fcn.140011613
mov byte [rsp + 0x21], al
cmp dword [0x140029348], 1
jne 0x140019634
mov ecx, 7
call fcn.1400115e1
nop
jmp 0x14001968c
cmp dword [0x140029348], 0
jne 0x140019687
mov dword [0x140029348], 1
lea rdx, [0x140022660]
lea rcx, [0x140022330]
call fcn.140011334
test eax, eax
je 0x140019668
mov eax, 0xff
jmp 0x140019791
lea rdx, [0x140022220]
lea rcx, [section..rdata]
call fcn.1400115ff
mov dword [0x140029348], 2
jmp 0x14001968c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400115c8
call fcn.140011505
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400196e9
mov rcx, qword [rsp + 0x30]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x1400196e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140030020]
nop
call fcn.140011569
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001971d
mov rcx, qword [rsp + 0x38]
call fcn.14001129e
movzx eax, al
test eax, eax
je 0x14001971d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001169f
nop
call fcn.140019840
mov dword [rsp + 0x28], eax
call fcn.1400114c9
movzx eax, al
test eax, eax
jne 0x14001973c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001974b
call fcn.1400116b8
nop
xor edx, edx
mov cl, 1
call fcn.14001126c
mov eax, dword [rsp + 0x28]
jmp 0x140019791
add rsp, 0x68
ret
Function at 0x141df3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141df31df
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 0x141df3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141df306f
add dl, dl
jne 0x141df3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141df30f6
xor eax, eax
add dl, dl
jne 0x141df30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141df31ad
add dl, dl
jne 0x141df30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141df30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141df30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141df30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141df30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141df307e
mov eax, 1
add dl, dl
jne 0x141df3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141df3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141df30fb
sub eax, ebx
mov ebx, 1
jne 0x141df314c
mov ecx, 1
add dl, dl
jne 0x141df312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141df313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141df3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141df307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141df3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141df3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141df315d
cmp eax, 0x7d00
jae 0x141df319b
cmp eax, 0x500
jb 0x141df3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141df307e
cmp eax, 0x7f
ja 0x141df319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141df307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141df31d2
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 0x141df307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140299b10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140299b1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140299b2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140299b15
lea eax, [rcx + 1]
jmp 0x140299b3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140299b4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140299b34
sub eax, 3
jb 0x140299b6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140299bbd
sar eax, 1
movsxd rbp, eax
jb 0x140299ba4
jmp 0x140299b7c
add ebx, ebx
jne 0x140299b7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140299ba4
inc ecx
add ebx, ebx
jne 0x140299b8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140299ba4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140299b9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140299b8c
add ecx, 2
jmp 0x140299ba9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140299ad2
jmp 0x140299b1d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x296000]
mov eax, dword [rdi]
or eax, eax
je 0x140299c1d
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x299000]
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 0x140299bcd
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 0x140299c17
mov qword [rbx], rax
add rbx, 8
jmp 0x140299bed
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 0x140299c61
cmp al, 0xef
ja 0x140299c49
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140299c29
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140299c38
mov eax, dword [rdi]
add rdi, 4
jmp 0x140299c38
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 + 0x1a7]
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
mov byte [fcn.140299ce0], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140299ce0
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140299cd0
sub rsp, 0xffffffffffffff80
jmp 0x140001350
Function at 0x1400c5e24
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400eeef0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3d8]
mov rax, qword [0x1402b9140]
xor rax, rbp
mov qword [rbp + 0x388], rax
lea rcx, [0x1402d6100]
call fcn.1400ca91a
xor edx, edx
mov ecx, 2
call fcn.1400c7a80
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.1400c82a0
nop
lea rcx, [rbp + 8]
call fcn.1400c60cc
test rax, rax
jne 0x1400eef8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateToolhelp32Snapshot
lea rcx, [rbp + 0x2f8]
call fcn.1400ca4b0
lea rdx, [0x1402b7b90]
lea rcx, [rbp + 0x2f8]
call fcn.1400cb135
mov dword [rbp + 0x30], 0x130
lea rcx, [rbp + 8]
call fcn.1400c60cc
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.1400c992f
test eax, eax
jne 0x1400eefde
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Process32First
lea rcx, [rbp + 0x328]
call fcn.1400ca4b0
lea rdx, [0x1402b7b90]
lea rcx, [rbp + 0x328]
call fcn.1400cb135
mov rcx, qword [rbp + 0x3b0]
call fcn.1400c5857
mov rdx, rax
lea rcx, [rbp + 0x5c]
call fcn.1400cb24d
test eax, eax
jne 0x1400ef014
mov eax, dword [rbp + 0x38]
mov dword [rbp + 0x354], eax
lea rcx, [rbp + 8]
call fcn.1400c5aaa
mov eax, dword [rbp + 0x354]
jmp 0x1400ef046
lea rcx, [rbp + 8]
call fcn.1400c60cc
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.1400ca97e
test eax, eax
jne 0x1400eefde
mov dword [rbp + 0x374], 0xffffffff
lea rcx, [rbp + 8]
call fcn.1400c5aaa
mov eax, dword [rbp + 0x374]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1402691a0]
call fcn.1400c9993
mov rax, rdi
mov rcx, qword [rbp + 0x388]
xor rcx, rbp
call fcn.1400c7b3e
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret

Function at 0x1400c5faf
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140127f80
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140127fa8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140127ff2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140127f9d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400c7841
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401e0850
mov rax, rcx
neg rcx
test rax, 7
je 0x1401e086d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401e08c8
test al, 7
jne 0x1401e0860
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 0x1401e0881
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401e08f2
test dh, dh
je 0x1401e08ec
shr rdx, 0x10
test dl, dl
je 0x1401e08e6
test dh, dh
je 0x1401e08e0
shr rdx, 0x10
test dl, dl
je 0x1401e08da
test dh, dh
je 0x1401e08d4
shr edx, 0x10
test dl, dl
je 0x1401e08ce
test dh, dh
jne 0x1401e0881
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 0x1400c7878
Capabilities:
Query environment variable

Disassembly:
jmp 0x1402333e0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140232f60
lea rcx, [rsp + 0x20]
call fcn.140232fb0
movzx eax, al
test eax, eax
jne 0x140233425
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140232f90
mov rax, qword [rsp + 0x40]
jmp 0x14023351f
lea rcx, [rsp + 0x20]
call fcn.1402330b0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140233050
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400c7c33
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400c7166
lea rcx, [rsp + 0x28]
call fcn.1400c815b
movzx eax, al
test eax, eax
jne 0x1402334bf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400c973b
lea rcx, [rsp + 0x20]
call fcn.140232f90
mov rax, qword [rsp + 0x50]
jmp 0x14023351f
lea rcx, [rsp + 0x20]
call fcn.1402330b0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400ca811
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400c7b61
lea rcx, [rsp + 0x28]
call fcn.1400cb243
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400c973b
lea rcx, [rsp + 0x20]
call fcn.140232f90
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret