joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a1e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000a40e
mov word [rbp + 0x50], 0x7150
mov word [rbp + 0x58], 0x7150
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a294
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000a280
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000a2c5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000a2b0
cmp rdi, rbx
jne 0x14000a3e2
mov r13, rsi
mov word [rbp - 0x50], 0x7150
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000a306
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000a2f2
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000a408
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x710031
call fcn.140002520
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000a378
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x71002a
call fcn.140002520
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000a378
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x710031
mov dword [rbp - 0x42], 0x710011
call fcn.140002520
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002520
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x710031
call fcn.140002520
movzx eax, word [rax]
cmp edi, eax
jl 0x14000a3d5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x71002a
call fcn.140002520
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000a3d5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x710031
mov dword [rbp - 0x32], 0x710011
call fcn.140002520
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002520
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000a3e2
inc r14
jmp 0x14000a2e0
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000a40e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000a250
mov rax, qword [rbp - 8]
jmp 0x14000a410
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000aa90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x71
mov dword [rbp - 0x20], 0x34001b
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0xd0024
mov dword [rbp - 0x18], 0xe002f
mov dword [rbp - 0x14], 0x200030
mov dword [rbp - 0x10], 0x32003c
call fcn.140004d70
mov rcx, rax
call 0x14000b6e0
mov qword [0x1400101b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x34001b
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0xd0024
mov dword [rbp - 0x18], 0xe002f
mov dword [rbp - 0x14], 0x530041
call fcn.140002330
mov rcx, rax
call 0x14000b6e0
lea rcx, [rbp - 0x20]
mov qword [0x1400101a8], rax
mov dword [rbp - 0x20], 0x5003e
mov dword [rbp - 0x1c], 0x2f0012
mov dword [rbp - 0x18], 0x420006
call fcn.140004c00
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000b6e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b742
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000aff0
test al, al
jne 0x14000b754
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b710
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ad70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400101c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x190003
mov dword [rbp - 0x1c], 0x2f0013
mov dword [rbp - 0x18], 0x710006
mov dword [rbp - 0x14], 0x4f0040
mov dword [rbp - 0x10], 0x1b000b
mov dword [rbp - 0xc], 0x45001d
call fcn.140002a50
mov rcx, rax
call rbx
mov rbx, qword [0x1400101c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400101a0], rax
mov dword [rbp - 0x20], 0x180007
mov dword [rbp - 0x1c], 0x2a0018
mov dword [rbp - 0x18], 0x270004
mov dword [rbp - 0x14], 0x4f0006
mov dword [rbp - 0x10], 0x1b000b
mov dword [rbp - 0xc], 0x45001d
call fcn.140002a50
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x14000ea30]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400101b0], rax
mov word [rbp - 0x10], 0xd26
mov byte [rbp - 0xe], 0x49
call fcn.1400043c0
mov rcx, qword [0x1400101a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140010130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2f131903
mov dword [rbp - 0x1c], 0x40a0706
mov dword [rbp - 0x18], 0x2005020c
mov word [rbp - 0x14], 0x460d
call fcn.140001180
mov rcx, qword [0x1400101a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140010130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x26021f19
mov dword [rbp - 0x1c], 0x15172c18
mov dword [rbp - 0x18], 0x2b140720
mov word [rbp - 0x14], 0x461b
call fcn.140001180
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000eb10]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100e8], rax
mov byte [rbp - 0x10], 0x50
call fcn.1400014c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000eaa0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100f0], rax
mov dword [rbp - 0x10], 0x582c3634
call fcn.1400026f0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000ea00]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100e0], rax
mov byte [rbp - 0x10], 0x50
call fcn.1400014c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000eae0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400100d8], rax
mov dword [rbp - 0x10], 0x19273539
mov byte [rbp - 0xc], 0x44
call fcn.1400031c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000ea90]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140010130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x1b3e
mov byte [rbp - 0xe], 0x49
call fcn.1400043c0
mov rcx, qword [0x1400101b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp rax
Function at 0x14000b6e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x71
mov dword [rbp - 0x20], 0x34001b
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0xd0024
mov dword [rbp - 0x18], 0xe002f
mov dword [rbp - 0x14], 0x200030
mov dword [rbp - 0x10], 0x32003c
call fcn.140004d70
mov rcx, rax
call 0x14000b6e0
mov qword [0x1400101b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x6f
mov dword [rbp - 0x20], 0x34001b
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0xd0024
mov dword [rbp - 0x18], 0xe002f
mov dword [rbp - 0x14], 0x530041
call fcn.140002330
mov rcx, rax
call 0x14000b6e0
lea rcx, [rbp - 0x20]
mov qword [0x1400101a8], rax
mov dword [rbp - 0x20], 0x5003e
mov dword [rbp - 0x1c], 0x2f0012
mov dword [rbp - 0x18], 0x420006
call fcn.140004c00
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000b6e0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b742
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000aff0
test al, al
jne 0x14000b754
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b710
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
lea r8, [0x14005bc70]
mov r9d, edx
mov r10d, 8
mov ecx, r9d
mov eax, r9d
shr ecx, 1
mov r9d, ecx
xor r9d, 0xedb88320
test al, 1
cmove r9d, ecx
sub r10, 1
jne 0x140001152
mov dword [r8], r9d
inc edx
add r8, 4
cmp edx, 0x100
jb 0x140001149
mov byte [0x14005bc68], 1
ret

Function at 0x14000118c
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov rbx, rcx
mov esi, 0x68
lea rcx, [rbp - 0x49]
mov r8d, esi
xor edx, edx
call fcn.14001f2b0
xorps xmm0, xmm0
mov dword [rbp - 0x49], esi
xor eax, eax
mov dword [rbp - 0x29], 1
movups xmmword [rdi], xmm0
mov rcx, rbx
mov qword [rdi + 0x10], rax
mov dword [rbp + 7], 1
mov dword [rbp + 0x17], 1
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r9, [rbp - 0x49]
xor r8d, r8d
mov edx, eax
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
xor esi, esi
test eax, eax
je 0x14000132e
mov ecx, dword [rbp - 0x29]
lea eax, [rsi + 2]
inc ecx
lea r13, [rsi - 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140023634
mov qword [rdi], rax
test rax, rax
je 0x14000132a
mov rdx, qword [rbp - 0x31]
test rdx, rdx
je 0x14000125d
mov r8d, dword [rbp - 0x29]
mov rcx, rax
add r8, r8
call fcn.14001f6b0
mov ecx, dword [rbp - 0x29]
mov rax, qword [rdi]
mov word [rax + rcx*2], si
mov ecx, dword [rbp + 7]
mov r15d, 0x2f
test ecx, ecx
je 0x14000128a
mov rax, qword [rbp - 1]
test rax, rax
je 0x14000128a
cmp word [rax], r15w
jne 0x14000128a
dec ecx
add rax, 2
mov dword [rbp + 7], ecx
mov qword [rbp - 1], rax
test ecx, ecx
jne 0x14000126e
mov ebx, dword [rbp + 0x17]
mov eax, 2
inc ebx
add ebx, ecx
lea ecx, [rbx + 1]
mul rcx
cmovo rax, r13
mov rcx, rax
call fcn.140023634
mov qword [rdi + 8], rax
test rax, rax
je 0x1400012fd
mov word [rax], r15w
mov rdx, qword [rbp - 1]
test rdx, rdx
je 0x1400012d2
mov r8d, dword [rbp + 7]
mov rcx, qword [rdi + 8]
add r8, r8
add rcx, 2
call fcn.14001f6b0
mov rdx, qword [rbp + 0xf]
test rdx, rdx
je 0x1400012f5
mov ecx, dword [rbp + 7]
mov rax, qword [rdi + 8]
inc rcx
mov r8d, dword [rbp + 0x17]
add r8, r8
lea rcx, [rax + rcx*2]
call fcn.14001f6b0
mov rax, qword [rdi + 8]
mov word [rax + rbx*2], si
mov eax, dword [rbp + 7]
mov ecx, dword [rbp - 0x35]
inc eax
mov dword [rdi + 0x10], eax
movzx eax, word [rbp - 0x25]
mov word [rdi + 0x14], ax
sub ecx, 3
je 0x140001326
cmp ecx, 1
je 0x140001320
mov byte [rdi + 0x16], sil
jmp 0x14000132a
mov byte [rdi + 0x16], 2
jmp 0x14000132a
mov byte [rdi + 0x16], 1
mov al, 1
jmp 0x140001330
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14001c430
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400015b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp byte [0x14005bc68], 0
jne 0x1400015ed
call fcn.140001140
or ebx, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 0x10
movzx eax, byte [rdx]
mov ecx, ebx
xor rcx, rax
shr ebx, 8
movzx eax, cl
inc rdx
lea rcx, [0x14005bc70]
xor ebx, dword [rcx + rax*4]
sub r8, 1
jne 0x1400015fb
call fcn.14002363c
not ebx
xor eax, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001c430
add rsp, 0x40
pop rbx
ret

Function at 0x14000176c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x14000178d
inc r9b
cmp r9b, 4
jb 0x14000177f
mov rbx, qword [rsp + 8]
ret
Function at 0x1400017b4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x14000198c
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.14000176c
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x140048050]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x140001822
inc rdx
sub r8, 1
jne 0x14000181c
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x140001952
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x14000189d
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.14000176c
inc sil
jmp 0x140001815
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.14000176c
mov eax, 0xf
mov cl, byte [rax + rbx + 0xb0]
cmp cl, 0xff
jne 0x140001981
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x140001965
jmp 0x14000198a
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x1400017ee
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14001c430
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140002fe4
Capabilities:
Encode data using xor

Disassembly:
neg r8d
mov r10, rcx
movsxd r11, r8d
mov r9, rdx
mov r8d, 0xa
sub r10, rdx
movsxd rcx, dword [r10 + r9]
movsxd rdx, dword [r9]
xor rdx, rcx
and rdx, r11
mov rax, rdx
xor rax, rcx
mov qword [r10 + r9], rax
movsxd rax, dword [r9]
xor rax, rdx
mov qword [r9], rax
lea r9, [r9 + 8]
sub r8, 1
jne 0x140002ff9
ret

Function at 0x1400036c8
Capabilities:
Encrypt data using curve25519

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x98], rax
movups xmm0, xmmword [rdx]
mov rbx, rcx
lea rcx, [rbp - 0x80]
movups xmm1, xmmword [rdx + 0x10]
mov rdx, r8
movd eax, xmm0
movups xmmword [rbp + 0x80], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x70], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [rbp + 0x8f], al
call fcn.1400024e8
lea r9, [rbp - 0x80]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140003024
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14000331c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.140002070
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400026dc
xor eax, eax
mov rcx, qword [rbp + 0x98]
xor rcx, rsp
call fcn.14001c430
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x1a0
pop rbp
ret
Function at 0x140003c6c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [0x14005ca30]
lea r8, [0x14005c070]
cmp edx, 0x270
jl 0x140003d25
mov rdx, r8
lea r11, [0x14005c3fc]
mov r9d, 0x7fffffff
lea r10, [0x14004d8f0]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx + 0x634]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003c9c
lea rdx, [0x14005c3fc]
lea r11, [0x14005ca2c]
mov ecx, dword [rdx]
xor ecx, dword [rdx + 4]
and ecx, r9d
xor ecx, dword [rdx]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [rdx - 0x38c]
mov dword [rdx], ecx
add rdx, 4
cmp rdx, r11
jl 0x140003cd0
mov eax, dword [0x14005ca2c]
mov ecx, dword [0x14005c070]
and eax, 0x80000000
and ecx, r9d
or ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [r10 + rax*4]
xor ecx, dword [0x14005c6a0]
mov dword [0x14005ca2c], ecx
xor edx, edx
movsxd rax, edx
inc edx
mov dword [0x14005ca30], edx
mov ecx, dword [r8 + rax*4]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x140004214
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov rbx, rdx
mov byte [rcx + 8], 0
mov rsi, rcx
lea rbp, [rax + 0x18]
call fcn.1400040a0
mov r8d, 0x208
mov qword [rsp + 0x30], rbp
and qword [rsp + 0x28], 0
lea rdx, [rsi + 0xa]
mov r9d, r8d
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.140025dc0
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea rcx, [rsi + 0xa]
mov dword [rsi + 0x41c], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140004284
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
call fcn.1400040a0
mov r8d, 0x208
mov qword [rsp + 0x30], rbx
and qword [rsp + 0x28], 0
lea rdx, [rbp + 0xa]
mov r9d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.140025dc0
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea rcx, [rbp + 0xa]
mov dword [rbp + 0x41c], eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
Function at 0x140004608
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rax, vtable.Encrypt.1.0
or rsi, 0xffffffffffffffff
lea r14, [rcx + 0x4c8]
mov qword [rcx], rax
lea rax, vtable.Encrypt.0
mov rdi, rcx
mov qword [r14], rax
cmp qword [rcx + 0x440], rsi
je 0x140004794
mov r15d, dword [rcx + 0x7a0]
xor ebx, ebx
test r15d, r15d
je 0x140004794
xor edx, edx
lea r8d, [rsi + 0x59]
lea rcx, [rbp - 0x29]
call fcn.14001f2b0
movups xmm1, xmmword [rdi + 0x4e0]
mov rax, qword [rdi + 0x450]
lea r8d, [rsi + 3]
movups xmm0, xmmword [rdi + 0x4d0]
xor r9d, r9d
mov qword [rbp - 0x31], rax
movaps xmmword [rbp - 0x19], xmm1
mov edx, ebx
movups xmm1, xmmword [rdi + 0x520]
mov rax, qword [rdi + 0x798]
movaps xmmword [rbp - 0x29], xmm0
movsd xmm0, qword [rdi + 0x4f0]
movdqu xmmword [rbp - 1], xmm1
mov dword [rbp - 0x39], 0x1020102
mov dword [rbp - 0x35], r15d
movsd qword [rbp - 9], xmm0
mov rcx, qword [rax + 0x18]
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rcx + 0x10]
mov rcx, rdi
mov dword [rbp + 0x2f], 0x3040304
movups xmmword [rbp + 0x1f], xmm1
call fcn.14001b730
lea r9, [rbp - 0x69]
mov rcx, rdi
lea r8d, [rsi + 0x6d]
lea rdx, [rbp - 0x39]
call fcn.14001b650
mov rcx, qword [rdi + 0x440]
cmp rcx, rsi
je 0x140004729
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x440], rsi
mov rax, qword [rdi + 0x798]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rdx, qword [rax]
movups xmmword [rbp - 0x61], xmm0
movdqu xmmword [rbp - 0x51], xmm1
inc rsi
cmp word [rdx + rsi*2], bx
jne 0x140004742
mov r8, rsi
lea rcx, [rbp - 0x61]
call fcn.140004944
mov r8d, 7
lea rdx, str..mallox
lea rcx, [rbp - 0x61]
call fcn.1400048c8
mov rcx, qword [rdi + 0x798]
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rdx, qword [rbp - 0x61]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
lea rcx, [rbp - 0x61]
call fcn.140004864
mov rcx, r14
call fcn.14001b800
mov rcx, rdi
call fcn.14001b450
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14001c430
lea r11, [rsp + 0xd0]
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
Function at 0x140005890
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0x80]
xor ebx, ebx
mov rsi, r8
test rdx, rdx
je 0x140005929
test r8, r8
je 0x140005929
test rbp, rbp
je 0x140005929
lea rax, [r11 - 0x28]
mov qword [r11 - 0x28], rbx
lea r9d, [rbx + 2]
mov qword [r11 - 0x38], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp eax, 5
je 0x140005929
test eax, eax
jne 0x140005920
mov rcx, qword [rsp + 0x30]
lea r9d, [rbx + 4]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
sete bl
mov eax, ebx
jmp 0x14000592b
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001c430
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret