joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c900
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14001a5a0
xorps xmm1, xmm1
lea rcx, str.Settings
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movq rdx, xmm0
call fcn.140007690
mov rax, qword [0x1401097d0]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], 0x420c0000
mov rcx, qword [rax + 0x3eb0]
mov eax, dword [str.mWVT_Y_]
movss xmm0, dword [rcx + 0x20]
movzx ecx, word [0x1400cf768]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x1400cf76a]
xor byte [rsp + 0x39], 0x39
xor al, 0x3e
xor byte [rsp + 0x3a], 0x3a
xor byte [rsp + 0x3b], 0x3b
mov word [rsp + 0x3c], cx
xor cl, 0x3c
xor byte [rsp + 0x3d], 0x3d
mov byte [rsp + 0x3c], cl
lea rcx, [rsp + 0x38]
movss dword [rsp + 0x40], xmm0
mov byte [rsp + 0x38], 0x55
mov byte [rsp + 0x3e], al
call fcn.14002e880
test al, al
je 0x14003c9a3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140017640
mov ecx, 1
call fcn.14000bc10
call fcn.140012100
call fcn.140012100
add rsp, 0x28
jmp fcn.14001a6d0
Function at 0x140042d20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e0040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
mov ecx, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rdi, 0xffffffffffffffff
je 0x140042de2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140042de2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140042dd9
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x140042da3
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140042dc3
inc rax
test ecx, ecx
jne 0x140042db0
mov rcx, rdi
test edx, edx
je 0x140042e05
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140042d96
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400470e0
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140042de4
Function at 0x140047f34
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140047f7e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140047f7e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140047f7e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140047f7e
cmp dword [rcx + 0x84], 0xe
jbe 0x140047f7e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140047f80
xor al, al
add rsp, 0x28
ret
Function at 0x140059eb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140048cf0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x140059f06
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x140059f5d
mov ebp, 0x4b0000
jmp 0x140059f6b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.14004b2d0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140059f81
mov eax, r12d
jmp 0x140059f8a
mov edx, edi
mov ecx, ebp
call fcn.14004b2d0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140059fa6
shl esi, 0x10
mov ecx, esi
jmp 0x14005a095
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x14005a004
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140048cf0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140059ff4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.14004b0c0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140048cf0
add ebx, eax
jmp 0x14005a09e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x14005a011
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x14005a050
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140048cf0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x14005a055
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.14004b0c0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140048cf0
add ebx, eax
jmp 0x14005a09e
cmp eax, r12d
jge 0x14005a08e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140048cf0
sub ebp, eax
sub r15d, esi
je 0x14005a08e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.14004b0c0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140048cf0
add ebx, eax
jmp 0x14005a09e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140048cf0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.140048cf0
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x140092a70
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x140092bbb
movzx r10d, r14w
mov edi, r14d
mov rax, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.140092f30
test al, al
jne 0x140092c56
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x140092b4b
cmp edx, dword [rbx + 0x60]
jl 0x140092b4b
cmp edx, dword [rbx + 0x64]
jg 0x140092b4b
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x140092b4b
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x140092b4b
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x140092b6e
test byte [r9 + 0x18], 8
je 0x140092b6e
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140092b7f
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1400938f0
test al, al
jne 0x140092c56
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140092ba2
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x140092ad4
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x140092c5a
test rdx, rdx
je 0x140092c5a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x140092bf8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x140092bfb
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x140092c16
dec r11d
add r11d, eax
jmp 0x140092c2d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.140093bb0
test al, al
jne 0x140092c56
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.140093bb0
test al, al
jne 0x140092c56
mov rdx, qword [rsi]
add di, bp
jne 0x140092be0
jmp 0x140092c5e
mov al, 1
jmp 0x140092c69
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
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 0x14001ab04
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a930
Function at 0x140011f80
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
sub rsp, 0x188
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor edx, edx
mov r14, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140011fbb
xor al, al
jmp 0x1400120f1
mov qword [rsp + 0x1a0], rbx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x1a8], rsi
mov rcx, rbp
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x180], r15
mov dword [rsp + 0x40], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400120c6
xor r15d, r15d
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r15
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140012020
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140010400
cmp qword [r14 + 0x18], 0xf
mov rdx, r14
jbe 0x140012045
mov rdx, qword [r14]
mov rsi, qword [rsp + 0x38]
lea rcx, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rsi, 0xf
mov r8, qword [rsp + 0x30]
cmova rcx, rbx
cmp r8, qword [r14 + 0x10]
jne 0x140012075
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140012075
mov dil, 1
jmp 0x140012078
xor dil, dil
cmp rsi, 0xf
jbe 0x1400120ab
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400120a3
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001210c
mov rcx, rbx
call fcn.140077d60
mov rcx, rbp
test dil, dil
jne 0x140012113
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140012000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rdi, qword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x1a0]
mov r15, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140077820
add rsp, 0x188
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400120d1
Function at 0x1400124f0
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b90]
mov eax, 0x2c90
call fcn.140078170
sub rsp, rax
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x2b88], rax
mov r14, rcx
mov qword [rsp + 0x68], rcx
xor r13d, r13d
mov dword [rsp + 0x68], 0x2c00
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x70]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140012572
lea r8, [rsp + 0x70]
nop word [rax + rax]
cmp dword [r8 + 0x1a4], 6
je 0x1400125c9
mov r8, qword [r8]
test r8, r8
jne 0x140012560
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
mov r8d, 5
lea rdx, str.Error
mov rcx, r14
call fcn.140010400
mov rax, r14
mov rcx, qword [rbp + 0x2b88]
xor rcx, rsp
call fcn.140077820
lea r11, [rsp + 0x2c90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movzx eax, byte [r8 + 0x19d]
movzx ecx, byte [r8 + 0x19c]
movzx edx, byte [r8 + 0x19b]
movzx r10d, byte [r8 + 0x19a]
movzx r9d, byte [r8 + 0x199]
movzx r8d, byte [r8 + 0x198]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._02X:_02X:_02X:_02X:_02X:_02X
lea rcx, [rbp + 0x2b70]
call fcn.14001c090
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rbp + 0x2b70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x140012640
lea rdx, [rbp + 0x2b70]
lea rcx, [rsp + 0x48]
call fcn.140010400
nop
lea r12, [rsp + 0x48]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x60]
cmp r8, 0xf
cmova r12, rcx
mov r15, qword [rsp + 0x58]
add r12, r15
lea rsi, [rsp + 0x48]
cmp r8, 0xf
cmova rsi, rcx
add rsi, r15
lea rbx, [rsp + 0x48]
cmp r8, 0xf
cmova rbx, rcx
cmp rbx, rsi
je 0x1400126fe
nop dword [rax]
movsx ecx, byte [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1400126b5
inc rbx
cmp rbx, rsi
jne 0x1400126a0
mov r8, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp rbx, rsi
je 0x1400126fe
lea rdi, [rbx + 1]
cmp rdi, rsi
je 0x1400126fe
movsx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x1400126e7
movzx eax, byte [rdi]
mov byte [rbx], al
inc rbx
inc rdi
cmp rdi, rsi
jne 0x1400126d2
mov r8, qword [rsp + 0x60]
mov r15, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x48]
cmp r8, 0xf
cmova rax, rcx
mov rdx, rbx
sub rdx, rax
sub r12, rbx
mov rax, r15
sub rax, rdx
cmp rax, r12
cmovb r12, rax
lea rax, [rsp + 0x48]
cmp r8, 0xf
cmova rax, rcx
lea rcx, [rax + rdx]
sub r15, r12
mov r8, r15
sub r8, rdx
inc r8
lea rdx, [rcx + r12]
call sub.VCRUNTIME140.dll_memmove
mov qword [rsp + 0x58], r15
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [r14 + 0x10], xmm1
jmp 0x140012596
Function at 0x1400133e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x21], 0
je 0x140013403
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x20
jb 0x1400133f0
mov byte [rcx + 0x21], 0
mov rax, rcx
ret

Function at 0x140013410
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1e], 0
je 0x140013433
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x1d
jb 0x140013420
mov byte [rcx + 0x1e], 0
mov rax, rcx
ret

Function at 0x140013440
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x25], 0
je 0x140013463
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x24
jb 0x140013450
mov byte [rcx + 0x25], 0
mov rax, rcx
ret

Function at 0x140013470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x19], 0
je 0x140013493
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x18
jb 0x140013480
mov byte [rcx + 0x19], 0
mov rax, rcx
ret

Function at 0x1400134a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x1400134c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x1b
jb 0x1400134b0
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret

Function at 0x1400134d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x1400134f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x74]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0xe
jb 0x1400134e0
mov byte [rcx + 0xf], 0
mov rax, rcx
ret
Function at 0x140015a70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp - 1], rcx
xor ecx, ecx
movdqa xmm0, xmmword [0x140097e70]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x19], 0xeff7b2f3
mov word [rbp - 0x15], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x74]
xor byte [rbp + rcx - 0x29], al
inc rcx
cmp rcx, 0x14
jb 0x140015ac0
mov byte [rbp - 0x14], 0
lea r8, [rbp - 0x15]
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 7]
call fcn.14001c530
nop
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.1400155c0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140015b32
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015b2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015b2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077d60
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.140015810
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.140011790
mov rdx, rax
mov rcx, rbx
call fcn.140011aa0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140015b98
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015b92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015b92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077d60
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140015bd6
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140015bd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077d60
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140077820
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rbp
ret
Function at 0x140015f20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
lea rcx, str.ZORT16
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
xor ebp, ebp
mov rcx, rdi
cmp qword [rdi + 0x18], 7
mov dword [rsp + 0x40], ebp
jbe 0x140015f61
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140016002
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140015fd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140015fcf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400160ab
mov rcx, r8
call fcn.140077d60
mov al, 1
mov word [rdi], bp
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140077820
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140016047
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x140016043
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001603e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400160ab
mov rcx, r8
call fcn.140077d60
xor al, al
jmp 0x140015fd6
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2c1800
mov qword [rsp + 0x20], rbp
lea rdx, [0x1400a5130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x140016094
cmp rax, 7
jbe 0x140016043
lea rdx, [rax*2 + 2]
jmp 0x14001601a
cmp rax, 7
jbe 0x140015fd4
lea rdx, [rax*2 + 2]
jmp 0x140015fa7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400160c0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
cmp qword [rcx + 0x18], 7
mov rbx, rcx
mov r8, rcx
jbe 0x1400160da
mov r8, qword [rcx]
xor edi, edi
mov dword [rsp + 0x30], 0x1ff81ffe
mov ecx, edi
mov dword [rsp + 0x34], 0x1fee1fe0
mov dword [rsp + 0x38], 0x1fe3
mov edx, 0x1f8c
mov byte [rsp + 0x3c], 1
lea eax, [rdx + rcx]
xor word [rsp + rcx*2 + 0x30], ax
inc rcx
cmp rcx, 5
jb 0x140016100
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov byte [rsp + 0x3c], dil
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14001616a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140016165
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016184
mov rcx, r8
call fcn.140077d60
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x140016190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x1400a5080]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
lea rcx, str.ZORT17
call qword [sym.imp.VMProtectSDK64.dll_VMProtectBeginUltra]
mov dword [rbp - 0x49], 0x1ff41fdf
mov dword [rbp - 0x45], 0x1ffb1ffd
mov dword [rbp - 0x41], 0x1ffc1ff5
mov dword [rbp - 0x3d], 0x1ff61fda
mov dword [rbp - 0x39], 0x1ff91ff5
mov dword [rbp - 0x35], 0x1fff1fe2
mov dword [rbp - 0x31], 0x1ff11fdb
mov dword [rbp - 0x2d], 0x1ff81fff
mov dword [rbp - 0x29], 0x1fb31ff7
mov dword [rbp - 0x25], 0x1fe71ffb
mov dword [rbp - 0x21], 0x1fc5
mov byte [rbp - 0x1d], 1
mov ecx, 0x1f8c
nop word [rax + rax]
lea eax, [rcx + rbx]
xor word [rbp + rbx*2 - 0x49], ax
inc rbx
cmp rbx, 0x15
jb 0x140016220
mov byte [rbp - 0x1d], 0
lea r8, [rbp - 0x1f]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x11]
call fcn.14001c660
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0x2f]
call fcn.140015d70
nop
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0xf]
call fcn.140019ec0
mov rcx, rax
call fcn.140015f20
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.VMProtectSDK64.dll_VMProtectEnd]
nop
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x1400162be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400162b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077d60
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140077820
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rbp
ret