joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023abc0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0xe8
call fcn.140169e60
sub rsp, rax
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, qword [rsp + 0x150]
mov rax, rcx
mov rbx, qword [rsp + 0x158]
mov rdi, r9
mov r12, qword [rsp + 0x178]
mov r13, rdx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], r8
mov r14d, dword [rcx]
mov rcx, rax
call fcn.140189490
mov r8d, r14d
mov qword [rsp + 0x30], rax
xor edx, edx
mov rcx, r12
call fcn.140265030
test eax, eax
je 0x14023ae2f
mov ebp, dword [rsp + 0x160]
inc r14d
test ebp, ebp
je 0x14023ac74
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov r8, rbx
mov rdx, r15
call fcn.140177bd0
test eax, eax
jle 0x14023ae32
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call fcn.1402cc750
mov r8, rbx
lea rcx, [rsp + 0x90]
mov rdx, r15
call fcn.1402cc750
movsxd rax, ebx
sub rax, 1
js 0x14023acae
add rax, rdi
add byte [rax], 1
jne 0x14023acae
dec rax
cmp rax, rdi
jns 0x14023aca1
mov rbp, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov rdx, rbx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.140171060
test eax, eax
je 0x14023ae32
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140171060
test eax, eax
je 0x14023ae32
mov r9d, esi
mov rdx, rsi
test ebx, ebx
jle 0x14023ade1
cmp ebx, 0x40
jb 0x14023adac
mov ecx, ebx
and ecx, 0x8000003f
jge 0x14023ad28
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebx
sub eax, ecx
movsxd rcx, eax
nop
movdqu xmm0, xmmword [rsp + rdx + 0x50]
add r9d, 0x40
movdqu xmm1, xmmword [rsp + rdx + 0x90]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x60]
movdqu xmm1, xmmword [rsp + rdx + 0xa0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x60], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x70]
movdqu xmm1, xmmword [rsp + rdx + 0xb0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x70], xmm1
movdqu xmm0, xmmword [rsp + rdx + 0x80]
movdqu xmm1, xmmword [rsp + rdx + 0xc0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rdx + 0x80], xmm1
add rdx, 0x40
cmp rdx, rcx
jl 0x14023ad30
cmp r9d, ebx
jge 0x14023ade1
lea rcx, [rsp + 0x50]
add rcx, rdx
lea r8, [rsp + 0x90]
lea rax, [rsp + 0x50]
mov edx, ebx
sub r8, rax
sub edx, r9d
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x14023add0
or byte [rsp + 0x50], 0x80
lea rcx, [rsp + 0x50]
or byte [rsp + rbx + 0x4f], 1
mov r8, r13
mov edx, ebx
call fcn.1401879e0
test rax, rax
je 0x14023ae32
mov rdx, qword [rsp + 0x40]
mov r8, r12
mov rcx, r13
call fcn.140265090
test eax, eax
jg 0x14023ae60
jne 0x14023ae32
mov r8d, r14d
xor edx, edx
mov rcx, r12
mov ebp, 1
call fcn.140265030
test eax, eax
jne 0x14023ac52
inc r14d
mov rax, qword [rsp + 0x48]
mov dword [rax], r14d
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140169a70
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov esi, 1
jmp 0x14023ae32
Function at 0x140243360
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x1a0
call fcn.140169e60
sub rsp, rax
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, r8
mov rsi, rdx
mov r8, r9
lea rdx, str.SHA512
call fcn.140171e90
mov rdi, rax
test rax, rax
je 0x1402433e3
xor r9d, r9d
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.140171060
mov rcx, rdi
mov ebx, eax
call fcn.140171ee0
test ebx, ebx
jne 0x1402433ea
lea edx, [rbx + 0x40]
lea rcx, [rsp + 0x150]
call fcn.140001240
xor eax, eax
jmp 0x14024349e
movzx eax, byte [rsp + 0x16f]
lea rdx, [rsp + 0x150]
and byte [rsp + 0x150], 0xf8
lea rcx, [rsp + 0xb0]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x16f], al
call fcn.140242900
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x30]
call fcn.14023f2b0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x80]
call fcn.14023f530
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x58]
call fcn.14023f530
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140240bd0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x80]
call fcn.140240bd0
movzx eax, byte [rsp + 0x30]
lea rcx, [rsp + 0x150]
shl al, 7
mov edx, 0x40
xor byte [rsi + 0x1f], al
call fcn.140001240
mov eax, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140169a70
add rsp, 0x1a0
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402434c0
Capabilities:
Encrypt data using curve25519

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a8
call fcn.140169e60
sub rsp, rax
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, qword [rsp + 0x210]
mov r15, r8
mov r8, qword [rsp + 0x220]
mov r14, rdx
mov rsi, rcx
lea rdx, str.SHA512
mov rcx, qword [rsp + 0x218]
mov r13, r9
call fcn.140171e90
mov rdi, rax
call fcn.140171dd0
xor ebp, ebp
mov rbx, rax
test rdi, rdi
je 0x1402436cb
test rax, rax
je 0x1402436cb
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.140171660
test eax, eax
je 0x1402436cb
lea r8d, [rbp + 0x20]
mov rdx, r12
mov rcx, rbx
call fcn.1401716a0
test eax, eax
je 0x1402436cb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xd0]
call fcn.1401714c0
test eax, eax
je 0x1402436cb
movzx eax, byte [rsp + 0xef]
xor r8d, r8d
and byte [rsp + 0xd0], 0xf8
and al, 0x3f
or al, 0x40
mov rdx, rdi
mov rcx, rbx
mov byte [rsp + 0xef], al
call fcn.140171660
test eax, eax
je 0x1402436cb
lea r8d, [rbp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0xf0]
call fcn.1401716a0
test eax, eax
je 0x1402436cb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401716a0
test eax, eax
je 0x1402436cb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x110]
call fcn.1401714c0
test eax, eax
je 0x1402436cb
lea rcx, [rsp + 0x110]
call fcn.140245c40
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.140242900
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140242870
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.140171660
test eax, eax
je 0x1402436cb
lea r8d, [rbp + 0x20]
mov rdx, rsi
mov rcx, rbx
call fcn.1401716a0
test eax, eax
je 0x1402436cb
lea r8d, [rbp + 0x20]
mov rdx, r13
mov rcx, rbx
call fcn.1401716a0
test eax, eax
je 0x1402436cb
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1401716a0
test eax, eax
je 0x1402436cb
lea r8, [rsp + 0x20]
mov rcx, rbx
lea rdx, [rsp + 0x150]
call fcn.1401714c0
test eax, eax
je 0x1402436cb
lea rcx, [rsp + 0x150]
call fcn.140245c40
lea rcx, [rsi + 0x20]
lea r9, [rsp + 0x110]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
call fcn.140243bb0
mov ebp, 1
mov edx, 0x40
lea rcx, [rsp + 0x110]
call fcn.140001240
mov edx, 0x40
lea rcx, [rsp + 0xd0]
call fcn.140001240
mov rcx, rdi
call fcn.140171ee0
mov rcx, rbx
call fcn.140171d20
mov eax, ebp
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140169a70
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140281230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r12
push r13
push r14
push r15
mov eax, 0x40
call fcn.140169e60
sub rsp, rax
mov r12, rdx
test rdx, rdx
mov rdx, r8
mov r15, r9
mov rbp, r8
je 0x140281453
mov rbx, qword [rsp + 0xa8]
lea r14, [r9 + 1]
mov rsi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x98]
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rbx
shr r14, 1
mov r8, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
call fcn.140281020
test eax, eax
je 0x14028148e
mov r8d, 0x1bb
mov qword [rsp + 0x70], rdi
lea rdx, str.providersimplementationskdfs_tls1_prf.c
mov rcx, rbx
call fcn.140174c30
mov rdi, rax
test rax, rax
jne 0x14028131c
call fcn.1401769a0
lea r8, str.tls1_prf_alg
mov edx, 0x1bc
lea rcx, str.providersimplementationskdfs_tls1_prf.c
call fcn.140176ac0
xor r8d, r8d
lea ecx, [rdi + 0x39]
mov edx, 0xc0100
call fcn.140176bc0
xor eax, eax
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
mov r9, qword [rsp + 0x90]
sub rbp, r14
mov qword [rsp + 0x30], rbx
mov r8, r14
mov qword [rsp + 0x28], rdi
mov rcx, r12
mov qword [rsp + 0x20], r13
lea rdx, [r15 + rbp]
call fcn.140281020
test eax, eax
jne 0x140281363
mov r9d, 0x1c2
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140174d70
jmp 0x1402812fa
xor ecx, ecx
test rbx, rbx
je 0x140281431
cmp rbx, 0x40
jb 0x140281402
lea rdx, [rsi - 1]
lea rax, [rbx - 1]
add rdx, rbx
add rax, rdi
cmp rsi, rax
ja 0x140281390
cmp rdx, rdi
jae 0x140281402
mov r8, rbx
and r8, 0xffffffffffffffc0
mov rdx, rdi
lea rax, [rsi + 0x10]
sub rdx, rsi
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jb 0x1402813a1
cmp rcx, rbx
jae 0x140281431
mov r8, rdi
lea rax, [rcx + rsi]
sub r8, rsi
mov rdx, rbx
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140281420
mov r9d, 0x1c7
lea r8, str.providersimplementationskdfs_tls1_prf.c
mov rdx, rbx
mov rcx, rdi
call fcn.140174d70
mov eax, 1
jmp 0x1402812fc
mov rax, qword [rsp + 0xa8]
mov r8, r15
mov r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
call fcn.140281020
test eax, eax
jne 0x140281495
xor eax, eax
jmp 0x140281301
mov eax, 1
jmp 0x140281301
Function at 0x14028a180
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14028a208
test r8, r8
je 0x14028a208
mov rax, qword [rcx + 0x28]
cmp r8, rax
mov r9, rax
cmovb r9, r8
test r9, r9
je 0x14028a1c6
add rcx, 0x34
mov r11, rdx
sub r11, r10
nop
movzx eax, byte [r11 + rcx - 0x34]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x14028a1b0
mov rax, qword [r10 + 0x28]
cmp r8, rax
jbe 0x14028a208
sub r8, rax
cmp r8, 0x10
jbe 0x14028a1dc
mov r8d, reloc.WS2_32.dll_recv
jmp 0x14028a1e1
test r8, r8
je 0x14028a208
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x28]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x54], al
inc rcx
cmp rcx, r8
jb 0x14028a1f0
ret
Function at 0x1402c1e80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov r11, qword [rcx]
mov rsi, rdx
mov r10, qword [rcx + 8]
mov rbx, rcx
mov r9, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
shl r11, 0x38
cmp dword [rcx + 0x30], 0
je 0x1402c20bf
test r8, r8
je 0x1402c20bf
mov r14d, dword [rcx + 0x2c]
cmp r8, r14
jne 0x1402c20bf
mov ecx, dword [rcx + 0x28]
dec ecx
cmp ecx, 6
ja case.default.0x1402c1eed
lea r8, [0x140000000]
mov edx, dword [r8 + rcx*4 + 0x2c20d8]
add rdx, r8
jmp rdx
movzx ecx, byte [rbx + 0x3e]
shl rcx, 0x30
or r11, rcx
movzx ecx, byte [rbx + 0x3d]
shl rcx, 0x28
or r11, rcx
movzx ecx, byte [rbx + 0x3c]
shl rcx, 0x20
or r11, rcx
movzx ecx, byte [rbx + 0x3b]
shl rcx, 0x18
or r11, rcx
movzx ecx, byte [rbx + 0x3a]
shl rcx, 0x10
or r11, rcx
movzx ecx, byte [rbx + 0x39]
shl rcx, 8
or r11, rcx
movzx ecx, byte [rbx + 0x38]
or r11, rcx
xor rax, r11
cmp dword [rbx + 0x30], 0
jbe 0x1402c1f86
mov ecx, dword [rbx + 0x30]
nop dword [rax]
nop dword [rax + rax]
add r10, r9
add rdi, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, rdi
rol r10, 0x20
add rdi, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, rdi
xor rax, r10
rol rdi, 0x20
sub rcx, 1
jne 0x1402c1f50
xor r10, r11
mov ecx, 0xff
cmp r14d, 0x10
mov r8d, 0xee
cmovne r8d, ecx
mov ecx, dword [rbx + 0x34]
xor r8, rdi
test ecx, ecx
je 0x1402c1fe6
nop word [rax + rax]
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402c1fb0
mov rdx, rax
xor rdx, r8
xor rdx, r9
xor rdx, r10
mov ecx, edx
mov byte [rsi], dl
shr ecx, 8
mov byte [rsi + 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 2], cl
mov ecx, edx
shr ecx, 0x18
shr rdx, 0x20
mov byte [rsi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 5], cl
mov ecx, edx
mov byte [rsi + 4], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [rsi + 6], cl
mov byte [rsi + 7], dl
cmp dword [rbx + 0x2c], 8
je 0x1402c20b8
mov ecx, dword [rbx + 0x34]
xor r9, 0xdd
test ecx, ecx
je 0x1402c2077
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402c2041
xor rax, r8
xor rax, r9
xor rax, r10
mov ecx, eax
mov byte [rsi + 8], al
shr ecx, 8
mov byte [rsi + 9], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
shr rax, 0x20
mov byte [rsi + 0xb], cl
mov ecx, eax
shr ecx, 8
mov byte [rsi + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xc], al
shr eax, 0x18
mov byte [rsi + 0xf], al
mov byte [rsi + 0xe], cl
mov eax, 1
jmp 0x1402c20c1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x1402cade0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.140169e60
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x1402cae3e
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x1402caf43
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x1402cae7b
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x1402caf7a
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x1402caf1d
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
xor cl, dil
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x1402caed0
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1402caa10
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x1402cb4c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x68
call fcn.140169e60
sub rsp, rax
mov rax, qword [0x1403d5798]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x3c]
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test eax, eax
je 0x1402cb604
movups xmm0, xmmword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
lea rbx, [rcx + 0x10]
dec eax
mov dword [rsp + 0x28], 1
mov dword [rcx + 0x3c], eax
xor r9d, r9d
movups xmmword [rsp + 0x48], xmm0
and byte [rsp + 0x54], 0x7f
xor r8d, r8d
psrldq xmm0, 8
xor edx, edx
movd eax, xmm0
mov rcx, r15
mov dword [rsp + 0x30], edi
and al, 0x7f
mov byte [rsp + 0x50], al
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140199350
test eax, eax
je 0x1402cb604
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov r9, r14
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, r15
call fcn.140199fe0
test eax, eax
je 0x1402cb604
mov r9, rdi
lea rdx, [rsp + 0x38]
mov r8, rbp
mov rcx, rsi
call fcn.1402cbb20
test eax, eax
je 0x1402cb604
lea rax, [rbx + 0xf]
xor r8d, r8d
lea rcx, [rsp + 0x38]
cmp rcx, rax
ja 0x1402cb5d9
lea rax, [rsp + 0x47]
cmp rax, rbx
jb 0x1402cb5d9
lea rcx, [rsp + 0x38]
mov eax, r8d
sub rbx, rcx
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x1402cb5c0
jmp 0x1402cb5ed
movdqu xmm1, xmmword [rsp + 0x38]
movdqu xmm0, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x38], xmm1
mov rax, qword [rsp + 0x38]
or rax, qword [rsp + 0x40]
je 0x1402cb620
mov rdx, rdi
mov rcx, rbp
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140169a70
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0x38], r8d
mov eax, edi
jmp 0x1402cb606

Function at 0x1402e3a94
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1402e38c0

Function at 0x1402eb51c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1402eb4f9
call fcn.1402d0474
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1402d0354
or eax, 0xffffffff
jmp 0x1402eb516
sub dword [rcx + 0x10], 1
jns 0x1402eb508
add rsp, 0x28
jmp fcn.1402f09f0
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1402eb4d8
Function at 0x14001f278
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001efdc

Function at 0x180005058
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
movsxd r10, dword [rcx + 0x3c]
mov r11d, edx
add r10, rcx
movzx eax, word [r10 + 0x14]
lea r9, [r10 + 0x18]
movzx ebx, word [r10 + 6]
add r9, rax
xor r8d, r8d
cmp r11d, dword [r9 + 0xc]
jb 0x18000509c
mov ecx, dword [r10 + 0x3c]
lea edx, [rcx - 1]
add edx, dword [r9 + 0x10]
lea eax, [rcx - 1]
not eax
and edx, eax
add edx, dword [r9 + 0xc]
cmp r11d, edx
jb 0x1800050ac
add r9, 0x28
mov eax, 0xffff
add bx, ax
je 0x1800050b7
jmp 0x18000507b
mov r8d, dword [r9 + 0x14]
sub r8d, dword [r9 + 0xc]
add r8d, r11d
mov rbx, qword [rsp + 8]
mov eax, r8d
ret

Function at 0x1400010b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.flag
call fcn.140001010
xor edi, edi
lea ebx, [rdi - 3]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [rbx + 3]
shr eax, 1
test al, 1
je 0x140001154
lea r8d, [rbx + 1]
cmp r8d, 1
jg 0x1400010f0
mov r9d, r8d
jmp 0x140001105
lea ecx, [rbx - 1]
call fcn.140001070
mov ecx, ebx
mov r9d, eax
call fcn.140001070
add r9d, eax
lea eax, [rbx + 2]
cmp eax, 1
jle 0x140001120
mov ecx, ebx
call fcn.140001070
mov ecx, r8d
mov edx, eax
call fcn.140001070
add eax, edx
mov edx, eax
shl rdx, 0x1f
mov eax, r9d
add rdx, rax
xor eax, eax
nop
movzx ecx, al
mov r8, rax
and cl, 7
inc rax
shl r8, cl
xor rdx, r8
cmp rax, 0x10
jb 0x140001130
lea rcx, str._llu
call fcn.140001010
add ebx, 0x13
add edi, 0x4a38
lea eax, [rbx + 3]
cmp eax, 0x12c
jl 0x1400010d0
lea rcx, [0x140002270]
call fcn.140001010
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140001a74
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001abe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001abe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001abe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001abe
cmp dword [rcx + 0x84], 0xe
jbe 0x140001abe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac0
xor al, al
add rsp, 0x28
ret
Function at 0x14002bb30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14002d340
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x14002bba0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400b30b4]
mov rbx, rcx
test esi, esi
jle 0x14002bcd0
mov rax, qword [0x1400b30b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14002bbeb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14002bc75
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14002bbd0
mov rcx, rbx
call fcn.14002c610
mov rdi, rax
test rax, rax
je 0x14002bcf2
mov rax, qword [0x1400b30b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14002c750
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400b30b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14002bcd7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14002bc6e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14002bc80
add dword [0x1400b30b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400b30b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14002bc6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14002bb30
nop dword [rax]
xor esi, esi
jmp 0x14002bbf8
mov rax, qword [0x1400b30b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14002bb30
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14002bb30
nop
nop word cs:[rax + rax]
nop dword [rax]