joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fdbc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x20], cx
mov rax, qword [rdi]
mov dword [rdi + 8], ecx
mov word [rax], cx
mov ecx, 0x105
call qword [0x14004c188]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.14000e358
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x240]
cmp eax, 0x103
setbe al
add rsp, 0x230
pop rdi
ret

Function at 0x14000fe48
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [0x14004c170]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14000fe5c
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rdi, rcx
lea rcx, [rbp + 0x17]
call fcn.1400100ec
lea rcx, [rbp + 0x3f]
call fcn.14000e1d8
nop
mov rdx, qword [rdi]
lea rcx, [rbp + 0x17]
call fcn.140010210
xor r14d, r14d
test al, al
je 0x14000fec4
mov ebx, dword [rbp + 0x37]
mov eax, ebx
shr eax, 4
test al, 1
jne 0x14000feec
mov ecx, 0x10b
call qword [0x14004c190]
nop
mov rcx, qword [rbp + 0x3f]
call fcn.140027aa8
xor al, al
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
shr ebx, 0xa
mov rcx, qword [rbp + 0x3f]
call fcn.140027aa8
test bl, 1
jne 0x14000ffe3
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.14000e0d4
nop
mov ebx, dword [rbp - 9]
cmp dword [rbp - 5], ebx
jne 0x14000ff22
lea rcx, [rbp - 0x11]
call fcn.14000e708
mov ebx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov eax, ebx
mov edx, 0x5c
mov word [rcx + rax*2], dx
inc ebx
mov word [rcx + rbx*2], r14w
mov dword [rbp - 9], ebx
or qword [rbp - 1], 0xffffffffffffffff
lea rcx, [rbp + 7]
call fcn.14000e1d8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 1]
call fcn.140010994
lea rcx, [rbp + 0x17]
call fcn.1400100ec
lea rcx, [rbp + 0x3f]
call fcn.14000e1d8
nop
jmp 0x14000ffac
cmp ebx, dword [rbp - 9]
jae 0x14000ff7d
mov dword [rbp - 9], ebx
mov rax, qword [rbp - 0x11]
mov word [rax + rbx*2], r14w
lea rdx, [rbp + 0x3f]
lea rcx, [rbp - 0x11]
call fcn.14000e464
mov eax, dword [rbp + 0x37]
shr eax, 4
test al, 1
je 0x14000ff9f
lea rcx, [rbp - 0x11]
call fcn.14000fe5c
jmp 0x14000ffa8
mov rcx, qword [rbp - 0x11]
call fcn.14000fc98
test al, al
je 0x140010009
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 1]
call fcn.140010900
test al, al
jne 0x14000ff6c
mov rcx, qword [rbp + 0x3f]
call fcn.140027aa8
nop
mov rcx, qword [rbp + 7]
call fcn.140027aa8
lea rcx, [rbp - 1]
call fcn.140010108
nop
mov rcx, qword [rbp - 0x11]
call fcn.140027aa8
xor edx, edx
mov rcx, qword [rdi]
call qword [0x14004c178]
test eax, eax
je 0x14000fecd
mov rcx, qword [rdi]
call qword [0x14004c170]
test eax, eax
setne al
jmp 0x14000fecf
mov rcx, qword [rbp + 0x3f]
call fcn.140027aa8
nop
mov rcx, qword [rbp + 7]
call fcn.140027aa8
lea rcx, [rbp - 1]
call fcn.140010108
nop
mov rcx, qword [rbp - 0x11]
jmp 0x14000fec8
Function at 0x140010030
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [0x14004c148]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400100d0
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
call qword [0x14004c178]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400108b0
Capabilities:
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [0x14004c1e0]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
add rsp, 0x28
ret

Function at 0x140010aa4
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x30]
call qword [0x14004c1f0]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x140010ad4
call qword [0x14004c0e0]
test eax, eax
je 0x140010ad4
xor al, al
jmp 0x140010ae7
mov ecx, dword [rsp + 0x30]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140010b2c
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, r9
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x20], 0
call qword [0x14004c1f8]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x140010bdc
Capabilities:
Read file on windows

Disassembly:
cmp r8d, dword [0x140069028]
cmova r8d, dword [0x140069028]
jmp fcn.140010b2c

Function at 0x140010c58
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.140010bf0
test al, al
jne 0x140010c7d
xor al, al
jmp 0x140010c92
cmp qword [rsp + 0x40], rbx
jne 0x140010c79
mov rcx, qword [rdi]
call qword [0x14004c200]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010d30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp r8d, dword [0x140069028]
mov rbx, r9
mov rcx, qword [rcx]
lea r9, [rsp + 0x50]
cmova r8d, dword [0x140069028]
and dword [rsp + 0x50], 0
and qword [rsp + 0x20], 0
call qword [0x14004c210]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x140011100
Capabilities:
Get common file path

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.140010dfc

Function at 0x140011978
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
call qword [0x14004c218]
mov rcx, rax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x20]
call qword [section..rdata]
xor r8d, r8d
test eax, eax
je 0x1400119c0
cmp qword [rsp + 0x20], r8
je 0x1400119c0
mov ecx, r8d
mov rdx, qword [rsp + 0x20]
shr rdx, cl
inc ecx
and edx, 1
add r8d, edx
cmp ecx, 0x40
jb 0x1400119a6
mov eax, r8d
jmp 0x1400119cf
lea rcx, [rsp + 0x30]
call qword [0x14004c228]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x1400119d4
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x100000000
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [0x14004c220]
test eax, eax
je 0x140011a16
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
cmovb rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x140021590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
mov r10d, dword [r9]
xor ebp, ebp
mov r14d, dword [rsp + 0x40]
and r10d, 7
mov r12, r9
mov r15d, r8d
mov rsi, rcx
mov r11d, ebp
cmp rdx, 5
jae 0x1400215d3
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
lea r9, [rdx - 4]
mov qword [rsp + 0x20], rbx
add r15d, 5
mov qword [rsp + 0x28], rdi
add r9, rsi
nop dword [rax + rax]
lea rax, [r11 + rsi]
cmp rax, r9
jae 0x140021613
nop dword [rax]
movzx ecx, byte [rax]
and cl, 0xfe
cmp cl, 0xe8
je 0x140021613
inc rax
cmp rax, r9
jb 0x140021600
mov rcx, rax
sub rcx, r11
mov r11, rax
sub r11, rsi
sub rcx, rsi
cmp rax, r9
jae 0x14002172c
cmp rcx, 2
jbe 0x1400216a7
mov r10d, ebp
movzx edx, byte [rax + 4]
lea ecx, [rdx + 1]
test cl, 0xfe
jne 0x140021718
movzx ecx, byte [rax + 3]
lea edi, [r11 + r15]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
sub ecx, edi
test r14d, r14d
lea ebx, [rdx + rdi]
cmove ebx, ecx
mov r8d, ebx
test r10d, r10d
je 0x1400216e6
and r10d, 6
mov edx, ebx
shl r10d, 2
mov ecx, r10d
shr edx, cl
inc edx
test dl, 0xfe
jne 0x1400216e3
mov r8d, 0x100
shl r8d, cl
dec r8d
xor r8d, ebx
test r14d, r14d
je 0x1400216e0
add r8d, edi
jmp 0x1400216e3
shr r10d, cl
test r10d, r10d
je 0x140021634
cmp r10d, 4
ja 0x1400216d1
cmp r10d, 3
je 0x1400216d1
mov ecx, r10d
shr rcx, 1
movzx edx, byte [rcx + rax + 1]
inc edx
test dl, 0xfe
jne 0x140021634
or r10d, 8
shr r10d, 1
inc r11
jmp 0x1400215f0
sub r8d, edi
mov r10d, ebp
mov ecx, r8d
mov byte [rax + 1], r8b
shr ecx, 8
mov byte [rax + 2], cl
mov ecx, r8d
shr r8d, 0x18
and r8b, 1
shr ecx, 0x10
neg r8b
mov byte [rax + 3], cl
mov byte [rax + 4], r8b
mov eax, 5
add r11, rax
jmp 0x1400215f0
or r10d, 8
mov eax, 1
shr r10d, 1
add r11, rax
jmp 0x1400215f0
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
cmp rcx, 2
ja 0x140021742
shr r10d, cl
mov ebp, r10d
mov rsi, qword [rsp + 0x38]
mov rax, r11
mov dword [r12], ebp
mov rbp, qword [rsp + 0x30]
pop r15
pop r14
pop r12
ret
Function at 0x140021a90
Capabilities:
Check os version
Get common file path

Disassembly:
sub rsp, 0x418
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [0x14004c268]
test eax, eax
je 0x140021abc
cmp dword [rsp + 0x24], 6
jne 0x140021abc
cmp dword [rsp + 0x28], 0
je 0x140021aed
lea rcx, [0x14004e2a0]
call qword [0x14004c1b8]
mov rcx, rax
lea rdx, str.SetDefaultDllDirectories
call qword [0x14004c1c0]
test rax, rax
je 0x140021aed
mov ecx, 0xc00
call rax
test eax, eax
jne 0x140021bb9
mov edx, 0x106
lea rcx, [rsp + 0x140]
call qword [0x14004c1b0]
dec eax
cmp eax, 0x103
ja 0x140021bb9
mov qword [rsp + 0x420], rbx
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x410], rdi
call qword [0x14004c278]
mov edi, eax
lea ecx, [rdi - 1]
cmp word [rsp + rcx*2 + 0x140], 0x5c
je 0x140021b4a
mov eax, 0x5c
mov word [rsp + rdi*2 + 0x140], ax
inc edi
cmp byte [str.UXTHEME], 0
lea rbx, str.UXTHEME
je 0x140021ba9
nop word [rax + rax]
mov eax, edi
movzx r8d, byte [rbx]
inc rbx
mov ecx, eax
inc eax
mov word [rsp + rcx*2 + 0x140], r8w
test r8b, r8b
jne 0x140021b62
lea rdx, str..dll
lea rcx, [rsp + 0x140]
call qword [0x14004c270]
xor edx, edx
lea rcx, [rsp + 0x140]
lea r8d, [rdx + 8]
call qword [0x14004c130]
cmp byte [rbx], 0
jne 0x140021b60
mov rbx, qword [rsp + 0x420]
mov rdi, qword [rsp + 0x410]
add rsp, 0x418
ret

Function at 0x140025d30
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov r8, rdx
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call fcn.140031cec
mov qword [rbx], rax
test rax, rax
je 0x140025d6a
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [0x14004c0e0]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x14002ba34
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x140054d88]
xor ecx, ecx
lea r8, [0x140054d80]
lea rdx, str.FlsAlloc
call fcn.14002b85c
mov rbx, rax
test rax, rax
je 0x14002ba74
mov rcx, rax
call fcn.1400281b8
mov rcx, rdi
call rbx
jmp 0x14002ba7a
call qword [0x14004c2b8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002badc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140054d98]
mov ecx, 2
lea r8, [0x140054d90]
lea rdx, str.FlsGetValue
call fcn.14002b85c
mov rdi, rax
test rax, rax
je 0x14002bb1d
mov rcx, rax
call fcn.1400281b8
mov ecx, ebx
call rdi
jmp 0x14002bb25
mov ecx, ebx
call qword [0x14004c2c0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002bb30
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x140054da0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x140054d98]
call fcn.14002b85c
mov rsi, rax
test rax, rax
je 0x14002bb7c
mov rcx, rax
call fcn.1400281b8
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x14002bb87
mov rdx, rbx
mov ecx, edi
call qword [0x14004c2c8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140036a18
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003683c
Function at 0x140004500
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r11, rcx
test r8d, r8d
jle 0x1400045ec
mov r9, qword [rdx + 0x18]
movsxd r10, r8d
xor r8d, r8d
nop
mov rdx, rbx
cmp r9, 0xf
jbe 0x14000452c
mov rdx, qword [rbx]
movzx ecx, byte [rdx]
mov eax, 0xffffffff
test cl, cl
je 0x1400045d8
nop dword [rax]
movzx ecx, cl
lea rdx, [rdx + 1]
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140004540
not eax
cmp eax, dword [r11 + r8*4]
je 0x14000463d
inc r8
cmp r8, r10
jl 0x140004520
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140004622
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000461d
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004674
mov rcx, r8
call fcn.140214330
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
cmp r9, 0xf
jbe 0x140004670
mov rcx, qword [rbx]
lea rdx, [r9 + 1]
cmp rdx, 0x1000
jb 0x14000466b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004674
mov rcx, r8
call fcn.140214330
mov al, 1
jmp 0x140004624
call fcn.140221490
int3
Function at 0x140007180
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
xor ebp, ebp
lea edx, [rbp + 0xd]
lea rcx, [rsp + 0x68]
call fcn.140011160
mov rbx, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x1400071d2
mov ecx, ebp
jmp 0x1400071e4
mov rax, qword [rbx + 8]
lea rcx, [0x14024ecc0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14008e300
nop
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140007223
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140007223
mov rcx, qword [rsp + 0x68]
call fcn.14021b7f0
nop
lea rcx, [rsp + 0x50]
call fcn.140094f20
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140003c10
nop
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14000725b
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14000725b
mov rcx, qword [rsp + 0x50]
call fcn.14021b7f0
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], 4
cmp qword [rdi + 0x18], 7
jbe 0x140007279
mov rdi, qword [rdi]
lea rdx, [rsp + 0x80]
cmp qword [rsp + 0x98], 7
cmova rdx, qword [rsp + 0x80]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ebx, dword [rsp + 0x30]
test eax, eax
cmovne ebx, ebp
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x140007309
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007334
call fcn.140214330
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140221490
int3
Function at 0x140009780
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x30], rsi
call fcn.140008ec0
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
mov edi, eax
call fcn.140240680
cmp edi, 0xffffffff
je 0x140009879
lea rdx, [rsp + 0x30]
mov ecx, edi
call fcn.1400081b0
test eax, eax
je 0x140009879
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140009879
lea rax, [rsp + 0x40]
xor r9d, r9d
lea edx, [rsi + 0x1c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], si
jne 0x140009816
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14000985e
mov rdi, rbx
cmp rax, 7
jbe 0x140009834
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.14023ffe0
mov word [rbx + rdi], si
mov rcx, qword [rsp + 0x30]
call fcn.140024fc0
mov al, 1
jmp 0x14000987b
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140003db0
mov rcx, qword [rsp + 0x30]
call fcn.140024fc0
mov al, 1
jmp 0x14000987b
xor al, al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400098a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
lea r11, [0x14033fab0]
mov r9, rdx
not ecx
cmp r8, 4
jb 0x140009919
mov r10, r8
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
add r9, 4
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400098c0
test r8, r8
je 0x14000993d
nop
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x140009920
not ecx
mov eax, ecx
ret
Function at 0x140016330
Capabilities:
Decrypt data using aes via x86 extensions
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xc98]
sub rsp, 0xd90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0xc40], rax
mov r10, rdx
mov r11, rcx
mov rcx, qword [rbp + 0xcc0]
lea rdx, [rsp + 0x20]
call fcn.140016070
aesimc xmm0, xmmword [rsp + 0x30]
aesimc xmm1, xmmword [rsp + 0x40]
movdqa xmm2, xmmword [rbp - 0x60]
mov eax, r9d
movdqa xmm7, xmmword [rbp - 0x10]
movdqa xmm5, xmmword [rbp - 0x30]
movdqa xmm6, xmmword [rbp - 0x20]
movdqa xmm3, xmmword [rbp - 0x50]
movdqa xmm4, xmmword [rbp - 0x40]
movdqa xmm8, xmmword [rbp]
movdqa xmm9, xmmword [rsp + 0x20]
movdqa xmmword [rbp - 0x10], xmm0
aesimc xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
aesimc xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x20], xmm1
aesimc xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x50], xmm0
aesimc xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x40], xmm1
aesimc xmm1, xmmword [rbp - 0x80]
shr eax, 4
movdqa xmmword [rbp - 0x70], xmm0
test r9b, 0xf
movdqa xmmword [rbp - 0x60], xmm1
aesimc xmm1, xmm2
movdqu xmm2, xmmword [r8]
lea ecx, [rax + 1]
aesimc xmm0, xmm3
movdqa xmmword [rsp + 0x70], xmm0
cmove ecx, eax
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmmword [rbp], xmm9
movdqa xmmword [rsp + 0x20], xmm8
aesimc xmm0, xmm5
movdqa xmmword [rsp + 0x50], xmm0
aesimc xmm1, xmm4
movdqa xmmword [rsp + 0x60], xmm1
aesimc xmm0, xmm7
movdqa xmmword [rsp + 0x30], xmm0
aesimc xmm1, xmm6
movdqa xmmword [rsp + 0x40], xmm1
test ecx, ecx
je 0x1400164bb
sub r11, r10
mov edx, ecx
nop word [rax + rax]
movdqu xmm1, xmmword [r10 + r11]
lea rax, [rsp + 0x30]
mov ecx, 0xd
movdqa xmm0, xmm8
xorps xmm0, xmm1
nop dword [rax + rax]
aesdec xmm0, xmmword [rax]
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x140016490
aesdeclast xmm0, xmm9
xorps xmm0, xmm2
movdqa xmm2, xmm1
movdqu xmmword [r10], xmm0
add r10, 0x10
sub rdx, 1
jne 0x140016470
mov rcx, qword [rbp + 0xc40]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0xd90]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rbp
ret
Function at 0x14001f960
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rdx
mov rbx, rcx
mov edx, 0x203
lea rcx, [rsp + 0x70]
call fcn.140011160
mov rdi, rax
mov rsi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c40
test al, al
je 0x14001f9c0
xor ecx, ecx
jmp 0x14001f9d2
mov rax, qword [rdi + 8]
lea rcx, [0x14024ecc0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14008e300
nop
mov edi, 0xffffffff
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001fa11
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14001fa11
mov rcx, qword [rsp + 0x70]
call fcn.14021b7f0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140093e70
nop
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call fcn.140041f70
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001fa50
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14001fa50
mov rcx, qword [rsp + 0x40]
call fcn.14021b7f0
nop
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14001fa6d
lock xadd dword [rax], edi
cmp edi, 1
jne 0x14001fa6d
mov rcx, qword [rsp + 0x58]
call fcn.14021b7f0
mov edi, 0x100
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x4e]
call fcn.140240680
lea r11, [rbp - 0x78]
mov rsi, qword [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 0xf
cmova r11, rsi
xor r10d, r10d
mov word [rbp - 0x50], r10w
xor eax, eax
lea rcx, [rbp - 0x4e]
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, edi
jl 0x14001faa2
xor r8d, r8d
lea r9, [rbp - 0x4e]
nop word [rax + rax]
movzx edx, byte [r9]
movzx eax, dl
add al, byte [r8 + r11]
add al, r10b
movzx r10d, al
lea rcx, [rbp - 0x4e]
movzx eax, byte [rcx + r10]
mov byte [r9], al
mov byte [rcx + r10], dl
lea rax, [r8 + 1]
lea r9, [r9 + 1]
xor r8d, r8d
cmp rax, 0xc
cmovl r8, rax
sub rdi, 1
jne 0x14001fac0
movzx r9d, byte [rbp - 0x50]
movzx r10d, byte [rbp - 0x4f]
test r15d, r15d
jle 0x14001fb4c
mov r11d, r15d
nop dword [rax]
inc r9b
movzx eax, r9b
lea rdx, [rbp - 0x4e]
add rdx, rax
movzx r8d, byte [rdx]
add r10b, r8b
movzx eax, r10b
movzx ecx, byte [rbp + rax - 0x4e]
mov byte [rdx], cl
mov byte [rbp + rax - 0x4e], r8b
add cl, r8b
movzx eax, cl
movzx ecx, byte [rbp + rax - 0x4e]
xor byte [rbx], cl
lea rbx, [rbx + 1]
sub r11, 1
jne 0x14001fb10
cmp r14, 0xf
jbe 0x14001fb7f
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14001fb77
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001fbab
mov rcx, rsi
call fcn.140214330
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140214310
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140221490
int3
Function at 0x1400203f0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.14001fce0
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
test rdi, rdi
je 0x14002047f
movzx edx, byte [rdi + 0xc]
and dl, 6
cmp dl, 2
je 0x14002047f
cmp qword [rdi + 0x20], 0
je 0x14002045a
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rdi + 0x28], ebx
jbe 0x14002044c
mov rax, qword [rdi + 0x20]
mov rcx, qword [rax + rbx*8]
test rcx, rcx
je 0x140020445
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
inc ebx
cmp ebx, dword [rdi + 0x28]
jb 0x140020432
mov rcx, qword [rdi + 0x20]
call fcn.140214330
mov rbx, qword [rsp + 0x30]
cmp qword [rdi + 0x10], 0
je 0x140020472
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret