joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034240
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14002fc4c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400342ca
cmp byte [rbp - 0x21], r15b
je 0x1400342c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140034300
call fcn.140032348
test eax, eax
jne 0x1400342ec
cmp byte [rbp - 0x21], r15b
je 0x1400342e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140034300
cmp byte [rbp - 0x21], r15b
je 0x1400342fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14002f22c
test eax, eax
jne 0x1400343a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14002fc4c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14003433f
cmp byte [rbp - 0x21], r15b
je 0x140034374
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140034374
call fcn.140032348
test eax, eax
jne 0x140034360
cmp byte [rbp - 0x21], r15b
je 0x140034359
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140034374
cmp byte [rbp - 0x21], r15b
je 0x140034371
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002f22c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400343a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400343a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400343b1
mov rcx, rdi
call fcn.14002f1dc
cmp byte [rbp + 0x3f], r15b
je 0x1400343c0
mov rcx, qword [rbp + 0x27]
call fcn.14002f1dc
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400372a0
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140009008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140009008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140013b80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112f3
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014ed0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014ef0
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014f03
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014f2d
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014f41
xor al, al
jmp 0x140014f71
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014f53
xor al, al
jmp 0x140014f71
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014f6f
xor al, al
jmp 0x140014f71
mov al, 1
add rsp, 0x38
ret
Function at 0x140002653
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x260
mov rsi, r9
mov edi, r8d
mov ebx, edx
mov r15, rcx
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401b2120
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, dil
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebp, ebp
mov rdx, r15
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400026ff
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1401af480
mov eax, ebp
add rsp, 0x260
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x2c0]
lea rax, str.location
lea rdx, str.EBWebView
test bl, bl
cmovne rdx, rax
mov rcx, qword [rsp + 0x30]
lea r12, [rsp + 0x3c]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x1400027b7
cmp dword [rsp + 0x3c], 3
jb 0x1400027b7
lea r15, [rsp + 0x50]
mov rcx, rdi
mov rdx, r15
call fcn.140002aee
xor r14d, r14d
test bl, bl
je 0x1400027b7
mov dword [rsp + 0x3c], 0x104
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
lea rdx, [0x1401f4e32]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x1400027b7
cmp dword [rsp + 0x3c], 3
jb 0x1400027b7
lea rdx, [0x1401f49f8]
mov rcx, rdi
call fcn.140002bce
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140002bce
xor r14d, r14d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
test r14d, r14d
jne 0x1400026db
cmp dword [rsp + 0x3c], 3
jb 0x1400026db
mov rcx, rdi
call fcn.140002ce4
mov rcx, rax
mov dx, 0x5c
call fcn.1401b27f0
test rax, rax
je 0x140002837
mov rbx, rax
add rbx, 2
movaps xmm0, xmmword [0x1401f4660]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rbx
call fcn.1400024d9
test al, al
je 0x140002837
test rsi, rsi
je 0x140002823
mov rcx, rsi
mov rdx, rbx
call fcn.140002aee
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14000283e
mov ebp, eax
jmp 0x1400026db
xor ebp, ebp
jmp 0x1400026db
Function at 0x140012c1c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x140012df4
lea rax, [rdx - 1]
or rax, 1
bsr rcx, rax
inc ecx
mov ebx, 1
shl rbx, cl
mov rbp, qword [rdi + 8]
lea r12, [rdi + 0x18]
lea rdx, [rbx + rbx]
mov r8, rbp
mov rcx, r12
call fcn.140012998
lea rax, [rbx - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rbx
mov qword [rsp + 0x68], rdi
mov rbx, qword [rdi + 8]
mov rbx, qword [rbx]
mov rsi, rbx
cmp rbx, rbp
je 0x140012dd9
mov rsi, qword [rsi]
xor edx, edx
mov r13, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
mov r8, r13
cmp r13, r15
je 0x140012cd7
rol rdx, 0xc
movzx eax, byte [r8]
imul rcx, rax, 0x2773
xor rdx, rcx
inc r8
cmp r8, r15
jne 0x140012cbd
mov r14, qword [rdi + 0x30]
and r14, rdx
add r14, r14
mov r12, qword [r12]
cmp qword [r12 + r14*8], rbp
jne 0x140012cf9
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140012dc9
mov rdi, qword [r12 + r14*8 + 8]
sub r15, r13
mov rdx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, rdx
cmp r15, rax
jne 0x140012d50
mov r8, r15
mov rcx, r13
call fcn.1401b2020
test eax, eax
jne 0x140012d50
mov rax, qword [rdi]
cmp rax, rbx
je 0x140012d49
mov r8, qword [rbx + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rbx + 8], rcx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x140012dc4
cmp qword [r12 + r14*8], rdi
je 0x140012d9f
mov rdi, qword [rdi + 8]
mov rdx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, rdx
cmp r15, rax
jne 0x140012d50
mov r8, r15
mov rcx, r13
call fcn.1401b2020
test eax, eax
jne 0x140012d50
mov rax, qword [rdi]
mov r8, qword [rbx + 8]
mov qword [r8], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov qword [rax + 8], rdx
mov qword [rsi + 8], r8
mov qword [rbx + 8], rcx
jmp 0x140012dc4
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rdi, qword [rsp + 0x60]
mov rbx, rsi
cmp rsi, rbp
lea r12, [rdi + 0x18]
jne 0x140012ca8
and qword [rsp + 0x68], 0
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1401ae034
int3

Function at 0x1400361c4
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x140232dd0]
mov r8d, r9d
mov r11d, 8
shl r8d, 0x18
lea eax, [r8 + r8]
mov ecx, r8d
mov edx, eax
mov r8d, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovs r8d, edx
dec r11d
test r11d, r11d
jg 0x1400361db
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x1400361ce
ret
Function at 0x14005e9a0
Capabilities:
Encode data using xor

Disassembly:
xor r9d, r9d
lea r10, [rcx + 0xae0]
mov r8d, r9d
mov r11d, 8
shl r8d, 8
lea ecx, [r8 + r8]
mov edx, r8d
mov eax, ecx
mov r8d, ecx
xor eax, 0x1021
bt edx, 0xf
cmovb r8d, eax
sub r11, 1
jne 0x14005e9b7
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jb 0x14005e9aa
ret

Function at 0x14007f3fc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov rbx, rdx
mov edx, 0x65
mov rsi, rcx
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 1]
mov edx, 0x66
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 2]
mov edx, 0x67
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 3]
mov edx, 0x68
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 4]
mov edx, 0x73
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 5]
mov edx, 0x69
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 6]
mov edx, 0x6a
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 7]
mov edx, 0x6b
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 8]
mov edx, 0x6c
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 9]
mov edx, 0x6d
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xa]
mov edx, 0x6e
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xb]
mov edx, 0x6f
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xc]
mov edx, 0x70
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xd]
mov edx, 0x72
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xe]
mov edx, 0x71
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0xf]
mov edx, 0x74
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x10]
mov edx, 0x75
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x11]
mov edx, 0x76
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x14]
mov edx, 0x78
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x15]
mov edx, 0x79
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x16]
mov edx, 0x7a
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x17]
mov edx, 0x7b
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x18]
mov edx, 0x7c
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x19]
mov edi, 0x7d
mov edx, edi
mov rcx, rsi
call qword [0x1401dabb8]
movzx r8d, byte [rbx + 0x1a]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [0x1401dabb8]
call fcn.140117688
mov r8b, al
lea edx, [rdi - 2]
mov rcx, rsi
call fcn.140027ae8
mov r8b, byte [rbx + 0x17]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.140027ae8
mov r8b, byte [rbx + 0x17]
mov edx, edi
mov rcx, rsi
call fcn.140027ae8
xor edi, edi
cmp byte [rbx + 0x17], dil
je 0x14007f62c
call fcn.1400d0318
test al, al
je 0x14007f62c
mov dil, 1
mov r8b, dil
mov edx, 0x7e
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140027ae8
Function at 0x1400b1858
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x140246f10], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x1400b18b8
movdqa xmm0, xmmword [0x1401edb80]
movdqa xmm1, xmmword [0x1401edb70]
movdqa xmmword [0x1402375c0], xmm0
movdqa xmm0, xmmword [0x1401edb50]
movdqa xmmword [0x1402375d0], xmm1
movdqa xmm1, xmmword [0x1401edb60]
movdqa xmmword [0x1402375e0], xmm0
movdqa xmmword [0x1402375f0], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.1401b2120
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x1401edb30]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400b18d4
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret

Function at 0x1400bb4fc
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 r14
lea r14, [0x140237c20]
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
test r8, r8
je 0x1400bb544
test sil, 0xf
je 0x1400bb544
movzx ecx, byte [rsi]
inc rsi
movzx eax, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r14 + rcx*4]
sub rdi, 1
jne 0x1400bb525
cmp rdi, 0x10
jb 0x1400bb667
mov rbp, rdi
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rdi, rax
xor ebx, dword [rsi]
mov r11d, dword [rsi + 0xc]
mov r9d, dword [rsi + 8]
mov eax, r11d
mov r8d, dword [rsi + 4]
mov edx, r11d
shr eax, 0x10
add rsi, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
shr rdx, 0x18
mov r10d, dword [r14 + rdx*4]
xor r10d, dword [r14 + rcx*4 + 0x400]
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r10d, dword [r14 + rcx*4 + 0x800]
xor r10d, dword [r14 + rax*4 + 0x1000]
mov eax, r9d
shr eax, 0x10
movzx ecx, al
mov eax, r9d
shr eax, 8
xor r10d, dword [r14 + rcx*4 + 0x1400]
movzx ecx, al
mov eax, r8d
shr rax, 0x18
xor r10d, dword [r14 + rcx*4 + 0x1800]
xor r10d, dword [r14 + rax*4 + 0x2000]
mov eax, r8d
shr eax, 0x10
movzx ecx, al
mov eax, r8d
shr eax, 8
xor r10d, dword [r14 + rcx*4 + 0x2400]
movzx ecx, al
mov eax, ebx
shr rax, 0x18
xor r10d, dword [r14 + rcx*4 + 0x2800]
xor r10d, dword [r14 + rax*4 + 0x3000]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r10d, dword [r14 + rcx*4 + 0x3400]
movzx ecx, al
movzx eax, r8b
xor r10d, dword [r14 + rcx*4 + 0x3800]
xor r10d, dword [r14 + rax*4 + 0x2c00]
movzx eax, r9b
xor r10d, dword [r14 + rax*4 + 0x1c00]
movzx eax, r11b
xor r10d, dword [r14 + rax*4 + 0xc00]
movzx eax, bl
mov ebx, r10d
xor ebx, dword [r14 + rax*4 + 0x3c00]
sub rbp, 1
jne 0x1400bb55c
test rdi, rdi
je 0x1400bb685
movzx ecx, byte [rsi]
inc rsi
movzx eax, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r14 + rcx*4]
sub rdi, 1
jne 0x1400bb66c
mov rbp, qword [rsp + 0x18]
mov eax, ebx
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x1400d0038
Capabilities:
Hash data using crc32b

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, 2
mov ebx, edx
mov rsi, rcx
lea ebp, [rdi - 1]
cmp edx, ebp
jbe 0x1400d0087
test bl, 1
je 0x1400d0071
mov r8d, edi
mov edx, ebp
mov rcx, rsi
call fcn.1400d00a8
mov ebp, eax
mov r8d, edi
mov edx, edi
mov rcx, rsi
call fcn.1400d00a8
shr ebx, 1
mov edi, eax
cmp ebx, 1
ja 0x1400d005d
mov r8d, edi
mov edx, ebp
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400d00a8
Function at 0x1400dcd74
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov esi, dword [rsp + 0x70]
xor r11d, r11d
mov eax, r9d
mov ebp, r8d
mov ecx, r11d
mov r10d, 0x400
lea ebx, [r11 + 1]
cmp esi, ebx
jl 0x1400dce81
lea eax, [rsi + rsi]
mov r15d, ebx
sub ebp, eax
mov r12d, 4
mov dword [rsp + 0xc], r10d
mov r8d, r11d
mov dword [rsp], ebx
mov dword [rsp + 8], ecx
mov edi, ebp
mov dword [rsp + 4], r10d
mov r9, rdx
lea r11d, [r12 + 4]
cmp edi, r11d
mov eax, edi
mov rsi, r9
cmovg eax, r11d
movsxd r14, eax
add r14, r9
cmp r9, r14
jae 0x1400dce2c
lea r13, [r9 + r15]
mov dl, byte [r13]
mov al, byte [r15 + r13]
sub al, dl
sub dl, byte [rsi]
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 rsi
add r8d, ecx
inc r13
cmp rsi, r14
jb 0x1400dcdfb
add r9, 0x40
sub edi, 0x40
sub r12, 1
jne 0x1400dcde0
mov esi, dword [rsp + 0x70]
xor r11d, r11d
cmp r8d, r10d
jge 0x1400dce50
mov ecx, ebx
mov r10d, r8d
cmp r8d, 0x10
jl 0x1400dce7d
mov ecx, dword [rsp]
inc ebx
mov rdx, qword [rsp + 0x58]
inc r15
cmp r8d, dword [rsp + 4]
mov r10d, r8d
cmovge ecx, dword [rsp + 8]
cmp r8d, dword [rsp + 0xc]
cmovge r10d, dword [rsp + 0xc]
cmp ebx, esi
jle 0x1400dcdbc
mov eax, dword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
imul r10d, eax
cmp r10d, 0xc000
cmovl r11d, ecx
mov eax, r11d
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e19f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov dil, dl
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400e1a28
mov rax, qword [rcx]
xor esi, esi
mov qword [rcx + 0x10], rsi
mov word [rax], si
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
lea rdx, str.SoftwareWinRARPaths
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e1b33
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e1b33
mov edx, dword [rbp - 0x40]
shr rdx, 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
lea rcx, [rbp - 0x30]
call fcn.14000a448
nop
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppData
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rbp - 0x30]
mov rcx, rbx
call fcn.140012fc0
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400e1b33
mov rax, qword [rbp - 0x20]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e1b22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e1bbd
call fcn.1401af36c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
cmp qword [rbx + 0x10], rsi
je 0x1400e1b45
mov rcx, rbx
call fcn.1400cb9f4
test al, al
jne 0x1400e1b9b
mov dl, dil
mov rcx, rbx
call fcn.1400e108c
test al, al
jne 0x1400e1b9b
lea rcx, [rbp - 0x30]
call fcn.1400e1488
mov rdi, rax
cmp rbx, rax
je 0x1400e1b8a
mov rcx, rbx
call fcn.140006b94
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
lea rcx, [rbp - 0x30]
call fcn.140006b94
mov rcx, rbx
call fcn.1400e3458
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401b6544
int3
Function at 0x1400faf90
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 r14
sub rsp, 0x20
mov r10, qword [0x140246f00]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x1400fb02f
cmp byte [0x140246ef8], bl
jne 0x1400fb02f
lea rcx, str.Crypt32.dll
call fcn.1400ffb58
mov qword [0x140246ef0], rax
test rax, rax
je 0x1400fb018
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [0x1401da738]
mov rcx, qword [0x140246ef0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140246f00], rax
call qword [0x1401da738]
mov qword [0x140246f08], rax
jmp 0x1400fb01f
mov rax, qword [0x140246f08]
mov r10, qword [0x140246f00]
mov byte [0x140246ef8], 1
jmp 0x1400fb036
mov rax, qword [0x140246f08]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x1400fb089
test r10, r10
je 0x1400fb0a6
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [case.0x1400f17b3.0]
test eax, eax
jne 0x1400fb0c1
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14023fd90]
mov rcx, rbx
call fcn.1400bfde8
mov rcx, rbx
call fcn.1400c0218
mov edx, 2
mov rcx, rbx
call fcn.1400bfde0
jmp 0x1400fb0c1
test rax, rax
je 0x1400fb0a6
mov edx, ecx
mov rcx, rsi
call qword [case.0x1400f17b3.0]
test eax, eax
jne 0x1400fb0c1
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x1400fb063
call qword [0x1401da6c0]
test rdi, rdi
je 0x1400fb0c1
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x1400fb0b1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret