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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov ebp, dword [rsp + 0x58]
xor r11d, r11d
mov eax, r9d
lea esi, [r11 + 1]
mov r12d, r8d
mov r10d, 0x400
cmp ebp, esi
mov r14d, r11d
mov r9d, esi
jl 0x140045f5c
lea eax, [rbp + rbp]
lea ecx, [rsi + 7]
sub r12d, eax
mov ebx, r11d
mov edi, r12d
mov r8, rdx
mov r15d, 4
cmp edi, ecx
mov eax, edi
mov r11, r8
cmovg eax, ecx
movsxd r13, eax
add r13, r8
cmp r8, r13
jae 0x140045f20
lea rbp, [r8 + rsi]
mov dl, byte [rbp]
mov al, byte [rsi + rbp]
sub al, dl
sub dl, byte [r11]
movsx ecx, al
movsx eax, dl
sub eax, ecx
mov ecx, 0x20
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmovl ecx, eax
inc r11
inc rbp
add ebx, ecx
cmp r11, r13
jb 0x140045eec
mov ecx, 8
add r8, 0x40
sub edi, 0x40
sub r15, 1
jne 0x140045ed3
mov ebp, dword [rsp + 0x58]
xor r11d, r11d
cmp ebx, r10d
jge 0x140045f44
cmp ebx, 0x10
mov r14d, r9d
mov r10d, ebx
jl 0x140045f58
mov rdx, qword [rsp + 0x40]
inc r9d
inc rsi
cmp r9d, ebp
jle 0x140045ec4
mov eax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, r14d
mov eax, r11d
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14004842c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0xe8]
mov bl, dl
xor edx, edx
mov r8d, 0x4000
call fcn.1400eada0
xor r11d, r11d
cmp bl, r11b
je 0x140048536
cmp byte [rdi + 0x6169], r11b
jne 0x140048536
mov eax, dword [rdi + 0x110]
mov ecx, dword [rdi + 0x6164]
shr eax, 2
cmp ecx, eax
ja 0x140048536
mov r10d, r11d
cmp ecx, r11d
jbe 0x140048577
mov ebx, 0x3ffff
mov rcx, qword [rdi + 0xe0]
mov r9d, r10d
inc r10d
movzx eax, byte [rcx + r9 + 1]
movzx r8d, byte [rcx + r9]
imul r8d, r8d, 0x2773
xor r8d, eax
movzx eax, byte [rcx + r9 + 2]
imul r8d, r8d, 0x2773
xor r8d, eax
mov rax, qword [rdi + 0xf0]
mov ecx, r8d
and rcx, rbx
imul r8d, r8d, 0x2773
mov word [rax + rcx*2], r11w
mov rax, qword [rdi + 0xe0]
movzx edx, byte [rax + r9 + 3]
mov rax, qword [rdi + 0xf8]
xor edx, r8d
mov ecx, edx
and rcx, rbx
imul edx, edx, 0x2773
mov dword [rax + rcx*4], r11d
mov rax, qword [rdi + 0xe0]
movzx ecx, byte [rax + r9 + 4]
mov eax, edx
xor rcx, rax
mov eax, dword [rdi + 0x114]
and rcx, rax
mov rax, qword [rdi + 0x100]
mov dword [rax + rcx*4], r11d
cmp r10d, dword [rdi + 0x6164]
jb 0x140048490
jmp 0x140048577
mov rcx, qword [rdi + 0xf0]
xor edx, edx
mov r8d, 0x80000
call fcn.1400eada0
mov rcx, qword [rdi + 0xf8]
xor edx, edx
mov r8d, 0x100000
call fcn.1400eada0
mov r8d, dword [rdi + 0x110]
mov rcx, qword [rdi + 0x100]
shl r8, 2
xor edx, edx
call fcn.1400eada0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004ae18
Capabilities:
Encode data using xor

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 r12
sub rsp, 0xa0
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x90], rax
and dword [rsp + 8], 0
and dword [rsp + 4], 0
and dword [rsp], 0
lea ebp, [r8 - 0x78]
xor r9d, r9d
lea rbx, [rdx + 2]
lea r8, [rsp]
cmp r9d, ebp
jge 0x14004aee7
mov r10d, dword [r8]
mov ecx, ebp
mov eax, 0x88888889
sub ecx, r9d
lea r12, [rsp + 0x10]
mov rdi, rbx
dec ecx
mul ecx
shr edx, 0xa
lea esi, [rdx + 1]
xor edx, edx
mov r11, rdi
mov cl, byte [r11 - 1]
mov al, byte [r11 - 2]
add rdx, 3
sub al, cl
mov byte [rsp + rdx + 0xe], cl
mov byte [rsp + rdx + 0xd], al
mov al, byte [r11]
add r11, 3
sub al, cl
cmp rdx, 0x78
mov byte [rsp + rdx + 0xf], al
jl 0x14004ae8c
mov ecx, 3
mov al, byte [rsp + rcx + 0x10]
inc rcx
sub al, byte [r12 + rcx - 4]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add r10d, eax
cmp rcx, 0x78
jl 0x14004aeba
add rdi, 0x780
sub rsi, 1
jne 0x14004ae87
mov dword [r8], r10d
inc r9d
add r8, 4
inc rbx
cmp r9d, 2
jle 0x14004ae63
mov eax, dword [rsp]
mov ecx, dword [rsp + 4]
cmp eax, ecx
ja 0x14004af10
cmp eax, dword [rsp + 8]
ja 0x14004af10
xor eax, eax
jmp 0x14004af1a
cmp dword [rsp + 8], ecx
sbb eax, eax
neg eax
inc eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret

Function at 0x1400505b4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x30
mov sil, r8b
mov rbp, rdx
mov rbx, rcx
call fcn.14009a000
xor r12d, r12d
cmp al, r12b
jne 0x1400505e3
xor al, al
jmp 0x14005067e
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
lea r8, [rsp + 0x68]
mov edx, 0x1a
xor ecx, ecx
mov word [rbx], r12w
mov dil, r12b
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, r12d
jne 0x14005066b
mov rcx, qword [rsp + 0x68]
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, r12d
je 0x14005066b
cmp word [rbx], r12w
je 0x14005066b
mov rdx, rbp
mov rcx, rbx
call fcn.1400504dc
lea rdx, [0x14010d538]
mov r8, rbp
mov rcx, rbx
call fcn.140065d80
mov rcx, rbx
call fcn.14004258c
mov dil, al
cmp al, r12b
jne 0x14005066b
cmp sil, r12b
je 0x14005066b
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140042a08
cmp eax, r12d
sete dil
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, dil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r12
pop rdi
pop rsi
ret
Function at 0x1400509f8
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1030
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor r14d, r14d
mov r12, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x140050c2e
call fcn.14005047c
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
mov rcx, rbx
call fcn.1400508c0
cmp al, r14b
je 0x140050b1b
mov rcx, rbx
call fcn.14005047c
cmp al, r14b
je 0x140050aaa
lea rax, [r13 + 4]
cmp r12, rax
jbe 0x140050c2e
lea r8d, [r14 + 4]
lea rdx, [0x14010d568]
mov rcx, rsi
call fcn.1400edd2c
sub rsi, rbx
movzx ecx, word [rbx]
add rbx, 2
mov word [rsi + rbx + 6], cx
cmp cx, r14w
jne 0x140050a91
mov al, 1
jmp 0x140050c30
mov ebp, 0x5c
cmp word [rbx], bp
jne 0x140050c2e
add rbx, 2
cmp word [rbx], bp
jne 0x140050c2e
lea rax, [r13 + 6]
cmp r12, rax
jbe 0x140050c2e
lea r8d, [rbp - 0x58]
lea rdx, [0x14010d568]
mov rcx, rsi
call fcn.1400edd2c
lea rdx, [0x14010d560]
mov rcx, rsi
sub rcx, rdx
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx + 6], ax
cmp ax, r14w
jne 0x140050af2
sub rsi, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 0xc], ax
cmp ax, r14w
jne 0x140050b07
jmp 0x140050aa3
mov edi, 0x7ff
lea rdx, [rsp + 0x20]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, r14d
je 0x140050c2e
cmp eax, edi
ja 0x140050c2e
movzx eax, word [rbx]
mov ebp, 0x5c
cmp eax, ebp
je 0x140050be2
cmp eax, 0x2f
je 0x140050be2
lea edx, [rdi + 1]
lea rcx, [rsp + 0x20]
call fcn.1400504dc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
lea rax, [rcx + r13 + 3]
cmp r12, rax
jbe 0x140050c2e
lea r8d, [rbp - 0x58]
lea rdx, [0x14010d568]
mov rcx, rsi
call fcn.1400edd2c
lea rax, [rsp + 0x20]
mov rcx, rsi
sub rcx, rax
lea rdx, [rsp + 0x20]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx + 6], ax
cmp ax, r14w
jne 0x140050ba6
cmp word [rbx], 0x2e
jne 0x140050bcf
movzx eax, word [rbx + 2]
cmp eax, ebp
je 0x140050bcb
cmp eax, 0x2f
jne 0x140050bcf
add rbx, 4
mov r8, r12
mov rdx, rbx
mov rcx, rsi
call fcn.140065d80
jmp 0x140050aa3
lea rax, [r13 + 6]
cmp r12, rax
jbe 0x140050c2e
lea rdx, [0x14010d568]
mov r8d, 4
mov rcx, rsi
call fcn.1400edd2c
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x20]
mov r8d, 2
call fcn.1400edd2c
sub rsi, rbx
movzx eax, word [rbx]
add rbx, 2
mov word [rsi + rbx + 0xa], ax
cmp ax, r14w
jne 0x140050c17
jmp 0x140050aa3
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x1030
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140050ffc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rdi, rdx
lea rax, [rsp + 0x30]
mov sil, r8b
mov rbx, rcx
mov word [rcx], bp
lea r9d, [rbp + 1]
lea rdx, str.SoftwareWinRARPaths
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x140051077
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rdx, str.AppData
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rbx], bp
je 0x140051089
mov rcx, rbx
call fcn.14004258c
cmp al, bpl
jne 0x1400510b2
mov r8b, sil
mov rdx, rdi
mov rcx, rbx
call fcn.1400505b4
cmp al, bpl
jne 0x1400510b2
mov r8d, edi
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rbx
call fcn.140050fc8
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005509c
Capabilities:
Encode data using xor

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 r12
sub rsp, 0x20
and dword [rcx + 4], 0
and dword [rcx], 0
mov eax, 0x8000
cmp r8d, eax
mov r12, rcx
mov rcx, qword [rcx + 0x10]
cmovb eax, r8d
mov ebp, r8d
mov rbx, r9
mov r8d, eax
mov rsi, rdx
call fcn.1400e9de0
xor dil, dil
cmp ebp, 1
jbe 0x1400550fb
lea rcx, [rsi + 1]
lea edx, [rbp - 1]
xor dil, byte [rcx]
inc rcx
sub rdx, 1
jne 0x1400550ef
mov edx, 8
mov rcx, r12
call fcn.140044818
and dword [rbx + 0x28], 0
cmp dil, byte [rsi]
jne 0x14005516d
mov r8d, ebp
mov rdx, rsi
mov rcx, r12
call fcn.140054f58
mov edi, eax
test eax, eax
je 0x14005516d
mov edx, 1
mov rcx, rbx
call fcn.140054ffc
movsxd rcx, dword [rbx + 0x28]
mov rdx, rcx
inc ecx
mov dword [rbx + 0x28], ecx
imul rdx, rdx, 0x38
add rdx, qword [rbx]
lea rax, [rdx + 0xc]
mov dword [rdx], 0x28
mov dword [rax], edi
mov qword [rdx + 0x18], rax
lea rax, [rdx + 0x24]
mov qword [rdx + 0x30], rax
mov eax, 3
mov dword [rdx + 0x20], eax
mov dword [rdx + 8], eax
jmp 0x1400551ed
mov edx, 1
mov rcx, rbx
call fcn.140054ffc
movsxd rax, dword [rbx + 0x28]
xor r8d, r8d
mov rcx, rax
inc eax
mov dword [rbx + 0x28], eax
imul rcx, rcx, 0x38
add rcx, qword [rbx]
lea rax, [rcx + 0xc]
mov dword [rcx], 0x16
mov qword [rcx + 0x18], rax
lea rax, [rcx + 0x24]
mov qword [rcx + 0x30], rax
mov eax, 3
mov dword [rcx + 0x20], eax
mov dword [rcx + 8], eax
cmp dword [rbx + 0x28], r8d
jle 0x1400551ed
xor ecx, ecx
mov rdx, qword [rbx]
cmp qword [rcx + rdx + 0x18], 0
jne 0x1400551ce
lea rax, [rcx + rdx + 0xc]
mov qword [rcx + rdx + 0x18], rax
cmp qword [rcx + rdx + 0x30], 0
jne 0x1400551e0
lea rax, [rcx + rdx + 0x24]
mov qword [rcx + rdx + 0x30], rax
inc r8d
add rcx, 0x38
cmp r8d, dword [rbx + 0x28]
jl 0x1400551b9
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x14005a6ac
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rbx, r9d
mov r12, r8
mov rdi, rdx
mov rbp, rcx
lea rsi, [0x14014a7a0]
lea r13, [0x140149fa0]
cmp ebx, dword [0x140149f9c]
je 0x14005a737
mov rcx, rsi
call fcn.1400387b4
xor r11d, r11d
mov r9, r13
mov r8d, 0x100
movzx eax, r11b
mov rdx, qword [rsi + rax*8]
test ebx, ebx
je 0x14005a721
mov r10d, ebx
mov rax, rdx
movzx ecx, dl
mov rdx, qword [rsi + rcx*8]
shr rax, 8
xor rdx, rax
sub r10, 1
jne 0x14005a70a
mov qword [r9], rdx
inc r11
add r9, 8
sub r8, 1
jne 0x14005a6fb
mov dword [0x140149f9c], ebx
or rsi, 0xffffffffffffffff
cmp qword [rbp + 0x10078], 0
jne 0x14005a756
mov ecx, 0x400001
call fcn.1400e9a7c
mov qword [rbp + 0x10078], rax
mov r15, qword [rbp + 0x10078]
cmp rdi, r12
jae 0x14005a870
mov r13, qword [rsp + 0x80]
mov r14d, 0x400000
cmp rsi, 0xffffffffffffffff
jne 0x14005a870
mov rcx, qword [rbp + 0x20]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x20]
mov r8, r12
mov rax, qword [rcx]
sub r8, rdi
mov rdx, r15
cmp r8, r14
cmova r8, r14
call qword [rax + 0x10]
cmp eax, ebx
mov r14d, eax
mov dword [rsp + 0x78], eax
jl 0x14005a870
mov r8d, ebx
mov rdx, r15
xor ecx, ecx
mov r12d, ebx
call fcn.140038880
xor edx, edx
xor r8d, r8d
lea r9, [0x14014a7a0]
lea r10, [0x140149fa0]
mov r11, rax
sub r14d, ebx
cmp r11, qword [r13 + 0x60]
je 0x14005a81b
lea rcx, [r8 + rbx]
inc edx
movzx eax, byte [rcx + r15]
xor rax, r11
movzx ecx, al
movzx eax, byte [r8 + r15]
inc r8
mov rcx, qword [r9 + rcx*8]
xor rcx, qword [r10 + rax*8]
mov rax, r11
shr rax, 8
mov r11, rcx
xor r11, rax
cmp edx, r14d
jbe 0x14005a7e0
jmp 0x14005a850
mov rcx, qword [r13 + 0x30]
mov esi, edx
mov r8, r12
add rdx, r15
call fcn.1400e9de0
mov r11d, dword [rbp + 0x100b0]
cmp ebx, r11d
jae 0x14005a84d
mov rax, qword [r13 + 0x30]
sub r11d, ebx
xor edx, edx
lea rcx, [r12 + rax]
mov r8d, r11d
call fcn.1400eada0
add rsi, rdi
cmp dword [rsp + 0x78], ebx
je 0x14005a870
mov r12, qword [rsp + 0x70]
mov ecx, r14d
mov r14d, 0x400000
add rdi, rcx
cmp rdi, r12
jb 0x14005a774
mov rax, rsi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005f65c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x450
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13, rcx
mov rcx, qword [0x140149f18]
mov rsi, r8
mov r8d, 5
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, qword [0x140149f18]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, qword [0x140149f18]
mov rdx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400eb0f4
mov rbx, rax
test rax, rax
jne 0x14005f6de
and qword [rsi], rax
jmp 0x14005f808
mov r8, rdi
mov rdx, rbp
mov rcx, rax
call fcn.1400e9de0
mov eax, dword [rbx]
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
mov ecx, 0xffff0000
lea r9, [rsp + 0x30]
and eax, ecx
lea r8, [rsp + 0x34]
mov rdx, r12
cmp eax, ecx
mov rcx, r13
sete dil
call fcn.14005efb0
test al, al
je 0x14005f76c
mov r8, rbx
test dil, dil
je 0x14005f72a
lea r8, [rbx + 8]
movsx ecx, word [r8 + 0xe]
mov r9d, 0x51eb851f
mov eax, r9d
imul ecx, dword [rsp + 0x34]
imul ecx
mov eax, r9d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
movsx ecx, word [r8 + 0x10]
mov word [r8 + 0xe], dx
imul ecx, dword [rsp + 0x30]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov word [r8 + 0x10], dx
neg dil
mov r10d, 0xffff
sbb rax, rax
or r11, 0xffffffffffffffff
and eax, 4
lea edx, [r11 + 3]
lea r8, [rbx + rax*2 + 0x12]
cmp word [r8], r10w
jne 0x14005f793
mov rcx, rdx
jmp 0x14005f7a1
xor eax, eax
mov rcx, r11
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
lea r9, [r8 + rcx*2]
cmp word [r9], r10w
je 0x14005f7bc
xor eax, eax
mov rcx, r11
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
mov rdx, rcx
lea rdx, [r9 + rdx*2]
lea r8, [rsp + 0x40]
mov rcx, r13
mov r9d, 0x200
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 1
call fcn.14005edac
lea rcx, [rsp + 0x40]
call fcn.1400eed40
cmp dword [rsp + 0x34], 0x64
mov qword [rsi], rax
jne 0x14005f805
cmp dword [rsp + 0x30], 0x64
jne 0x14005f805
mov rcx, rbx
call fcn.1400ea2a8
xor ebx, ebx
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x498]
add rsp, 0x450
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005f980
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x2060
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rcx
je 0x14005f9bf
mov rdx, rcx
mov rcx, rbx
call fcn.140065d00
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
cmp eax, r12d
jne 0x14005fab7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, 0x7ff
lea r9, [rsp + 0x40]
not rcx
lea rdx, str.LanguageFolder
xor r8d, r8d
dec rcx
sub eax, ecx
mov rcx, qword [rsp + 0x38]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1050]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x14005faac
mov edi, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1050]
mov r8d, edi
mov word [rsp + 0x50], r12w
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.1400504dc
mov rcx, rsi
call fcn.140050ce8
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rax
call fcn.140065d80
lea rcx, [rsp + 0x50]
call fcn.14004258c
cmp al, r12b
je 0x14005faac
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.140065d00
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.1400e9d80
add rsp, 0x2060
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005fb98
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
mov eax, 0x1150
call fcn.1400fe810
sub rsp, rax
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.14005f94c
xor ebp, ebp
lea r12d, [rbp + 2]
cmp rbx, rbp
je 0x14005fbfb
lea r8, [rsp + 0x140]
sub r8, rbx
movzx eax, word [rbx]
mov word [r8 + rbx], ax
add rbx, r12
cmp ax, bp
jne 0x14005fbe9
jmp 0x14005fc11
lea rdx, [rsp + 0x140]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140050ed0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.14005f980
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], r12d
jne 0x14005fc89
cmp dword [rsp + 0x24], 5
ja 0x14005fc74
jne 0x14005fc89
cmp word [rsp + 0x134], r12w
jb 0x14005fc89
lea rcx, [rsp + 0x140]
mov r8d, r12d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14005fc97
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbp
mov qword [0x140149f18], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140149f18]
cmp cl, bpl
cmove rax, rdi
mov qword [0x140149f10], rdi
mov qword [0x140149f18], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x14005fcec
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
movdqu xmm1, xmmword [rcx + 8]
mov rdi, r9
mov rbx, r8
mov r10, rdx
test r8, r8
je 0x14005fd70
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x14005fd1c
pxor xmm1, xmm0
jmp 0x14005fd20
movdqa xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x18]
movsxd r9, dword [rcx + 4]
cmp r9d, 1
pxor xmm1, xmm0
jle 0x14005fd4e
lea rdx, [rcx + 0x28]
lea r8d, [r9 - 1]
movdqu xmm0, xmmword [rdx]
add rdx, 0x10
sub r8, 1
aesenc xmm1, xmm0
jne 0x14005fd3b
mov rax, r9
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, rdi
add rdi, 0x10
sub rbx, 1
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
jne 0x14005fd05
movdqu xmmword [rcx + 8], xmm1
mov rbx, qword [rsp + 0x20]
pop rdi
ret

Function at 0x14005fd7c
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movdqu xmm2, xmmword [rcx + 8]
mov r10, rcx
lea r11, [rcx + 0x18]
test r8, r8
je 0x14005fdf9
movsxd rcx, dword [r10 + 4]
mov rax, rdx
add rdx, 0x10
movdqu xmm3, xmmword [rax]
mov rax, rcx
add rax, rax
dec ecx
movdqu xmm1, xmmword [r11 + rax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x14005fdcf
movsxd rax, ecx
shl rax, 4
add rax, r11
movdqu xmm0, xmmword [rax]
dec ecx
sub rax, 0x10
aesdec xmm1, xmm0
test ecx, ecx
jg 0x14005fdbc
cmp byte [r10 + 1], 0
movdqu xmm0, xmmword [r11]
aesdeclast xmm1, xmm0
je 0x14005fde4
pxor xmm1, xmm2
mov rax, r9
add r9, 0x10
sub r8, 1
movdqa xmm2, xmm3
movdqu xmmword [rax], xmm1
jne 0x14005fd8d
movdqu xmmword [r10 + 8], xmm2
ret
Function at 0x14005fe00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
sub ebp, 6
call fcn.1400e9de0
xor edi, edi
xor r9d, r9d
xor edx, edx
xor r8d, r8d
movsxd rbx, ebp
lea r14d, [rdi + 4]
test ebp, ebp
jle 0x14005fe9b
xor r10d, r10d
cmp edi, dword [rsi + 4]
jg 0x14005fe9b
cmp rdx, rbx
jge 0x14005fe86
lea r11, [rsp + rdx*4 + 0x20]
cmp r8, r14
jge 0x14005fe89
mov eax, dword [r11]
lea rcx, [r10 + r8]
inc rdx
add r11, r14
inc r9d
inc r8
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14005fe65
cmp r8, r14
jne 0x14005fe96
inc edi
add r10, r14
xor r9d, r9d
xor r8d, r8d
cmp rdx, rbx
jl 0x14005fe56
cmp edi, dword [rsi + 4]
movsxd r11, edi
movsxd r10, r9d
jg 0x14005fff9
lea r12, [0x14014ffc0]
lea r15, [0x1401500e0]
movzx ecx, byte [rsp + rbx*4 + 0x1d]
mov al, byte [rsp + 0x20]
xor al, byte [rcx + r15]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + rbx*4 + 0x1e]
mov al, byte [rax + r15]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + rbx*4 + 0x1f]
mov al, byte [rax + r15]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + rbx*4 + 0x1c]
mov al, byte [rax + r15]
xor byte [rsp + 0x23], al
mov al, byte [r12]
inc r12
xor byte [rsp + 0x20], al
cmp ebp, 8
je 0x14005ff2f
cmp rbx, 1
jle 0x14005ffab
lea rdx, [rsp + 0x24]
lea r8, [rbx - 1]
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, r14
jl 0x14005ff15
add rdx, r14
sub r8, 1
jne 0x14005ff13
jmp 0x14005ffab
lea rcx, [rsp + 0x24]
mov r8d, 3
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14005ff3d
sub r8, 1
jne 0x14005ff3a
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + r15]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
mov al, byte [rax + r15]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
mov al, byte [rax + r15]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
mov al, byte [rax + r15]
xor byte [rsp + 0x33], al
cmp rbx, 5
jle 0x14005ffab
lea rcx, [rsp + 0x34]
lea r8, [rbx - 5]
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x14005ff97
sub r8, 1
jne 0x14005ff94
xor edx, edx
test ebp, ebp
jle 0x14005fff0
cmp edi, dword [rsi + 4]
jg 0x14005fff9
cmp rdx, rbx
jge 0x14005ffde
lea r8, [rsp + rdx*4 + 0x20]
cmp r10, r14
jge 0x14005ffe1
mov eax, dword [r8]
lea rcx, [r10 + r11*4]
inc rdx
add r8, r14
inc r10
cmp rdx, rbx
mov dword [rsi + rcx*4 + 0x18], eax
jl 0x14005ffc0
cmp r10, r14
jne 0x14005ffeb
inc edi
inc r11
xor r10d, r10d
cmp rdx, rbx
jl 0x14005ffb1
cmp edi, dword [rsi + 4]
jle 0x14005feb8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400e9d80
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret