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

Disassembly:
mov r8, qword [r8]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
jmp 0x1401b18f0
push rbx
sub rsp, 0x50
movups xmm0, xmmword [rcx]
mov rax, r8
mov r9, rdx
sub rax, rdx
movups xmmword [rsp], xmm0
mov rbx, qword [rsp]
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov r11, qword [rsp + 0x28]
cmp rax, 4
jl 0x1401b19c5
lea r10, [r8 - 0x10]
cmp rdx, r10
jg 0x1401b197a
movdqa xmm1, xmmword [0x1402b1e90]
lea rcx, [r11 + r9*4]
sub r10, r9
mov rdx, rbx
shr r10, 4
sub rdx, r11
inc r10
mov rax, r10
shl rax, 4
add r9, rax
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rcx]
xorps xmm0, xmm1
movups xmmword [rdx + rcx], xmm0
add rcx, 0x10
sub rax, 1
jne 0x1401b1960
sub r10, 1
jne 0x1401b1951
lea rax, [r8 - 4]
cmp r9, rax
jg 0x1401b19c5
movdqa xmm1, xmmword [0x1402b1e90]
lea rcx, [r11 + r9*4]
sub rax, r9
mov rdx, rbx
sub rdx, r11
shr rax, 2
inc rax
lea r9, [r9 + rax*4]
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x10]
xorps xmm0, xmm1
movups xmmword [rcx + rdx - 0x10], xmm0
sub rax, 1
jne 0x1401b19b0
mov rax, r8
sub rax, r9
cmp r9, r8
jge 0x1401b1b1a
cmp rax, 0x10
jb 0x1401b1a71
lea rdx, [r8 - 1]
mov qword [rsp + 0x60], rdi
lea rdx, [r11 + rdx*4]
lea rcx, [rbx + r9*4]
lea r10, [r8 - 1]
lea r10, [rbx + r10*4]
lea rdi, [r11 + r9*4]
cmp rcx, rdx
ja 0x1401b1a05
cmp r10, rdi
jae 0x1401b1a6c
cqo
and edx, 0xf
add rax, rdx
and eax, 0xf
sub rax, rdx
mov rdx, r8
sub rdx, rax
movaps xmm2, xmmword [0x1402b1e90]
lea rax, [rbx + 0x10]
mov rcx, r11
lea rax, [rax + r9*4]
sub rcx, rbx
nop
movups xmm0, xmmword [rcx + rax - 0x10]
add r9, 0x10
movups xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x40]
xorps xmm0, xmm2
xorps xmm1, xmm2
movups xmmword [rax - 0x50], xmm0
movups xmm0, xmmword [rcx + rax - 0x30]
movups xmmword [rax - 0x40], xmm1
xorps xmm0, xmm2
movups xmm1, xmmword [rcx + rax - 0x20]
movups xmmword [rax - 0x30], xmm0
xorps xmm1, xmm2
movups xmmword [rax - 0x20], xmm1
cmp r9, rdx
jl 0x1401b1a30
mov rdi, qword [rsp + 0x60]
cmp r9, r8
jge 0x1401b1b1a
movss xmm2, dword [0x1402b1e90]
mov rax, r8
sub rax, r9
cmp rax, 4
jl 0x1401b1af3
mov rdx, r8
lea rax, [rbx + 4]
sub rdx, r9
lea rax, [rax + r9*4]
sub rdx, 4
mov rcx, r11
shr rdx, 2
sub rcx, rbx
inc rdx
lea r9, [r9 + rdx*4]
movss xmm0, dword [rcx + rax - 4]
lea rax, [rax + 0x10]
xorps xmm0, xmm2
movss dword [rax - 0x14], xmm0
movss xmm1, dword [rcx + rax - 0x10]
xorps xmm1, xmm2
movss dword [rax - 0x10], xmm1
movss xmm0, dword [rcx + rax - 0xc]
xorps xmm0, xmm2
movss dword [rax - 0xc], xmm0
movss xmm1, dword [rcx + rax - 8]
xorps xmm1, xmm2
movss dword [rax - 8], xmm1
sub rdx, 1
jne 0x1401b1ab1
cmp r9, r8
jge 0x1401b1b1a
sub r11, rbx
lea rax, [rbx + r9*4]
sub r8, r9
movss xmm0, dword [r11 + rax]
lea rax, [rax + 4]
xorps xmm0, xmm2
movss dword [rax - 4], xmm0
sub r8, 1
jne 0x1401b1b02
add rsp, 0x50
pop rbx
ret
Function at 0x1401d12d0
Capabilities:
Encode data using xor

Disassembly:
mov r8, qword [r8]
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
jmp 0x1401d12d0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
movups xmm1, xmmword [rcx + 0x30]
mov rax, r8
movups xmm0, xmmword [rcx]
sub rax, rdx
movups xmmword [rsp + 0x30], xmm1
mov rsi, qword [rsp + 0x30]
movups xmmword [rsp], xmm0
mov rdi, qword [rsp]
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsp + 0x50], xmm1
mov rbx, qword [rsp + 0x58]
movss xmm4, dword [rsp + 0x50]
cmp rax, 4
jl 0x1401d13f0
lea r9, [r8 - 0x10]
cmp rdx, r9
jg 0x1401d1396
movdqa xmm3, xmmword [0x1402b1e90]
lea rcx, [rbx + rdx*4]
sub r9, rdx
mov r10, rdi
shr r9, 4
mov r11, rsi
inc r9
movaps xmm2, xmm4
mov rax, r9
shufps xmm2, xmm2, 0
shl rax, 4
sub r10, rbx
sub r11, rbx
add rdx, rax
nop dword [rax + rax]
mov eax, 4
nop word [rax + rax]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [r11 + rcx]
mulps xmm0, xmm2
xorps xmm1, xmm3
addps xmm1, xmm0
movups xmmword [r10 + rcx], xmm1
add rcx, 0x10
sub rax, 1
jne 0x1401d1370
sub r9, 1
jne 0x1401d1360
lea rax, [r8 - 4]
cmp rdx, rax
jg 0x1401d13f0
movdqa xmm3, xmmword [0x1402b1e90]
lea rcx, [rbx + rdx*4]
sub rax, rdx
mov r9, rdi
mov r10, rsi
shr rax, 2
sub r9, rbx
sub r10, rbx
inc rax
movaps xmm2, xmm4
shufps xmm2, xmm2, 0
lea rdx, [rdx + rax*4]
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + r10]
mulps xmm0, xmm2
xorps xmm1, xmm3
addps xmm1, xmm0
movups xmmword [rcx + r9], xmm1
add rcx, 0x10
sub rax, 1
jne 0x1401d13d0
cmp rdx, r8
jge 0x1401d14ef
movss xmm3, dword [0x1402b1e90]
mov rax, r8
sub rax, rdx
cmp rax, 4
jl 0x1401d14bb
mov rcx, r8
lea rax, [rsi + 4]
sub rcx, rdx
lea rax, [rax + rdx*4]
sub rcx, 4
mov r9, rbx
mov r10, rdi
shr rcx, 2
sub r9, rsi
sub r10, rsi
inc rcx
lea rdx, [rdx + rcx*4]
nop word [rax + rax]
movss xmm0, dword [rax - 4]
movaps xmm1, xmm4
mulss xmm1, dword [r9 + rax - 4]
xorps xmm0, xmm3
movaps xmm2, xmm4
addss xmm1, xmm0
movss dword [r10 + rax - 4], xmm1
movaps xmm1, xmm4
mulss xmm2, dword [r9 + rax]
movss xmm0, dword [rax]
xorps xmm0, xmm3
addss xmm2, xmm0
movss dword [r10 + rax], xmm2
movaps xmm2, xmm4
movss xmm0, dword [rax + 4]
mulss xmm1, dword [r9 + rax + 4]
xorps xmm0, xmm3
addss xmm1, xmm0
movss dword [r10 + rax + 4], xmm1
mulss xmm2, dword [r9 + rax + 8]
movss xmm0, dword [rax + 8]
xorps xmm0, xmm3
addss xmm2, xmm0
movss dword [r10 + rax + 8], xmm2
add rax, 0x10
sub rcx, 1
jne 0x1401d1440
cmp rdx, r8
jge 0x1401d14ef
sub rbx, rsi
lea rax, [rsi + rdx*4]
sub rdi, rsi
sub r8, rdx
movss xmm0, dword [rax]
movaps xmm1, xmm4
mulss xmm1, dword [rax + rbx]
xorps xmm0, xmm3
addss xmm1, xmm0
movss dword [rax + rdi], xmm1
add rax, 4
sub r8, 1
jne 0x1401d14cd
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1401dc8b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov rax, qword [rsp + 0x38]
lea rbp, [r8 - 1]
sar rbp, 1
mov rdi, r9
mov r14, r8
mov r11, rdx
mov rbx, rcx
mov rsi, rdx
cmp rdx, rbp
jge 0x1401dc92e
nop dword [rax + rax]
mov r8, qword [rax]
lea r10, [rdx + rdx]
mov rcx, qword [rbx + r10*8 + 8]
xor r9d, r9d
mov rdx, qword [rbx + r10*8 + 0x10]
movss xmm0, dword [r8 + rcx*4]
comiss xmm0, dword [r8 + rdx*4]
lea rdx, [r10 + 1]
seta r9b
xor r9, 1
add rdx, r9
mov rcx, qword [rbx + rdx*8]
mov qword [rbx + r11*8], rcx
mov r11, rdx
cmp rdx, rbp
jl 0x1401dc8f0
jne 0x1401dc943
test r14b, 1
jne 0x1401dc943
mov rcx, qword [rbx + r14*8 - 8]
mov qword [rbx + r11*8], rcx
lea r11, [r14 - 1]
cmp rsi, r11
jge 0x1401dc988
nop dword [rax + rax]
mov rdx, qword [rax]
lea r8, [r11 - 1]
mov rcx, qword [rdi]
sar r8, 1
movss xmm0, dword [rdx + rcx*4]
mov r9, qword [rbx + r8*8]
comiss xmm0, dword [rdx + r9*4]
jbe 0x1401dc982
mov qword [rbx + r11*8], r9
mov r11, r8
cmp rsi, r8
jl 0x1401dc950
mov rax, qword [rdi]
mov qword [rbx + r8*8], rax
jmp 0x1401dc98f
mov qword [rbx + r11*8], rcx
jmp 0x1401dc98f
mov rax, qword [rdi]
mov qword [rbx + r11*8], rax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x14023c2e0
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 r12
push r14
push r15
sub rsp, 0x50
movdqa xmm0, xmmword [0x1402ddf70]
mov ecx, 0x7d2
mov r14, qword [rsp + 0x98]
mov r15, r9
mov rbp, qword [rsp + 0x90]
mov r12, r8
movaps xmmword [rax - 0x28], xmm6
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm7
movss xmm7, dword [r14]
subss xmm7, dword [rbp]
movaps xmmword [rax - 0x48], xmm8
movups xmmword [rdx + 8], xmm0
divss xmm7, dword [0x1402ddf50]
call fcn.14000d700
mov rdi, rax
mov qword [rsi], rax
movss xmm6, dword [0x1402b1d5c]
movss xmm2, dword [rbp]
movss xmm8, dword [0x1402b1e90]
movss dword [rax], xmm2
subss xmm2, dword [rbp]
movss xmm1, dword [r14]
subss xmm1, dword [rbp]
divss xmm2, xmm1
addss xmm2, xmm2
subss xmm2, xmm6
mulss xmm2, dword [r15]
addss xmm2, dword [r12]
xorps xmm2, xmm8
movaps xmm0, xmm2
call fcn.1402762b0
mov rax, qword [rsi + 8]
addss xmm0, xmm6
movaps xmm1, xmm6
mov ebx, 1
divss xmm1, xmm0
movss dword [rdi + rax*4], xmm1
nop word [rax + rax]
movaps xmm0, xmm7
addss xmm0, dword [rdi + rbx*4 - 4]
movss dword [rdi + rbx*4], xmm0
subss xmm0, dword [rbp]
movss xmm1, dword [r14]
subss xmm1, dword [rbp]
divss xmm0, xmm1
addss xmm0, xmm0
subss xmm0, xmm6
mulss xmm0, dword [r15]
addss xmm0, dword [r12]
xorps xmm0, xmm8
call fcn.1402762b0
mov rcx, qword [rsi + 8]
addss xmm0, xmm6
add rcx, rbx
movaps xmm1, xmm6
inc rbx
divss xmm1, xmm0
movss dword [rdi + rcx*4], xmm1
cmp rbx, 0x3e9
jl 0x14023c3c0
movaps xmm6, xmmword [rsp + 0x40]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rax, rsi
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm7, xmmword [rsp + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x140255b00
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140255b13
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140256120
lea rdx, [0x1403532c8]
lea rcx, [rsp + 0x20]
call fcn.1402701c0
int3

Function at 0x14026039c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140375058]
xor edx, edx
jmp fcn.140255b00

Function at 0x140260d24
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140375058]
jmp fcn.140255b00

Function at 0x14026c96c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14026ca28]
mov r9, qword [r9 + 8]
jmp fcn.14025dd54

Function at 0x14026ca00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14026ca38]
mov r9, qword [r9 + 8]
jmp fcn.14025dd54

Function at 0x140285010
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140284e3c
Function at 0x14028fb68
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14028fb88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14028146c
or eax, 0xffffffff
jmp 0x14028fb8a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400090f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x290
mov rax, qword [0x141a750c0]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000914b
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140009152
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000923a
mov qword [rsp + 0x2a0], rdi
xor edi, edi
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x140009180
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.140016200
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x1400091a6
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x14000925b
test rdx, rdx
je 0x1400091e8
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14000925b
add rax, 2
sub rdx, 1
jne 0x1400091d4
mov edi, dword [rsp + 0x48]
cmp r10, 7
jbe 0x140009227
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000921f
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400092ad
mov rcx, r9
call fcn.1400fb710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400fb6f0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rsi
ret
cmp r10, 7
jbe 0x140009292
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000928a
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400092ad
mov rcx, r9
call fcn.1400fb710
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140009160
jmp 0x140009227
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140012fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x140013175
cmp rcx, rbp
je 0x140013175
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x14001307c
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x14001319c
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140013093
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140013093
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1400130a6
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x1400130f3
mov r8d, eax
cmp eax, 0x800
jae 0x1400130c0
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x1400130f3
cmp eax, 0x10000
jae 0x1400130da
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x1400130f3
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x140013175
add qword [rsi], 2
test dil, dil
jne 0x140013114
cmp r10d, 3
jae 0x140013120
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x14001314e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x140013130
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x140013175
cmp qword [rbx], rbp
jne 0x14001303d
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x14001317f
Function at 0x140013b10
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140013b38
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140013b5e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140013b60
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140013bb9
test ecx, ecx
jle 0x140013b99
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140013bb9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140013bb9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140013be0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140013c02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140013c18
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140013c34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140013c36
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140013c72
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140013d0e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140013cad
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140013cee
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140013d0e
cmp rbx, rax
ja 0x140013cc0
test rbx, rbx
je 0x140013d0e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140014180
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x141a750c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400141ad
xor eax, eax
jmp 0x140014319
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400141e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400141e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140014319
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001430c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001422a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140014255
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140014311
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400142c4
sub eax, 1
je 0x1400142c4
cmp eax, 2
jne 0x14001430c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140014311
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400142f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001430c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140014311
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400fb6f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140015030
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x141a750c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140015103
cmp byte [rcx + 0x71], 0
je 0x140015103
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400150ff
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 0x1400150c4
sub eax, 1
je 0x1400150c8
cmp eax, 2
jne 0x1400150ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fb6f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400150f6
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 0x1400150ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400150ac
xor al, al
jmp 0x1400150ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400fb6f0
add rsp, 0x60
pop rbx
ret

Function at 0x1400199e0
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 0x140019a3d
lea rbx, [0x141a59080]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019a24
cmp r10, 2
jb 0x140019a24
cmp byte [r9], r8b
jne 0x140019a24
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 0x140019a00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019a7f
lea rbx, [0x141a59080]
cmp r8b, 0x23
jne 0x140019a63
cmp byte [r9], r8b
jne 0x140019a63
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 0x140019a50
mov rbx, qword [rsp + 8]
not eax
ret