joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006e070
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14006e135
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14006e135
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14006e14e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x14006e125
cmp byte [rcx], 0x5c
jne 0x14006e11e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x14006e11e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14006e10c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x14006e11b
test r8b, 0x10
jne 0x14006e11e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x14006e11e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.140065810
test edi, edi
jne 0x14006e090
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140065800
int3

Function at 0x140071494
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400714de
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400714de
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400714de
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400714de
cmp dword [rcx + 0x84], 0xe
jbe 0x1400714de
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400714e0
xor al, al
add rsp, 0x28
ret
Function at 0x1414a3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414a31df
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 0x1414a3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414a306f
add dl, dl
jne 0x1414a3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414a30f6
xor eax, eax
add dl, dl
jne 0x1414a30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414a31ad
add dl, dl
jne 0x1414a30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414a30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414a30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414a30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414a30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414a307e
mov eax, 1
add dl, dl
jne 0x1414a3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414a3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414a30fb
sub eax, ebx
mov ebx, 1
jne 0x1414a314c
mov ecx, 1
add dl, dl
jne 0x1414a312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414a313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414a3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414a307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414a3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414a3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414a315d
cmp eax, 0x7d00
jae 0x1414a319b
cmp eax, 0x500
jb 0x1414a3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414a307e
cmp eax, 0x7f
ja 0x1414a319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414a307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414a31d2
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 0x1414a307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400019ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019f6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019f6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019f6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019f6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019f6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019f8
xor al, al
add rsp, 0x28
ret
Function at 0x140d95058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140d951df
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 0x140d95089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d9506f
add dl, dl
jne 0x140d95096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d950f6
xor eax, eax
add dl, dl
jne 0x140d950a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d951ad
add dl, dl
jne 0x140d950b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d950c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d950d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d950dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d950ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d9507e
mov eax, 1
add dl, dl
jne 0x140d95106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d95113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d950fb
sub eax, ebx
mov ebx, 1
jne 0x140d9514c
mov ecx, 1
add dl, dl
jne 0x140d9512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d9513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d95123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d9507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d95168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d95175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d9515d
cmp eax, 0x7d00
jae 0x140d9519b
cmp eax, 0x500
jb 0x140d95196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d9507e
cmp eax, 0x7f
ja 0x140d9519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d9507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d951d2
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 0x140d9507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400a8366
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1400b2b00
push rbp
push rsi
push rdi
sub rsp, 0x220
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x50
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14027fd00]
xor rax, rbp
mov qword [rbp + 0x1f8], rax
lea rcx, [0x140298109]
call fcn.1400aaa9e
nop
movss xmm0, dword [0x140204270]
movss dword [rbp + 4], xmm0
movss xmm0, dword [0x140204260]
movss dword [rbp + 0x24], xmm0
xorps xmm0, xmm0
movss dword [rbp + 0x44], xmm0
movss xmm0, dword [0x140204268]
movss dword [rbp + 0x64], xmm0
mov rax, qword [0x1402802f0]
add rax, 0x2454
mov r8d, 4
movss xmm1, dword [rbp + 4]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x2458
mov r8d, 4
movss xmm1, dword [rbp + 0x24]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x245c
mov r8d, 4
movss xmm1, dword [rbp + 0x44]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x2460
mov r8d, 4
movss xmm1, dword [rbp + 0x64]
mov rcx, rax
call fcn.1400a9793
nop
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x1400b2c20
movzx eax, byte [0x1402802e8]
test eax, eax
je 0x1400b2c20
movss xmm0, dword [0x14028037c]
ucomiss xmm0, dword [0x14020426c]
jp 0x1400b2c27
jne 0x1400b2c27
xor al, al
jmp 0x1400b2d90
lea rax, [rbp + 0x1e0]
lea rcx, [0x140280300]
mov rdi, rax
mov rsi, rcx
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x88]
lea rcx, [0x140280370]
call fcn.1400a9964
nop
movss xmm0, dword [rbp + 0x88]
mulss xmm0, dword [rbp + 0x88]
movss xmm1, dword [rbp + 0x8c]
mulss xmm1, dword [rbp + 0x8c]
addss xmm0, xmm1
movss xmm1, dword [rbp + 0x90]
mulss xmm1, dword [rbp + 0x90]
addss xmm0, xmm1
call qword [sym.imp.ucrtbased.dll_sqrtf]
movss dword [rbp + 0xb4], xmm0
movss xmm0, dword [rbp + 0x90]
divss xmm0, dword [rbp + 0xb4]
call qword [sym.imp.ucrtbased.dll_acosf]
mulss xmm0, dword [0x14020425c]
subss xmm0, dword [0x140204264]
xorps xmm0, xmmword [0x140204280]
movss dword [rbp + 0xd4], xmm0
movss xmm1, dword [rbp + 0x88]
movss xmm0, dword [rbp + 0x8c]
call qword [sym.imp.ucrtbased.dll_atan2f]
mulss xmm0, dword [0x14020425c]
movss dword [rbp + 0xf4], xmm0
mov rax, qword [0x1402802f0]
add rax, 0x2454
mov r8d, 4
movss xmm1, dword [rbp + 0xd4]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x2458
mov r8d, 4
movss xmm1, dword [rbp + 0xd4]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x245c
mov r8d, 4
movss xmm1, dword [rbp + 0xf4]
mov rcx, rax
call fcn.1400a9793
nop
mov rax, qword [0x1402802f0]
add rax, 0x2460
mov r8d, 4
movss xmm1, dword [rbp + 0xf4]
mov rcx, rax
call fcn.1400a9793
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140203e90]
call fcn.1400aa346
mov rax, rdi
mov rcx, qword [rbp + 0x1f8]
xor rcx, rbp
call fcn.1400a940a
lea rsp, [rbp + 0x200]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a9739
Capabilities:
Terminate process

Disassembly:
jmp 0x1401f6f40
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 0x1400a9ac7
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400e8cf0
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, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14029876c]
call fcn.1400aaa9e
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400a9c61
Capabilities:
Read file on windows

Disassembly:
jmp 0x1400e8c70
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, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14029876c]
call fcn.1400aaa9e
nop
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400a9c7a
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1400eabd0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x14029876c]
call fcn.1400aaa9e
nop
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140205b30]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1400ead16
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x1400eac6a
mov dword [rbp + 0x160], 1
jmp 0x1400eac74
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1400ead11
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x64], al
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1400eaceb
cmp qword [rbp + 0x198], 2
jb 0x1400eaceb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400eaceb
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400eaceb
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400eac35
jmp 0x1400eadb0
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x154], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x154]
mov byte [rbp + 0x84], al
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x1400eadb0
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x1400ead87
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400ead87
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400ead87
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1400ead16
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x1400a9d83
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401f8340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401f8360
xor al, al
jmp 0x1401f83e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401f8373
xor al, al
jmp 0x1401f83e1
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 0x1401f839d
xor al, al
jmp 0x1401f83e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401f83b1
xor al, al
jmp 0x1401f83e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401f83c3
xor al, al
jmp 0x1401f83e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401f83df
xor al, al
jmp 0x1401f83e1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400aa75b
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1400eaab0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x14029876c]
call fcn.1400aaa9e
nop
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x140205b30]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x1400eab30
mov dword [rbp + 0x120], 1
jmp 0x1400eab3a
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x1400eab83
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 0x114], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x114]
mov dword [rbp + 4], eax
jmp 0x1400eaafb
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x1400aa797
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1400bb850
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x708
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x12a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x728]
mov rax, qword [0x14027fd00]
xor rax, rbp
mov qword [rbp + 0x6d8], rax
lea rcx, [0x1402986cf]
call fcn.1400aaa9e
nop
mov qword [rbp + 8], 0
mov edx, dword [rbp + 0x700]
mov ecx, 0x18
call fcn.1400a9397
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x1400bb91b
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x438
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x438
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400a99f0
test eax, eax
je 0x1400bb91b
mov rdx, qword [rbp + 0x708]
lea rcx, [rbp + 0x80]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400bb90a
mov rax, qword [rbp + 0x68]
mov qword [rbp + 8], rax
jmp 0x1400bb91b
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400a863b
test eax, eax
jne 0x1400bb8e8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 8]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140205a70]
call fcn.1400aa346
mov rax, rdi
mov rcx, qword [rbp + 0x6d8]
xor rcx, rbp
call fcn.1400a940a
lea rsp, [rbp + 0x6e8]
pop rdi
pop rbp
ret
Function at 0x1400aac33
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400bb9a0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x14027fd00]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x1402986cf]
call fcn.1400aaa9e
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400a9397
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x1400bba4e
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400a993c
test eax, eax
je 0x1400bba4e
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400bba3d
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x1400bba4e
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400aa48b
test eax, eax
jne 0x1400bba20
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140205af0]
call fcn.1400aa346
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.1400a940a
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x1401f7670
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400aac56
movzx eax, al
test eax, eax
jne 0x1401f7690
mov ecx, 7
call fcn.1400aa382
nop
mov byte [rsp + 0x20], 0
call fcn.1400aa454
mov byte [rsp + 0x21], al
cmp dword [0x140288530], 1
jne 0x1401f76b4
mov ecx, 7
call fcn.1400aa382
nop
jmp 0x1401f770c
cmp dword [0x140288530], 0
jne 0x1401f7707
mov dword [0x140288530], 1
lea rdx, [0x1402037d8]
lea rcx, [0x1402034a8]
call fcn.1400a9383
test eax, eax
je 0x1401f76e8
mov eax, 0xff
jmp 0x1401f7811
lea rdx, [0x140203398]
lea rcx, [section..rdata]
call fcn.1400aa436
mov dword [0x140288530], 2
jmp 0x1401f770c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400aa305
call fcn.1400a9ea5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1401f7769
mov rcx, qword [rsp + 0x30]
call fcn.1400a8fdc
movzx eax, al
test eax, eax
je 0x1401f7769
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 [0x14029a020]
nop
call fcn.1400aa071
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1401f779d
mov rcx, qword [rsp + 0x38]
call fcn.1400a8fdc
movzx eax, al
test eax, eax
je 0x1401f779d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400aa972
nop
call fcn.1401f7880
mov dword [rsp + 0x28], eax
call fcn.1400a9d83
movzx eax, al
test eax, eax
jne 0x1401f77bc
mov ecx, dword [rsp + 0x28]
call fcn.1400a8302
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1401f77cb
call fcn.1400aa9f9
nop
xor edx, edx
mov cl, 1
call fcn.1400a8ef6
mov eax, dword [rsp + 0x28]
jmp 0x1401f7811
add rsp, 0x68
ret
Function at 0x140001016
Capabilities:
Encode data using xor

Disassembly:
cld
lodsb al, byte [rsi]
xor al, r14b
ror r14, 8
stosb byte [rdi], al
loop 0x140001017
ret
Function at 0x140007dc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007dfb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e20
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007e38
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007dee
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3f2]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007f04
test al, 0x10
je 0x140007e04
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007e04
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007eb0
jmp 0x140007e04

Function at 0x14000e570
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015730
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e610
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e5ac
jmp 0x14000e5c0
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e5c0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5a0
jmp 0x14000e5f7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5d5
cmp word [rsi + 2], 0x3a
je 0x14000e5f7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e660
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e678
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e69a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e591
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e5e4
xor eax, eax
jmp 0x14000e5fc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e5f7
mov rcx, rbx
call fcn.140007d00
nop
nop word cs:[rax + rax]
nop