joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7e14e4590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
mov qword [rsp + 0x28], rbp
xor r10d, r10d
mov qword [rsp + 0x30], rsi
mov rbx, rdx
mov qword [rsp + 0x38], rdi
mov rax, rcx
mov qword [rsp + 0x40], r12
mov r14d, r10d
lea r15, [0x7ff7e14c0000]
mov r13, rax
test rbx, rbx
je 0x7ff7e14e45d0
cmp rax, rbx
jae 0x7ff7e14e477c
movzx r8d, byte [rax]
test r8b, r8b
je 0x7ff7e14e477c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0xf3268]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x7ff7e14e4608
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x7ff7e14e4621
movzx r12d, byte [rcx]
jmp 0x7ff7e14e4624
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x7ff7e14e4632
movzx ebp, byte [rcx]
jmp 0x7ff7e14e4635
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x7ff7e14e4643
movzx esi, byte [rcx]
jmp 0x7ff7e14e4646
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0xf3288]
and r15d, ecx
movzx r8d, r12b
shl r15d, 6
mov ecx, r8d
and ecx, 0x3f
movzx edx, bpl
or r15d, ecx
movzx r10d, sil
shl r15d, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or r15d, ecx
and r8d, 0xc0
mov ecx, r10d
shl r15d, 6
and ecx, 0x3f
shr r10d, 2
or r10d, edx
or r15d, ecx
shr r10d, 2
lea rcx, [0x7ff7e14c0000]
mov ecx, dword [r9 + rcx + 0xf32b8]
or r10d, r8d
shr r15d, cl
lea rcx, [0x7ff7e14c0000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0xf32a0]
sbb ecx, ecx
and edx, 0xfffff800
and ecx, 0x40
xor r8d, r8d
or r10d, ecx
mov ecx, 0x80
cmp edx, 0xd800
cmove r8d, ecx
xor edx, edx
or r10d, r8d
mov ecx, 0x100
cmp r15d, 0xffff
cmova edx, ecx
lea rcx, [0x7ff7e14c0000]
mov ecx, dword [r9 + rcx + 0xf32d0]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x7ff7e14e4766
xor r10d, r10d
test dil, dil
mov eax, r10d
mov ecx, r10d
setne cl
test sil, sil
setne al
add ecx, eax
mov eax, r10d
test bpl, bpl
setne al
add ecx, eax
mov eax, r10d
test r12b, r12b
setne al
add ecx, eax
cmp r11d, ecx
cmovl ecx, r11d
movsxd rax, ecx
add rax, r13
inc r14d
jmp 0x7ff7e14e45b8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x7ff7e14e477c
xor r10d, r10d
inc r14d
jmp 0x7ff7e14e45b8
mov r12, qword [rsp + 0x40]
mov eax, r14d
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
pop r15
pop r14
pop r13
pop rbx
ret
Function at 0x7ff7e14e47f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x30
movsxd rax, edx
mov rdi, rcx
dec rax
mov qword [r11 + 0x18], rbp
mov rbp, r9
xor r9d, r9d
lea rax, [rcx + rax*2]
mov qword [rsp + 8], rax
cmp rcx, rax
jae 0x7ff7e14e4a19
mov qword [r11 + 0x20], rsi
lea rsi, [0x7ff7e14c0000]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rsp], r8
test rbp, rbp
je 0x7ff7e14e4852
cmp r8, rbp
jae 0x7ff7e14e49f6
movzx edx, byte [r8]
test dl, dl
je 0x7ff7e14e49f6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0xf3268]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x7ff7e14e4888
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x7ff7e14e48a1
movzx r13d, byte [rax]
jmp 0x7ff7e14e48a4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x7ff7e14e48b3
movzx r12d, byte [rax]
jmp 0x7ff7e14e48b6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x7ff7e14e48c5
movzx r15d, byte [rax]
jmp 0x7ff7e14e48c8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0xf3288]
and esi, eax
movzx r9d, r13b
shl esi, 6
mov eax, r9d
and eax, 0x3f
movzx edx, r12b
or esi, eax
movzx r11d, r15b
shl esi, 6
and r9d, 0xc0
mov eax, edx
and edx, 0xc0
and eax, 0x3f
or esi, eax
mov eax, r11d
and eax, 0x3f
shr r11d, 2
or r11d, edx
shl esi, 6
or esi, eax
shr r11d, 2
or r11d, r9d
lea rax, [0x7ff7e14c0000]
mov ecx, dword [r10 + rax + 0xf32b8]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0xf32a0]
sbb eax, eax
xor r9d, r9d
and eax, 0x40
mov edx, r9d
or r11d, eax
mov eax, esi
and eax, 0xfffff800
cmp eax, 0xd800
mov eax, 0x80
cmove edx, eax
mov eax, r9d
or r11d, edx
cmp esi, 0xffff
cmova eax, ecx
or r11d, eax
lea rax, [0x7ff7e14c0000]
mov ecx, dword [r10 + rax + 0xf32d0]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x7ff7e14e49d3
test r14b, r14b
mov eax, r9d
mov ecx, r9d
mov esi, 0xfffd
setne cl
test r15b, r15b
setne al
add ecx, eax
mov eax, r9d
test r12b, r12b
setne al
add ecx, eax
mov eax, r9d
test r13b, r13b
setne al
add ecx, eax
cmp ebx, ecx
cmovl ecx, ebx
movsxd r8, ecx
add r8, qword [rsp]
jmp 0x7ff7e14e49dd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x7ff7e14e49f6
mov word [rdi], si
add rdi, 2
lea rsi, [0x7ff7e14c0000]
cmp rdi, qword [rsp + 8]
jb 0x7ff7e14e4840
mov rcx, qword [rsp + 0x40]
mov r15, qword [rsp + 0x10]
mov r14, qword [rsp + 0x18]
mov r13, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov word [rdi], r9w
test rax, rax
je 0x7ff7e14e4a2f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7e14e4b10
Capabilities:
Hash data with crc32

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rsi, rcx
xor r12d, r12d
mov dword [rbp - 0x4c], r12d
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x18], r12
lea rax, [0x7ff7e15b3384]
mov qword [rbp - 0x58], rax
mov r15d, 0xffffffff
mov edx, r15d
lea r8, [0x7ff7e15b3385]
mov r9b, 0x57
lea r13, [0x7ff7e15b2d30]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x7ff7e14e4b73
cmp byte [r8], r9b
jne 0x7ff7e14e4b73
cmp byte [r8 + 1], r9b
cmove edx, r15d
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r13 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x7ff7e14e4b60
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x7ff7e14f28b0]
mov qword [rbp - 0x48], rax
lea rax, [0x7ff7e14f2b20]
mov qword [rbp - 0x38], rax
lea rax, [0x7ff7e14f2940]
mov qword [rbp - 0x30], rax
lea rax, [0x7ff7e14f27b0]
mov qword [rbp - 0x28], rax
lea rax, [0x7ff7e14f2b60]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 0x3028]
call fcn.7ff7e14f33f0
mov rax, qword [0x7ff7e17b40a8]
test rax, rax
je 0x7ff7e14e4bef
inc dword [rax + 0x3b0]
mov rdx, qword [0x7ff7e17b40b0]
mov ecx, 0x138
call qword [0x7ff7e16381d0]
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x60], rax
test rax, rax
je 0x7ff7e14e4c20
mov rcx, rax
call fcn.7ff7e14d1a20
jmp 0x7ff7e14e4c23
mov rax, r12
mov qword [rbp + 0x48], rax
mov dword [rax], 0x11111111
mov dword [rax + 0x68], r12d
mov byte [rax + 0x92], 1
lea rcx, [rsi + 0x1d88]
lea rdx, [rbp + 0x48]
call fcn.7ff7e14f3190
mov rcx, qword [rsi + 0x1d90]
mov rax, qword [rcx]
mov qword [rsi + 0x1628], rax
lea rbx, [rsi + 0x1630]
mov rdi, qword [rcx]
mov ecx, dword [rbx + 4]
mov eax, dword [rbx]
cmp eax, ecx
jne 0x7ff7e14e4c98
lea r8d, [rax + 1]
test ecx, ecx
je 0x7ff7e14e4c7f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x7ff7e14e4c84
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.7ff7e14f37f0
mov eax, dword [rbx]
movsxd rcx, eax
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx]
mov dword [rbp - 0x4c], r12d
mov qword [rbp - 0x18], r12
lea rax, [0x7ff7e15b35f0]
mov qword [rbp - 0x58], rax
mov edx, r15d
lea r8, [0x7ff7e15b35f1]
mov r9b, 0x44
cmp r9b, 0x23
jne 0x7ff7e14e4cd8
cmp byte [r8], r9b
jne 0x7ff7e14e4cd8
cmp byte [r8 + 1], r9b
cmove edx, r15d
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r13 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x7ff7e14e4cc5
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x7ff7e14dfca0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rax, [0x7ff7e14e03a0]
mov qword [rbp - 0x38], rax
lea rax, [0x7ff7e14dff80]
mov qword [rbp - 0x30], rax
lea rax, [0x7ff7e14dfbd0]
mov qword [rbp - 0x28], rax
lea rax, [0x7ff7e14e03d0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 0x3028]
call fcn.7ff7e14f33f0
mov byte [rsi], 1
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x7ff7e14e5db0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x7ff7e17b40a8]
cmp byte [rbx + 0x3058], 0
je 0x7ff7e14e5e95
cmp qword [rbx + 0x3060], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3068]
je 0x7ff7e14e5e7d
mov ecx, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test ecx, ecx
jns 0x7ff7e14e5e22
mov eax, ecx
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, ecx
mov rcx, rdi
test eax, eax
cmovg edx, eax
call fcn.7ff7e14f3610
mov dword [rdi], ebp
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.7ff7e14f3000
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3060]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x3070]
cmove ecx, ebp
test rax, rax
movsxd r8, ecx
lea rcx, [0x7ff7e17b40a0]
cmovne rcx, rax
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.7ff7e14f3000
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x7ff7e14ee180
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x7ff7e17b40a8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x3014], ecx
test rbx, rbx
je 0x7ff7e14ee1ef
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.7ff7e14ee200
lea rdx, [0x7ff7e15b349c]
mov rcx, rbx
mov rdi, rax
call fcn.7ff7e14e4030
mov rbx, rax
test rax, rax
je 0x7ff7e14ee1ea
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7e14f1100
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x7ff7e17b40a8]
cmp byte [rbx + 0x3010], 0
jne 0x7ff7e14f1253
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x7ff7e14f124c
lea rdx, [0x7ff7e15b3498]
mov qword [rsp + 0x40], rdi
call fcn.7ff7e14e4030
mov rdi, rax
test rax, rax
je 0x7ff7e14f1247
mov qword [rsp + 0x30], rbp
mov rcx, rax
mov qword [rsp + 0x38], rsi
call qword [sym.imp.ucrtbase.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x7ff7e14f1234
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7e14f1234
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x7ff7e14f1234
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7e14f1234
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x7ff7e14f1234
mov rax, qword [0x7ff7e17b40a8]
test rax, rax
je 0x7ff7e14f11c3
inc dword [rax + 0x3b0]
mov rdx, qword [0x7ff7e17b40b0]
mov rcx, rbp
call qword [0x7ff7e16381d0]
mov rsi, rax
test rax, rax
je 0x7ff7e14f1234
mov r9, rdi
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_fread]
mov rcx, rdi
cmp rax, rbp
je 0x7ff7e14f11ff
call qword [sym.imp.ucrtbase.dll_fclose]
jmp 0x7ff7e14f1210
call qword [sym.imp.ucrtbase.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.7ff7e14e58b0
mov rax, qword [0x7ff7e17b40a8]
test rax, rax
je 0x7ff7e14f1222
dec dword [rax + 0x3b0]
mov rdx, qword [0x7ff7e17b40b0]
mov rcx, rsi
call qword [0x7ff7e16381d8]
jmp 0x7ff7e14f123d
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fclose]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov byte [rbx + 0x3010], 1
movss xmm0, dword [rbx + 0x3014]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x7ff7e14f12a4
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3014], xmm0
jb 0x7ff7e14f12a4
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x7ff7e14f1293
call fcn.7ff7e14ee180
mov dword [rbx + 0x3014], 0
add rsp, 0x20
pop rbx
ret
mov byte [rbx + 0x398], 1
mov dword [rbx + 0x3014], 0
add rsp, 0x20
pop rbx
ret
Function at 0x7ff7e1514150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rdi, rcx
mov ecx, 0x30
call fcn.7ff7e1566ca8
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x7ff7e151419c
movzx eax, byte [rsi]
mov byte [rbx], al
lea rcx, [rbx + 8]
mov rdx, rbp
call fcn.7ff7e14c38a0
mov qword [rbx + 0x28], r14
jmp 0x7ff7e151419e
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x7ff7e15142b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x7ff7e15141e6
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov dword [rsi], 0
mov ecx, 6
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x7ff7e151c150
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, rdx
test rcx, rcx
je 0x7ff7e151c19b
movzx r10d, word [rcx + 6]
test r10d, r10d
je 0x7ff7e151c19b
movzx eax, word [rcx + 0x14]
lea r11, [rcx + 0x18]
add r11, rax
xor r9d, r9d
test r10d, r10d
je 0x7ff7e151c19b
lea rdx, [r11 + 0x10]
nop
mov ecx, dword [rdx - 4]
cmp r8d, ecx
jb 0x7ff7e151c18f
add ecx, dword [rdx]
cmp r8d, ecx
jb 0x7ff7e151c1a3
inc r9d
add rdx, 0x28
cmp r9d, r10d
jb 0x7ff7e151c180
xor eax, eax
mov rbx, qword [rsp + 8]
ret
lea rcx, [r9 + r9*4]
lea rax, [r11 + rcx*8]
test rax, rax
je 0x7ff7e151c19b
sub r8d, dword [rax + 0xc]
mov eax, dword [rax + 0x14]
mov ecx, r8d
add rcx, rbx
mov rbx, qword [rsp + 8]
add rax, rcx
ret

Function at 0x7ff7e151c1d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x7ff7e17b4ba0]
mov rbx, r9
mov ecx, 0x38
mov rdi, r8
mov esi, edx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x7ff7e17b48c8], eax
jg 0x7ff7e151c2bf
mov r10, qword [0x7ff7e17b48c0]
test r10, r10
je 0x7ff7e151c257
mov rax, qword [rsp + 0xa0]
mov r9, rbx
mov qword [rsp + 0x30], rax
mov r8, rdi
mov eax, dword [rsp + 0x98]
mov edx, esi
mov dword [rsp + 0x28], eax
mov rcx, rbp
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
call r10
jmp 0x7ff7e151c267
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, 0xc000007a
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
lea edx, [rax + 0x7b]
xor byte [rsp + rax + 0x40], dl
inc rax
cmp rax, 0xf
jb 0x7ff7e151c280
mov rcx, qword [0x7ff7e17b48b8]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x50], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7e17b48c8]
mov qword [0x7ff7e17b48c0], rax
call fcn.7ff7e1567064
jmp 0x7ff7e151c218
lea rcx, [0x7ff7e17b48c8]
call fcn.7ff7e15670c4
cmp dword [0x7ff7e17b48c8], 0xffffffff
jne 0x7ff7e151c218
movdqa xmm0, xmmword [0x7ff7e1604200]
xor eax, eax
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x50], 1
jmp 0x7ff7e151c280
Function at 0x7ff7e151c2f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x7ff7e17b4ba0]
mov rbx, r9
mov ecx, 0x38
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x7ff7e17b48d8], eax
jg 0x7ff7e151c40f
mov r10, qword [0x7ff7e17b48d0]
test r10, r10
je 0x7ff7e151c39e
mov eax, dword [rsp + 0xc8]
mov r9, rbx
mov dword [rsp + 0x48], eax
mov r8, rdi
mov eax, dword [rsp + 0xc0]
mov rdx, rsi
mov dword [rsp + 0x40], eax
mov rcx, rbp
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call r10
jmp 0x7ff7e151c3ae
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea edx, [rax + 0x7b]
xor byte [rsp + rax + 0x50], dl
inc rax
cmp rax, 0x12
jb 0x7ff7e151c3d0
mov rcx, qword [0x7ff7e17b48b8]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x63], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7e17b48d8]
mov qword [0x7ff7e17b48d0], rax
call fcn.7ff7e1567064
jmp 0x7ff7e151c339
lea rcx, [0x7ff7e17b48d8]
call fcn.7ff7e15670c4
cmp dword [0x7ff7e17b48d8], 0xffffffff
jne 0x7ff7e151c339
movdqa xmm0, xmmword [0x7ff7e1604210]
xor eax, eax
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x100e2e4
jmp 0x7ff7e151c3d0

Function at 0x7ff7e151c450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword gs:[0x58]
mov rbp, rcx
mov r10d, dword [0x7ff7e17b4ba0]
mov ebx, r9d
mov ecx, 0x38
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax + r10*8]
mov eax, dword [rcx + r10]
cmp dword [0x7ff7e17b48e8], eax
jg 0x7ff7e151c52f
mov r10, qword [0x7ff7e17b48e0]
test r10, r10
je 0x7ff7e151c4c3
mov rax, qword [rsp + 0x80]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x7ff7e151c4d3
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, 0xc000007a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
lea edx, [rax + 0x7b]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x16
jb 0x7ff7e151c4f0
mov rcx, qword [0x7ff7e17b48b8]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7e17b48e8]
mov qword [0x7ff7e17b48e0], rax
call fcn.7ff7e1567064
jmp 0x7ff7e151c499
lea rcx, [0x7ff7e17b48e8]
call fcn.7ff7e15670c4
cmp dword [0x7ff7e17b48e8], 0xffffffff
jne 0x7ff7e151c499
movdqa xmm0, xmmword [0x7ff7e1604220]
xor eax, eax
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xe1e0e9c6
mov dword [rsp + 0x44], 0x100e9fd
jmp 0x7ff7e151c4f0
Function at 0x7ff7e151c710
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x7ff7e151c8b4
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7e151c8b4
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x7ff7e151c8b4
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x7ff7e151c8b4
mov qword [rbx], rcx
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x40], rdi
mov qword [rbx + 8], rax
xor edi, edi
mov qword [rsp + 0x48], r14
lea r8, [rax + 4]
mov qword [rbx + 0x10], r8
lea rcx, [rax + 0x18]
mov qword [rbx + 0x18], rcx
add rax, 0x88
mov qword [rbx + 0x20], rax
mov rdx, qword [rbx + 8]
lea rax, [rdx + 0x90]
mov qword [rbx + 0x28], rax
lea r14, [rdx + 0x18]
lea rax, [rdx + 0x98]
mov qword [rbx + 0x30], rax
lea rax, [rcx + 0x88]
mov qword [rbx + 0x38], rax
lea rax, [rdx + 0xa8]
mov qword [rbx + 0x40], rax
lea rax, [rdx + 0xb0]
mov qword [rbx + 0x48], rax
lea rax, [rdx + 0xb8]
mov qword [rbx + 0x50], rax
lea rax, [rdx + 0xc0]
mov qword [rbx + 0x58], rax
lea rax, [rdx + 0xc8]
mov qword [rbx + 0x60], rax
lea rax, [rdx + 0xd0]
mov qword [rbx + 0x68], rax
lea rax, [rdx + 0xd8]
mov qword [rbx + 0x70], rax
lea rax, [rdx + 0xe0]
mov qword [rbx + 0x78], rax
lea rax, [rdx + 0xe8]
mov qword [rbx + 0x80], rax
lea rax, [rdx + 0xf0]
mov qword [rbx + 0x88], rax
lea rax, [rdx + 0xf8]
mov qword [rbx + 0x90], rax
lea rax, [rdx + 0x100]
mov qword [rbx + 0x98], rax
movzx eax, word [rdx + 0x14]
add r14, rax
cmp di, word [r8 + 2]
jae 0x7ff7e151c8a2
mov qword [rsp + 0x38], rsi
mov rdx, qword [rbx + 0xa8]
movsxd rax, edi
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
mov qword [rsp + 0x30], rax
cmp rdx, qword [rbx + 0xb0]
je 0x7ff7e151c87e
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x7ff7e151c88f
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.7ff7e151c570
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x7ff7e151c851
mov rsi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov al, 1
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x7ff7e151c930
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x7ff7e151c95d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7e151c95d
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x7ff7e151c95d
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x7ff7e151c95d
mov eax, dword [rax + rcx + 0x50]
ret
xor eax, eax
ret
Function at 0x7ff7e151cef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
xor r15d, r15d
mov qword [rbp + 0x20], r15
lea rdx, [rsp + 0x70]
call fcn.7ff7e151c710
test al, al
je 0x7ff7e151d0b7
mov dword [rbp + 0x70], 0xf81a0a53
mov word [rbp + 0x74], 0xf5
mov byte [rbp + 0x76], 1
mov eax, r15d
nop dword [rax]
lea ecx, [rax + 0x7d]
xor byte [rbp + rax + 0x70], cl
inc rax
cmp rax, 5
jb 0x7ff7e151cf40
mov byte [rbp + 0x76], 0
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.7ff7e151c8c0
mov rsi, rax
mov dword [rbp + 0x78], 0xe11b0c53
mov dword [rbp + 0x7c], 0x100e3f5
mov rdx, r15
nop word [rax + rax]
lea ecx, [rdx + 0x7d]
xor byte [rbp + rdx + 0x78], cl
inc rdx
cmp rdx, 6
jb 0x7ff7e151cf80
mov byte [rbp + 0x7f], 0
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.7ff7e151c8c0
mov r14, rax
test rsi, rsi
je 0x7ff7e151d0b7
cmp rsi, rax
jae 0x7ff7e151d0b7
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x4c], 8
mov dword [rsp + 0x50], 0x10
mov dword [rsp + 0x54], 0x20
mov dword [rsp + 0x58], 0x40
mov dword [rsp + 0x5c], 0x80
mov dword [rsp + 0x60], 0x100
mov dword [rsp + 0x64], 0x200
mov dword [rsp + 0x68], 0x400
mov dword [rsp + 0x6c], 0x80000000
lea rdi, [rsp + 0x40]
nop dword [rax]
mov edx, dword [rsi + 8]
add edx, 0x1000
mov rax, qword [rbp - 0x78]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdx
mov dword [rbp + 0x68], r15d
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rdi]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.7ff7e151c450
mov edx, dword [r14 + 8]
mov ecx, dword [r14 + 0xc]
mov rax, qword [rbp - 0x78]
add rcx, qword [rax + 0x18]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov dword [rbp + 0x68], r15d
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rdi]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.7ff7e151c450
add rdi, 4
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x7ff7e151d020
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x7ff7e151d0f8
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7e151d0f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7e151d0f3
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7e1566ce4
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret