joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180010f10
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180010f60
lea r11, [0x180059dc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180010f43
cmp byte [r8], r9b
jne 0x180010f43
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180010f30
mov rcx, qword [0x18006c078]
not eax
movsxd rdx, dword [rcx + 0x3eb8]
mov r9, qword [rcx + 0x3ec0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180010fc1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180010fb9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180010fbc
mov rdx, r8
test rdx, rdx
jne 0x180010f90
cmp r9, r10
je 0x180010fd0
cmp dword [r9], eax
jne 0x180010fd0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x18001c740
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5410], 0
lea rbx, [rcx + 0x5418]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001c7e7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18001c79a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180006660
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180009e80
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5410]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5420]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x18006be55]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18001c7ef
mov rcx, rbx
call fcn.180009e80
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18001cd60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18006c078]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18001cdc3
mov qword [rsp], rbx
lea rbx, [0x180059dc0]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cda3
cmp byte [r8], r9b
jne 0x18001cda3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x18001cd90
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53c0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18001cdf7
mov r10, qword [r10 + 0x53c8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18001cdfe
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18001cde4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180042eb0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x18006c1d6], 0
je 0x180042f8e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rdi
call fcn.18004e6c0
mov rcx, qword [0x18006be70]
lea rdx, str.com_craftrise_client_S
mov rdi, rax
mov r8, qword [rcx]
call qword [r8 + 0x30]
mov rcx, qword [0x18006be70]
lea r9, str.__Lcom_craftrise_client_fa_
lea r8, [0x1800604bc]
mov qword [0x18006c338], rax
mov rdx, qword [rcx]
mov r10, qword [rdx + 0x108]
mov rdx, rax
call r10
mov rbx, rax
call fcn.18004e6c0
mov rcx, qword [0x18006be70]
mov r8, rbx
mov rdx, rax
call fcn.1800404a0
mov rbx, qword [rsp + 0x40]
test rdi, rdi
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
je 0x180042f8e
cmp byte [0x18006c1cd], 0
je 0x180042f79
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8001
test cx, ax
je 0x180042f79
movss xmm1, dword [0x18006b4f4]
jmp 0x180042f81
movss xmm1, dword [0x18006b4e8]
cvtps2pd xmm1, xmm1
lea rcx, [rsp + 0x20]
call fcn.18004e150
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x38
ret
Function at 0x18004d070
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18004d098
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18004d0be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18004d0c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18004d119
test ecx, ecx
jle 0x18004d0f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18004d119
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18004d119
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x18004d140
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18004d162
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x18004d178
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18004d194
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18004d196
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18004d1d2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18004d26e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18004d20d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18004d24e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18004d26e
cmp rbx, rax
ja 0x18004d220
test rbx, rbx
je 0x18004d26e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x18004d6d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004d6fd
xor eax, eax
jmp 0x18004d869
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x18004d737
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x18004d737
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x18004d869
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18004d85c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18004d77a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18004d7a5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18004d861
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18004d814
sub eax, 1
je 0x18004d814
cmp eax, 2
jne 0x18004d85c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18004d861
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18004d842
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18004d85c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x18004d861
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800546f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18004dca0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18004dd73
cmp byte [rcx + 0x71], 0
je 0x18004dd73
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18004dd6f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18004dd34
sub eax, 1
je 0x18004dd38
cmp eax, 2
jne 0x18004dd6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18004dd66
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18004dd6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18004dd1c
xor al, al
jmp 0x18004dd1c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x60
pop rbx
ret

Function at 0x1800501c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x180050208
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x180050228
jmp 0x1800502c5
cmp dword [rsp + 0x68], 0x1000
jne 0x18005024d
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x18005024d
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x18005024f
jmp 0x1800501f3
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180050285
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180050285
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x18005028a
jmp 0x1800501f3
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x1800501f3
mov rax, qword [rsp + 0x20]
jmp 0x1800502c7
xor eax, eax
add rsp, 0x88
ret
Function at 0x180051ad0
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800518c0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051ba7
mov dword [rsp + 0x20], 0
jmp 0x180051b44
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051ba7
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051ba5
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800516a0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051b3a
add rsp, 0x30
pop rdi
ret

Function at 0x180051bc0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180051c64
mov dword [rsp + 0x20], 0
jmp 0x180051bfd
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180051c4d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180051c4b
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180051bf3
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x18006b808]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180051c70
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x18006dd90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180051cf4
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180051d1d
mov eax, 0xa
jmp 0x180051e57
cmp dword [rsp + 0x88], 0
je 0x180051d8b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180051d89
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180051dd7
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180051dbb
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180051dd7
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180058e70]
call fcn.1800552a8
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x180053340
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800533ae
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800533ae
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800533ae
xor eax, eax
jmp 0x1800533f5
mov dword [rsp], 1
jmp 0x1800533bf
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800533f0
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800533ee
xor eax, eax
jmp 0x1800533f5
jmp 0x1800533b7
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1400015b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xe0
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.1400051e0
mov eax, 5
xor r9d, r9d
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rax
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
add rsp, 0xe0
pop rbx
ret
Function at 0x140001b70
Capabilities:
Create process on windows
Delete file
Get common file path
Get startup folder
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2f20
call fcn.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x2f10], rax
movups xmm0, xmmword [str.CMD__C_DEL__F__S__Q__]
movups xmm1, xmmword [0x140013850]
mov eax, dword [0x140013868]
lea rcx, [rsp + 0x5c]
xor edx, edx
mov r8d, 0xf74
mov dword [rsp + 0x58], eax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x140013860]
movsd qword [rsp + 0x50], xmm0
call fcn.1400051e0
lea rcx, [rsp + 0x1f72]
xor ebx, ebx
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0x1f70], bx
call fcn.1400051e0
lea rcx, [rsp + 0xfd2]
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0xfd0], bx
call fcn.1400051e0
lea r8d, [rbx + 7]
lea rdx, [rsp + 0x1f70]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x1f70]
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x140001c50
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rax, qword [str..__]
lea r9, [rsp + 0x30]
mov qword [rdi - 2], rax
mov eax, dword [0x140013838]
lea r8, [0x140013828]
mov dword [rdi + 6], eax
movzx eax, word [0x14001383c]
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov word [rdi + 0xa], ax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor r9d, r9d
lea rdx, [rsp + 0xfd0]
lea r8d, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfd0]
mov edx, 0x80
repne scasw ax, word [rdi]
mov rax, qword [str.CSIDL_]
lea rcx, [rsp + 0xfd0]
mov qword [rdi - 2], rax
mov rax, qword [0x140013810]
mov qword [rdi + 6], rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xfd0]
mov edx, 0x80
repne scasw ax, word [rdi]
mov eax, dword [0x140013800]
lea rcx, [rsp + 0xfd0]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x2f10]
xor rcx, rsp
call fcn.140004e00
mov rbx, qword [rsp + 0x2f30]
add rsp, 0x2f20
pop rdi
ret
Function at 0x140001d70
Capabilities:
Create process on windows
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1f80
call fcn.1400055a0
sub rsp, rax
mov rax, qword [0x14001a0c0]
xor rax, rsp
mov qword [rsp + 0x1f70], rax
movups xmm0, xmmword [str.CMD__C_DEL__F__S__Q__]
movups xmm1, xmmword [0x140013850]
mov eax, dword [0x140013868]
lea rcx, [rsp + 0x5c]
xor edx, edx
mov r8d, 0xf74
mov dword [rsp + 0x58], eax
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x140013860]
movsd qword [rsp + 0x50], xmm0
call fcn.1400051e0
lea rcx, [rsp + 0xfd2]
xor ebx, ebx
xor edx, edx
mov r8d, 0xf9e
mov word [rsp + 0xfd0], bx
call fcn.1400051e0
lea r8d, [rbx + 0x18]
lea rdx, [rsp + 0xfd0]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
lea r8, [rsp + 0xfd0]
repne scasw ax, word [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x140001e30
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
mov rax, qword [str..__]
lea r9, [rsp + 0x30]
mov qword [rdi - 2], rax
mov eax, dword [0x140013838]
lea r8, [0x140013828]
mov dword [rdi + 6], eax
movzx eax, word [0x14001383c]
lea rdx, str.open
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov word [rdi + 0xa], ax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x1f70]
xor rcx, rsp
call fcn.140004e00
mov rbx, qword [rsp + 0x1f90]
add rsp, 0x1f80
pop rdi
ret