joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b510
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400508e4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400508e4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14005b660
cmp rax, 0xffffffffffffffff
je 0x14005b660
xor edi, edi
test rbp, rbp
jle 0x14005b60b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140049da4
mov rbx, rax
test rax, rax
jne 0x14005b598
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14005b601
mov edx, 0x8000
mov ecx, r14d
call fcn.140046d9c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14004a8fc
cmp eax, 0xffffffff
je 0x14005b5e1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14005b5a8
mov edx, r15d
mov ecx, r14d
call fcn.140046d9c
jmp 0x14005b601
cmp byte [rsi + 0x38], dil
je 0x14005b5f8
cmp dword [rsi + 0x34], 5
jne 0x14005b5f8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14005b601
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004ac04
jmp 0x14005b674
jns 0x14005b674
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400508e4
cmp rax, 0xffffffffffffffff
jne 0x14005b62c
cmp byte [rsi + 0x30], dil
je 0x14005b674
mov edi, dword [rsi + 0x2c]
jmp 0x14005b674
mov ecx, r14d
call fcn.140054150
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005b674
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14005b674
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14005b66d
mov eax, dword [rsi + 0x2c]
jmp 0x14005b672
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400508e4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14005be80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005bea8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005bea8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1407cd058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407cd1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407cd089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cd06f
add dl, dl
jne 0x1407cd096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cd0f6
xor eax, eax
add dl, dl
jne 0x1407cd0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407cd1ad
add dl, dl
jne 0x1407cd0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cd0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cd0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cd0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407cd0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407cd07e
mov eax, 1
add dl, dl
jne 0x1407cd106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407cd113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cd0fb
sub eax, ebx
mov ebx, 1
jne 0x1407cd14c
mov ecx, 1
add dl, dl
jne 0x1407cd12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407cd13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cd123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cd07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407cd168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407cd175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407cd15d
cmp eax, 0x7d00
jae 0x1407cd19b
cmp eax, 0x500
jb 0x1407cd196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cd07e
cmp eax, 0x7f
ja 0x1407cd19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407cd07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407cd1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407cd07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140769070]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140769080]
mov dword [rax], 1
mov rax, qword [0x140769090]
mov dword [rax], 1
mov rax, qword [str.ps_]
mov dword [rax], 1
mov rax, qword [0x140768e80]
cmp word [rax], 0x5a4d
jne 0x140001067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010d0
mov rax, qword [0x140769050]
mov dword [0x140777020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140769000]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140768fe0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140768e30]
cmp dword [rax], 1
je 0x140001108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001120
cmp dx, 0x20b
jne 0x140001067
cmp dword [rax + 0x84], 0xe
jbe 0x140001067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x140001067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x140001067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x140001067
Function at 0x140018da0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140018f4b
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x140018e0e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x140018e21
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x140018e45
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x140018e59
cmp rbx, 0x1000
jae 0x140018e18
nop
jmp 0x140018ec9
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x140018e6d
xor edx, edx
jmp 0x140018ec0
mov rcx, qword [sym.VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call dbg.runtime.stdcall3
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x140018e4f
jmp 0x140018e35
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call dbg.runtime.printlock
lea rax, [0x1404d9c58]
mov ebx, 0x18
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1404d9d90]
mov ebx, 0x19
nop dword [rax + rax]
call dbg.runtime.printstring
mov rax, qword [rsp + 0x30]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.140038cc0
lea rax, [0x1404de636]
mov ebx, 0x21
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUnused
Function at 0x140018f80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400191aa
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x140018ffb
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x14001900e
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x140019030
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x140019044
cmp rbx, 0x1000
jae 0x140019005
jmp 0x1400190ce
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x140019056
xor esi, esi
jmp 0x1400190c0
mov rax, qword [sym.VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call dbg.runtime.stdcall4
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
test sil, sil
jne 0x14001903a
jmp 0x140019022
call dbg.runtime.getlasterror
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x140019149
call dbg.runtime.printlock
lea rax, [0x1404da434]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x68]
call dbg.runtime.printuint
lea rax, [0x1404d9d90]
mov ebx, 0x19
nop
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.140038cc0
lea rax, [0x1404d4b8b]
mov ebx, 0xd
call dbg.runtime.throw
cmp eax, 0x5af
je 0x1400190f3
call dbg.runtime.printlock
lea rax, [0x1404da434]
mov ebx, 0x19
call dbg.runtime.printstring
mov rax, qword [rsp + 0x38]
call dbg.runtime.printuint
lea rax, [0x1404d9d90]
mov ebx, 0x19
nop dword [rax]
call dbg.runtime.printstring
mov eax, dword [rsp + 0x34]
call dbg.runtime.printuint
call dbg.runtime.printnl
call fcn.140038cc0
lea rax, [0x1404dd61a]
mov ebx, 0x1f
call dbg.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp dbg.runtime.sysUsed
Function at 0x140020880
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x1407ce708], 0
jne 0x140020979
nop
nop
nop
nop
sub rbx, qword [rax + 0x18]
nop
mov edx, dword [rax + 0x5c]
imul rbx, rdx
mov rdx, rbx
shr rbx, 0x20
nop
shr rdx, 0x23
and rbx, 7
mov rsi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
nop
add rdx, qword [rax + 0x50]
lock or byte [rdx], r8b
nop
nop
mov rcx, qword [rax + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x14002096f
lea rbx, [0x1407a0b58]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov eax, 1
shl eax, cl
test al, bl
jne 0x14002094a
lock or byte [rdx], al
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x16a8], rsi
add qword [rax + 0x16b0], rdi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov ecx, 0x40
call dbg.runtime.panicIndexU
lea rax, [0x1404e2c70]
mov ebx, 0x2c
call dbg.runtime.throw
nop
int3
Function at 0x140051e00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x140051f78
movzx edx, byte [rax]
nop
test edx, edx
jne 0x140051e3c
test r8b, r8b
jne 0x140051e3c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x140051e4f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x140051f38
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x140051f26
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x140051f1c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x140051ea3
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x140051ee6
mov eax, 1
cmp rax, rbx
ja 0x140051ed5
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x140051f14
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x140051edd
mov r8d, eax
mov eax, r10d
jmp 0x140051ea8
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rbx
call dbg.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call dbg.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x140051f6e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x140051f31
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x140051e55
mov eax, edx
mov rcx, rbx
call dbg.runtime.panicIndex
xor eax, eax
mov rcx, rbx
nop dword [rax]
call dbg.runtime.panicIndex
nop
int3
Function at 0x1400596e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400597aa
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
lea rdx, [rsp + 0x18]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x28]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x38]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x48]
movups xmmword [rdx], xmm15
lea rdx, [0x1400597e0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call dbg.runtime.systemstack
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call dbg.runtime.morestack_noctxt
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp dbg.runtime.callers
Function at 0x140064c40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1407cece0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x1407ce707], 0
je 0x140064c76
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1407cefa0]
aesenc xmm0, xmmword [0x1407cefb0]
aesenc xmm0, xmmword [0x1407cefc0]
movq rax, xmm0
ret
jmp 0x14000aba0
Function at 0x14008a320
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x14008a338
movzx esi, byte [rbx + rdx]
inc rdx
imul eax, eax, 0x1000193
xor eax, esi
cmp rcx, rdx
jg 0x14008a329
ret

Function at 0x140309c00
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x140309c38
movsxd rdx, edx
lea r9, [rcx + rdx]
xor edx, edx
nop dword [rax]
movsx r8d, byte [rcx]
lea eax, [rdx*8]
add rcx, 1
xor eax, r8d
xor edx, eax
cmp r9, rcx
jne 0x140309c10
mov eax, edx
and eax, 0x7fffffff
ret
xor eax, eax
ret

Function at 0x14030b380
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov r9d, edx
test edx, edx
jle 0x14030b3c8
mov rax, rbx
xor ecx, ecx
nop dword [rax]
movsx r8d, byte [rax]
lea edx, [rcx*8]
add rax, 1
xor edx, r8d
xor ecx, edx
mov edx, ebx
sub edx, eax
add edx, r9d
test edx, edx
jg 0x14030b398
mov eax, ecx
and eax, 0x7fffffff
add rsp, 0x20
pop rbx
ret
call sym.strlen
mov rdx, rax
mov r9d, eax
xor eax, eax
test edx, edx
jg 0x14030b38f
add rsp, 0x20
pop rbx
ret

Function at 0x14030d940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movsxd r12, dword [rdx]
mov rbp, rdx
movzx edx, byte [r8]
mov rdi, rcx
mov rbx, r8
test dl, dl
je 0x14030d99c
mov rsi, r8
mov eax, edx
lea r8, [0x140768340]
xor r9d, r9d
nop dword [rax]
movzx ecx, al
test byte [r8 + rcx], 6
jne 0x14030d97e
cmp al, 0x5f
jne 0x14030d98e
movzx eax, byte [rsi + 1]
add rsi, 1
add r9d, 1
test al, al
jne 0x14030d970
movzx eax, dl
test byte [r8 + rax], 4
je 0x14030da18
mov byte [rdi + r12], 0x22
movzx edx, byte [rbx]
lea eax, [r12 + 1]
mov r9d, 1
test dl, dl
jne 0x14030d9c6
jmp 0x14030da08
movzx edx, byte [rbx + 1]
add rbx, 1
mov eax, ecx
test dl, dl
je 0x14030d9ea
movsxd r8, eax
lea ecx, [rax + 1]
mov byte [rdi + r8], dl
cmp byte [rbx], 0x22
jne 0x14030d9b8
movsxd rcx, ecx
add rbx, 1
add eax, 2
mov byte [rdi + rcx], 0x22
movzx edx, byte [rbx]
test dl, dl
jne 0x14030d9c6
test r9d, r9d
jne 0x14030da08
movsxd rdx, eax
mov byte [rdi + rdx], 0
mov dword [rbp], eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsxd rdx, eax
add eax, 1
mov byte [rdi + rdx], 0x22
jmp 0x14030d9ef
mov dword [rsp + 0x2c], 0x3b
cmp r9d, 1
jle 0x14030da60
lea r8, [rsp + 0x2c]
mov edx, r9d
mov rcx, rbx
call sym.keywordCode.part.0
cmp dword [rsp + 0x2c], 0x3b
jne 0x14030d99c
cmp byte [rsi], 0
jne 0x14030d99c
movzx edx, byte [rbx]
mov eax, r12d
test dl, dl
je 0x14030d9ef
xor r9d, r9d
jmp 0x14030d9c6
cmp byte [rsi], 0
setne al
xor r9d, 1
and r9d, 1
or al, r9b
jne 0x14030d99c
mov eax, r12d
xor r9d, r9d
jmp 0x14030d9c6
Function at 0x140312a40
Capabilities:
Encode data using xor

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
xor ebx, ebx
mov rsi, r8
lea rbp, [rsp + 0x20]
movsxd r8, edx
mov edi, edx
mov rcx, rsi
xor edx, edx
call sym.memset
mov rcx, rbp
call qword [sym.GetSystemTime]
mov rdx, rbp
lea r9, [rsp + 0x30]
xor r8d, r8d
nop word [rax + rax]
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp r9, rdx
jne 0x140312a80
call qword [sym.GetCurrentProcessId]
lea r12, [rsp + 0x24]
mov rdx, rbp
xor r8d, r8d
mov dword [rsp + 0x20], eax
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp r12, rdx
jne 0x140312ab0
call qword [sym.GetTickCount]
mov rdx, rbp
xor r8d, r8d
mov dword [rsp + 0x20], eax
nop dword [rax + rax]
lea eax, [rbx + 1]
movzx ecx, byte [rdx]
xor byte [rsi + rbx], cl
cmp edi, eax
cmovle eax, r8d
add rdx, 1
movsxd rbx, eax
cmp r12, rdx
jne 0x140312ae0
mov rcx, rbp
call qword [sym.QueryPerformanceCounter]
mov rax, rbp
lea r9, [rsp + 0x28]
xor r8d, r8d
nop
lea edx, [rbx + 1]
movzx ecx, byte [rax]
xor byte [rsi + rbx], cl
cmp edi, edx
cmovle edx, r8d
add rax, 1
movsxd rbx, edx
cmp r9, rax
jne 0x140312b10
cmp edi, 0x20
mov eax, 0x20
cmovle eax, edi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14031be60
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor edi, edi
movzx ebp, byte [rcx + 0x5b]
sub ebp, 1
mov byte [rcx + 0x58], 1
mov rsi, rcx
test ebp, ebp
jg 0x14031be97
jmp 0x14031bed5
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
cmp qword [rsi + rax*8 + 0x60], 0
je 0x14031bee0
add edi, 1
cmp edi, ebp
je 0x14031bee0
movzx eax, byte [rsi + 0x5a]
lea eax, [rdi + rax + 1]
cdq
idiv ebp
movsxd rbx, edx
lea rax, [rbx + rbx*2]
lea rax, [rbx + rax*4]
shl rax, 3
lea r12, [rsi + rax + 0x60]
mov eax, dword [rsi + rax + 0x68]
test eax, eax
je 0x14031be80
mov rcx, r12
call dbg.vdbeSorterJoinThread
test eax, eax
je 0x14031be80
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor r12d, r12d
nop dword [rax + rax]
cmp ebp, edi
je 0x14031bf60
lea rdx, [rsi + 0x60]
mov rax, r12
mov rcx, qword [r12 + 0x28]
movdqu xmm0, xmmword [rsi + 0x38]
sub rax, rdx
movabs rdx, 0x4ec4ec4ec4ec4ec5
sar rax, 3
imul rax, rdx
mov byte [rsi + 0x5a], al
mov rax, qword [rsi + 0x48]
movups xmmword [r12 + 0x20], xmm0
mov qword [r12 + 0x30], rax
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x48], 0
test rcx, rcx
je 0x14031bf88
mov qword [rsi + 0x40], rcx
call qword [0x14043d218]
mov dword [rsi + 0x54], eax
mov r8, r12
lea rdx, [dbg.vdbeSorterFlushThread]
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp dbg.sqlite3ThreadCreate
movsxd rbp, ebp
lea rdx, [rsi + 0x38]
lea rax, [rbp + rbp*2]
lea rax, [rbp + rax*4]
lea rcx, [rsi + rax*8 + 0x60]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp dbg.vdbeSorterListToPMA
cmp qword [rsi + 0x40], 0
je 0x14031bf3d
movsxd rcx, dword [rsi + 0x54]
call sym.sqlite3Malloc
mov qword [rsi + 0x40], rax
test rax, rax
jne 0x14031bf3d
mov eax, 7
jmp 0x14031beca