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

Disassembly:
movzx r9d, byte [rcx + 0x40]
lea r11, str._.C
lea r8, [rcx + r9]
movzx eax, dl
mov byte [r8 + 0x10], dl
mov r10, rcx
xor al, byte [r8]
mov byte [r8 + 0x20], al
movzx eax, byte [rcx + 0x41]
movzx edx, dl
xor rdx, rax
movzx eax, byte [r8 + 0x30]
movzx ecx, byte [rdx + r11]
xor ecx, eax
lea eax, [r9 + 1]
and eax, 0xf
mov byte [r8 + 0x30], cl
mov byte [r10 + 0x41], cl
mov byte [r10 + 0x40], al
test al, al
jne 0x180035280
xor dl, dl
xor r8b, r8b
nop word [rax + rax]
lea rax, [r10 + 1]
mov r9d, 8
nop word [rax + rax]
movzx ecx, dl
lea rax, [rax + 6]
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 7]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 7], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 6]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 6], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 5]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 5], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 4]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 4], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 3]
xor edx, ecx
movzx ecx, dl
mov byte [rax - 3], dl
movzx edx, byte [rcx + r11]
movzx ecx, byte [rax - 2]
xor edx, ecx
mov byte [rax - 2], dl
sub r9, 1
jne 0x180035200
add dl, r8b
inc r8b
cmp r8b, 0x12
jb 0x1800351f0
ret
Function at 0x180045f60
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ecx, eax
test eax, eax
jne 0x180045f7e
or eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor edx, edx
cmp rcx, rbx
cmovb ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x1800544e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x180054517
call fcn.18005b004
mov dword [rax], 0x16
call fcn.180050904
xor eax, eax
jmp 0x1800545a5
mov rdx, r9
mov rcx, r8
call fcn.18005447c
mov rbx, rax
test rax, rax
je 0x1800545a2
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1800543a8]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18005458f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18005af78
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x180054576
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180054585
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.18005f26c
jmp 0x1800545a2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18005459f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180064368
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18006437e
mov al, 1
jmp 0x1800643de
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18006438f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800643dc
mov ecx, dword [rcx + 0x18]
nop
call fcn.180058710
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800643dc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800643dc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800643dc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800643de
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x180065dc0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180065df0
xor eax, eax
jmp 0x180065eb3
mov rbp, rbx
cmp word [rax], si
je 0x180065e15
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180065dfc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180065df8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180065ce0
movsxd r14, eax
test eax, eax
jne 0x180065e53
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180065de9
mov rcx, r14
call fcn.180060058
mov rdi, rax
test rax, rax
jne 0x180065e6c
xor ecx, ecx
call fcn.18005f26c
jmp 0x180065e48
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180065ce0
test eax, eax
jne 0x180065e9d
mov rcx, rdi
call fcn.18005f26c
jmp 0x180065ea7
xor ecx, ecx
call fcn.18005f26c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180069be4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18005d614
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180069c85
cmp ebx, dword [rsp + 0x30]
je 0x180069c7e
test esi, esi
je 0x180069c7e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180069c59
sub r8w, 0x61
cmp r8w, 0x19
ja 0x180069c66
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180069c43
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x180069c6a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180069c87
mov eax, 1
jmp 0x180069c87
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x182769000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x18276900a
jmp 0x18276b00f
jmp fcn.18230f058
Function at 0x1401494b0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rdx, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QFileInfo::constructor_class_QString_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QFileInfo::absolutePath_void____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const____ptr64_]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea rdx, str.explore
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QFileInfo::destructor_void____ptr64]
movzx eax, bl
add rsp, 0x30
pop rbx
ret
Function at 0x140161e30
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x140161e6d
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.140162080
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140161f6c
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.140162080
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x140161ee0
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.140006c10
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x140161fab
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x140161fab
call fcn.14015cd10
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140161f92
mov rcx, r14
call fcn.14015cd10
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x180024200
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180024228
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180024228
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x18002a830
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
test edx, edx
je 0x18002a84d
mov eax, 1
cmp edx, eax
jne 0x18002a8a2
mov qword [0x180075668], rcx
add rsp, 0x28
ret
cmp qword [0x180060a70], 0
je 0x18002a89d
cmp qword [0x180060a78], 8
mov qword [rsp + 0x20], rbx
lea rbx, [0x180060a60]
mov rcx, rbx
cmovae rcx, qword [0x180060a60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [0x180060a78], 8
cmovae rbx, qword [0x180060a60]
xor eax, eax
mov qword [0x180060a70], rax
mov word [rbx], ax
mov rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret

Function at 0x140001f80
Capabilities:
Parse pe header

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

Disassembly:
call fcn.1408011df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140801089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14080106f
add dl, dl
jne 0x140801096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408010f6
xor eax, eax
add dl, dl
jne 0x1408010a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408011ad
add dl, dl
jne 0x1408010b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408010c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408010d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408010dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408010ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14080107e
mov eax, 1
add dl, dl
jne 0x140801106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140801113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408010fb
sub eax, ebx
mov ebx, 1
jne 0x14080114c
mov ecx, 1
add dl, dl
jne 0x14080112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14080113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140801123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140801168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140801175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14080115d
cmp eax, 0x7d00
jae 0x14080119b
cmp eax, 0x500
jb 0x140801196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080107e
cmp eax, 0x7f
ja 0x14080119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14080107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408011d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14080107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140005780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400057ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400057ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400057ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400057ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400057ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400057cc
xor al, al
add rsp, 0x28
ret
Function at 0x140007c9c
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
movdqa xmmword [rbp - 0x10], xmm7
movdqa xmmword [rbp - 0x20], xmm6
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rsi, r9
mov esi, ecx
mov rdi, r8
test rdx, rdx
mov qword [rbp - 0x38], rdx
je 0x140003b45
mov r12, rdx
js 0x140003d1b
add al, byte cs:[rax]
invalid
mov r14, rcx
movzx eax, byte [0x140106181]
mov r15d, 1
mov edx, 1
mov rcx, r12
call fcn.140005380
test rax, rax
je 0x140003d1e
mov rbx, rax
mov r15, rax
mov rcx, rbx
mov rdx, r14
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
cmp r12, 8
mov qword [rbp - 0x30], rbx
jb 0x140003c5e
cmp r12, 0x20
jae 0x140003b53
xor eax, eax
jmp 0x140003bea
mov eax, 1
mov qword [rbp - 0x30], rax
jmp 0x140003c8f
movabs rax, 0x7fffffffffffffe0
and rax, r12
xor ecx, ecx
movdqa xmm0, xmmword [0x140039f60]
movdqa xmm1, xmmword [0x140039f70]
movdqa xmm2, xmmword [0x140039f80]
nop word [rax + rax]
movdqu xmm3, xmmword [r15 + rcx]
movdqu xmm4, xmmword [r15 + rcx + 0x10]
movdqa xmm5, xmm3
paddb xmm5, xmm0
movdqa xmm6, xmm4
paddb xmm6, xmm0
movdqa xmm7, xmm5
pminub xmm7, xmm1
pcmpeqb xmm7, xmm5
pand xmm7, xmm2
movdqa xmm5, xmm6
pminub xmm5, xmm1
pcmpeqb xmm5, xmm6
pand xmm5, xmm2
pxor xmm7, xmm3
pxor xmm5, xmm4
movdqu xmmword [r15 + rcx], xmm7
movdqu xmmword [r15 + rcx + 0x10], xmm5
add rcx, 0x20
cmp rax, rcx
jne 0x140003b80
cmp rax, r12
je 0x140003c8f
test r12b, 0x18
je 0x140003c58
movabs rdx, 0x7ffffffffffffff8
and rdx, r12
lea rcx, [rbx + rdx]
movdqa xmm0, xmmword [0x140039f90]
movdqa xmm1, xmmword [0x140039fa0]
movdqa xmm2, xmmword [0x140039fb0]
nop word cs:[rax + rax]
movq xmm3, qword [r15 + rax]
movdqa xmm4, xmm3
paddb xmm4, xmm0
movdqa xmm5, xmm4
pmaxub xmm5, xmm1
pcmpeqb xmm5, xmm4
pandn xmm5, xmm2
pxor xmm5, xmm3
movq qword [r15 + rax], xmm5
add rax, 8
cmp rdx, rax
jne 0x140003c20
cmp rdx, r12
jne 0x140003c5e
jmp 0x140003c8f
add rax, rbx
mov rcx, rax
add rbx, r12
nop word cs:[rax + rax]
movzx eax, byte [rcx]
lea edx, [rax - 0x61]
cmp dl, 0x1a
setb dl
shl dl, 5
xor dl, al
mov byte [rcx], dl
lea rax, [rcx + 1]
mov rcx, rax
cmp rax, rbx
jne 0x140003c70
lea rcx, [rbp - 0x50]
mov rdx, rdi
mov r8, rsi
call fcn.140031070
mov rdi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x38]
cmp qword [rbp - 0x40], rbx
jne 0x140003ccf
mov r14, qword [rbp - 0x30]
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete sil
mov rdx, qword [rbp - 0x50]
test rdx, rdx
jne 0x140003cde
jmp 0x140003cec
xor esi, esi
mov r14, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x140003cec
mov r8d, 1
mov rcx, rdi
call fcn.140005390
test rbx, rbx
je 0x140003d02
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.140005390
mov eax, esi
movaps xmm6, xmmword [rbp - 0x20]
movaps xmm7, xmmword [rbp - 0x10]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
xor r15d, r15d
mov rcx, r15
mov rdx, r12
call fcn.140038260
int3
Function at 0x140006840
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x18], r9
mov r14, r8
mov r15, rdx
mov qword [rbp - 0x10], rcx
mov rdx, r8
add rdx, qword [rbp + 0x70]
mov rax, 0xffffffffffffffff
cmovb rdx, rax
mov r13, qword [rbp + 0x78]
add rdx, r13
cmovb rdx, rax
lea r12, [rbp - 0x38]
mov rcx, r12
call fcn.1400285b0
mov rcx, r12
mov rdx, r15
mov r8, r14
call fcn.140028630
mov dword [rbp - 4], 0
movabs rdi, 0x2d358dccaa6c78a5
movabs rsi, 0x8bb84b93962eacc9
mov ebx, 0x3e
lea r14, [rbp - 0x38]
lea r15, [rbp - 4]
jmp 0x1400068de
mov byte [rbp - 4], al
mov rcx, r14
mov rdx, r15
call fcn.140028630
sub r13, 1
jb 0x1400069e1
call fcn.140007cd0
mov r12, rax
cmp qword [rax], 0
je 0x140006910
mov r9, r12
add r9, 8
mov rcx, qword [r12 + 8]
jmp 0x14000693d
call fcn.140007cf0
mov rcx, rdx
test rax, rax
movabs rax, 0xef6f79ed30ba75a
cmove rcx, rax
mov r9, r12
add r9, 8
mov qword [r12], 1
mov qword [r12 + 8], rcx
lea r10, [rcx + rdi]
mov rax, r10
xor rax, rsi
mul r10
mov r8, rdx
xor r8, rax
mov rax, r8
mul rbx
lea rax, [r8 + r8]
shl r8, 6
sub r8, rax
cmp r8, 0xf
ja 0x1400069ab
movabs rax, 0x5a6b1b9954d8f14a
add rcx, rax
nop word cs:[rax + rax]
add r10, rdi
mov rax, rcx
xor rax, rsi
mul rcx
xor rdx, rax
mov r8, rdx
shl r8, 6
sub r8, rdx
sub r8, rdx
add rcx, rdi
cmp r8, 0x10
jb 0x140006980
mov rax, rdx
mul rbx
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789too_many_temporary_files_exist
movzx eax, byte [rdx + rax]
mov qword [r9], r10
mov r8d, 1
test al, al
jns 0x1400068d0
mov ecx, eax
shr cl, 6
or cl, 0xc0
and al, 0xbf
mov byte [rbp - 3], al
mov r8d, 2
mov eax, ecx
jmp 0x1400068d0
lea rcx, [rbp - 0x38]
mov rdx, qword [rbp - 0x18]
mov r8, qword [rbp + 0x70]
call fcn.140028630
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
mov rax, qword [rbp - 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140007030
Capabilities:
Set file attributes

Disassembly:
push rbp
push rsi
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
add rdx, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], rdx
mov word [rbp - 0x30], 0
mov dword [rbp - 0x28], 1
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x40]
call fcn.140007670
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 8], rcx
mov edx, 0x80
call qword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x1400070a6
xor esi, esi
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000709c
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.140005390
mov rax, rsi
add rsp, 0x68
pop rsi
pop rbp
ret
call fcn.14001e890
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x14000708a
jmp 0x14000709c
Function at 0x140007ae0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140007b22
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x140007b2a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x140007b3b
jmp 0x140007b52
xor r10d, r10d
jmp 0x140007bdd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140007b52
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140007b69
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140007b89
add r11, r8
jmp 0x140007cbb
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140007c52
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140007c00
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x140007c70
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140007c82
jmp 0x140007c9d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x140007c9d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140007cb7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret