joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005f00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005fd3
cmp byte [rcx + 0x71], 0
je 0x140005fd3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005fcf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140005f94
sub eax, 1
je 0x140005f98
cmp eax, 2
jne 0x140005fcf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008b6a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005fc6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140005fcf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005f7c
xor al, al
jmp 0x140005f7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14008b6a0
add rsp, 0x60
pop rbx
ret

Function at 0x140007330
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140007425
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140007395
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140006490
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.14000bdc0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000744a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000741e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000741e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
jmp 0x14000744a
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
xor r8d, r8d
lea rdx, [0x14009f7ef]
mov rcx, rbx
call fcn.140002d00
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008b6a0
add rsp, 0x280
pop rbx
ret

Function at 0x14000d510
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14000d544
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14000d530
ret
Function at 0x140012820
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1400128e5
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400128e5
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1400128fe
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1400128d5
cmp byte [rcx], 0x5c
jne 0x1400128ce
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1400128ce
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400128bc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1400128cb
test r8b, 0x10
jne 0x1400128ce
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1400128ce
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000e450
test edi, edi
jne 0x140012840
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14000e440
int3
Function at 0x14001d290
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001d2ed
lea rbx, [0x14009a960]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001d2d4
cmp r10, 2
jb 0x14001d2d4
cmp byte [r9], r8b
jne 0x14001d2d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001d2b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001d32f
lea rbx, [0x14009a960]
cmp r8b, 0x23
jne 0x14001d313
cmp byte [r9], r8b
jne 0x14001d313
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001d300
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14001d470
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001d48a
mov qword [r8], 0
lea rdx, [0x1400a1174]
call fcn.14001d340
mov rbx, rax
test rax, rax
jne 0x14001d4aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14001d583
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d583
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001d583
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001d583
cmp rdi, 0xffffffffffffffff
je 0x14001d583
mov rax, qword [0x140162698]
test rax, rax
je 0x14001d520
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14001d583
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001d570
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140162698]
test rax, rax
je 0x14001d565
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001d58c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001d57e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001d58e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14001fef0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x14009a960]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x140162698]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x14001ff85
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140032fb0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14001ff90
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xf0]
lea r10, [0x14009a960]
mov rax, qword [rcx + 0xd8]
movss xmm1, dword [rcx + 0xf4]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xd0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14002caa0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140162698]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x14002cb01
cmp byte [rbx + 0x423e], 0
jne 0x14002cb01
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14001d150
test dil, 1
je 0x14002cc28
jmp 0x14002cb8c
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400abf98]
mov edx, 0x10
mulss xmm1, dword [0x1400abf74]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400abe34]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.14001d150
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14002cbe0
lea r11, [0x14009a960]
nop dword [rax]
cmp r9b, 0x23
jne 0x14002cbc3
cmp byte [r8], r9b
jne 0x14002cbc3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14002cbb0
not ecx
call fcn.1400256e0
test rax, rax
je 0x14002cc28
cmp byte [rax + 0x96], 0
je 0x14002cc28
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, 0x10
movsx r9d, word [rbx + 0x5332]
call fcn.14001d150
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140027e60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008b6a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1400313f0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, qword [0x140162698]
movss xmm0, dword [0x1400abe0c]
comiss xmm0, dword [rdi + 0x4218]
ja 0x14003168e
cmp qword [rdi + 0x4210], 0
mov qword [rsp + 0x50], rsi
jne 0x14003147e
mov r10d, 0xffffffff
lea r8, [0x1400a1151]
mov ecx, r10d
lea r11, [0x14009a960]
mov r9b, 0x23
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140031453
cmp byte [r8], r9b
jne 0x140031453
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140031440
not ecx
call fcn.1400256e0
mov qword [rdi + 0x4210], rax
mov rax, qword [rdi + 0x4090]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rdi + 0x3f90]
or eax, 0x10
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x1400abe14]
mov dword [rdi + 0x3f90], eax
or eax, 1
mulss xmm2, dword [0x1400abe14]
mov qword [rdi + 0x3fe0], rdx
mov qword [rdi + 0x3fe8], rdx
lea rdx, [rsp + 0x40]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rdi + 0x3fcc], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x1400abe2c]
mulss xmm2, dword [0x1400abe2c]
addss xmm1, dword [rcx + 8]
addss xmm2, dword [rcx + 4]
mov dword [rdi + 0x3f90], eax
mov ecx, 2
mov dword [rdi + 0x3fa8], 0x3f000000
movss dword [rdi + 0x3fa4], xmm1
mov dword [rdi + 0x3fac], 0x3f000000
movss dword [rdi + 0x3fa0], xmm2
mov dword [rdi + 0x3f94], 1
movss xmm0, dword [rdi + 0x37e8]
movss xmm1, dword [rdi + 0x37ec]
addss xmm0, xmm0
addss xmm1, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.14001ddb0
xor edx, edx
lea rcx, str.NavWindowingList
mov r8d, 0xc1347
call fcn.140027e60
mov eax, dword [rdi + 0x3e40]
sub eax, 1
movsxd rsi, eax
js 0x14003167a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rax, qword [rdi + 0x3e48]
mov rbx, qword [rax + rsi*8]
cmp byte [rbx + 0x97], 0
je 0x14003166b
cmp rbx, qword [rbx + 0x360]
jne 0x14003166b
test dword [rbx + 0xc], 0x80000
jne 0x14003166b
mov r8, qword [rbx]
mov rcx, r8
cmp r8, 0xffffffffffffffff
jae 0x140031612
nop
movzx edx, byte [rcx]
test dl, dl
je 0x14003160d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140031604
cmp byte [rax], dl
je 0x14003160d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400315f0
cmp r8, rcx
jne 0x14003164b
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140031624
lea r8, str._Popup_
jmp 0x14003164b
bt eax, 0xa
jae 0x140031644
lea rdx, str.MainMenuBar
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r8, str._Main_menu_bar_
test eax, eax
je 0x14003164b
lea r8, str._Untitled_
cmp qword [rdi + 0x4200], rbx
lea r9, [rsp + 0x40]
mov rcx, r8
mov qword [rsp + 0x40], 0
sete dl
call fcn.140059810
sub rsi, 1
jns 0x1400315b0
mov rbx, qword [rsp + 0x48]
call fcn.14002a180
mov ecx, 1
call fcn.14001de40
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140031b80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140031c27
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140031bda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140033d00
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14001dc00
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140162694]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140031c2f
mov rcx, rbx
call fcn.14001dc00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400321a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140162698]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140032203
mov qword [rsp], rbx
lea rbx, [0x14009a960]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400321e3
cmp byte [r8], r9b
jne 0x1400321e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400321d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140032237
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14003223e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140032224
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140068a20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x140068c45
movups xmm0, xmmword [str.PVQU__]
movzx eax, byte [0x1400a3b40]
xor r8d, r8d
cmp dword [0x1400bd090], 2
movups xmm1, xmmword [0x1400a3b28]
mov byte [rsp + 0x48], al
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400a3b38]
movsd qword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x30], xmm1
jl 0x140068bd9
movdqa xmm0, xmmword [0x1400ac2e0]
lea rcx, [rsp + 0x24]
movdqa xmm4, xmmword [0x1400ac1e0]
movdqa xmm3, xmmword [0x1400ac790]
movdqa xmm5, xmmword [0x1400ac220]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x1400ac280]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x28
jl 0x140068ae0
movaps xmm6, xmmword [rsp + 0x80]
cmp r8d, 0x29
jge 0x140068c24
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, dl
add al, 0x36
xor byte [r9 - 1], al
cmp r8d, 0x29
jl 0x140068bf0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rsp + 0x20]
call fcn.140006750
lea rdx, [0x140006950]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008b6a0
add rsp, 0x98
ret
Function at 0x14007b650
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rsp + 0x40]
call fcn.140002d00
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14007b6a6
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140003e40
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14007b7cb
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14007b7cb
mov byte [rsp + 0x39], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14007b7cb
mov byte [rsp + 0x3a], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14007b7cb
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14007b791
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14007b7cb
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x14007b7cd
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14007b80d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007b808
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007b808
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008b704
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008b6a0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret