joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400373d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
xor esi, esi
movzx eax, byte [rcx + 0x1c]
test al, al
je 0x1400373fd
xor al, al
jmp 0x140037548
mov byte [rcx + 0x1c], 1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
mov qword [rbp + 0x10], rax
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 1
mov word [rbp - 0x10], si
mov edx, 0xf5
lea rcx, [rbp - 0x68]
call fcn.140011170
mov rbx, rax
mov rdi, qword [rax + 0x10]
mov rcx, rax
call fcn.140042c70
test al, al
je 0x140037467
mov rcx, rsi
jmp 0x140037479
mov rax, qword [rbx + 8]
lea rcx, [0x14024eca0]
test rax, rax
cmovne rcx, rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14008e330
nop
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400374b4
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400374b4
mov rcx, qword [rbp - 0x68]
call fcn.14021b810
lea rcx, [rbp - 0x80]
call fcn.140094f50
mov rdx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140037500
xor dil, dil
jmp 0x140037529
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140037544
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x140037544
mov rcx, qword [rbp - 0x80]
call fcn.14021b810
movzx eax, dil
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14003e8d0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x10
mov rax, qword [0x14037da00]
xor rax, rsp
mov qword [rsp], rax
mov eax, dword [rsp + 0x40]
xor r10d, r10d
mov rbx, r8
mov qword [rcx], r10
mov dword [rcx + 8], r10d
mov rbp, r9
mov rsi, rdx
mov r11, rcx
mov edi, r10d
mov r9d, r10d
mov r8d, r10d
test rbx, rbx
jle 0x14003e9b9
nop
movsx edx, byte [r8 + rsi]
lea ecx, [rdx - 0x41]
cmp ecx, 0x19
jbe 0x14003e945
lea ecx, [rdx - 0x61]
cmp ecx, 0x19
ja 0x14003e93a
lea ecx, [rdx - 0x47]
jmp 0x14003e945
lea ecx, [rdx - 0x30]
cmp ecx, 9
ja 0x14003e94f
lea ecx, [rdx + 4]
cmp ecx, 0xffffffff
je 0x14003e9ad
jmp 0x14003e9ee
mov ecx, eax
and ecx, 1
cmp edx, 0x2b
jne 0x14003e965
test ecx, ecx
jne 0x14003e965
lea ecx, [rdx + 0x13]
jmp 0x14003e9ee
cmp edx, 0x2d
jne 0x14003e973
test ecx, ecx
je 0x14003e97c
lea ecx, [rdx + 0x11]
jmp 0x14003e9ee
cmp edx, 0x2f
jne 0x14003e9e0
test ecx, ecx
je 0x14003e9e9
test al, 4
je 0x14003e9ad
cmp edx, 0x3d
jne 0x14003ea30
test bl, 3
jne 0x14003ea26
lea rcx, [rbx - 1]
cmp r8, rcx
je 0x14003e9ad
lea rcx, [rbx - 2]
cmp r8, rcx
jne 0x14003ea1c
inc r8
cmp byte [r8 + rsi], dl
jne 0x14003ea1c
inc r8
cmp r8, rbx
jl 0x14003e920
mov qword [r11], r9
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140214340
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
add rsp, 0x10
pop rdi
ret
cmp edx, 0x5f
jne 0x14003e97c
test ecx, ecx
je 0x14003e97c
mov ecx, 0x3f
shl r10d, 6
add edi, 6
or r10d, ecx
cmp edi, 8
jl 0x14003e9ad
sub edi, 8
mov edx, r10d
mov ecx, edi
shr edx, cl
mov byte [r9 + rbp], dl
mov edx, 1
shl edx, cl
inc r9
dec edx
and r10d, edx
jmp 0x14003e9ad
mov dword [r11 + 8], 3
jmp 0x14003e9bc
mov dword [r11 + 8], 1
jmp 0x14003e9bc
mov dword [r11 + 8], 2
jmp 0x14003e9bc
Function at 0x14007ec20
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rcx]
mov edx, dword [rcx + 0x1ec]
mov byte [rcx + 0x1e8], 0
jmp fcn.14007ec40
Function at 0x140081300
Capabilities:
Hash data using sha256

Disassembly:
mov r8, rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov qword [rcx + 0x80], rax
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
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
xor ecx, 0x6a09e667
mov dword [r8], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
xor ecx, 0xbb67ae85
mov dword [r8 + 4], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
xor ecx, 0x3c6ef372
mov dword [r8 + 8], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
xor ecx, 0xa54ff53a
mov dword [r8 + 0xc], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
xor ecx, 0x510e527f
mov dword [r8 + 0x10], ecx
movzx ecx, byte [rdx + 0x17]
movzx eax, byte [rdx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
xor ecx, 0x9b05688c
mov dword [r8 + 0x14], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
xor ecx, 0x1f83d9ab
mov dword [r8 + 0x18], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor ecx, 0x5be0cd19
mov dword [r8 + 0x1c], ecx
movzx eax, byte [rdx]
mov qword [r8 + 0x78], rax
xor eax, eax
ret
Function at 0x1400a2a60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rax, rdx
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x50], esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rbp - 0x50], 1
lea r9, [rbp + 0x30]
xor r8d, r8d
mov edx, 0x4000
mov rcx, rax
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x1400a2b86
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp - 0x18]
call fcn.14008e230
nop
mov rcx, qword [rax]
mov qword [rbp - 0x30], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0x28], rcx
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x20], rcx
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rsi
mov dword [rbp - 0x50], 0x11
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400a2b0c
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a2b0c
mov rcx, qword [rbp - 0x18]
call fcn.14021b810
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.1400a9040
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400a2b37
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400a2b37
mov rcx, qword [rbp - 0x30]
call fcn.14021b810
mov rdx, qword [rbx]
mov rax, qword [rbp - 0x48]
mov qword [rbx], rax
mov qword [rbp - 0x48], rdx
mov rcx, qword [rbx + 8]
mov rax, qword [rbp - 0x40]
mov qword [rbx + 8], rax
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbp - 0x38]
mov qword [rbx + 0x10], rax
mov qword [rbp - 0x38], rcx
test rdx, rdx
je 0x1400a2b7c
lock xadd dword [rdx], edi
cmp edi, 1
jne 0x1400a2b7c
mov rcx, qword [rbp - 0x48]
call fcn.14021b810
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rbx
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a56d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, qword [rsp + 0x80]
mov r15, r8
mov qword [rsp + 0x60], rbp
mov r13, r9
mov rsi, rdx
mov qword [rsp + 0x68], rdx
mov r14, rcx
mov r8, rdx
lea rbp, [r15 - 1]
mov r10, rdx
sar rbp, 1
cmp rdx, rbp
jge 0x1400a57d9
mov qword [rsp + 0x70], rdi
nop dword [rax + rax]
lea rdi, [r10 + r10]
mov rcx, rbx
lea rax, [rdi + 2]
imul rdx, rax, 0x38
add rdx, r14
lea r8, [rdx - 0x38]
call fcn.1400a6d70
movzx r10d, al
xor r10, 1
imul rdx, rsi, 0x38
inc r10
add rdx, r14
add r10, rdi
imul r8, r10, 0x38
mov rcx, qword [rdx]
mov rsi, r10
add r8, r14
mov rax, qword [r8]
mov qword [rdx], rax
mov qword [r8], rcx
mov rax, qword [r8 + 8]
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov qword [r8 + 8], rcx
mov rax, qword [r8 + 0x10]
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r8 + 0x10], rcx
mov rax, qword [r8 + 0x18]
mov rcx, qword [rdx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r8 + 0x18], rcx
mov rax, qword [r8 + 0x20]
mov rcx, qword [rdx + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r8 + 0x20], rcx
mov rax, qword [r8 + 0x28]
mov rcx, qword [rdx + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r8 + 0x28], rcx
mov rax, qword [r8 + 0x30]
mov rcx, qword [rdx + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r8 + 0x30], rcx
cmp r10, rbp
jl 0x1400a5720
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
cmp r10, rbp
mov rbp, qword [rsp + 0x60]
jne 0x1400a5871
test r15b, 1
jne 0x1400a5871
imul r9, r15, 0x38
imul rdx, rsi, 0x38
add r9, r14
lea rsi, [r15 - 1]
mov rax, qword [r9 - 0x38]
add rdx, r14
mov rcx, qword [rdx]
mov qword [rdx], rax
mov qword [r9 - 0x38], rcx
mov rax, qword [r9 - 0x30]
mov rcx, qword [rdx + 8]
mov qword [rdx + 8], rax
mov qword [r9 - 0x30], rcx
mov rax, qword [r9 - 0x28]
mov rcx, qword [rdx + 0x10]
mov qword [rdx + 0x10], rax
mov qword [r9 - 0x28], rcx
mov rax, qword [r9 - 0x20]
mov rcx, qword [rdx + 0x18]
mov qword [rdx + 0x18], rax
mov qword [r9 - 0x20], rcx
mov rax, qword [r9 - 0x18]
mov rcx, qword [rdx + 0x20]
mov qword [rdx + 0x20], rax
mov qword [r9 - 0x18], rcx
mov rax, qword [r9 - 0x10]
mov rcx, qword [rdx + 0x28]
mov qword [rdx + 0x28], rax
mov qword [r9 - 0x10], rcx
mov rax, qword [r9 - 8]
mov rcx, qword [rdx + 0x30]
mov qword [rdx + 0x30], rax
mov qword [r9 - 8], rcx
mov r9, r13
mov qword [rsp + 0x80], rbx
mov rdx, rsi
mov rcx, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rsi
jmp fcn.1400a58a0
Function at 0x1400cd070
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov dword [rax - 0x68], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rax - 0x68], 1
mov qword [rax + 0x18], r12
lea r9, [rax + 0x18]
xor r8d, r8d
mov edx, 0x4000
mov rcx, rdi
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x1400cd153
mov rsi, 0xffffffffffffffff
mov r8, rsi
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.14008e230
nop
mov rbp, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r12
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov dword [rsp + 0x20], 9
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400cd124
mov eax, esi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400cd124
mov rcx, qword [rsp + 0x40]
call fcn.14021b810
mov rcx, qword [rbx]
mov qword [rbx], rbp
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r15
test rcx, rcx
je 0x1400cd145
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x1400cd145
call fcn.14021b810
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbx + 0x10], 0
jne 0x1400cd1cb
mov rax, qword [rdi]
cmp rax, qword [0x14033eeb0]
jne 0x1400cd185
mov rax, qword [rdi + 8]
cmp rax, qword [0x14033eeb8]
jne 0x1400cd185
mov qword [rsp + 0x30], 0x11
lea rax, str.C:_tempqt_common
jmp 0x1400cd1ae
mov rax, qword [rdi]
cmp rax, qword [0x14033eed0]
jne 0x1400cd1cb
mov rax, qword [rdi + 8]
cmp rax, qword [0x14033eed8]
jne 0x1400cd1cb
mov qword [rsp + 0x30], SHCreateThread
lea rax, str.C:_tempqt_user
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140087460
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140105830
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r14, rcx
mov rbx, qword [rcx + 8]
lea rsi, [rbx + 0x78]
xor bpl, bpl
mov r12d, 1
test rsi, rsi
je 0x14010587a
mov rax, qword [rsi]
test rax, rax
jne 0x14010586e
lock cmpxchg qword [rsi], r12
je 0x140105876
mov rcx, rsi
call fcn.140107130
movzx ebp, r12b
xor r15d, r15d
cmp byte [rbx + 0x84], r15b
je 0x14010597e
cmp byte [rbx + 0xa8], r15b
jne 0x14010589f
mov byte [rbx + 0xa9], r12b
jmp 0x14010597e
xor edx, edx
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
mov rdi, qword [r14 + 8]
mov byte [rdi + 0x86], 1
mov dword [rdi + 0x94], 7
mov rbx, qword [rdi + 0xb0]
movzx edx, byte [rsp + 0x50]
mov rcx, r14
call fcn.1400ee4d0
mov r8, qword [rdi + 0xb0]
mov edx, 0x34
xor ecx, ecx
call fcn.1400f5680
lea rcx, [rbx + 0x78]
call fcn.14017e650
mov rax, qword [rdi + 0xb0]
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x140105941
mov qword [rsp + 0x50], r15
mov rdx, qword [rdi + 0xb0]
mov rax, qword [rsp + 0x50]
nop
nop
mov qword [rdx + 0x70], rax
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0xb0]
call qword [case.0x1400f4a60.0]
mov rax, qword [rbx]
mov edx, r12d
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400f4a60.0]
mov word [rdi + 0x84], 0x100
mov byte [rdi + 0x86], 0
mov eax, r15d
xchg byte [rdi + 0x87], al
cmp dword [rdi + 0xa4], 0
jne 0x140105977
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x98], r15
mov dword [rdi + 0xa0], r15d
test bpl, bpl
je 0x140105995
mov rax, r12
lock cmpxchg qword [rsi], r15
je 0x140105995
mov rcx, rsi
call fcn.1401076f0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14010f2f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbp, rcx
mov qword [rsp + 0x90], 0x7ffe
lea r12, [0x140385858]
mov qword [rsp + 0x30], r12
mov rax, qword [0x140385858]
mov r13d, 1
test rax, rax
jne 0x14010f33c
lock cmpxchg qword [0x140385858], r13
je 0x14010f344
mov rcx, r12
call fcn.140107130
mov byte [rsp + 0x38], r13b
xor r15d, r15d
cmp qword [rbp + 0x10], 0x7ffe
jg 0x14010f36c
mov rcx, rbp
call fcn.140094f50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14010f451
mov ecx, 0xfffe
call fcn.1402143a4
mov rsi, rax
mov rbx, r15
mov rcx, qword [rbp + 0x10]
test rcx, rcx
jle 0x14010f448
mov r14, qword [rsp + 0x90]
nop dword [rax]
nop word [rax + rax]
mov r8, rcx
sub r8, rbx
mov rax, r14
cmp r8, 0x7ffe
cmovl rax, r8
mov r9, qword [rbp + 8]
mov rdx, rbx
cmp rbx, rcx
jg 0x14010f400
test rbx, rbx
jns 0x14010f3e4
test rax, rax
js 0x14010f3dc
add rax, rbx
cmp rax, rcx
jge 0x14010f3dc
test rax, rax
jle 0x14010f400
mov rdx, r15
jmp 0x14010f3eb
mov rdx, r15
mov rax, rcx
jmp 0x14010f3eb
cmp rax, r8
cmova rax, r8
lea rcx, [r9 + rdx*2]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
lea rax, [rsp + 0x20]
jmp 0x14010f40e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rax, [rsp + 0x40]
mov rdi, qword [rax]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14010f426
lea r8, [rdi + rdi]
mov rcx, rsi
call fcn.140240000
mov word [rsi + rdi*2], r15w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rbx, 0x7ffe
mov rcx, qword [rbp + 0x10]
cmp rbx, rcx
jl 0x14010f3a0
mov rcx, rsi
call fcn.140214360
nop
mov rax, r13
lock cmpxchg qword [0x140385858], r15
je 0x14010f467
mov rcx, r12
call fcn.1401076f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140113620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r8, rdx
mov rdx, qword [rcx]
mov rcx, qword [rcx + 8]
mov r9, rdx
test r8, r8
je 0x14011367c
mov r9, qword [0x1403858b0]
mov rax, qword [0x140387240]
bt rax, 8
jae 0x14011367c
mov rax, qword [0x140387240]
test al, 0x20
je 0x14011367c
mov rax, qword [0x140387240]
bt rax, 0x1c
jae 0x140113677
mov rax, qword [0x140387240]
bt rax, 0x16
jb 0x140113240
jmp 0x140113130
jmp 0x140112fa0
cmp rdx, 8
jbe 0x140113570
jmp 0x140113740
Function at 0x140113700
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
test r8, r8
je 0x140113736
nop dword [rax]
movzx eax, word [r9]
lea r9, [r9 + 2]
shl edx, 4
add edx, eax
mov eax, edx
shr edx, 0x17
and edx, 0x1e0
xor edx, eax
and edx, 0xfffffff
sub r8, 1
jne 0x140113710
mov eax, edx
ret
Function at 0x1401371a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
cmp dword [rbx + 0xd4], 1
je 0x1401371d9
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400f4a60.0]
mov dword [rbx + 0xd4], 1
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14014a400
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x28]
mov rcx, qword [rcx + 0xa8]
test rcx, rcx
jne 0x14014a50f
cmp dword [rsi + 0xd0], 0xffffffff
jne 0x14014a58e
mov rcx, qword [rsi + 0xb0]
cmp rcx, 0xffffffffffffffff
je 0x14014a585
xor r12d, r12d
mov edi, r12d
mov rbx, r8
mov r8d, 0x2000000
cmp rbx, r8
cmovl r8d, ebp
mov qword [rax - 0x58], r12
lea r9, [rax + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14014a4d2
nop word [rax + rax]
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14014a4ca
add rdi, rax
sub rbx, rax
cmp rdi, rbp
jge 0x14014a4ca
mov r8d, 0x2000000
cmp rbx, r8
cmovl r8d, ebx
lea rdx, [rdi + r14]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov rcx, qword [rsi + 0xb0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14014a480
test rdi, rdi
je 0x14014a4d2
mov rax, rdi
jmp 0x14014a59c
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.140110100
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140134c80
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14014a585
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jmp 0x14014a579
call fcn.14022bc08
mov ecx, eax
call fcn.14022ba04
cmp rax, 0xffffffffffffffff
je 0x14014a58e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
add eax, 0xfffffffe
cmp eax, 1
ja 0x14014a58e
mov rcx, qword [rsi + 0xa8]
call fcn.1402298c0
test eax, eax
je 0x14014a58e
mov edx, 0xffffffff
lea rcx, [rsp + 0x30]
call fcn.1401102e0
nop
mov r8, rax
mov edx, 1
mov rcx, r15
call fcn.140134c80
nop
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14014a585
mov ecx, 0xffffffff
lock xadd dword [rdx], ecx
cmp ecx, 1
jne 0x14014a585
mov rcx, qword [rsp + 0x30]
call fcn.14021b810
mov rax, 0xffffffffffffffff
jmp 0x14014a59c
mov r8, rbp
mov rdx, r14
mov rcx, rsi
call fcn.140137200
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140137200
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r15, rdx
mov rbp, rcx
mov r12, qword [rcx + 0x28]
test r8, r8
js 0x14013734e
xor ebx, ebx
cmp qword [rcx + 0xa8], rbx
je 0x1401372c6
nop dword [rax + rax]
mov r8, rsi
sub r8, rbx
lea rcx, [rbx + r15]
mov r9, qword [rbp + 0xa8]
mov edx, 1
call fcn.1402235e8
mov rdi, rax
mov rcx, qword [rbp + 0xa8]
call fcn.1402298c0
test eax, eax
setne r14b
test eax, eax
je 0x140137279
test rdi, rdi
je 0x1401372a6
add rbx, rdi
test eax, eax
jne 0x140137308
test rdi, rdi
jne 0x140137298
call fcn.1402273f8
xor ecx, ecx
cmp dword [rax], 4
sete cl
jmp 0x1401372a0
xor ecx, ecx
cmp rbx, rsi
setl cl
test ecx, ecx
jne 0x140137240
jmp 0x140137308
mov rcx, qword [rbp + 0xa8]
call fcn.1402232e4
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call fcn.140223900
jmp 0x140137308
cmp dword [rcx + 0xd0], 0xffffffff
je 0x140137316
nop
mov rax, rsi
sub rax, rbx
mov r8d, 0x7fffffff
cmp rax, r8
cmovb r8d, eax
lea rdx, [rbx + r15]
mov ecx, dword [rbp + 0xd0]
call fcn.14022a1a8
movsxd rcx, eax
test eax, eax
jle 0x140137301
add rbx, rcx
cmp rbx, rsi
jl 0x1401372d0
cmp ecx, 0xffffffff
setne r14b
test r14b, r14b
jne 0x140137395
test rbx, rbx
jne 0x140137395
mov rbx, 0xffffffffffffffff
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1401102e0
nop
mov r8, rax
lea edx, [rbx + 2]
mov rcx, r12
call fcn.140134c80
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140137395
mov ecx, ebx
lock xadd dword [rax], ecx
cmp ecx, 1
jmp 0x140137389
mov edx, 0x16
lea rcx, [rsp + 0x20]
call fcn.1401102e0
nop
mov r8, rax
mov edx, 1
mov rcx, r12
call fcn.140134c80
nop
mov rbx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140137395
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140137395
mov rcx, qword [rsp + 0x20]
call fcn.14021b810
mov rax, rbx
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret