joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442ce0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x0062a4d0]
test rcx, rcx
jne 0x442d04
xor ecx, ecx
xor edx, edx
jmp 0x442d19
call fcn.00459020
mov rcx, rbx
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdx
mov qword [rsp + 0x20], r14
mov rsi, qword [r14 + 0x30]
inc dword [rsi + 0xd8]
mov qword [r14 + 0x10], 0xfffffffffffffade
mov byte [r14 + 0xb7], 1
call fcn.00442c80
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x70], rcx
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x78], rdx
mov ebx, 2
mov ecx, 3
call fcn.0043c5a0
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x442d86
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x442dc2
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x00442fe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x442e2b
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x00442f60]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp], rax
nop
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442c80
mov rcx, qword [rsp + 0x20]
mov al, byte [0x005a6bb8]
test al, al
je 0x442e6b
lea rax, [0x004eb2a0]
mov qword [rsp], rax
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442c80
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
cmp dword [rax + 0x2298], 0
nop
je 0x442eb8
lea rax, fcn.0043de20
mov qword [rsp], rax
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442c80
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
mov rdx, qword [rax + 0xa0]
mov edx, dword [rdx + 0x14]
mov dword [rax + 0x388], edx
mov rax, qword [rcx + 0x30]
mov rax, qword [rax + 0xa0]
mov qword [rax + 0x38], 0
mov rdx, qword [rcx + 0x30]
mov rbx, rax
mov qword [rdx + 0xb0], rax
mov rax, qword [rcx + 0x30]
mov qword [rax + 0xa0], 0
mov eax, 2
xchg dword [rbx + 4], eax
mov al, byte [0x005a6ba8]
test al, al
je 0x442f44
lea rax, [0x004eb298]
mov qword [rsp], rax
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.00442c80
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x447cc0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x447e27
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x447cd2
cmp edx, ecx
jne 0x447e15
nop word [rax + rax]
test rsi, rsi
jne 0x447e15
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x447d34
nop
call fcn.0046a8e0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00447be0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x447e10
mov rdx, qword [0x005a5838]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x447e05
mov rcx, qword [0x005a5830]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x005a6b10]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x005a6b10], rax
nop
mov edx, 1
lea rsi, [0x005a6b18]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x447df3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004e870e]
mov ebx, 0x28
nop
call fcn.00437c20
mov rax, rsi
mov rcx, rdx
call fcn.00468fc0
call fcn.00436500
lea rax, [0x004e7803]
mov ebx, 0x23
call fcn.00437c20
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00447cc0
Function at 0x44d160
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44d1a8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44d1a8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44d1b8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00435280
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44d291
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00435500
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44d291
cmp qword [rcx + 8], rax
ja 0x44d1b3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x454d00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x454e77
movzx edx, byte [rax]
test edx, edx
jne 0x454d34
nop dword [rax]
test r8b, r8b
jne 0x454d34
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x454d47
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x454e37
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x454e25
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x454e17
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x454d9d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x454de0
mov eax, 1
cmp rax, rbx
ja 0x454dcb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00469080
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x454e0f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x454dd3
mov rcx, r11
mov eax, r12d
jmp 0x454da2
mov rcx, rbx
call fcn.00468fc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468fc0
mov eax, r8d
mov rcx, rbx
call fcn.00469080
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x454e6d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x454e30
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x454d4d
mov eax, edx
mov rcx, rbx
call fcn.00468fc0
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468fc0
nop
int3

Function at 0x45ae80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45af35
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00458b00
nop
test bl, bl
je 0x45af2f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045af80]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045ae80
Function at 0x45de80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45df2f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045df80]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00466bc0
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045de80
Function at 0x468ae0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043c3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a1e0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4043a0
cmp byte [0x0062a50b], 0
je 0x468af5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x465d20
jmp 0x4043a0

Function at 0x468b00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0062a800]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062a50b], 0
je 0x468b35
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0062ab20]
aesenc xmm0, xmmword [0x0062ab30]
aesenc xmm0, xmmword [0x0062ab40]
movq rax, xmm0
ret
jmp 0x40a400

Function at 0x468b40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0062a800]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062a50b], 0
je 0x468b76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0062ab20]
aesenc xmm0, xmmword [0x0062ab30]
aesenc xmm0, xmmword [0x0062ab40]
movq rax, xmm0
ret
jmp 0x40a460

Function at 0x46a920
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46a954
mov rcx, 0x28
jmp 0x46a95f
shl rcx, 3
add rcx, 0x1480
mov qword [0x0062a720], rcx
pop rbp
ret
Function at 0x4865e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4866aa
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403920
xorps xmm15, xmm15
mov r14, qword [0x0062a720]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48668f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c41e0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044dd20
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004874c0
inc rbx
cmp rcx, rbx
jae 0x48667e
mov edi, 1
lea rsi, [0x004c41e0]
call fcn.0044de00
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x0050a068]
lea rsi, [0x00509740]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004865e0

Function at 0x4ab340
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4aba7f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4ab36d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4ab5f1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4ab61d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0050b840]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c40e0]
lea rbx, [0x00509ec0]
call fcn.00437060
inc rax
cmp rax, r8
jge 0x4ab642
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4ab677
lea rdi, [0x004c4160]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4ab363
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4ab65b
jmp 0x4ab630
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004ab340

Function at 0x4abc20
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4abc37
inc rax
cmp rax, 4
jge 0x4abc4f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4abc34
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4abc60
inc rax
cmp rax, 4
jge 0x4abc6e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4abc97
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4abc7b
jmp 0x4abc5d
Function at 0x14000af40
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd98]
test rcx, rcx
je 0x14000af7b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af6e
mov rcx, qword [0x14002fd98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fda8], 0
je 0x14000b06e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029940]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325d0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b04f
test al, 0x10
je 0x14000b04f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aff5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14001b334
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b34a
mov al, 1
jmp 0x14001b3aa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b35b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b3a8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019488
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b3a8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b3a8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b3a8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b3aa
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14001f7c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f7e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f7e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140477c29
Capabilities:
Encode data using xor

Disassembly:
shr bl, 0xe5
xchg ecx, ebx
push r8
mov r8d, dword [rsp + 0x88]
not r8d
sets r9b
ror r9w, 0x67
ja 0x1404538c0
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rbp + 0x18], bh
add dword [rax], eax
add byte [rax], al
cmp byte [rbx], ah
add dword [rax], eax
add byte [rax], al
ja 0x14043ea30
add dword [rax], eax
add byte [rax], al
invalid
invalid
lea rsp, [rsp + 0x18]
jmp fcn.14045d9b0
push 0x39c472f
sub r9, 8
mov dword [r9 + 4], eax
mov dword [r9], edx
push 0x4438d02e
push 0xffffffff992ae334
jmp 0x140443031
add r8, r14
add r8, r11
neg cx
call fcn.1404601ad
rdtsc
jmp 0x14044e39e
xor r8d, 0xd4ac66be
movzx esi, cx
not cl
xadd cx, r9w
ror r8d, 2
inc r9
push rcx
and cx, 0x4e1d
not r8d
mov edi, ebx
lea rsi, [rsp + rsi*2 - 0x1fe0e]
neg qword [rsp]
mov qword [rsp], rbp
jb 0x140453007
xor bp, 0x3c8d
rol bp, 1
xor r8w, bp
lea rbp, [rsp + rbp + 0x18]
mov qword [rsp], 0xffffffffbba26983
mov qword [rbp + riz], rsi
lea rsp, [rsp + 0x18]
jmp fcn.140453da7
mov qword [rsp + r11 - 0x6e98], rdx
add r11b, 0x12
sar r9w, 0x2f
mov qword [rsp + r11 - 0x6e3a], r14
lea rbx, [r11*2 + 0x2eb1b10d]
lea r11d, [rbx - 0xeb28e61]
cmovbe rbx, r9
sbb r9, 0x60959eb1
sal r11, 3
jmp 0x14043e9b0

Function at 0x14047f8b4
Capabilities:
Encode data using xor

Disassembly:
lea rbp, [r11 + rbp - 0x694250c6]
mov rsi, rcx
mov r9, rbp
jmp 0x140466dcd
mov qword [rsp], r13
push r8
push r9
mov esi, 0xa217aa1
movsx r8d, si
dec rsi
push rax
push r10
sal r8b, 0x22
push r15
or r8d, 0xac8ca392
mov r15d, esi
shr r8w, 0x21
movabs r15, 0
shl r8, 0xdc
rol r8, 0x62
push r11
push r12
push rcx
jae 0x14046df17
mov ecx, 0x2f22312f
lea r11, [rcx + 0x3a201f9f]
mov rcx, qword [rbp + rcx - 0x2f22312f]
jmp 0x14045e01b
Function at 0x140001180
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
xor ebx, ebx
mov qword [rsp + 0x28], rbx
lea ecx, [rbx + 0x20]
call fcn.1400013d0
movups xmm0, xmmword [str.RainbowSix.exe]
xor edx, edx
mov qword [rsp + 0x20], rax
mov r8d, 0x234
mov qword [rsp + 0x30], 0xe
movups xmmword [rax], xmm0
mov rdi, rax
mov qword [rsp + 0x38], 0xf
movsd xmm0, qword [0x140003360]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140003368]
mov dword [rax + 0x18], ecx
lea rcx, [rsp + 0x54]
mov word [rax + 0x1c], bx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x50], 0x238
lea ecx, [rbx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400012ee
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x7c]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140001240
cmp rcx, 0xe
jne 0x14000131e
lea rax, [rsp + 0x7c]
mov r8, rdi
mov rdx, rcx
sub r8, rax
lea rcx, [rsp + 0x7c]
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000131e
add rcx, 2
sub rdx, 1
jne 0x140001270
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x58]
test r8d, r8d
je 0x1400012ee
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x40]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x20
mov rcx, rdi
call fcn.14000140c
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400013b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x2a0
pop rdi
ret
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400012e5
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001340
cmp rax, 0xe
jne 0x14000137c
lea rcx, [rsp + 0x7c]
mov r8, rdi
mov rdx, rax
sub r8, rcx
lea rax, [rsp + 0x7c]
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x14000137c
add rax, 2
sub rdx, 1
jne 0x140001363
jmp 0x140001288
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001330
jmp 0x1400012e5

Function at 0x140001d50
Capabilities:
Parse pe header

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