joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140021124
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140040300]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002117b
cmp word [rdx], r13w
jne 0x14002117b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140021180
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400212a5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400212c6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400211b9
mov rdx, r9
mov word [rbx], cx
jmp 0x1400211e0
cmp r9, r8
jae 0x1400211f0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002119a
jmp 0x1400212a5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002129a
cmp dword [rsp + 0x80], esi
je 0x14002129a
lea r8, [0x140040300]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140021272
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140021242
mov word [rbx], r13w
jmp 0x1400212a2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002124f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400212a2
cmp word [rsp + 0x70], r13w
jne 0x14002127f
cmp rbx, r14
je 0x14002123c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140021d8c
cmp word [rsp + 0x70], r13w
je 0x1400212a5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140040300]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002129f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400212a5
Function at 0x140023d3c
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 0x140023d6c
xor eax, eax
jmp 0x140023e2f
mov rbp, rbx
cmp word [rax], si
je 0x140023d91
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023d78
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023d74
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.14002233c
movsxd r14, eax
test eax, eax
jne 0x140023dcf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023d65
mov rcx, r14
call fcn.14001c3e4
mov rdi, rax
test rax, rax
jne 0x140023de8
xor ecx, ecx
call fcn.14001c3a8
jmp 0x140023dc4
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.14002233c
test eax, eax
jne 0x140023e19
mov rcx, rdi
call fcn.14001c3a8
jmp 0x140023e23
xor ecx, ecx
call fcn.14001c3a8
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 0x140026af8
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.14001b4e4
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 0x140026b99
cmp ebx, dword [rsp + 0x30]
je 0x140026b92
test esi, esi
je 0x140026b92
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026b6d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140026b7a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140026b57
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026b7e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140026b9b
mov eax, 1
jmp 0x140026b9b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140029a54
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.140016f0c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140029ade
cmp byte [rbp - 0x21], r15b
je 0x140029ad9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140029b14
call fcn.14001dd10
test eax, eax
jne 0x140029b00
cmp byte [rbp - 0x21], r15b
je 0x140029af8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140029b14
cmp byte [rbp - 0x21], r15b
je 0x140029b11
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.140017544
test eax, eax
jne 0x140029bb4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016f0c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140029b53
cmp byte [rbp - 0x21], r15b
je 0x140029b88
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140029b88
call fcn.14001dd10
test eax, eax
jne 0x140029b74
cmp byte [rbp - 0x21], r15b
je 0x140029b6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140029b88
cmp byte [rbp - 0x21], r15b
je 0x140029b85
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.140017544
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140029bb4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140029bb7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140029bc5
mov rcx, rdi
call fcn.14001c3a8
cmp byte [rbp + 0x3f], r15b
je 0x140029bd4
mov rcx, qword [rbp + 0x27]
call fcn.14001c3a8
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 0x140001f60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401550c0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, r9
mov esi, r8d
mov rbx, rdx
mov r13, rcx
test r8b, 0xf
jne 0x1400020cb
mov ecx, esi
call fcn.1400cca44
mov r12, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.1400cca44
mov r14, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002bb0
movups xmm0, xmmword [0x140137488]
movups xmmword [rbp - 0x20], xmm0
xor r15d, r15d
test esi, esi
je 0x140002099
nop dword [rax]
movzx eax, byte [r15 + rbx]
xor byte [rbp - 0x20], al
movzx eax, byte [rbx + r15 + 1]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbx + r15 + 2]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbx + r15 + 3]
xor byte [rbp - 0x1d], al
movzx eax, byte [rbx + r15 + 4]
xor byte [rbp - 0x1c], al
movzx eax, byte [rbx + r15 + 5]
xor byte [rbp - 0x1b], al
movzx eax, byte [rbx + r15 + 6]
xor byte [rbp - 0x1a], al
movzx eax, byte [rbx + r15 + 7]
xor byte [rbp - 0x19], al
movzx eax, byte [rbx + r15 + 8]
xor byte [rbp - 0x18], al
movzx eax, byte [rbx + r15 + 9]
xor byte [rbp - 0x17], al
movzx eax, byte [rbx + r15 + 0xa]
xor byte [rbp - 0x16], al
movzx eax, byte [rbx + r15 + 0xb]
xor byte [rbp - 0x15], al
movzx eax, byte [rbx + r15 + 0xc]
xor byte [rbp - 0x14], al
movzx eax, byte [rbx + r15 + 0xd]
xor byte [rbp - 0x13], al
movzx eax, byte [rbx + r15 + 0xe]
xor byte [rbp - 0x12], al
movzx eax, byte [rbx + r15 + 0xf]
xor byte [rbp - 0x11], al
lea rdi, [r15 + r12]
mov r9, r14
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.140002370
movups xmm1, xmmword [rdi]
movups xmmword [rbp - 0x20], xmm1
add r15d, 0x10
cmp r15d, esi
jb 0x140001fe0
mov rcx, r14
call fcn.1400cca00
mov rax, r12
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc9e0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rbp - 0x60]
call fcn.140001eb0
nop
mov r8, rax
lea rdx, str.Plaintext_length_must_be_divisible_by
lea rcx, [rbp - 0x40]
call fcn.140003040
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140001e40
lea rdx, [0x1401528a0]
lea rcx, [rbp - 0x20]
call fcn.1400cec80
int3
Function at 0x140002110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1401550c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r9
mov r14d, r8d
mov rbp, rdx
mov qword [rsp + 0x20], rdx
mov r13, rcx
test r8b, 0xf
jne 0x1400022a9
mov ecx, r14d
call fcn.1400cca44
mov rbx, rax
mov ecx, dword [r13 + 4]
inc ecx
shl ecx, 4
call fcn.1400cca44
mov r15, rax
mov r8, rax
mov rdx, rdi
mov rcx, r13
call fcn.140002bb0
mov rcx, qword [rsp + 0xf0]
movups xmm0, xmmword [rcx]
movups xmmword [rsp + 0x68], xmm0
xor r12d, r12d
test r14d, r14d
je 0x140002273
nop word [rax + rax]
mov esi, r12d
lea rdi, [r12 + rbx]
add rbp, rsi
mov r9, r15
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call fcn.1400027a0
movzx eax, byte [rsp + 0x68]
xor byte [rdi], al
movzx eax, byte [rsp + 0x69]
xor byte [r12 + rbx + 1], al
movzx eax, byte [rsp + 0x6a]
xor byte [rbx + r12 + 2], al
movzx eax, byte [rsp + 0x6b]
xor byte [rbx + r12 + 3], al
movzx eax, byte [rsp + 0x6c]
xor byte [rbx + r12 + 4], al
movzx eax, byte [rsp + 0x6d]
xor byte [rbx + r12 + 5], al
movzx eax, byte [rsp + 0x6e]
xor byte [rbx + r12 + 6], al
movzx eax, byte [rsp + 0x6f]
xor byte [rbx + r12 + 7], al
movzx eax, byte [rsp + 0x70]
xor byte [rbx + r12 + 8], al
movzx eax, byte [rsp + 0x71]
xor byte [rbx + r12 + 9], al
movzx eax, byte [rsp + 0x72]
xor byte [rbx + r12 + 0xa], al
movzx eax, byte [rsp + 0x73]
xor byte [rbx + r12 + 0xb], al
movzx eax, byte [rsp + 0x74]
xor byte [rbx + r12 + 0xc], al
movzx eax, byte [rsp + 0x75]
xor byte [rbx + r12 + 0xd], al
movzx eax, byte [rsp + 0x76]
xor byte [rbx + r12 + 0xe], al
movzx eax, byte [rsp + 0x77]
xor byte [rbx + r12 + 0xf], al
movups xmm0, xmmword [rbp]
movups xmmword [rsp + 0x68], xmm0
add r12d, 0x10
cmp r12d, r14d
mov rbp, qword [rsp + 0x20]
jb 0x1400021a0
mov rcx, r15
call fcn.1400cca00
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400cc9e0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x28]
call fcn.140001eb0
nop
mov r8, rax
lea rdx, str.Plaintext_length_must_be_divisible_by
lea rcx, [rsp + 0x48]
call fcn.140003040
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140001e40
lea rdx, [0x1401528a0]
lea rcx, [rsp + 0x68]
call fcn.1400cec80
int3
Function at 0x140002bb0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push r14
sub rsp, 0x20
mov r10d, dword [rcx]
xor r9d, r9d
mov r11, r8
mov r14, rcx
lea eax, [r10*4]
test eax, eax
je 0x140002bec
nop
movzx eax, byte [r9 + rdx]
mov byte [r9 + r8], al
inc r9d
mov r10d, dword [rcx]
lea eax, [r10*4]
cmp r9d, eax
jb 0x140002bd0
mov eax, dword [rcx + 4]
lea r9d, [r10*4]
inc eax
shl eax, 4
cmp r9d, eax
jae 0x140002d6d
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r12
lea r12, str.cw
mov qword [rsp], r15
lea r15d, [r9 + 2]
nop dword [rax]
mov ebp, dword [r14]
lea eax, [r9 - 4]
movzx r8d, byte [rax + r11]
xor edx, edx
lea eax, [r9 - 3]
movzx r10d, r8b
movzx ebx, byte [rax + r11]
lea eax, [r9 - 2]
movzx edi, byte [rax + r11]
lea eax, [r9 - 1]
movzx esi, byte [rax + r11]
mov eax, r9d
shr eax, 2
div ebp
test edx, edx
jne 0x140002cbb
movzx r10d, byte [rbx + r12]
xor edx, edx
movzx ebx, byte [rdi + r12]
mov eax, r9d
movzx edi, byte [rsi + r12]
mov cl, 1
movzx esi, byte [r8 + r12]
lea r8d, [rbp*4]
div r8d
sub eax, 1
je 0x140002cb6
mov r8d, eax
nop word [rax + rax]
movzx eax, cl
add cl, cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
xor cl, dl
sub r8, 1
jne 0x140002ca0
xor r10b, cl
jmp 0x140002cd9
cmp ebp, 6
jbe 0x140002cd9
cmp edx, 4
jne 0x140002cd9
movzx r10d, byte [r8 + r12]
movzx ebx, byte [rbx + r12]
movzx edi, byte [rdi + r12]
movzx esi, byte [rsi + r12]
mov ecx, r9d
lea eax, [rbp*4]
sub ecx, eax
xor r10b, byte [rcx + r11]
mov ecx, r9d
mov byte [r9 + r11], r10b
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 - 1]
inc ecx
xor bl, byte [rcx + r11]
mov ecx, r9d
mov byte [rax + r11], bl
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
add ecx, 2
xor dil, byte [rcx + r11]
mov ecx, r9d
mov byte [r15 + r11], dil
add r9d, 4
mov eax, dword [r14]
shl eax, 2
sub ecx, eax
lea eax, [r15 + 1]
add ecx, 3
add r15d, 4
xor sil, byte [rcx + r11]
mov byte [rax + r11], sil
mov eax, dword [r14 + 4]
inc eax
shl eax, 4
cmp r9d, eax
jb 0x140002c30
mov r15, qword [rsp]
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140007b90
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140007bb2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x140007c2c
mov rdi, r14
mov rcx, rbx
call fcn.140009180
test rax, rax
jle 0x140007c04
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400fda30
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140007c1c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140007c24
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140007bc6
sub r14, rdi
jmp 0x140007d0f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140007c43
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007c45
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007c77
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400fda30
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140007d0c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140007cb2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x140007ced
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d850c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140007d0c
cmp rbp, rax
ja 0x140007cc0
test rbp, rbp
je 0x140007d0c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d850c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400108e0
Capabilities:
Create directory
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1401550c0]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor ebx, ebx
lea rcx, str.APPDATA
call fcn.1400d94f8
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140010930
mov rdx, rax
lea rcx, [rbp]
call fcn.140003440
nop
lea rdx, [rbp - 0x60]
mov rcx, qword [0x1402b5de8]
call fcn.14002a080
mov r8, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140010963
mov r8, qword [rax]
movabs rcx, 0xcbf29ce484222325
movzx edx, byte [r8]
test dl, dl
je 0x140010996
movabs r9, 0x100000001b3
nop
movzx eax, dl
xor rcx, rax
imul rcx, r9
lea ebx, [rbx + 1]
movzx edx, byte [rbx + r8]
test dl, dl
jne 0x140010980
lea r9, [rbp + 0x35]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
nop dword [rax + rax]
dec r9
mov rax, r10
mul rcx
mov r8, rdx
shr r8, 3
movzx eax, r8b
shl al, 2
lea edx, [rax + r8]
add dl, dl
sub cl, dl
add cl, 0x30
mov byte [r9], cl
mov rcx, r8
test r8, r8
jne 0x1400109b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rbp + 0x35]
cmp r9, rax
jne 0x140010a0c
movdqa xmm0, xmmword [0x14013f050]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], r8b
jmp 0x140010a21
lea r8, [rbp + 0x35]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140003440
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 1
jb 0x140010b5e
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], 1
lea rax, [0x140135af0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x20]
call fcn.14000a140
nop
lea r9, [rsp + 0x48]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.140013f90
nop
mov rdi, qword [rbp - 0x70]
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rbx, qword [rbp - 0x80]
call fcn.1400a72e4
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.14000a9e0
lea rdx, [rbp - 0x40]
lea rcx, [0x1402b27e0]
call fcn.14000cc50
lea rcx, [rbp - 0x40]
call fcn.14000cf20
nop
lea rcx, [rbp - 0x80]
call fcn.140002fe0
nop
lea rcx, [rbp - 0x20]
call fcn.140002fe0
nop
lea rcx, [rsp + 0x48]
call fcn.140002fe0
nop
lea rcx, [rbp - 0x60]
call fcn.140002fe0
lea rdx, [rbp - 0x60]
lea rcx, [0x1402b27e0]
call fcn.14000ae80
cmp qword [rax + 0x18], 0xf
jbe 0x140010b0e
mov rax, qword [rax]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rcx, [rbp - 0x60]
call fcn.140002fe0
call fcn.14000bc00
call fcn.14000fc30
mov cl, 1
call fcn.14000f780
nop
lea rcx, [rbp]
call fcn.140002fe0
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400cc9e0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140001e20
nop
int3
Function at 0x140014f00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x58
lea rdi, [r8 - 1]
mov qword [rsp + 0x50], r13
mov rax, rdi
mov qword [rsp + 0x48], r15
sar rax, 1
mov r13, r8
mov qword [rsp + 0x28], r9
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov rbp, rcx
mov qword [rsp + 0x38], rdi
mov r12, rdx
mov qword [rsp + 0x20], rax
mov r14, rdx
cmp rdx, rax
jge 0x140014fa9
mov r12, rax
nop dword [rax]
lea rbx, [r14 + r14]
lea rdi, [rbx + 2]
shl rdi, 5
add rdi, rbp
mov rdx, rdi
lea rsi, [rdi - 0x20]
mov r8, rsi
call fcn.140014e30
movzx r14d, al
xor r14, 1
inc r14
add r14, rbx
test al, al
cmove rsi, rdi
shl r15, 5
mov rdx, rsi
lea rcx, [r15 + rbp]
call fcn.14000cc50
mov r15, r14
cmp r14, r12
jl 0x140014f50
mov r12, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x48]
mov rbx, r14
cmp r14, rax
jne 0x140014fd7
test r13b, 1
jne 0x140014fd7
shl r14, 5
lea rdx, [rbp - 0x20]
shl r13, 5
add rdx, r13
lea rcx, [r14 + rbp]
call fcn.14000cc50
mov rbx, rdi
mov r13, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
cmp r12, rbx
jge 0x140015028
nop word [rax + rax]
lea rdi, [rbx - 1]
mov r8, r14
sar rdi, 1
mov rsi, rdi
shl rsi, 5
add rsi, rbp
mov rdx, rsi
call fcn.140014e30
test al, al
je 0x140015028
shl rbx, 5
mov rdx, rsi
lea rcx, [rbx + rbp]
call fcn.14000cc50
mov rbx, rdi
cmp r12, rdi
jl 0x140014ff0
shl rbx, 5
mov rdx, r14
lea rcx, [rbx + rbp]
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.14000cc50

Function at 0x140025180
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x70
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov ebp, 1
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
mov edi, r14d
bt esi, edi
jae 0x14002526e
lea r8d, [rdi + 0x41]
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.1400115c0
nop
mov r8d, 2
lea rdx, [0x140137500]
mov rcx, rax
call fcn.1400093c0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebp, 2
mov dword [rsp + 0x20], ebp
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14002524b
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
add qword [rbx + 8], 0x20
jmp 0x140025259
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.1400262c0
nop
lea rcx, [rsp + 0x28]
call fcn.140002fe0
nop
lea rcx, [rsp + 0x48]
call fcn.140002fe0
inc edi
cmp edi, 0x1a
jl 0x1400251c7
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret