joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14012fe80
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov byte [r11 + 0x18], r8b
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
movzx ebp, r8b
mov r13, rdx
mov rbx, rcx
lea rax, vtable.Core::ByteArray.0
mov qword [r11 - 0x58], rax
xor r15d, r15d
mov dword [r11 - 0x50], r15d
mov qword [r11 - 0x48], r15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1401f2430
mov rsi, qword [rsp + 0x70]
test al, al
je 0x14013009e
mov word [rsp + 0x30], 0xbbef
mov word [rsp + 0xd8], 0xfeff
mov rdi, rsi
mov ebx, dword [rsp + 0x68]
cmp ebx, 3
jl 0x14012ff2a
movzx eax, word [rsi]
cmp ax, word [rsp + 0x30]
jne 0x14012ff2a
cmp byte [rsi + 2], 0xbf
jne 0x14012ff2a
mov r15d, 0xfde9
lea rdi, [rsi + 3]
add ebx, 0xfffffffd
jmp 0x14012ff5f
cmp ebx, 2
jl 0x14012ff59
movzx eax, word [rsi]
cmp ax, word [rsp + 0xd8]
jne 0x14012ff45
lea rdi, [rsi + 2]
add ebx, 0xfffffffe
jmp 0x14012ff4b
cmp byte [rsi + 1], 0
jne 0x14012ff59
xor r12b, r12b
mov r14, rdi
movsxd rax, ebx
shr rax, 1
jmp 0x14012ffd4
mov r15d, 0x4e4
xor r14d, r14d
xor r12b, r12b
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov r8, rdi
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebp, eax
test eax, eax
jle 0x14012ffc5
inc ebp
movsxd rcx, ebp
add rcx, rcx
call fcn.140298640
mov r14, rax
test rax, rax
je 0x14012ffc5
mov r12b, 1
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rdi
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rcx, eax
xor r15d, r15d
mov word [r14 + rcx*2], r15w
jmp 0x14012ffcc
mov eax, dword [rsp + 0xd0]
movzx ebp, byte [rsp + 0xd0]
test eax, eax
jle 0x140130084
mov rbx, r14
cdqe
lea rdi, [r14 + rax*2]
mov rdx, r14
lea rsi, [0x140323de0]
nop
movzx ecx, word [rbx]
add rbx, 2
cmp cx, 0xa
je 0x140130002
cmp rbx, rdi
jne 0x140130079
mov rax, rbx
sub rax, rdx
sar rax, 1
cmp cx, 0xa
jne 0x140130014
dec rax
test rax, rax
je 0x140130073
cmp word [rdx + rax*2 - 2], 0xd
jne 0x140130024
dec rax
test rax, rax
je 0x140130073
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1401e77a0
movzx eax, byte [0x1403fdd77]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.1400e9d70
nop
cmp dword [rsp + 0x48], 0
jle 0x140130073
mov rcx, qword [rsp + 0x40]
call fcn.140298600
mov rdx, rbx
cmp rbx, rdi
jb 0x14012fff0
mov rsi, qword [rsp + 0x70]
test r14, r14
je 0x140130096
test r12b, r12b
je 0x140130096
mov rcx, r14
call fcn.140298600
mov rbx, qword [rsp + 0xc0]
test bpl, bpl
je 0x1401300ad
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test rsi, rsi
je 0x1401300c2
mov r8, rsi
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140132f50
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
lea rdi, [r8 + 7]
and rdi, 0xfffffffffffffff8
mov r8, rdi
call fcn.140132ff0
mov rbx, rax
test rax, rax
jne 0x140132f7d
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r9d, dword [rax + 8]
mov qword [rsp + 0x30], rsi
mov rsi, qword [rax + 0x10]
add rsi, qword [rax]
mov r8d, 0x1000
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140132fc0
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x40]
mov rdx, rdi
add r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140132fd2
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
add qword [rbx + 0x10], rdi
mov rbx, qword [rsp + 0x38]
mov rax, rsi
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140134740
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x68], rsi
mov rbx, rcx
lea rsi, [0x1403fdc30]
mov qword [rsp + 0x60], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [0x1403fd71a], 0
jne 0x140134785
mov ebx, 2
jmp 0x140134840
mov rcx, rbx
call fcn.140134860
mov rdi, rax
test rax, rax
jne 0x14013479d
lea ebx, [rax + 4]
jmp 0x140134840
cmp byte [rax + 0x28], 0
jne 0x1401347ad
mov ebx, 6
jmp 0x140134840
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x28]
call fcn.1401351d0
lea r8, [rdi + 0x48]
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x28]
call fcn.140135320
nop
lea r9, [rsp + 0x58]
lea edx, [rbx + 5]
lea r8d, [rbx + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140134804
lea rcx, [rsp + 0x28]
call fcn.140135150
mov ebx, 0xa
jmp 0x140134840
mov r8, qword [rdi + 0x20]
mov r9, qword [rdi]
mov eax, dword [r8]
mov dword [r9], eax
movzx eax, byte [r8 + 4]
mov byte [r9 + 4], al
lea r9, [rsp + 0x58]
mov r8d, dword [rsp + 0x58]
mov edx, 5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rsp + 0x28]
call fcn.140135150
mov byte [rdi + 0x28], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x140135150
Capabilities:
Resume thread

Disassembly:
push rsi
sub rsp, 0x20
mov qword [rsp + 0x38], rdi
mov rdi, qword [rcx]
mov rsi, rcx
cmp rdi, qword [rcx + 8]
je 0x1401351a2
mov qword [rsp + 0x30], rbx
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
cmp rdi, qword [rsi + 8]
jne 0x140135170
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsi]
mov rdi, qword [rsp + 0x38]
test rcx, rcx
je 0x1401351c1
call fcn.1402012c0
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
add rsp, 0x20
pop rsi
ret
Function at 0x1401351d0
Capabilities:
Enumerate threads

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
cmp rax, 0xffffffffffffffff
je 0x1401352ea
mov dword [rsp + 0x30], 0x1c
xor eax, eax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1401352ea
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1401352d4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [rsp + 0x38]
cmp ecx, eax
je 0x1401352d4
mov rax, qword [rdi + 8]
lea rdx, [rsp + 0x38]
cmp rdx, rax
jae 0x1401352b2
mov rdx, qword [rdi]
lea r8, [rsp + 0x38]
cmp rdx, r8
ja 0x1401352b2
lea rsi, [rsp + 0x38]
sub rsi, rdx
sar rsi, 2
cmp rax, qword [rdi + 0x10]
jne 0x14013529f
mov rcx, rdi
call fcn.1400babe0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1401352cf
mov eax, dword [rax + rsi*4]
mov dword [rcx], eax
jmp 0x1401352cf
cmp rax, qword [rdi + 0x10]
jne 0x1401352c4
mov rcx, rdi
call fcn.1400babe0
mov ecx, dword [rsp + 0x38]
mov rax, qword [rdi + 8]
test rax, rax
je 0x1401352cf
mov dword [rax], ecx
add qword [rdi + 8], 4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140135250
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140135320
Capabilities:
Suspend thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rsi
push r14
push r15
sub rsp, 0x500
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rbx, qword [rcx]
mov r15, r8
mov rsi, rdx
mov r14, rcx
cmp rbx, qword [rcx + 8]
je 0x140135442
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rdi
xor ebp, ebp
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x4c8
mov qword [rsp + 0x20], rbp
call fcn.1402a04b0
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x50], 0x100001
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140135429
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rbp
sub rdx, rax
sar rdx, 3
test rdx, rdx
je 0x140135402
mov r8, qword [rsp + 0x118]
nop dword [rax]
cmp r8, qword [rax]
je 0x1401353f3
inc rcx
add rax, 8
cmp rcx, rdx
jb 0x1401353e0
jmp 0x140135402
mov rax, qword [r15]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x118], rcx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
cmp rbx, qword [r14 + 8]
jne 0x140135370
jmp 0x140135432
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x520]
mov rdi, qword [rsp + 0x528]
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x530]
add rsp, 0x500
pop r15
pop r14
pop rsi
ret
Function at 0x140136080
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x5a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x590], rax
mov rsi, rcx
xor ebx, ebx
movsd xmm0, qword [0x1403232b0]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x1403232b8]
mov dword [rsp + 0x60], eax
movzx eax, word [0x1403232bc]
mov word [rsp + 0x64], ax
mov edx, 0x104
lea rcx, [r11 - 0x438]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movzx eax, word [rsp + 0x170]
mov word [rsp + 0x60], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100081
lea r8d, [rbx + 3]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401361bc
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x100
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x560000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1401361b3
cmp dword [rsp + 0x40], 0x20
jb 0x1401361b3
mov r9d, dword [rsp + 0x78]
lea r8, str.DosDevicesPhysicalDrive_d
mov edx, 0x104
lea rcx, [rsp + 0x380]
call fcn.14029b4b4
mov ecx, 0x2a0
call fcn.14029806c
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1401361b3
mov r8, rsi
lea rdx, [rsp + 0x380]
mov rcx, rax
call fcn.140135d90
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x5a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140136f40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
mov rdi, rdx
xor dl, dl
or rbx, 0xffffffffffffffff
mov r9, r8
mov dword [rsp + 0x20], esi
mov rax, rbx
inc rax
cmp word [r8 + rax*2], si
jne 0x140136f72
mov r8, rsi
movsxd r10, eax
test eax, eax
jle 0x140137055
lea rax, [rsp + 0x30]
mov r11, r9
mov qword [rsp + 0x270], rbp
sub r11, rax
mov ebp, 1
nop dword [rax]
nop word [rax + rax]
lea rax, [r11 + r8*2]
movzx edx, dl
movzx ecx, word [rsp + rax + 0x30]
movzx eax, cx
xor ax, 0x33
cmp cx, 0x40
cmove edx, ebp
mov word [rsp + r8*2 + 0x30], ax
inc r8
cmp r8, r10
jl 0x140136fb0
mov rbp, qword [rsp + 0x270]
test dl, dl
je 0x140137055
add r10, r10
cmp r10, 0x208
jae 0x14013707e
mov word [rsp + r10 + 0x30], si
lea rax, [rsp + 0x30]
nop
inc rbx
cmp word [rax + rbx*2], si
jne 0x140137000
mov qword [rdi + 8], rsi
test ebx, ebx
jne 0x140137027
lea rax, [0x140323de0]
mov edx, ebx
mov rcx, rdi
mov qword [rdi], rax
call fcn.1401ea290
jmp 0x140137060
mov edx, ebx
mov rcx, rdi
call fcn.1401e9030
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
inc ecx
movsxd r9, ebx
movsxd rdx, ecx
mov rcx, qword [rdi]
call fcn.14029b4d8
mov edx, ebx
mov rcx, rdi
call fcn.1401ea290
jmp 0x140137060
mov rdx, r9
mov rcx, rdi
call fcn.1401e6fd0
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x250
pop rdi
pop rsi
pop rbx
ret
call fcn.140299f18
int3

Function at 0x140137090
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r14d, r14d
mov qword [r11 + 8], rbp
mov rsi, rdx
mov ebx, r14d
mov rbp, r8
mov dword [rsp + 0x20], r14d
cmp dword [r8 + 0xc], ebx
jle 0x1401370f9
mov qword [r11 + 0x20], rdi
lea rdi, [rsp + 0x30]
mov edx, ebx
mov rcx, rbp
call fcn.1401e7500
inc ebx
lea rdi, [rdi + 2]
xor ax, 0x33
mov word [rdi - 2], ax
cmp ebx, dword [rbp + 0xc]
jl 0x1401370d4
mov rdi, qword [rsp + 0x288]
movsxd rax, dword [rbp + 0xc]
mov rbp, qword [rsp + 0x270]
add rax, rax
cmp rax, 0x208
jae 0x140137189
mov word [rsp + rax + 0x30], r14w
or rbx, 0xffffffffffffffff
lea rax, [rsp + 0x30]
nop
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140137120
mov qword [rsi + 8], r14
test ebx, ebx
jne 0x14013713e
lea rax, [0x140323de0]
mov qword [rsi], rax
jmp 0x140137160
mov edx, ebx
mov rcx, rsi
call fcn.1401e9030
mov ecx, dword [rsi + 8]
lea r8, [rsp + 0x30]
inc ecx
movsxd r9, ebx
movsxd rdx, ecx
mov rcx, qword [rsi]
call fcn.14029b4d8
mov edx, ebx
mov rcx, rsi
call fcn.1401ea290
mov rax, rsi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x250
pop r14
pop rsi
pop rbx
ret
call fcn.140299f18
int3
Function at 0x140139ff0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
movsxd rsi, edx
mov r10d, r8d
mov r11d, r8d
mov eax, esi
mov rdi, rcx
movabs rbp, 0x87c37b91114253d5
cdq
movabs r14, 0x4cf5ad432745937f
and edx, 0xf
add eax, edx
sar eax, 4
movsxd rbx, eax
mov r8, rbx
test eax, eax
jle 0x14013a095
lea rdx, [rcx + 8]
nop
mov rax, qword [rcx]
lea rcx, [rcx + 0x10]
lea rdx, [rdx + 0x10]
imul rax, rbp
rol rax, 0x1f
imul rax, r14
xor rax, r10
rol rax, 0x1b
add rax, r11
lea r10, [rax*4 + 0x52dce729]
add r10, rax
mov rax, qword [rdx - 0x10]
imul rax, r14
rol rax, 0x21
imul rax, rbp
xor rax, r11
rol rax, 0x1f
add rax, 0xb41def1
add rax, r10
lea r11, [rax + rax*4]
dec r8
jne 0x14013a040
shl ebx, 4
xor eax, eax
mov ecx, esi
and ecx, 0xf
movsxd r8, ebx
add r8, rdi
dec ecx
cmp ecx, 0xe
ja case.default.0x14013a0c4
lea rbx, [0x140000000]
movsxd rcx, ecx
mov edx, dword [rbx + rcx*4 + 0x13a220]
add rdx, rbx
jmp rdx
movzx eax, byte [r8 + 0xe]
shl rax, 0x30
movzx ecx, byte [r8 + 0xd]
shl rcx, 0x28
xor rax, rcx
movzx ecx, byte [r8 + 0xc]
shl rcx, 0x20
xor rax, rcx
movzx ecx, byte [r8 + 0xb]
shl rcx, 0x18
xor rax, rcx
movzx ecx, byte [r8 + 0xa]
shl rcx, 0x10
xor rax, rcx
movzx ecx, byte [r8 + 9]
shl rcx, 8
xor rax, rcx
movzx ecx, byte [r8 + 8]
xor rcx, rax
imul rcx, r14
rol rcx, 0x21
imul rcx, rbp
xor r11, rcx
movzx eax, byte [r8 + 7]
shl rax, 0x38
movzx ecx, byte [r8 + 6]
shl rcx, 0x30
xor rax, rcx
movzx ecx, byte [r8 + 5]
shl rcx, 0x28
xor rax, rcx
movzx ecx, byte [r8 + 4]
shl rcx, 0x20
xor rax, rcx
movzx ecx, byte [r8 + 3]
shl rcx, 0x18
xor rax, rcx
movzx ecx, byte [r8 + 2]
shl rcx, 0x10
xor rax, rcx
movzx ecx, byte [r8 + 1]
shl rcx, 8
xor rax, rcx
movzx ecx, byte [r8]
xor rcx, rax
imul rcx, rbp
rol rcx, 0x1f
imul rcx, r14
xor r10, rcx
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
xor r11, rsi
mov rcx, rsi
mov rsi, qword [rsp + 0x20]
xor rcx, r10
movabs r10, 0xff51afd7ed558ccd
movabs r8, 0xc4ceb9fe1a85ec53
add rcx, r11
mov rax, rcx
shr rax, 0x21
xor rax, rcx
imul rax, r10
mov rdx, rax
shr rdx, 0x21
xor rdx, rax
lea rax, [r11 + rcx]
mov rcx, rax
shr rcx, 0x21
xor rcx, rax
imul rdx, r8
imul rcx, r10
mov rax, rcx
shr rax, 0x21
xor rax, rcx
imul rax, r8
mov rcx, rax
shr rcx, 0x21
xor rcx, rax
mov rax, rdx
shr rax, 0x21
xor rax, rdx
add rax, rcx
mov qword [r9], rax
add rax, rcx
mov qword [r9 + 8], rax
pop r14
ret
Function at 0x14013a260
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r8d, edx
mov r9, rcx
xor r8d, 0x3b2e0fe0
cmp edx, 4
jl 0x14013a2a8
mov r10d, edx
shr r10, 2
mov eax, r10d
neg eax
lea edx, [rdx + rax*4]
imul eax, dword [r9], 0x5bd1e995
imul r8d, r8d, 0x5bd1e995
add r9, 4
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r8d, ecx
dec r10
jne 0x14013a281
dec edx
je 0x14013a2ca
dec edx
je 0x14013a2bf
dec edx
jne 0x14013a2d8
movzx eax, byte [r9 + 2]
shl eax, 0x10
xor r8d, eax
movzx eax, byte [r9 + 1]
shl eax, 8
xor r8d, eax
movzx eax, byte [r9]
xor eax, r8d
imul r8d, eax, 0x5bd1e995
mov eax, r8d
shr eax, 0xd
xor eax, r8d
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x14013a2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd rax, dword [rcx + 0x3c]
mov r12d, edx
mov rdi, rcx
movzx r8d, word [rax + rcx + 6]
test r8d, r8d
jle 0x14013a3c0
mov r15d, dword [rax + rcx + 0x88]
lea r14, [rcx + 0x114]
xor ebp, ebp
add r14, rax
mov eax, r8d
mov qword [rsp + 0x60], r8
nop dword [rax]
mov ecx, dword [r14]
cmp r15d, ecx
jb 0x14013a3b4
add ecx, dword [r14 - 4]
cmp r15d, ecx
jae 0x14013a3af
mov ecx, dword [rdi + r15 + 0x24]
mov r13d, dword [rdi + r15 + 0x1c]
mov ebx, dword [rdi + r15 + 0x20]
mov esi, dword [rdi + r15 + 0x18]
lea rax, [rdi + r15]
add rcx, rdi
add r13, rdi
add rbx, rdi
xor r11d, r11d
mov qword [rsp + 0x70], rcx
test esi, esi
je 0x14013a3af
nop
mov ecx, dword [rbx]
add rcx, rdi
or rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14013a390
call fcn.14013a260
cmp eax, r12d
je 0x14013a3d7
inc r11d
add rbx, 4
cmp r11d, esi
jb 0x14013a380
mov rax, qword [rsp + 0x60]
inc rbp
add r14, 0x28
cmp rbp, rax
jl 0x14013a340
xor eax, eax
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x70]
movzx ecx, word [rcx + r11*2]
mov eax, dword [r13 + rcx*4]
add rax, rdi
jmp 0x14013a3c2
Function at 0x14013a3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rsi, rcx
movsxd rcx, dword [rcx + 0x3c]
add rcx, rsi
mov qword [rsp + 0x20], rcx
movzx eax, word [rcx + 6]
test eax, eax
jle 0x14013a4d6
mov r13d, dword [rcx + 0x88]
xor ebp, ebp
mov qword [rsp + 0x70], rax
lea rbx, [rcx + 0x114]
mov edx, dword [rbx]
cmp r13d, edx
jb 0x14013a4c6
mov ecx, dword [rbx - 4]
add ecx, edx
cmp r13d, ecx
jae 0x14013a4c1
mov r15d, dword [rbx + 8]
mov r12d, edx
xor r11d, r11d
mov eax, r15d
sub rax, rdx
lea rcx, [rax + r13]
add rcx, rsi
mov edx, dword [rcx + 0x1c]
mov r14d, dword [rcx + 0x20]
mov edi, dword [rcx + 0x18]
add rdx, rax
add r14, rax
add rdx, rsi
add r14, rsi
mov qword [rsp + 0x88], rdx
mov edx, dword [rcx + 0x24]
add rdx, rax
add rdx, rsi
mov qword [rsp + 0x80], rdx
test edi, edi
je 0x14013a4c1
mov ecx, dword [r14 + r11*4]
sub rcx, r12
add rcx, r15
add rcx, rsi
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14013a4a4
call fcn.14013a260
cmp eax, 0xcce2dcad
je 0x14013a4ed
inc r11d
cmp r11d, edi
jb 0x14013a493
mov rax, qword [rsp + 0x70]
inc rbp
add rbx, 0x28
cmp rbp, rax
jl 0x14013a434
xor eax, eax
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
movzx ecx, word [rcx + r11*2]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x20]
add eax, dword [rcx + 0x11c]
sub eax, dword [rcx + 0x114]
add rax, rsi
jmp 0x14013a4d8

Function at 0x14013a520
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdx, [rsp + 0x50]
mov r8d, 0x104
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14013a64d
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x290], rsi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14013a649
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x288], rbp
mov qword [rsp + 0x298], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebp, eax
call fcn.140298640
mov rdi, rax
test rax, rax
je 0x14013a60d
lea r9, [rsp + 0x40]
mov r8d, ebp
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14013a605
mov rcx, rdi
call fcn.14013a3f0
test rax, rax
je 0x14013a605
movsd xmm0, qword [rax]
mov ebx, 0xa
movsd qword [0x1403fd7f8], xmm0
movzx eax, word [rax + 8]
mov word [0x1403fd800], ax
mov rcx, rdi
call fcn.140298600
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x298]
mov rbp, qword [rsp + 0x288]
mov eax, ebx
mov rsi, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x270
pop rbx
ret
mov eax, ebx
jmp 0x14013a628
mov eax, ebx
jmp 0x14013a630