joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a1fc
Capabilities:
Hook routines via microsoft detours

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
mov rdx, qword [0x1400157d0]
lea rax, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
mov ebp, 0x10000
mov rsi, 0xfffffffffff80000
mov rbx, rcx
cmova rbp, rax
cmp rcx, 0xffffffff80000000
lea rax, [rcx + 0x7ff80000]
cmovb rsi, rax
mov rax, qword [0x1400157c0]
xor edi, edi
test rdx, rdx
jne 0x14000a26c
test rax, rax
je 0x14000a282
mov rdx, rax
mov qword [0x1400157d0], rax
cmp qword [rdx + 0x10], rdi
je 0x14000a282
cmp qword [rdx + 0x10], rbp
jb 0x14000a282
cmp qword [rdx + 0x10], rsi
jbe 0x14000a3bd
mov qword [0x1400157d0], rax
mov rdx, rax
test rax, rax
je 0x14000a2bc
test rax, rax
je 0x14000a2ac
cmp qword [rdx + 0x10], rdi
je 0x14000a2ac
cmp qword [rdx + 0x10], rbp
jb 0x14000a2ac
cmp qword [rdx + 0x10], rsi
jbe 0x14000a3bd
mov rdx, qword [rdx + 8]
mov qword [0x1400157d0], rdx
test rdx, rdx
jne 0x14000a296
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x14000a2e6
lea rdx, [rbx - 0x40000000]
mov rcx, rbp
call fcn.14000a118
mov rdx, rax
test rax, rax
jne 0x14000a36e
movabs r14, 0xffffffff40000000
cmp rbx, r14
jae 0x14000a30c
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.14000a03c
mov rdx, rax
test rax, rax
jne 0x14000a36e
cmp rbx, 0x40000000
jbe 0x14000a32c
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.14000a03c
mov rdx, rax
test rax, rax
jne 0x14000a36e
cmp rbx, r14
jae 0x14000a348
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.14000a118
mov rdx, rax
test rax, rax
jne 0x14000a36e
mov rdx, rbx
mov rcx, rbp
call fcn.14000a118
mov rdx, rax
test rax, rax
jne 0x14000a36e
mov rdx, rsi
mov rcx, rbx
call fcn.14000a03c
mov rdx, rax
test rax, rax
je 0x14000a3e9
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
mov qword [rdx + 0x10], rdi
mov r8d, 0x2a7
mov rax, qword [0x1400157c0]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x1400157c0], rdx
mov qword [0x1400157d0], rdx
mov qword [rcx], rdi
mov rdi, rax
sub rax, 0x60
lea rcx, [rcx - 0x60]
sub r8, 1
jne 0x14000a3a5
mov qword [rdx + 0x10], rdi
mov rbx, qword [rdx + 0x10]
cmp rbx, rbp
jb 0x14000a3e9
cmp rbx, rsi
ja 0x14000a3e9
mov rcx, qword [rbx + 0x48]
mov qword [rdx + 0x10], rcx
mov edx, 0xcc
mov rcx, rbx
lea r8d, [rdx - 0x6c]
call sub.msvcrt.dll_memset
mov rax, rbx
jmp 0x14000a3eb
xor eax, eax
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 0x14000a4b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x1400157e0], 0
jne 0x14000a529
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x1400157e0], ecx
jne 0x14000a529
and qword [0x1400157a0], 0
and qword [0x1400157b0], 0
and qword [0x1400157d8], 0
and dword [0x1400157e4], 0
and qword [0x1400157c8], 0
mov rbx, qword [0x1400157c0]
jmp 0x14000a520
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14000a503
xor eax, eax
jmp 0x14000a52e
mov eax, 0x10dd
add rsp, 0x20
pop rbx
ret

Function at 0x14000a53c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1400157e0], eax
je 0x14000a563
mov eax, 0x10dd
jmp 0x14000a653
mov rbx, qword [0x1400157d8]
jmp 0x14000a579
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000a56c
mov rdi, qword [0x1400157b0]
test rdi, rdi
je 0x14000a5bb
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14000a58a
mov rdi, qword [0x1400157b0]
test rdi, rdi
je 0x14000a5bb
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001274
mov rdi, rbx
test rbx, rbx
jne 0x14000a5a8
and qword [0x1400157b0], 0
and qword [0x1400157d8], 0
mov rdi, qword [0x1400157a0]
test rdi, rdi
je 0x14000a63d
mov rax, qword [rdi + 0x20]
lea r9, [rsp + 0x30]
mov r8d, dword [rdi + 0x28]
mov rcx, qword [rdi + 0x18]
movzx edx, byte [rax + 0x3e]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [rdi + 8], 0
jne 0x14000a62a
mov rsi, qword [rdi + 0x20]
test rsi, rsi
je 0x14000a62a
xor edx, edx
mov rbx, rsi
mov rcx, rsi
and rbx, 0xffffffffffff0000
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x48], rax
mov qword [rbx + 0x10], rsi
and qword [rdi + 0x20], 0
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140001274
mov rdi, rbx
test rbx, rbx
jne 0x14000a5d7
and qword [0x1400157a0], 0
call fcn.140009fd8
and dword [0x1400157e0], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000aa90
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x1400157e4]
mov rsi, rcx
test eax, eax
jne 0x14000ab2a
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rsi, rax
je 0x14000ab28
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, 8
mov rcx, rax
mov edx, ebx
lea r8d, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000ab01
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14000aaf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov ebx, eax
call fcn.140001274
jmp 0x14000aafd
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x14000ab13
and qword [0x1400157c8], 0
mov eax, ebx
mov dword [0x1400157e4], ebx
jmp 0x14000ab2a
mov rax, qword [0x1400157b0]
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov qword [0x1400157b0], rdi
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000aebc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x1400157e4]
mov rbp, rdx
mov rsi, rcx
test eax, eax
jne 0x14000afea
test rdx, rdx
jne 0x14000aef1
lea eax, [rdx + 0x57]
jmp 0x14000afea
test rsi, rsi
jne 0x14000aefe
lea eax, [rsi + 6]
jmp 0x14000afea
cmp qword [rcx], 0
jne 0x14000af14
mov eax, 6
mov dword [0x1400157e4], eax
jmp 0x14000afe3
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edi, 8
mov rcx, rax
mov edx, edi
lea r8d, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x14000afce
mov rcx, qword [rsi]
call fcn.14000a40c
mov rcx, rbp
mov rdi, rax
call fcn.14000a40c
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x14000afc0
mov edx, ecx
cmp rcx, 0x1e
ja 0x14000afc0
cmp qword [rdi + 0x50], rax
jne 0x14000afc0
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000af91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000afce
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x40]
mov dword [rbx + 0x28], eax
mov rax, qword [0x1400157a0]
mov qword [rbx], rax
xor eax, eax
mov qword [0x1400157a0], rbx
jmp 0x14000afea
cmp dword [0x1400157a8], 0
mov edi, 9
jne 0x14000afd4
mov dword [0x1400157e4], edi
test rbx, rbx
je 0x14000afe1
mov rcx, rbx
call fcn.140001274
mov eax, edi
mov qword [0x1400157c8], rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b79c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x40
mov rbx, qword [rsp + 0x78]
mov rdi, rdx
test rbx, rbx
je 0x14000b7c1
mov eax, dword [rbx]
jmp 0x14000b7c3
xor eax, eax
mov rsi, qword [rsp + 0x70]
mov r9d, 0x18
mov dword [rsp + 0x60], eax
mov r8, rdi
lea rdx, [0x1400122f0]
mov rcx, 0xffffffff80000001
test rbx, rbx
je 0x14000b7f4
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
jmp 0x14000b7fa
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
lea eax, [rax - 2]
cmp eax, 1
jbe 0x14000b822
test rbx, rbx
je 0x14000b851
mov eax, dword [rsp + 0x60]
mov dword [rbx], eax
jmp 0x14000b851
mov qword [rsp + 0x30], rbx
lea rdx, [0x1400122f0]
mov qword [rsp + 0x28], rsi
mov r9d, 0x18
and qword [rsp + 0x20], 0
mov r8, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, eax
mov rbx, qword [rsp + 0x50]
mov eax, ecx
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x14000dbd0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x250
mov rax, qword [0x140015018]
xor rax, rsp
mov qword [rbp + 0x140], rax
and qword [rdx], 0
mov r15, rdx
mov r8, rcx
mov edi, 0x104
mov edx, edi
lea rcx, [rsp + 0x30]
xor r14d, r14d
call fcn.140001bb4
lea r8, [0x140012980]
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140001164
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rbx, rax
test rax, rax
jne 0x14000dc73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000dda6
mov rcx, qword [rbp + 0x168]
lea edx, [rdi - 0x44]
call fcn.14000c4c4
mov esi, eax
jmp 0x14000dd8a
and dword [rsp + 0x24], r14d
lea rdx, [rsp + 0x24]
and dword [rsp + 0x20], r14d
mov rcx, rbx
call fcn.14000c558
mov esi, eax
test eax, eax
jns 0x14000dcba
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, Ordinal_201
call fcn.14000c488
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000dde9
jmp 0x14000dd8a
lea r8, [0x140012988]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140001164
lea r8, [rsp + 0x30]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov rdi, rax
test rax, rax
jne 0x14000dd0e
mov rcx, qword [rbp + 0x168]
mov edx, 0xcc
call fcn.14000c4c4
mov rcx, rbx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000ddfb
jmp 0x14000dd8a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000c558
mov esi, eax
test eax, eax
jns 0x14000dd59
mov rcx, qword [rbp + 0x168]
mov r9d, eax
mov edx, 0xce
call fcn.14000c488
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000de1f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000de0d
jmp 0x14000dd8a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000de31
movsxd rax, dword [rsp + 0x20]
mov rcx, rbx
movsxd r14, dword [rsp + 0x24]
shl rax, 0x1f
or r14, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x14000ddd7
xor esi, esi
test esi, esi
jns 0x14000dda6
mov rcx, qword [rbp + 0x168]
mov r9d, esi
mov edx, 0x59
call fcn.14000c488
mov eax, esi
jmp 0x14000ddab
mov qword [r15], r14
xor eax, eax
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14000e250
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
mov rcx, qword [rbp + 0x168]
mov edx, 0x8f0
call fcn.14000c4e4
int3
Function at 0x14000e56c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000e5b8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e5b0
cmp dword [rcx + 0x3c], edx
jl 0x14000e5b0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000e5b0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000e5b8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1408b0f2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1408b0f36
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1408b0f5f
pop rbp
sub rbp, 0x33
sub rbp, 0x8b0f2c
sub rsp, 0x20
jmp 0x1408b0f7e
mov rax, 0x8b0f2c
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xadc04b1
xor byte [rax], dl
inc rax
dec rcx
jne 0x1408b0f9d
jmp 0x1408b0fb4
stc
cmp byte [rax + 0x3a], bl
cmp byte [rbp - 0x64e4e4f], cl
xor byte [rax - 0x47], dh
mov al, 0xb1
mov cl, 0xf9
mov al, 0x58
stc
jbe 0x1408b103b
mov ch, 0xb1
mov cl, 0xb1
stc
jbe 0x1408b1044
cdq
mov cl, 0xb1
mov cl, 0xf9
push rbx
stc
mov al, 0x70
cmp dh, byte [rax]
mov ebp, 0xf9b1b1b1
mov al, 0x59
loope 0x1408b0fc7
stc
or dword [rcx], ebp
lea esp, [rsi - 0x4e4e4e4f]
mov cl, 0xf9
or byte [rax], ah
invalid
mov cl, 0xb1
mov cl, 0xb1
stc
mov al, 0x58
pop rcx
mov ah, 0xb1
mov cl, 0xb1
pop rax
mov cl, 0xb1
mov cl, 0x58
cmp al, 0xb3
mov cl, 0xb1
jrcxz 0x1408b10a7
int3
mov ch, 0xb1
mov cl, 0xb1
pop rax
mov cl, 0xb1
mov cl, 0x58
add byte [rsi + 0x4e], cl
cdqe
in eax, 0x88
mov bl, 0xf9
xor byte [rax - 0x49], dh
mov cl, 0xb1
mov cl, 0xf9
xor byte [rbx - 0x4b], bl
mov cl, 0xb1
mov cl, 0xf9
xor byte [rcx - 0x4c], bl
mov cl, 0xb1
mov cl, 0x58
and cl, byte [rsi + 0x4e]
out dx, al
out dx, al
jb 0x1408b10b7
out 0xe4, al
jrcxz 0x1408b10cd
cmp byte [rsi - 7], ah
cmp byte [rdi + 0x4d], bh
add esi, dword [rcx]
cmp esi, dword [rdi - 0x4f88cf07]
mov cl, 0xb1
mov cl, 0x39
mov dh, 0xf9
xor byte [rsi - 0x50], dh
mov cl, 0xb1
mov cl, 0xf9
jbe 0x1408b1163
mov bl, 0xb1
mov cl, 0xb1
mov bl, 0x63
mov esi, 0xb1b1b634
mov cl, 0x3b
cmpsd dword [rsi], dword [rdi]
stc
ja 0x1408b10a6
invalid
cmp esp, dword [rdi - 0x5c88b107]
invalid
Function at 0x140001070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r11, rax
test rax, rax
jne 0x140001098
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
movsxd rax, dword [rax + 0x3c]
mov r9d, ebx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], r14
mov ecx, dword [rax + r11 + 0x88]
add rcx, r11
mov ebp, dword [rcx + 0x1c]
mov r10d, dword [rcx + 0x20]
add rbp, r11
mov r14d, dword [rcx + 0x24]
add r10, r11
mov edi, dword [rcx + 0x18]
add r14, r11
test edi, edi
je 0x140001124
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [r10]
mov r8, rsi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140001103
inc rax
test ecx, ecx
jne 0x1400010f0
test edx, edx
je 0x140001115
inc r9d
add r10, 4
cmp r9d, edi
jb 0x1400010e0
jmp 0x140001124
mov eax, r9d
movzx ecx, word [r14 + rax*2]
mov ebx, dword [rbp + rcx*4]
add rbx, r11
mov r14, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x20
pop rsi
ret
Function at 0x140002ca0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14001fb80]
mov dword [rax], 1
mov rax, qword [0x14001fb90]
mov dword [rax], 1
mov rax, qword [0x14001fba0]
mov dword [rax], 1
mov rax, qword [0x14001fac0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000b520
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x1400400c0]
test rcx, rcx
je 0x14000b559
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000b578
mov rcx, qword [0x1400400c0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400430e0], 0
jne 0x14000b590
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [0x1400400c0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000b54c
mov edx, 0x414
lea rbp, [rsp + 0x20]
lea rbx, [0x14001e48a]
mov qword [rsp + 0x20], 0
lea rsi, [0x140043100]
movq xmm0, rbx
mov rcx, rbp
mov dword [rsp + 0x28], 3
movq xmm6, rsi
mov word [rsp + 0x40], dx
mov rdi, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov r13d, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x30], xmm6
call rdi
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, rsi
call r12
cmp eax, 0xffffffff
je 0x14000b562
test al, 0x10
je 0x14000b562
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
mov qword [rsp + 0x50], rbx
mov rcx, rbp
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 rdi
sub r13d, 1
jne 0x14000b600
jmp 0x14000b562

Function at 0x14000f8d0
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140016430
sub rsp, rax
mov eax, dword [0x140047100]
mov rsi, rcx
test eax, eax
je 0x14000f990
xor ebx, ebx
lea rdi, [0x140045100]
test eax, eax
jg 0x14000f90c
jmp 0x14000f930
add rbx, 1
cmp dword [0x140047100], ebx
jle 0x14000f930
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000f900
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000f945
cmp word [rsi + 2], 0x3a
je 0x14000f91c
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f9e0
movsxd rbx, dword [0x140047100]
cmp ebx, 0x3ff
jg 0x14000f91c
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140047100], 1
mov rdx, rax
lea rax, [0x140045100]
mov qword [rax + rbx*8], rdx
jmp 0x14000f91c
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.14000aca0
test al, al
je 0x14000f9f8
movsxd rbx, dword [0x140047100]
mov rcx, rdi
lea rdi, [0x140045100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140047100]
add eax, 1
mov dword [0x140047100], eax
jmp 0x14000f8f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f958
xor eax, eax
jmp 0x14000f921
mov rcx, rbx
call fcn.14000b460
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400055a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm14
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
aesimc xmm9, xmmword [rdx + 0xa0]
aesimc xmm10, xmmword [rdx + 0xb0]
aesimc xmm11, xmmword [rdx + 0xc0]
aesimc xmm12, xmmword [rdx + 0xd0]
movaps xmm13, xmmword [rdx]
movaps xmm14, xmmword [rdx + 0xe0]
movaps xmmword [rcx], xmm13
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movdqa xmmword [rcx + 0xa0], xmm9
movdqa xmmword [rcx + 0xb0], xmm10
movdqa xmmword [rcx + 0xc0], xmm11
movdqa xmmword [rcx + 0xd0], xmm12
movaps xmmword [rcx + 0xe0], xmm14
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
add rsp, 0x98
ret
Function at 0x140013ba0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14004b7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14004b820
cmp r10, r11
jb 0x14004b897
cmp r10, rdx
ja 0x14004b8a9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14004b822
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14004b800
jmp 0x14004b884
ja 0x14004b82a
mov r11, r10
cmp rax, r8
jne 0x14004b7ce
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14004b860
mov rdi, r8
sub ecx, edx
jns 0x14004b87b
jmp 0x14004b886
cmp r8, rsi
je 0x14004b8b8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14004b886
xor al, 1
cmp rdi, rsi
jne 0x14004b840
jmp 0x14004b886
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140049b30
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140047140
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140049ef0
int3