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

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rax, r8
mov rcx, rdx
lea rbx, [rsi + 0x800]
mov r9, rsi
mov qword [rsi], 0
mov qword [rsi + 8], 0
mov edx, 0x10
mov r8, rbx
call rax
mov r8, rbx
mov r11d, 7
mov r9d, 0x40
jmp 0x5f307e
lea r8d, [r9 + r9]
shl r8, 4
add r8, rsi
mov edx, dword [r8 + 0xc]
mov ebx, dword [r8 + 8]
mov ecx, r9d
shl rcx, 4
add rcx, rsi
mov eax, edx
mov r10d, edx
and eax, 0x10101
and r10d, 0xfefefefe
shr r10d, 1
shl eax, 0xf
or eax, r10d
mov r10d, ebx
shr r10d, 0x11
and r10d, 0x80
or eax, r10d
mov dword [rcx + 0xc], eax
mov eax, ebx
mov r10d, dword [r8 + 4]
and eax, 0x10101
and ebx, 0xfefefefe
shr ebx, 1
shl eax, 0xf
or eax, ebx
mov ebx, r10d
shr ebx, 0x11
and ebx, 0x80
or eax, ebx
mov dword [rcx + 8], eax
mov eax, r10d
mov r8d, dword [r8]
and eax, 0x10101
and r10d, 0xfefefefe
shr r10d, 1
shl eax, 0xf
or eax, r10d
mov r10d, r8d
shr r10d, 0x11
and r10d, 0x80
or eax, r10d
mov dword [rcx + 4], eax
mov eax, edx
mov edx, r8d
shl eax, 7
and edx, 0x10101
and r8d, 0xfefefefe
sar eax, 0x1f
shl edx, 0xf
shr r8d, 1
and eax, 0xe1
or edx, r8d
shr r9d, 1
xor eax, edx
sub r11d, 1
mov dword [rcx], eax
jne 0x5f3073
mov ecx, 7
mov ebx, 2
nop word [rax + rax]
mov r10d, ebx
mov rax, rsi
mov r8d, 1
shl r10, 4
add r10, rsi
mov r11d, dword [rax + 0x10]
lea edx, [r8 + rbx]
xor r11d, dword [r10]
add r8d, 1
add rax, 0x10
shl rdx, 4
add rdx, rsi
mov dword [rdx], r11d
mov r11d, dword [rax + 4]
xor r11d, dword [r10 + 4]
mov dword [rdx + 4], r11d
mov r11d, dword [rax + 8]
xor r11d, dword [r10 + 8]
mov dword [rdx + 8], r11d
mov r11d, dword [rax + 0xc]
xor r11d, dword [r10 + 0xc]
cmp r8d, ebx
mov dword [rdx + 0xc], r11d
jb 0x5f3173
add ebx, ebx
sub ecx, 1
jne 0x5f3160
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x5f7140
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
movdqu xmmword [rsp], xmm6
movdqu xmmword [rsp + 0x10], xmm7
movdqu xmmword [rsp + 0x20], xmm8
push rdi
mov rdi, rcx
push rsi
mov rsi, rdx
mov rdx, r8
mov eax, 0xffffffff
movd xmm6, eax
pshufd xmm8, xmm6, 9
pshufd xmm7, xmm6, 0x41
pshufd xmm6, xmm6, 0x22
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movaps xmm4, xmm0
pxor xmm0, xmm1
pand xmm0, xmm6
pxor xmm1, xmm0
pxor xmm0, xmm4
movaps xmm4, xmm2
pxor xmm2, xmm3
pand xmm2, xmm6
pxor xmm3, xmm2
pxor xmm2, xmm4
movaps xmm4, xmm1
pxor xmm1, xmm3
pand xmm1, xmm7
pxor xmm3, xmm1
pxor xmm1, xmm4
movaps xmm4, xmm0
pxor xmm0, xmm2
pand xmm0, xmm8
pxor xmm2, xmm0
pxor xmm0, xmm4
shr edx, 1
nop dword [rax + rax]
movaps xmm4, xmm3
paddd xmm4, xmm0
movaps xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm1, xmm4
pxor xmm1, xmm5
movaps xmm4, xmm0
paddd xmm4, xmm1
movaps xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
pxor xmm2, xmm5
movaps xmm4, xmm1
paddd xmm4, xmm2
movaps xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm3, xmm4
pxor xmm3, xmm5
movaps xmm4, xmm2
paddd xmm4, xmm3
movaps xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
pxor xmm0, xmm5
pshufd xmm1, xmm1, 0x93
pshufd xmm2, xmm2, 0x4e
pshufd xmm3, xmm3, 0x39
movaps xmm4, xmm1
paddd xmm4, xmm0
movaps xmm5, xmm4
pslld xmm4, 7
psrld xmm5, 0x19
pxor xmm3, xmm4
pxor xmm3, xmm5
movaps xmm4, xmm0
paddd xmm4, xmm3
movaps xmm5, xmm4
pslld xmm4, 9
psrld xmm5, 0x17
pxor xmm2, xmm4
pxor xmm2, xmm5
movaps xmm4, xmm3
paddd xmm4, xmm2
movaps xmm5, xmm4
pslld xmm4, 0xd
psrld xmm5, 0x13
pxor xmm1, xmm4
pxor xmm1, xmm5
movaps xmm4, xmm2
paddd xmm4, xmm1
movaps xmm5, xmm4
pslld xmm4, 0x12
psrld xmm5, 0xe
pxor xmm0, xmm4
pxor xmm0, xmm5
pshufd xmm1, xmm1, 0x39
pshufd xmm2, xmm2, 0x4e
pshufd xmm3, xmm3, 0x93
dec edx
jne 0x5f71e0
movaps xmm4, xmm0
pxor xmm0, xmm2
pand xmm0, xmm8
pxor xmm2, xmm0
pxor xmm0, xmm4
movaps xmm4, xmm1
pxor xmm1, xmm3
pand xmm1, xmm7
pxor xmm3, xmm1
pxor xmm1, xmm4
movaps xmm4, xmm0
pxor xmm0, xmm1
pand xmm0, xmm6
pxor xmm1, xmm0
pxor xmm0, xmm4
movaps xmm4, xmm2
pxor xmm2, xmm3
pand xmm2, xmm6
pxor xmm3, xmm2
pxor xmm2, xmm4
movups xmm4, xmmword [rsi]
movups xmm5, xmmword [rsi + 0x10]
paddd xmm0, xmm4
paddd xmm1, xmm5
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
movups xmm4, xmmword [rsi + 0x20]
movups xmm5, xmmword [rsi + 0x30]
paddd xmm2, xmm4
paddd xmm3, xmm5
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x30], xmm3
pop rsi
pop rdi
movdqu xmm8, xmmword [rsp + 0x20]
movdqu xmm7, xmmword [rsp + 0x10]
movdqu xmm6, xmmword [rsp]
add rsp, 0x38
ret
Function at 0x5f7380
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov rdi, rcx
push rsi
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x38]
test edx, edx
je 0x5f761a
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r9, rcx
mov r13d, edx
shr r13d, 4
mov r14, rdi
mov eax, dword [r8]
mov ebx, dword [r8 + 4]
mov ecx, dword [r8 + 8]
mov edx, dword [r8 + 0xc]
xor eax, dword [r14]
xor ebx, dword [r14 + 4]
xor ecx, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
add r8, 0x10
mov r15d, dword [rdi + 0xf0]
sub r15d, 1
add r14, 0x10
nop word cs:[rax + rax]
movzx rbp, al
mov r10d, dword [rsi + rbp*4 + 0x100]
movzx ebp, bh
xor r10d, dword [rsi + rbp*4 + 0x500]
mov ebp, ecx
shr rbp, 0x10
and rbp, 0xff
xor r10d, dword [rsi + rbp*4 + 0x900]
mov ebp, edx
shr rbp, 0x18
xor r10d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, bl
mov r11d, dword [rsi + rbp*4 + 0x100]
movzx ebp, ch
xor r11d, dword [rsi + rbp*4 + 0x500]
mov ebp, edx
shr rbp, 0x10
and rbp, 0xff
xor r11d, dword [rsi + rbp*4 + 0x900]
mov ebp, eax
shr rbp, 0x18
xor r11d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, cl
mov r12d, dword [rsi + rbp*4 + 0x100]
movzx ebp, dh
xor r12d, dword [rsi + rbp*4 + 0x500]
mov ebp, eax
shr rbp, 0x10
and rbp, 0xff
xor r12d, dword [rsi + rbp*4 + 0x900]
mov ebp, ebx
shr rbp, 0x18
xor r12d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, dl
mov edx, dword [rsi + rbp*4 + 0x100]
movzx ebp, ah
xor edx, dword [rsi + rbp*4 + 0x500]
mov ebp, ebx
shr rbp, 0x10
and rbp, 0xff
xor edx, dword [rsi + rbp*4 + 0x900]
mov ebp, ecx
shr rbp, 0x18
xor edx, dword [rsi + rbp*4 + 0xd00]
mov eax, r10d
mov ebx, r11d
mov ecx, r12d
xor eax, dword [r14]
xor ebx, dword [r14 + 4]
xor ecx, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
add r14, 0x10
dec r15d
jne 0x5f73f0
movzx rbp, al
movzx r10d, byte [rsi + rbp]
mov ebp, ebx
and ebp, 0xff00
or r10d, ebp
mov ebp, ecx
and ebp, 0xff0000
or r10d, ebp
mov ebp, edx
and ebp, 0xff000000
or r10d, ebp
rol r10d, 8
movzx rbp, bl
movzx r11d, byte [rsi + rbp]
mov ebp, ecx
and ebp, 0xff00
or r11d, ebp
mov ebp, edx
and ebp, 0xff0000
or r11d, ebp
mov ebp, eax
and ebp, 0xff000000
or r11d, ebp
rol r11d, 8
movzx rbp, cl
movzx r12d, byte [rsi + rbp]
mov ebp, edx
and ebp, 0xff00
or r12d, ebp
mov ebp, eax
and ebp, 0xff0000
or r12d, ebp
mov ebp, ebx
and ebp, 0xff000000
or r12d, ebp
rol r12d, 8
movzx rbp, dl
movzx edx, byte [rsi + rbp]
mov ebp, eax
and ebp, 0xff00
or edx, ebp
mov ebp, ebx
and ebp, 0xff0000
or edx, ebp
mov ebp, ecx
and ebp, 0xff000000
or edx, ebp
rol edx, 8
mov r15d, 3
movzx rbp, r10b
mov r10b, byte [rsi + rbp]
rol r10d, 8
movzx rbp, r11b
mov r11b, byte [rsi + rbp]
rol r11d, 8
movzx rbp, r12b
mov r12b, byte [rsi + rbp]
rol r12d, 8
movzx rbp, dl
mov dl, byte [rsi + rbp]
rol edx, 8
dec r15d
jne 0x5f75b2
xor r10d, dword [r14]
xor r11d, dword [r14 + 4]
xor r12d, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
mov dword [r9], r10d
mov dword [r9 + 4], r11d
mov dword [r9 + 8], r12d
mov dword [r9 + 0xc], edx
add r9, 0x10
dec r13d
jne 0x5f73af
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
pop rsi
pop rdi
ret
Function at 0x5f7620
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov rdi, rcx
push rsi
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x38]
test edx, edx
je 0x5f78ba
push rbx
push rbp
push r12
push r13
push r14
push r15
mov r9, rcx
mov r13d, edx
shr r13d, 4
mov r14, rdi
mov eax, dword [r8]
mov ebx, dword [r8 + 4]
mov ecx, dword [r8 + 8]
mov edx, dword [r8 + 0xc]
xor eax, dword [r14]
xor ebx, dword [r14 + 4]
xor ecx, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
add r8, 0x10
mov r15d, dword [rdi + 0xf0]
sub r15d, 1
add r14, 0x10
nop word cs:[rax + rax]
movzx rbp, al
mov r10d, dword [rsi + rbp*4 + 0x100]
movzx ebp, dh
xor r10d, dword [rsi + rbp*4 + 0x500]
mov ebp, ecx
shr rbp, 0x10
and rbp, 0xff
xor r10d, dword [rsi + rbp*4 + 0x900]
mov ebp, ebx
shr rbp, 0x18
xor r10d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, bl
mov r11d, dword [rsi + rbp*4 + 0x100]
movzx ebp, ah
xor r11d, dword [rsi + rbp*4 + 0x500]
mov ebp, edx
shr rbp, 0x10
and rbp, 0xff
xor r11d, dword [rsi + rbp*4 + 0x900]
mov ebp, ecx
shr rbp, 0x18
xor r11d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, cl
mov r12d, dword [rsi + rbp*4 + 0x100]
movzx ebp, bh
xor r12d, dword [rsi + rbp*4 + 0x500]
mov ebp, eax
shr rbp, 0x10
and rbp, 0xff
xor r12d, dword [rsi + rbp*4 + 0x900]
mov ebp, edx
shr rbp, 0x18
xor r12d, dword [rsi + rbp*4 + 0xd00]
movzx rbp, dl
mov edx, dword [rsi + rbp*4 + 0x100]
movzx ebp, ch
xor edx, dword [rsi + rbp*4 + 0x500]
mov ebp, ebx
shr rbp, 0x10
and rbp, 0xff
xor edx, dword [rsi + rbp*4 + 0x900]
mov ebp, eax
shr rbp, 0x18
xor edx, dword [rsi + rbp*4 + 0xd00]
mov eax, r10d
mov ebx, r11d
mov ecx, r12d
xor eax, dword [r14]
xor ebx, dword [r14 + 4]
xor ecx, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
add r14, 0x10
dec r15d
jne 0x5f7690
movzx rbp, al
movzx r10d, byte [rsi + rbp]
mov ebp, edx
and ebp, 0xff00
or r10d, ebp
mov ebp, ecx
and ebp, 0xff0000
or r10d, ebp
mov ebp, ebx
and ebp, 0xff000000
or r10d, ebp
rol r10d, 8
movzx rbp, bl
movzx r11d, byte [rsi + rbp]
mov ebp, eax
and ebp, 0xff00
or r11d, ebp
mov ebp, edx
and ebp, 0xff0000
or r11d, ebp
mov ebp, ecx
and ebp, 0xff000000
or r11d, ebp
rol r11d, 8
movzx rbp, cl
movzx r12d, byte [rsi + rbp]
mov ebp, ebx
and ebp, 0xff00
or r12d, ebp
mov ebp, eax
and ebp, 0xff0000
or r12d, ebp
mov ebp, edx
and ebp, 0xff000000
or r12d, ebp
rol r12d, 8
movzx rbp, dl
movzx edx, byte [rsi + rbp]
mov ebp, ecx
and ebp, 0xff00
or edx, ebp
mov ebp, ebx
and ebp, 0xff0000
or edx, ebp
mov ebp, eax
and ebp, 0xff000000
or edx, ebp
rol edx, 8
mov r15d, 3
movzx rbp, r10b
mov r10b, byte [rsi + rbp]
rol r10d, 8
movzx rbp, r11b
mov r11b, byte [rsi + rbp]
rol r11d, 8
movzx rbp, r12b
mov r12b, byte [rsi + rbp]
rol r12d, 8
movzx rbp, dl
mov dl, byte [rsi + rbp]
rol edx, 8
dec r15d
jne 0x5f7852
xor r10d, dword [r14]
xor r11d, dword [r14 + 4]
xor r12d, dword [r14 + 8]
xor edx, dword [r14 + 0xc]
mov dword [r9], r10d
mov dword [r9 + 4], r11d
mov dword [r9 + 8], r12d
mov dword [r9 + 0xc], edx
add r9, 0x10
dec r13d
jne 0x5f764f
pop r15
pop r14
pop r13
pop r12
pop rbp
pop rbx
pop rsi
pop rdi
ret
Function at 0x5fc480
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, r8
movsxd rdx, edx
mov r8d, 1
call sub.msvcrt.dll_fwrite
cmp rax, 1
setne al
movzx eax, al
neg eax
add rsp, 0x28
ret

Function at 0x6010a0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x0065a9b0], eax
je 0x6010ba
add rsp, 0x28
ret
call sub.msvcrt.dll_abort
nop

Function at 0x601610
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
cmp dword [0x007f0a18], 1
je 0x601626
call fcn.00601580
mov ecx, dword [0x0065a9b0]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x601650
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
ret
call fcn.006014c0
cmp qword [0x007f6050], 0
mov rsi, rax
je 0x60163a
test rax, rax
je 0x60163a
mov dword [rax + 0x44], 1
call qword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
mov dword [rsi + 0x70], eax
call qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov qword [rsi + 0x30], rax
movabs rax, 0x1feedbab1
mov rbx, qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov qword [rsi + 0x38], 0xffffffffffffffff
mov qword [rsi + 0x60], 0
mov qword [rsi + 0x68], rax
mov dword [rsi + 0xb8], 0
mov qword [rsi + 0x28], 0
call rbx
mov rbp, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov rdi, rax
call rbx
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
lea r9, [rsi + 0x28]
mov dword [rsp + 0x20], 0
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_DuplicateHandle]
test eax, eax
je 0x601746
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.DLL_GetThreadPriority]
mov dword [rsi + 0xc0], eax
movzx eax, byte [rsi + 0x40]
mov rdx, rsi
mov dword [rsi + 0xbc], 0
mov ecx, dword [0x0065a9b0]
and eax, 0xffffffcf
or eax, 0x10
mov byte [rsi + 0x40], al
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
test eax, eax
je 0x601746
mov rbx, rsi
jmp 0x60163a
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x602c80
Capabilities:
Create thread
Resume thread

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
xor r15d, r15d
movabs r14, 0x1feedbab1
mov r12, rcx
mov rdi, rdx
mov rbx, r8
mov rsi, r9
call fcn.006014c0
test rax, rax
mov rbp, rax
je 0x602e43
test r12, r12
je 0x602cca
mov rax, qword [rax + 0x1d8]
mov qword [r12], rax
mov qword [rbp + 8], rsi
mov r13, qword [sym.imp.KERNEL32.DLL_Sleep]
mov rsi, qword [sym.imp.KERNEL32.DLL_CreateEventA]
mov qword [rbp + 0x10], rbx
mov ebx, 1
mov dword [rbp + 0xbc], 0
mov dword [rbp + 0x44], 1
mov qword [rbp + 0x28], 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov edx, 1
call rsi
test rax, rax
mov qword [rbp + 0x30], rax
jne 0x602ee0
cmp ebx, 1
je 0x602d31
mov ecx, 0x14
call r13
cmp ebx, 5
je 0x602d40
add ebx, 1
jmp 0x602cfe
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x602d2c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov dword [rbp], 0xbab1f00d
mov dword [rbp + 0xc0], 0
test rax, rax
mov dword [rbp + 0xb8], 0
je 0x602e28
test rdi, rdi
je 0x602f20
mov eax, dword [rdi]
mov rbx, qword [rdi + 0x10]
test al, 8
mov dword [rbp + 0x44], eax
jne 0x602eb3
mov eax, dword [rdi + 0x18]
mov edx, ebx
mov dword [rbp + 0xc0], eax
mfence
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rbp
lea r8, [0x00601a40]
call qword [sym.imp.msvcrt.dll__beginthreadex]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x602e00
test rax, rax
je 0x602e00
mov edx, dword [rbp + 0xc0]
cmp edx, 0xfffffff2
jl 0x602e60
cmp edx, 0xffffffff
jl 0x602ed0
cmp edx, 0xe
jg 0x602f10
cmp edx, 2
mov eax, 2
cmovge edx, eax
jmp 0x602e65
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x602e0f
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea rcx, [rbp + 0x38]
call fcn.00600d90
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov qword [rbp + 0x30], 0
test r12, r12
je 0x602e35
mov qword [r12], 0
cmp qword [rbp + 0x1d0], 0
je 0x602f27
mov eax, 0xb
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0xfffffff1
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
test byte [rbp + 0x44], 4
je 0x602ea4
mov rcx, rbx
mov qword [rbp + 0x28], 0
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_Sleep]
xor eax, eax
jmp 0x602e48
mov qword [rbp + 0x28], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
jmp 0x602e98
call fcn.00601610
mov eax, dword [rax + 0xc0]
mov edx, ebx
mov dword [rbp + 0xc0], eax
jmp 0x602d9d
mov edx, 0xfffffffe
jmp 0x602e65
mov qword [rbp + 0x38], 0xffffffffffffffff
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r14
mov dword [rbp], 0xbab1f00d
mov dword [rbp + 0xc0], 0
mov dword [rbp + 0xb8], 0
jmp 0x602d78
mov edx, 0xf
jmp 0x602e65
xor edx, edx
jmp 0x602d9d
mov rcx, rbp
call fcn.006012f0
nop
jmp 0x602e43
Function at 0x608530
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [rcx + 0x60]
mov rsi, rdx
mov rbx, rcx
and eax, 0x3f
lea edx, [rax + 1]
mov ecx, eax
mov byte [rbx + rcx], pe_nt_image_headers64
cmp edx, 0x38
lea rcx, [rbx + rdx]
jbe 0x608660
mov r8d, 0x3f
lea rbp, [rbx + 0x40]
xor edx, edx
sub r8d, eax
mov rdi, rbx
call sub.msvcrt.dll_memset
mov rdx, rbp
mov rcx, rbx
call fcn.00605600
test bl, 1
mov edx, 0x38
jne 0x6086e0
test dil, 2
jne 0x6086f0
test dil, 4
jne 0x6086c5
mov ecx, edx
xor eax, eax
shr ecx, 3
test dl, 4
rep stosq qword [rdi], rax
jne 0x6086b0
test dl, 2
jne 0x608690
and edx, 1
jne 0x608680
mov rax, qword [rbx + 0x60]
shl rax, 3
bswap rax
mov qword [rbx + 0x38], rax
mov rdx, rbp
mov rcx, rbx
call fcn.00605600
mov eax, dword [rbx + 0x40]
bswap eax
mov dword [rsi], eax
mov eax, dword [rbx + 0x44]
bswap eax
mov dword [rsi + 4], eax
mov eax, dword [rbx + 0x48]
bswap eax
mov dword [rsi + 8], eax
mov eax, dword [rbx + 0x4c]
bswap eax
mov dword [rsi + 0xc], eax
mov eax, dword [rbx + 0x50]
bswap eax
mov dword [rsi + 0x10], eax
mov eax, dword [rbx + 0x54]
bswap eax
mov dword [rsi + 0x14], eax
mov eax, dword [rbx + 0x58]
bswap eax
mov dword [rsi + 0x18], eax
mov eax, dword [rbx + 0x5c]
bswap eax
mov dword [rsi + 0x1c], eax
mov rax, qword [0x007ba180]
mov qword [rbp], rax
mov rax, qword [0x007ba188]
mov qword [rbp + 8], rax
mov rax, qword [0x007ba190]
mov qword [rbp + 0x10], rax
mov rax, qword [0x007ba198]
mov qword [rbp + 0x18], rax
mov qword [rbx + 0x60], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r8d, 0x37
xor edx, edx
lea rbp, [rbx + 0x40]
sub r8d, eax
call sub.msvcrt.dll_memset
jmp 0x6085c3
mov byte [rdi], 0
jmp 0x6085c3
xor r10d, r10d
add rdi, 2
mov word [rdi - 2], r10w
and edx, 1
je 0x6085c3
jmp 0x608680
mov dword [rdi], 0
add rdi, 4
test dl, 2
je 0x6085ba
jmp 0x608690
mov dword [rdi], 0
sub edx, 4
add rdi, 4
jmp 0x60859e
mov byte [rbx], 0
lea rdi, [rbx + 1]
mov dl, 0x37
jmp 0x60858a
xor r11d, r11d
add rdi, 2
sub edx, 2
mov word [rdi - 2], r11w
jmp 0x608594
Function at 0x60c040
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov eax, dword [rcx + 0xc0]
mov rbp, rdx
mov rbx, rcx
and eax, 0x7f
lea edx, [rax + 1]
mov ecx, eax
mov byte [rbx + rcx], pe_nt_image_headers64
cmp edx, 0x70
lea rcx, [rbx + rdx]
jbe 0x60c1f0
mov r8d, 0x7f
lea rsi, [rbx + 0x80]
xor edx, edx
sub r8d, eax
mov rdi, rbx
call sub.msvcrt.dll_memset
mov rdx, rsi
mov rcx, rbx
call fcn.0060b230
test bl, 1
mov edx, 0x70
jne 0x60c270
test dil, 2
jne 0x60c280
test dil, 4
jne 0x60c255
mov ecx, edx
xor eax, eax
shr ecx, 3
test dl, 4
rep stosq qword [rdi], rax
jne 0x60c240
test dl, 2
jne 0x60c220
and edx, 1
jne 0x60c210
nop dword [rax]
mov rax, qword [rbx + 0xc0]
mov rdx, rax
shr rdx, 0x3d
bswap rdx
mov qword [rbx + 0x70], rdx
shl rax, 3
bswap rax
mov qword [rbx + 0x78], rax
mov rdx, rsi
mov rcx, rbx
call fcn.0060b230
mov rax, qword [rbx + 0x80]
bswap rax
mov qword [rbp], rax
mov rax, qword [rbx + 0x88]
bswap rax
mov qword [rbp + 8], rax
mov rax, qword [rbx + 0x90]
bswap rax
mov qword [rbp + 0x10], rax
mov rax, qword [rbx + 0x98]
bswap rax
mov qword [rbp + 0x18], rax
mov rax, qword [rbx + 0xa0]
bswap rax
mov qword [rbp + 0x20], rax
mov rax, qword [rbx + 0xa8]
bswap rax
mov qword [rbp + 0x28], rax
mov rax, qword [rbx + 0xb0]
bswap rax
mov qword [rbp + 0x30], rax
mov rax, qword [rbx + 0xb8]
bswap rax
mov qword [rbp + 0x38], rax
mov rax, qword [0x007ba1c0]
mov qword [rsi], rax
mov rax, qword [0x007ba1c8]
mov qword [rsi + 8], rax
mov rax, qword [0x007ba1d0]
mov qword [rsi + 0x10], rax
mov rax, qword [0x007ba1d8]
mov qword [rsi + 0x18], rax
mov rax, qword [0x007ba1e0]
mov qword [rsi + 0x20], rax
mov rax, qword [0x007ba1e8]
mov qword [rsi + 0x28], rax
mov rax, qword [0x007ba1f0]
mov qword [rsi + 0x30], rax
mov rax, qword [0x007ba1f8]
mov qword [rsi + 0x38], rax
mov qword [rbx + 0xc0], 0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov r8d, 0x6f
xor edx, edx
lea rsi, [rbx + 0x80]
sub r8d, eax
call sub.msvcrt.dll_memset
jmp 0x60c0e0
mov byte [rdi], 0
jmp 0x60c0e0
xor r10d, r10d
add rdi, 2
mov word [rdi - 2], r10w
and edx, 1
je 0x60c0e0
jmp 0x60c210
mov dword [rdi], 0
add rdi, 4
test dl, 2
je 0x60c0d0
jmp 0x60c220
mov dword [rdi], 0
sub edx, 4
add rdi, 4
jmp 0x60c0b4
mov byte [rbx], 0
lea rdi, [rbx + 1]
mov dl, 0x6f
jmp 0x60c0a0
xor r11d, r11d
add rdi, 2
sub edx, 2
mov word [rdi - 2], r11w
jmp 0x60c0aa

Function at 0x61f490
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.0060cb90
Function at 0x648f90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov ecx, dword [0x007f0d74]
mov rdi, rdx
mov rbp, r8
test ecx, ecx
jle 0x649175
mov rax, qword [0x007f0d78]
xor ebx, ebx
nop
mov r9, qword [rax + 8]
cmp rsi, r9
jb 0x648fdc
mov rdx, qword [rax + 0x10]
mov edx, dword [rdx + 8]
add r9, rdx
cmp rsi, r9
jb 0x6490b0
add ebx, 1
add rax, 0x18
cmp ebx, ecx
jne 0x648fc0
mov rcx, rsi
call fcn.00649620
test rax, rax
mov r12, rax
je 0x649199
movsxd rbx, ebx
lea r13, [rsp + 0x30]
lea r14, [rbx + rbx*2]
shl r14, 3
mov rbx, r14
add rbx, qword [0x007f0d78]
mov qword [rbx + 0x10], rax
mov dword [rbx], 0
call fcn.00649760
mov edx, dword [r12 + 0xc]
mov r8d, 0x30
add rax, rdx
mov rdx, r13
mov qword [rbx + 8], rax
mov rax, qword [0x007f0d78]
mov rbx, qword [sym.imp.KERNEL32.DLL_VirtualQuery]
mov rcx, qword [rax + r14 + 8]
call rbx
test rax, rax
je 0x64917c
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x649130
add dword [0x007f0d74], 1
mov r8d, 0x30
mov rdx, r13
mov rcx, rsi
call rbx
test rax, rax
je 0x6491a8
mov eax, dword [rsp + 0x54]
cmp eax, 4
jne 0x6490c0
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sub.msvcrt.dll_memcpy
lea r13, [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.DLL_VirtualQuery]
jmp 0x64906b
cmp eax, 0x40
je 0x64908b
lea r12, [rsp + 0x2c]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rbx, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov r9, r12
call rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x54]
cmp eax, 0x40
je 0x649117
cmp eax, 4
je 0x649117
mov r9, r12
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call rbx
nop
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
cmp eax, 0x40
je 0x649064
add r14, qword [0x007f0d78]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov r9, r14
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x649064
call qword [sym.imp.KERNEL32.DLL_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.00648f30
xor ebx, ebx
jmp 0x648fe7
mov rax, qword [0x007f0d78]
mov edx, dword [r12 + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + r14 + 8]
call fcn.00648f30
lea rcx, str.Address__p_has_no_image_section
mov rdx, rsi
call fcn.00648f30
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, rsi
mov edx, 0x30
call fcn.00648f30
nop
nop dword [rax]

Function at 0x649520
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x649560
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov ecx, dword [rax + 0xc]
mov r8d, ecx
cmp r8, rdx
ja 0x649557
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x649562
add rax, 0x28
cmp rax, r9
jne 0x649544
xor eax, eax
repz ret