joyce8/EMBER2024-capa huggingface dataset:
Function at 0x295e918a0
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 [0x296060070]
test rcx, rcx
jne 0x295e918c4
xor ecx, ecx
xor edx, edx
jmp 0x295e918d9
call fcn.295ea81a0
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.295e91840
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.295e8b160
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 0x70]
cmp qword [rcx], rdx
ja 0x295e91946
nop dword [rax + rax]
cmp qword [rcx + 8], rdx
jae 0x295e91982
movups xmmword [rsp + 0x40], xmm15
lea rax, [0x295e91ba0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x10]
test rax, rax
je 0x295e919eb
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 0
lea rcx, [0x295e91b20]
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.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.295e91840
mov rcx, qword [rsp + 0x20]
mov al, byte [0x295fdc758]
test al, al
je 0x295e91a2b
lea rax, [0x295f438c0]
mov qword [rsp], rax
call fcn.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.295e91840
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 0x295e91a78
lea rax, fcn.295e8c9e0
mov qword [rsp], rax
call fcn.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.295e91840
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 [0x295fdc748]
test al, al
je 0x295e91b04
lea rax, [0x295f438b8]
mov qword [rsp], rax
call fcn.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
call fcn.295e91840
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + 0x30]
dec dword [rax + 0xd8]
add rsp, 0x50
pop rbp
ret
Function at 0x295e96880
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295e969e7
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 0x295e96892
cmp edx, ecx
jne 0x295e969d5
nop word [rax + rax]
test rsi, rsi
jne 0x295e969d5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x295e968f4
nop
call fcn.295eb8ce0
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
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.295e967a0
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 0x295e969d0
mov rdx, qword [0x295fdb3f8]
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 0x295e969c5
mov rcx, qword [0x295fdb3f0]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x295fdc6b0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x295fdc6b0], rax
nop
mov edx, 1
lea rsi, [0x295fdc6b8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x295e969b3
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, [0x295f412cf]
mov ebx, 0x28
nop
call fcn.295e86740
mov rax, rsi
mov rcx, rdx
call fcn.295eb7380
call fcn.295e85320
lea rax, [0x295f3e3e6]
mov ebx, 0x23
call fcn.295e86740
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.295e96880
Function at 0x295e9bd20
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x295e9bd68
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x295e9bd68
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 0x295e9bd78
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x295f0a770]
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.295e840a0
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x295e9be51
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x295f0a778]
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.295e84320
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x295e9be51
cmp qword [rcx + 8], rax
ja 0x295e9bd73
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x295ea3e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x295ea3ff7
movzx edx, byte [rax]
test edx, edx
jne 0x295ea3eb4
nop dword [rax]
test r8b, r8b
jne 0x295ea3eb4
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x295ea3ec7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x295ea3fb7
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 0x295ea3fa5
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 0x295ea3f97
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x295ea3f1d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x295ea3f60
mov eax, 1
cmp rax, rbx
ja 0x295ea3f4b
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.295eb7440
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x295ea3f8f
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 0x295ea3f53
mov rcx, r11
mov eax, r12d
jmp 0x295ea3f22
mov rcx, rbx
call fcn.295eb7380
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.295eb7380
mov eax, r8d
mov rcx, rbx
call fcn.295eb7440
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x295ea3fed
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 0x295ea3fb0
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x295ea3ecd
mov eax, edx
mov rcx, rbx
call fcn.295eb7380
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.295eb7380
nop
int3

Function at 0x295eaa000
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295eaa0b5
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.295ea7c80
nop
test bl, bl
je 0x295eaa0af
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x295eaa100]
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.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
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.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.295eaa000
Function at 0x295ead020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295ead0cf
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, [0x295ead120]
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.295eb4f60
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
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.295eb5080
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.295ead020
Function at 0x295eb6e80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295e53fa3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.295e5a7e0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x295e53f80
cmp byte [0x2960600a8], 0
je 0x295eb6e95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x295eb40e0
jmp 0x295e53f80

Function at 0x295eb6ea0
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 [0x296060380]
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 [0x2960600a8], 0
je 0x295eb6ed5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x2960606a0]
aesenc xmm0, xmmword [0x2960606b0]
aesenc xmm0, xmmword [0x2960606c0]
movq rax, xmm0
ret
jmp 0x295e5aa00

Function at 0x295eb6ee0
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 [0x296060380]
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 [0x2960600a8], 0
je 0x295eb6f16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x2960606a0]
aesenc xmm0, xmmword [0x2960606b0]
aesenc xmm0, xmmword [0x2960606c0]
movq rax, xmm0
ret
jmp 0x295e5aa60

Function at 0x295ec21e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295ec22aa
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.295e53540
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x295ec228f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x295f1f940]
xor ebx, ebx
mov rcx, rdx
call fcn.295e9c8e0
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.295ec2540
inc rbx
cmp rcx, rbx
jae 0x295ec227e
mov edi, 1
lea rsi, [0x295f1f940]
call fcn.295e9c9c0
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, [0x295f5e0a8]
lea rsi, [0x295f5dc48]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.295ec21e0
Function at 0x295ec9320
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295ec9a5f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x295ec934d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x295ec95d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x295ec95fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x295f5f140]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x295f1f840]
lea rbx, [0x295f5e018]
call fcn.295e85b80
inc rax
cmp rax, r8
jge 0x295ec9622
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x295ec9657
lea rdi, [0x295f1f8c0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x295ec9343
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x295ec963b
jmp 0x295ec9610
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.295ec9320

Function at 0x295ec9c00
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 0x295ec9c17
inc rax
cmp rax, 4
jge 0x295ec9c2f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x295ec9c14
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x295ec9c40
inc rax
cmp rax, 4
jge 0x295ec9c4e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x295ec9c77
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 0x295ec9c5b
jmp 0x295ec9c3d
Function at 0x295ef00e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x295ef01cd
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
lea rcx, [rbx + 1]
nop dword [rax + rax]
test rcx, rcx
jle 0x295ef01b9
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rcx
nop dword [rax]
call fcn.295ef03a0
xorps xmm15, xmm15
mov r14, qword [0x2960602b8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x60]
cmp rbx, rcx
mov rsi, rcx
cmovl rsi, rbx
mov rdi, qword [rsp + 0x58]
cmp rdi, rdx
jne 0x295ef0173
cmp rbx, rcx
jmp 0x295ef01a5
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov rax, rdx
mov rbx, rdi
mov rcx, rsi
call fcn.295eb7d20
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x18]
cmp rax, rcx
mov rdx, qword [rsp + 0x40]
mov rbx, rax
mov rax, qword [rsp + 0x38]
jae 0x295ef01b1
mov byte [rdx + rbx], 0
add rsp, 0x48
pop rbp
ret
mov rax, rbx
call fcn.295eb7380
lea rax, [0x295f1f840]
lea rbx, [0x295f5de18]
call fcn.295e85b80
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.295eb5080
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.295ef00e0

Function at 0x295ef3ac0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x48
xor ecx, ecx
xor r13d, r13d
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x295ef3b4e
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetClipboardData]
mov r12, rax
test rax, rax
je 0x295ef3b60
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x295ef3b60
mov qword [rsp + 0x38], 0
mov r8, r12
xor edx, edx
mov rsi, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x30], 0
mov r9d, 0xffffffff
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rsi
mov ebx, eax
test eax, eax
jne 0x295ef3b80
xor r13d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rax, r13
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
call qword [sym.imp.USER32.dll_CloseClipboard]
xor r13d, r13d
mov rax, r13
add rsp, 0x48
pop rbx
pop rsi
pop r12
pop r13
ret
movsxd rcx, eax
call sub.msvcrt.dll_malloc
mov r13, rax
test rax, rax
je 0x295ef3b3c
xor edx, edx
mov dword [rsp + 0x28], ebx
mov r9d, 0xffffffff
mov r8, r12
mov qword [rsp + 0x38], 0
mov ecx, 0xfde9
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
call rsi
test eax, eax
jne 0x295ef3b3f
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x295ef3b3c
Function at 0x295ef3be0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9d, 0xffffffff
xor edx, edx
mov r8, rcx
mov dword [rsp + 0x28], 0
mov rsi, rcx
mov ecx, 0xfde9
mov qword [rsp + 0x20], 0
call rdi
mov ebx, eax
test eax, eax
jne 0x295ef3c30
xor r12d, r12d
mov eax, r12d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret
lea edx, [rax + rax]
xor ecx, ecx
movsxd rdx, edx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x295ef3c1c
xor edx, edx
mov dword [rsp + 0x28], ebx
mov r9d, 0xffffffff
mov r8, rsi
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call rdi
test eax, eax
jne 0x295ef3c88
mov rcx, r12
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, r12d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x295ef3c65
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x295ef3c65
mov rdx, r12
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x295ef3c65
mov r12d, 1
jmp 0x295ef3c71

Function at 0x295ef8cd0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.295efa120
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.295efa120
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x295ef8d40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x2960647a4]
mov r12, rcx
test ebx, ebx
jle 0x295ef8e70
mov rax, qword [0x2960647a8]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x295ef8d8c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x295ef8e13
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x295ef8d70
mov rcx, r12
call fcn.295ef94c0
mov rsi, rax
test rax, rax
je 0x295ef8e92
mov rax, qword [0x2960647a8]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.295ef95f0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x2960647a8]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x295ef8e77
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x295ef8e0c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x295ef8e20
add dword [0x2960647a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x2960647a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x295ef8e0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.295ef8cd0
nop dword [rax]
xor ebx, ebx
jmp 0x295ef8d97
mov rax, qword [0x2960647a8]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.295ef8cd0
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.295ef8cd0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x295ef9130
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x2960647e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2960647c0]
test rbx, rbx
je 0x295ef9184
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x295ef917b
test r12, r12
je 0x295ef917b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x295ef9160
lea rcx, [0x2960647e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x295ef94c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x295fd44a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x295ef94e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x295ef94e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x295ef94e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x295ef9535
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x295ef952c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x295ef94e0
add rax, 0x28
cmp rax, r9
jne 0x295ef9518
xor eax, eax
ret

Function at 0x295ef9540
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x295fd44a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x295ef9560
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x295ef9568
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x295ef9560
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x295ef95f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x295fd44a0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x295ef9610
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x295ef9618
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x1400024fc
Capabilities:
Parse pe header

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