joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff7ec586d90
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, [0x7ff7ec560000]
mov r13, rax
test rbx, rbx
je 0x7ff7ec586dd0
cmp rax, rbx
jae 0x7ff7ec586f7c
movzx r8d, byte [rax]
test r8b, r8b
je 0x7ff7ec586f7c
mov r11d, r10d
mov ecx, r8d
shr rcx, 3
mov rdx, rbx
movsx r9, byte [rcx + r15 + 0x10b2a8]
test r9d, r9d
sete r11b
add r11d, r9d
test rbx, rbx
jne 0x7ff7ec586e08
movsxd rdx, r11d
add rdx, rax
cmp rax, rdx
lea rcx, [rax + 1]
mov edi, r8d
cmovae edi, r10d
cmp rcx, rdx
jae 0x7ff7ec586e21
movzx r12d, byte [rcx]
jmp 0x7ff7ec586e24
xor r12b, r12b
lea rcx, [rax + 2]
cmp rcx, rdx
jae 0x7ff7ec586e32
movzx ebp, byte [rcx]
jmp 0x7ff7ec586e35
xor bpl, bpl
lea rcx, [rax + 3]
cmp rcx, rdx
jae 0x7ff7ec586e43
movzx esi, byte [rcx]
jmp 0x7ff7ec586e46
xor sil, sil
lea r9, [r9*4]
movzx ecx, dil
mov r15d, dword [r9 + r15 + 0x10b2c8]
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, [0x7ff7ec560000]
mov ecx, dword [r9 + rcx + 0x10b2f8]
or r10d, r8d
shr r15d, cl
lea rcx, [0x7ff7ec560000]
shr r10d, 2
mov edx, r15d
cmp r15d, dword [r9 + rcx + 0x10b2e0]
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, [0x7ff7ec560000]
mov ecx, dword [r9 + rcx + 0x10b310]
or r10d, edx
xor r10d, 0x2a
sar r10d, cl
test r10d, r10d
je 0x7ff7ec586f66
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 0x7ff7ec586db8
movsxd rcx, r11d
add rax, rcx
test r15d, r15d
je 0x7ff7ec586f7c
xor r10d, r10d
inc r14d
jmp 0x7ff7ec586db8
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 0x7ff7ec586ff0
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 0x7ff7ec587219
mov qword [r11 + 0x20], rsi
lea rsi, [0x7ff7ec560000]
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 0x7ff7ec587052
cmp r8, rbp
jae 0x7ff7ec5871f6
movzx edx, byte [r8]
test dl, dl
je 0x7ff7ec5871f6
mov eax, edx
mov rcx, rbp
shr rax, 3
movsx r9, byte [rax + rsi + 0x10b2a8]
xor eax, eax
test r9d, r9d
mov ebx, eax
sete bl
add ebx, r9d
test rbp, rbp
jne 0x7ff7ec587088
movsxd rcx, ebx
add rcx, r8
cmp r8, rcx
mov r14d, edx
cmovae r14d, eax
lea rax, [r8 + 1]
cmp rax, rcx
jae 0x7ff7ec5870a1
movzx r13d, byte [rax]
jmp 0x7ff7ec5870a4
xor r13b, r13b
lea rax, [r8 + 2]
cmp rax, rcx
jae 0x7ff7ec5870b3
movzx r12d, byte [rax]
jmp 0x7ff7ec5870b6
xor r12b, r12b
lea rax, [r8 + 3]
cmp rax, rcx
jae 0x7ff7ec5870c5
movzx r15d, byte [rax]
jmp 0x7ff7ec5870c8
xor r15b, r15b
lea r10, [r9*4]
movzx eax, r14b
mov esi, dword [r10 + rsi + 0x10b2c8]
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, [0x7ff7ec560000]
mov ecx, dword [r10 + rax + 0x10b2f8]
shr r11d, 2
shr esi, cl
mov ecx, 0x100
cmp esi, dword [r10 + rax + 0x10b2e0]
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, [0x7ff7ec560000]
mov ecx, dword [r10 + rax + 0x10b310]
xor r11d, 0x2a
sar r11d, cl
test r11d, r11d
je 0x7ff7ec5871d3
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 0x7ff7ec5871dd
movsxd rax, ebx
add r8, rax
test esi, esi
je 0x7ff7ec5871f6
mov word [rdi], si
add rdi, 2
lea rsi, [0x7ff7ec560000]
cmp rdi, qword [rsp + 8]
jb 0x7ff7ec587040
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 0x7ff7ec58722f
mov qword [rax], r8
sub rdi, rcx
sar rdi, 1
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x7ff7ec587310
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, [0x7ff7ec66b3c4]
mov qword [rbp - 0x58], rax
mov r15d, 0xffffffff
mov edx, r15d
lea r8, [0x7ff7ec66b3c5]
mov r9b, 0x57
lea r13, [0x7ff7ec66ad70]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x7ff7ec587373
cmp byte [r8], r9b
jne 0x7ff7ec587373
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 0x7ff7ec587360
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x7ff7ec5950b0]
mov qword [rbp - 0x48], rax
lea rax, [0x7ff7ec595320]
mov qword [rbp - 0x38], rax
lea rax, [0x7ff7ec595140]
mov qword [rbp - 0x30], rax
lea rax, [0x7ff7ec594fb0]
mov qword [rbp - 0x28], rax
lea rax, [0x7ff7ec595360]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 0x3028]
call fcn.7ff7ec595bf0
mov rax, qword [0x7ff7ec8704f0]
test rax, rax
je 0x7ff7ec5873ef
inc dword [rax + 0x3b0]
mov rdx, qword [0x7ff7ec8704f8]
mov ecx, 0x138
call qword [0x7ff7ec6f41f0]
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x48]
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x60], rax
test rax, rax
je 0x7ff7ec587420
mov rcx, rax
call fcn.7ff7ec574220
jmp 0x7ff7ec587423
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.7ff7ec595990
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 0x7ff7ec587498
lea r8d, [rax + 1]
test ecx, ecx
je 0x7ff7ec58747f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x7ff7ec587484
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.7ff7ec595ff0
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, [0x7ff7ec66b630]
mov qword [rbp - 0x58], rax
mov edx, r15d
lea r8, [0x7ff7ec66b631]
mov r9b, 0x44
cmp r9b, 0x23
jne 0x7ff7ec5874d8
cmp byte [r8], r9b
jne 0x7ff7ec5874d8
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 0x7ff7ec5874c5
not edx
mov dword [rbp - 0x50], edx
lea rax, [0x7ff7ec5824a0]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
lea rax, [0x7ff7ec582ba0]
mov qword [rbp - 0x38], rax
lea rax, [0x7ff7ec582780]
mov qword [rbp - 0x30], rax
lea rax, [0x7ff7ec5823d0]
mov qword [rbp - 0x28], rax
lea rax, [0x7ff7ec582bd0]
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 0x3028]
call fcn.7ff7ec595bf0
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 0x7ff7ec5885b0
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 [0x7ff7ec8704f0]
cmp byte [rbx + 0x3058], 0
je 0x7ff7ec588695
cmp qword [rbx + 0x3060], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x3068]
je 0x7ff7ec58867d
mov ecx, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test ecx, ecx
jns 0x7ff7ec588622
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.7ff7ec595e10
mov dword [rdi], ebp
mov r8, rsi
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.7ff7ec595800
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, [0x7ff7ec8704e8]
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.7ff7ec595800
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x7ff7ec590980
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x7ff7ec8704f0]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x3014], ecx
test rbx, rbx
je 0x7ff7ec5909ef
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.7ff7ec590a00
lea rdx, [0x7ff7ec66b4dc]
mov rcx, rbx
mov rdi, rax
call fcn.7ff7ec586830
mov rbx, rax
test rax, rax
je 0x7ff7ec5909ea
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 0x7ff7ec593900
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x7ff7ec8704f0]
cmp byte [rbx + 0x3010], 0
jne 0x7ff7ec593a53
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x7ff7ec593a4c
lea rdx, [0x7ff7ec66b4d8]
mov qword [rsp + 0x40], rdi
call fcn.7ff7ec586830
mov rdi, rax
test rax, rax
je 0x7ff7ec593a47
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 0x7ff7ec593a34
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7ec593a34
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x7ff7ec593a34
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.ucrtbase.dll_fseek]
test eax, eax
jne 0x7ff7ec593a34
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x7ff7ec593a34
mov rax, qword [0x7ff7ec8704f0]
test rax, rax
je 0x7ff7ec5939c3
inc dword [rax + 0x3b0]
mov rdx, qword [0x7ff7ec8704f8]
mov rcx, rbp
call qword [0x7ff7ec6f41f0]
mov rsi, rax
test rax, rax
je 0x7ff7ec593a34
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 0x7ff7ec5939ff
call qword [sym.imp.ucrtbase.dll_fclose]
jmp 0x7ff7ec593a10
call qword [sym.imp.ucrtbase.dll_fclose]
mov rdx, rbp
mov rcx, rsi
call fcn.7ff7ec5880b0
mov rax, qword [0x7ff7ec8704f0]
test rax, rax
je 0x7ff7ec593a22
dec dword [rax + 0x3b0]
mov rdx, qword [0x7ff7ec8704f8]
mov rcx, rsi
call qword [0x7ff7ec6f41f8]
jmp 0x7ff7ec593a3d
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 0x7ff7ec593aa4
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x3014], xmm0
jb 0x7ff7ec593aa4
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x7ff7ec593a93
call fcn.7ff7ec590980
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 0x7ff7ec5b6950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x28
call fcn.7ff7ec61e94c
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x7ff7ec5b6995
mov rdx, rsi
mov rcx, rax
call fcn.7ff7ec563c30
mov qword [rbx + 0x20], rbp
jmp 0x7ff7ec5b6997
xor ebx, ebx
mov qword [rsp + 0x40], rbx
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x7ff7ec5b6a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x7ff7ec5b69e1
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov dword [rsi], 0
mov ecx, 6
call sub.msvcp140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x7ff7ec5bf190
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 [0x7ff7ec871060]
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 [0x7ff7ec870d28], eax
jg 0x7ff7ec5bf27f
mov r10, qword [0x7ff7ec870d20]
test r10, r10
je 0x7ff7ec5bf217
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 0x7ff7ec5bf227
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 - 0x6d]
xor byte [rsp + rax + 0x40], dl
inc rax
cmp rax, 0xf
jb 0x7ff7ec5bf240
mov rcx, qword [0x7ff7ec870d18]
lea rdx, [rsp + 0x40]
mov byte [rsp + 0x50], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7ec870d28]
mov qword [0x7ff7ec870d20], rax
call fcn.7ff7ec61ed08
jmp 0x7ff7ec5bf1d8
lea rcx, [0x7ff7ec870d28]
call fcn.7ff7ec61ed68
cmp dword [0x7ff7ec870d28], 0xffffffff
jne 0x7ff7ec5bf1d8
movdqa xmm0, xmmword [0x7ff7ec6bc370]
xor eax, eax
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x50], 1
jmp 0x7ff7ec5bf240

Function at 0x7ff7ec5bf2b0
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 [0x7ff7ec871060]
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 [0x7ff7ec870d38], eax
jg 0x7ff7ec5bf3cf
mov r10, qword [0x7ff7ec870d30]
test r10, r10
je 0x7ff7ec5bf35e
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 0x7ff7ec5bf36e
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 - 0x6d]
xor byte [rsp + rax + 0x50], dl
inc rax
cmp rax, 0x12
jb 0x7ff7ec5bf390
mov rcx, qword [0x7ff7ec870d18]
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x63], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7ec870d38]
mov qword [0x7ff7ec870d30], rax
call fcn.7ff7ec61ed08
jmp 0x7ff7ec5bf2f9
lea rcx, [0x7ff7ec870d38]
call fcn.7ff7ec61ed68
cmp dword [0x7ff7ec870d38], 0xffffffff
jne 0x7ff7ec5bf2f9
movdqa xmm0, xmmword [0x7ff7ec6bc380]
xor eax, eax
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x100cacc
jmp 0x7ff7ec5bf390
Function at 0x7ff7ec5bf410
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 [0x7ff7ec871060]
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 [0x7ff7ec870d48], eax
jg 0x7ff7ec5bf4ef
mov r10, qword [0x7ff7ec870d40]
test r10, r10
je 0x7ff7ec5bf483
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 0x7ff7ec5bf493
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 - 0x6d]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x16
jb 0x7ff7ec5bf4b0
mov rcx, qword [0x7ff7ec870d18]
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x47], 0
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff7ec870d48]
mov qword [0x7ff7ec870d40], rax
call fcn.7ff7ec61ed08
jmp 0x7ff7ec5bf459
lea rcx, [0x7ff7ec870d48]
call fcn.7ff7ec61ed68
cmp dword [0x7ff7ec870d48], 0xffffffff
jne 0x7ff7ec5bf459
movdqa xmm0, xmmword [0x7ff7ec6bc390]
xor eax, eax
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xc9c8c1ee
mov dword [rsp + 0x44], 0x100d1d5
jmp 0x7ff7ec5bf4b0
Function at 0x7ff7ec5bf6d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
test rcx, rcx
je 0x7ff7ec5bf874
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7ec5bf874
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x7ff7ec5bf874
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x7ff7ec5bf874
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 0x7ff7ec5bf862
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 0x7ff7ec5bf83e
mov qword [rdx], rax
add qword [rbx + 0xa8], 8
jmp 0x7ff7ec5bf84f
lea r8, [rsp + 0x30]
lea rcx, [rbx + 0xa0]
call fcn.7ff7ec5bf530
mov rax, qword [rbx + 0x10]
inc edi
movzx ecx, word [rax + 2]
cmp edi, ecx
jl 0x7ff7ec5bf811
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 0x7ff7ec5bf8f0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x7ff7ec5bf91d
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x7ff7ec5bf91d
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x7ff7ec5bf91d
mov edx, 0x20b
cmp word [rax + rcx + 0x18], dx
jne 0x7ff7ec5bf91d
mov eax, dword [rax + rcx + 0x50]
ret
xor eax, eax
ret
Function at 0x7ff7ec5bfeb0
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.7ff7ec5bf6d0
test al, al
je 0x7ff7ec5c0077
mov dword [rbp + 0x70], 0xeff3e1ba
mov word [rbp + 0x74], 0xec
mov byte [rbp + 0x76], 1
mov eax, r15d
nop dword [rax]
lea ecx, [rax - 0x6c]
xor byte [rbp + rax + 0x70], cl
inc rax
cmp rax, 5
jb 0x7ff7ec5bff00
mov byte [rbp + 0x76], 0
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.7ff7ec5bf880
mov rsi, rax
mov dword [rbp + 0x78], 0xf6f2e7ba
mov dword [rbp + 0x7c], 0x100f8ec
mov rdx, r15
nop word [rax + rax]
lea ecx, [rdx - 0x6c]
xor byte [rbp + rdx + 0x78], cl
inc rdx
cmp rdx, 6
jb 0x7ff7ec5bff40
mov byte [rbp + 0x7f], 0
lea rdx, [rbp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.7ff7ec5bf880
mov r14, rax
test rsi, rsi
je 0x7ff7ec5c0077
cmp rsi, rax
jae 0x7ff7ec5c0077
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.7ff7ec5bf410
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.7ff7ec5bf410
add rdi, 4
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x7ff7ec5bffe0
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x7ff7ec5c00b8
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5c00b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5c00b3
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7ec61e988
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret