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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x7c8]
sub rsp, 0x8a0
mov r14d, dword [rbp + 0x800]
mov rdi, r8
mov r13b, dl
mov r15, rcx
cmp r14d, 0x18
ja 0x140007c8b
xor esi, esi
lea rbx, [rcx + 0x148]
mov rdx, rdi
mov rcx, rbx
call fcn.140012c94
test al, al
je 0x140007acb
lea rcx, [rbx + 0x20]
cmp dword [rcx + 0x30], r14d
jne 0x140007acb
mov rdx, qword [rbp + 0x7f0]
mov r8d, 0x10
call fcn.1400274f0
test eax, eax
je 0x140007ca7
inc esi
add rbx, 0x98
cmp esi, 4
jb 0x140007a98
mov rcx, qword [rbp + 0x7e8]
lea rdx, [rbp - 0x60]
mov esi, 0x800
mov r8d, esi
call fcn.140015e50
mov ecx, r14d
mov ebx, 1
shl ebx, cl
lea rcx, [rbp - 0x60]
call fcn.14002d190
mov r8, qword [rbp + 0x7f0]
lea rcx, [rbp - 0x60]
mov rdx, rax
mov dword [rsp + 0x38], ebx
lea rax, [rsp + 0x60]
mov ebx, 0x10
mov qword [rsp + 0x30], rax
mov r9d, ebx
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400080d4
mov edx, esi
lea rcx, [rbp - 0x60]
call fcn.140012f90
mov ecx, dword [r15 + 0x3a8]
mov eax, ecx
and eax, 3
imul rsi, rax, 0x98
lea eax, [rcx + 1]
add rsi, 0x148
mov dword [r15 + 0x3a8], eax
add rsi, r15
mov dword [rsi + 0x50], r14d
cmp rsi, rdi
je 0x140007b91
mov r9b, byte [rbp + 0x800]
mov rcx, rsi
mov r8, qword [rdi + 8]
mov rdx, qword [rdi]
call fcn.140007274
mov al, byte [rdi + 0x18]
lea rcx, [rsi + 0x20]
mov rdx, qword [rbp + 0x7f0]
mov r8, rbx
mov byte [rsi + 0x18], al
call fcn.1400275f0
mov edi, 0x20
lea rdx, [rsp + 0x40]
mov r8d, edi
lea rcx, [rsi + 0x30]
call fcn.1400275f0
lea rcx, [rsi + 0x54]
mov r8d, edi
lea rdx, [rsp + 0x60]
call fcn.1400275f0
lea rcx, [rsi + 0x74]
mov r8d, edi
lea rdx, [rbp - 0x80]
call fcn.1400275f0
xor r9d, r9d
lea rcx, [rsi + 0x30]
mov r8b, 1
mov edx, edi
call fcn.140012dd4
mov rcx, qword [rbp + 0x808]
test rcx, rcx
je 0x140007c0a
mov r8, rdi
lea rdx, [rbp - 0x80]
call fcn.1400275f0
mov rbx, qword [rbp + 0x810]
test rbx, rbx
je 0x140007c53
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 8]
call fcn.140026760
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov r9, rdi
mov al, byte [rdx]
mov rcx, r8
and ecx, 7
inc r8
inc rdx
xor byte [rcx + rbx], al
sub r9, 1
jne 0x140007c2f
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140012f90
mov rax, qword [rbp + 0x7f8]
test rax, rax
je 0x140007c7e
lea rcx, [r15 + 0x3b0]
mov qword [rsp + 0x20], rax
mov r9d, 0x100
lea r8, [rsp + 0x40]
mov dl, r13b
call fcn.1400122a4
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140012f90
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov edi, 0x20
lea rdx, [rbx + 0x30]
mov r8d, edi
lea rcx, [rsp + 0x40]
call fcn.1400275f0
xor r9d, r9d
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov edx, edi
call fcn.140012dd4
lea rdx, [rbx + 0x54]
mov r8d, edi
lea rcx, [rsp + 0x60]
call fcn.1400275f0
lea rdx, [rbx + 0x74]
mov r8d, edi
lea rcx, [rbp - 0x80]
call fcn.1400275f0
jmp 0x140007bf2
Function at 0x1400080d4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
mov rax, r8
mov r15, rdx
mov r8d, 0x40
mov r12, rcx
cmp r9, r8
lea rcx, [rbp - 0x40]
mov rdx, rax
mov rbx, r9
cmovb r8, r9
call fcn.1400275f0
xor edi, edi
mov dword [rbp + rbx - 0x40], 0x1000000
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rdi
lea r9, [rbx + 4]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x40]
mov qword [rsp + 0x28], rdi
mov rdx, r15
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140007df0
lea r13d, [rdi + 0x20]
mov r8d, r13d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.1400275f0
mov eax, dword [rbp + 0x178]
lea rsi, [rbp - 0x80]
dec eax
mov byte [rbp + 0x178], dil
mov dword [rsp + 0x50], eax
lea r14d, [r13 - 0x1d]
mov rax, qword [rbp + 0x160]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x170]
mov byte [rbp + 0x160], dil
lea rdi, [rsp + 0x50]
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x54], 0x10
mov dword [rsp + 0x58], 0x10
cmp dword [rdi], 0
jbe 0x14000825b
mov ebx, dword [rdi]
lea rax, [rbp + 0x178]
mov r9, r13
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x60]
lea rax, [rbp + 0x30]
mov rdx, r15
mov qword [rsp + 0x38], rax
mov rcx, r12
lea rax, [rbp + 0x160]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call fcn.140007df0
mov r8, r13
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400275f0
xor eax, eax
lea ecx, [rax + 2]
movdqu xmm0, xmmword [rbp + rax - 0x68]
movdqu xmm1, xmmword [rsp + rax + 0x60]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax - 0x78], xmm1
sub rcx, 1
jne 0x140008231
sub rbx, 1
jne 0x1400081d2
mov rcx, qword [rsi]
lea rdx, [rbp - 0x68]
mov r8, r13
call fcn.1400275f0
add rdi, 4
add rsi, 8
sub r14, 1
jne 0x1400081c7
lea edx, [r14 + 0x44]
lea rcx, [rbp - 0x40]
call fcn.140012f90
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.140012f90
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140012f90
mov rdx, r13
lea rcx, [rbp + 0x10]
call fcn.140012f90
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000bec4
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x4f88]
mov eax, 0x5070
call fcn.140025870
sub rsp, rax
mov rbx, rcx
mov r15d, 0x800
mov r8d, r15d
lea rdx, [rbp + 0x2f70]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
lea edi, [r15 - 2]
cmp eax, edi
ja 0x14000c0a8
mov r8d, r15d
lea rdx, [rbp + 0x3f70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
dec eax
cmp eax, edi
ja 0x14000c0a8
lea rcx, [rbp + 0x2f70]
call fcn.14000f6bc
mov rsi, rax
lea rcx, [rbp + 0x3f70]
call fcn.14000f6bc
mov rdi, rax
xor r14d, r14d
cmp word [rax], r14w
je 0x14000c0a8
mov rdx, rax
mov rcx, rsi
call fcn.140015fa4
test eax, eax
je 0x14000c0a8
mov rcx, rbx
call fcn.14000f6bc
mov rcx, rax
mov rdx, rdi
call fcn.140015fa4
test eax, eax
jne 0x14000c0a8
movzx eax, r14w
mov word [rsp + 0x20], ax
mov edi, r14d
test ax, ax
jne 0x14000bffa
mov r8, r15
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14001427c
lea rcx, [rsp + 0x20]
call fcn.14000f6bc
mov rcx, rax
mov r9d, edi
lea r8, str.rtmp_d
mov rdx, r15
call fcn.1400053cc
lea rcx, [rsp + 0x20]
call fcn.14000cf4c
test al, al
je 0x14000bfe1
mov eax, r14d
mov word [rsp + 0x20], ax
jmp 0x14000bfe6
movzx eax, word [rsp + 0x20]
add edi, 0x7b
cmp edi, 0x2710
jl 0x14000bf95
test ax, ax
je 0x14000c0a8
mov r8, r15
mov rdx, rbx
lea rcx, [rbp + 0x1f70]
call fcn.14001427c
mov r8, r15
mov rdx, rsi
lea rcx, [rbp + 0x1f70]
call fcn.14000f748
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x1f70]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000c0a8
lea rcx, [rbp + 0xf20]
call fcn.14000c0c8
nop
mov dil, r14b
mov rcx, rbx
call fcn.14000cf4c
test al, al
jne 0x14000c068
mov r8d, 0x12
mov rdx, rbx
lea rcx, [rbp + 0xf20]
call fcn.14000c1f8
mov dil, al
lea rdx, [rbp + 0x1f70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test dil, dil
je 0x14000c098
lea rcx, [rbp + 0xf20]
call fcn.14000c190
lea rcx, [rbp + 0xf20]
call fcn.14000c320
nop
lea rcx, [rbp + 0xf20]
call fcn.14000c110
mov al, 1
jmp 0x14000c0aa
xor al, al
lea r11, [rsp + 0x5070]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14000c320
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x14], 0
mov rbx, rcx
jne 0x14000c357
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x14000c343
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14003b508]
cmp byte [rbx + 0x21], 0
je 0x14000c357
lea rcx, [rbx + 0x3a]
add rsp, 0x20
pop rbx
jmp fcn.14000ceec
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14000d63c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r15
push rbp
lea rbp, [rax - 0x1178]
mov eax, 0x1270
call fcn.140025870
sub rsp, rax
mov rsi, rdx
lea rdx, [rsp + 0x20]
mov rdi, r8
mov rbx, rcx
mov r15d, 0x800
cmp rcx, 0xffffffffffffffff
jne 0x14000d6e8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d704
mov r8d, r15d
lea rdx, [rbp + 0x170]
mov rcx, rsi
call fcn.14000edd0
test al, al
je 0x14000d6c1
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000d704
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rax - 2]
test ecx, 0xffffffee
jne 0x14000d6db
cmp eax, 0x13
je 0x14000d6db
xor al, al
jmp 0x14000d6dd
mov al, 1
mov byte [rdi + 0x1044], al
jmp 0x14000d799
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000d704
or rbx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x14000d6dd
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.14001427c
mov r8, r15
lea rdx, [rsp + 0x4c]
mov rcx, rdi
call fcn.14000f748
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x34]
mov ecx, dword [rsp + 0x3c]
shl rcx, 0x20
add rcx, rax
mov eax, dword [rsp + 0x20]
mov dword [rdi + 0x1008], eax
mov rax, qword [rsp + 0x24]
mov qword [rdi + 0x1028], rax
mov rax, qword [rsp + 0x2c]
mov qword [rdi + 0x1030], rax
mov rax, qword [rsp + 0x34]
mov qword [rdi + 0x1000], rcx
lea rcx, [rdi + 0x1010]
mov qword [rdi + 0x1038], rax
call fcn.140015530
lea rcx, [rdi + 0x1018]
lea rdx, [rsp + 0x24]
call fcn.140015530
lea rcx, [rdi + 0x1020]
lea rdx, [rsp + 0x2c]
call fcn.140015530
and dword [rdi + 0x1040], 0
lea r11, [rsp + 0x1270]
mov rsi, qword [r11 + 0x18]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14000e070
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x140
xor bl, bl
cmp byte [0x14004f550], bl
jne 0x14000e0c3
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 0xa
ja 0x14000e0b2
jne 0x14000e0b4
cmp dword [rsp + 0x2c], 0x55f0
jb 0x14000e0b4
call fcn.14000e0d4
test al, al
jne 0x14000e0b4
mov bl, 1
mov byte [0x14004f551], bl
mov byte [0x14004f550], 1
jmp 0x14000e0c9
mov bl, byte [0x14004f551]
mov al, bl
add rsp, 0x140
pop rbx
ret
Function at 0x14000edd0
Capabilities:
Get common file path

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
mov eax, 0x1020
call fcn.140025870
sub rsp, rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x14000ef7f
call fcn.14000efa8
mov rcx, rbx
call fcn.14002a818
mov rcx, rbx
mov rbp, rax
call fcn.14000efd8
test al, al
je 0x14000eeb4
mov rcx, rbx
call fcn.14000efa8
test al, al
je 0x14000ee68
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, str.__
mov rcx, rsi
call fcn.14001427c
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140014238
mov al, 1
jmp 0x14000ef81
cmp word [rbx], 0x5c
jne 0x14000ef7f
cmp word [rbx + 2], 0x5c
jne 0x14000ef7f
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, str.__
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
lea rdx, [0x14003bd58]
mov rcx, rsi
call fcn.140014238
lea rdx, [rbx + 2]
jmp 0x14000ee56
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x14000ef7f
cmp word [rbx], 0x5c
je 0x14000ef49
cmp word [rbx], 0x2f
je 0x14000ef49
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.14000e828
lea rcx, [rsp + 0x20]
call fcn.14002a818
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x14000ef7f
mov r8, rdi
lea rdx, str.__
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014238
cmp word [rbx], 0x2e
jne 0x14000ee53
cmp word [rbx + 2], 0x5c
je 0x14000ef40
cmp word [rbx + 2], 0x2f
jne 0x14000ee53
add rbx, 4
jmp 0x14000ee53
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x14000ef7f
mov r8, rdi
lea rdx, str.__
mov rcx, rsi
call fcn.14001427c
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014238
jmp 0x14000ee53
xor al, al
lea r11, [rsp + 0x1020]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000fee8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, r8d
mov rsi, r9
mov r10b, bl
cmp r8d, 1
jbe 0x14000ff1c
lea rcx, [rdx + 1]
lea r8d, [rdi - 1]
xor r10b, byte [rcx]
inc rcx
sub r8, 1
jne 0x14000ff10
cmp r10b, byte [rdx]
jne 0x14000ff58
mov r8, rdi
or ecx, 0xffffffff
call fcn.140007200
lea rdx, [0x14004c060]
not eax
mov rcx, rdx
cmp dword [rcx + 4], eax
jne 0x14000ff41
cmp dword [rcx], edi
je 0x14000ff4e
inc ebx
add rcx, 0xc
cmp ebx, 6
jae 0x14000ff58
jmp 0x14000ff38
lea rcx, [rbx + rbx*2]
mov eax, dword [rdx + rcx*4 + 8]
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140012dd4
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 [0x140056680]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x140012e73
cmp byte [0x140056678], bl
jne 0x140012e73
lea rcx, str.Crypt32.dll
call fcn.140014504
mov qword [0x140056670], rax
test rax, rax
je 0x140012e5c
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140056670]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140056680], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140056688], rax
jmp 0x140012e63
mov rax, qword [0x140056688]
mov r10, qword [0x140056680]
mov byte [0x140056678], 1
jmp 0x140012e7a
mov rax, qword [0x140056688]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x140012ecd
test r10, r10
je 0x140012eea
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x14003b508]
test eax, eax
jne 0x140012f05
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14004f538]
mov rcx, rbx
call fcn.14000871c
mov rcx, rbx
call fcn.140008994
mov edx, 2
mov rcx, rbx
call fcn.140008714
jmp 0x140012f05
test rax, rax
je 0x140012eea
mov edx, ecx
mov rcx, rsi
call qword [0x14003b508]
test eax, eax
jne 0x140012f05
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x140012ea7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x140012f05
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x140012ef5
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
Function at 0x1400137a8
Capabilities:
Hash data using sha1

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, 0x60
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14001382e
jbe 0x140013819
lea edx, [rbp + 8]
cmp edi, edx
jae 0x140013803
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140026760
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140012fb0
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.140026760
mov rcx, r14
shr rcx, 0x20
call fcn.14002d324
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.14002d324
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140012fb0
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x140013867
and qword [rbx + 0x18], rcx
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret

Function at 0x1400138b8
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret
Function at 0x140013ab0
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r8d, dword [rcx + 0x20]
mov edi, 0x38
mov rsi, qword [rcx + 0x20]
and r8d, 0x3f
shl rsi, 3
mov r14, rdx
mov rbx, rcx
mov byte [r8 + rcx + 0x28], 0x80
inc r8d
cmp r8d, edi
je 0x140013b31
jbe 0x140013b1a
lea edx, [rdi + 8]
cmp r8d, edx
jae 0x140013b0f
mov ecx, r8d
sub edx, r8d
add rcx, 0x28
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.140026760
mov rcx, rbx
call fcn.140013cd4
xor r8d, r8d
mov ecx, r8d
sub edi, r8d
add rcx, 0x28
mov r8d, edi
add rcx, rbx
xor edx, edx
call fcn.140026760
mov rcx, rsi
shr rcx, 0x20
call fcn.14002d324
mov ecx, esi
mov dword [rbx + 0x60], eax
call fcn.14002d324
mov rcx, rbx
mov dword [rbx + 0x64], eax
call fcn.140013cd4
mov ecx, dword [rbx]
call fcn.14002d324
mov dword [r14], eax
mov ecx, dword [rbx + 4]
call fcn.14002d324
mov dword [r14 + 4], eax
mov ecx, dword [rbx + 8]
call fcn.14002d324
mov dword [r14 + 8], eax
mov ecx, dword [rbx + 0xc]
call fcn.14002d324
mov dword [r14 + 0xc], eax
mov ecx, dword [rbx + 0x10]
call fcn.14002d324
mov dword [r14 + 0x10], eax
mov ecx, dword [rbx + 0x14]
call fcn.14002d324
mov dword [r14 + 0x14], eax
mov ecx, dword [rbx + 0x18]
call fcn.14002d324
mov dword [r14 + 0x18], eax
mov ecx, dword [rbx + 0x1c]
call fcn.14002d324
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r14 + 0x1c], eax
and qword [rbx + 0x20], 0
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret

Function at 0x140013c04
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140013cd4
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
xor r14d, r14d
lea rsi, [rsp + 0x40]
mov edi, r14d
mov rbx, rcx
lea eax, [rdi*4]
mov ecx, dword [rax + rbx + 0x28]
call fcn.14002d324
inc edi
mov dword [rsi], eax
lea rsi, [rsi + 4]
cmp edi, 0x10
jb 0x140013d09
lea r10, [rbp - 0x80]
mov r11d, 0x30
lea r9, [rsp + 0x78]
mov ecx, dword [r9 - 0x34]
mov r8d, ecx
mov edx, dword [r9]
mov eax, ecx
rol r8d, 0xe
lea r9, [r9 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r9 - 0x3c]
add r8d, dword [r9 - 0x18]
mov dword [r10], r8d
lea r10, [r10 + 4]
sub r11, 1
jne 0x140013d35
movups xmm0, xmmword [rbx]
lea r12d, [r11 + 0x40]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov r11d, dword [rsp + 0x28]
mov edi, dword [rsp + 0x24]
mov r10d, dword [rsp + 0x20]
mov ebx, dword [rsp + 0x2c]
movups xmmword [rsp + 0x30], xmm1
mov r13d, dword [rsp + 0x3c]
mov esi, dword [rsp + 0x38]
mov r15d, dword [rsp + 0x34]
mov r9d, dword [rsp + 0x30]
mov eax, r9d
mov r8d, r9d
rol eax, 7
mov ecx, r9d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, esi
mov eax, r9d
mov edx, r10d
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r9d
xor ecx, eax
lea rax, [0x14003bf50]
add r8d, ecx
mov ecx, edi
add r8d, dword [r14 + rax]
xor ecx, r11d
add r8d, dword [rsp + r14 + 0x40]
lea r14, [r14 + 4]
add r8d, r13d
and ecx, r10d
mov eax, r10d
mov r13d, esi
rol eax, 0xa
mov esi, r15d
xor edx, eax
mov r15d, r9d
mov eax, r10d
lea r9d, [rbx + r8]
ror eax, 2
mov ebx, r11d
xor edx, eax
mov eax, edi
and eax, r11d
mov r11d, edi
xor ecx, eax
mov edi, r10d
add edx, ecx
lea r10d, [rdx + r8]
sub r12, 1
jne 0x140013db8
mov dword [rsp + 0x2c], ebx
lea rcx, [rsp + 0x20]
mov rbx, qword [rbp + 0x70]
lea edx, [r12 + 8]
sub rcx, rbx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x20], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x24], edi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x34], r15d
mov dword [rsp + 0x3c], r13d
mov eax, dword [rcx + rbx]
add dword [rbx], eax
lea rbx, [rbx + 4]
sub rdx, 1
jne 0x140013e7b
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001447c
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
and dword [rbp + 0x18], 0
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x18]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp + 0x1c], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp + 0x10], eax
test eax, eax
je 0x1400144fb
mov rdx, qword [rbp + 0x20]
lea r8, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp + 0x10], ecx
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp + 0x10]
test eax, eax
setne al
add rsp, 0x60
pop rbp
ret

Function at 0x140014504
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1020
call fcn.140025870
sub rsp, rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14001452e
xor eax, eax
jmp 0x140014551
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14000f104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x1020
pop rbx
ret
Function at 0x140014eb4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x140014f56
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140015060]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x140014f2c
lea rdx, str.CreateThread_failed
lea rcx, [0x14004f538]
call fcn.14000871c
lea rcx, [0x14004f538]
call fcn.140008994
lea edx, [rsi + 2]
lea rcx, [0x14004f538]
call fcn.140008714
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x208]
mov edx, dword [0x140056698]
test edx, edx
je 0x140014f4c
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x140014ed0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret