joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c7b00
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [0x14190f450], 0
mov ebx, ecx
jne 0x1400c7b24
call fcn.1400c7920
mov ecx, dword [0x14190f454]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1400c7b4c
call fcn.1400c7920
mov ecx, dword [0x14190f454]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
lea rdx, [rdi + 8]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElemsize
nop word [rax + rax]
imul eax, ebx, 0x53a9b4fb
mov ecx, 1
mov ebx, 1
sub ecx, eax
lea rdx, [rdx + 4]
mov dword [rdx + 0x40], ecx
imul eax, ecx, 0x53a9b4fb
sub ebx, eax
mov dword [rdx - 4], ebx
dec r8
jne 0x1400c7b60
lea esi, [r8 + 0x1f]
mov dword [rdi], r8d
mov dword [rdi + 4], 0xa
lea ebp, [rsi - 0xf]
nop word [rax + rax]
movsxd r11, dword [rdi]
movsxd rbx, dword [rdi + 4]
mov r10d, dword [rdi + rbx*4 + 8]
mov r9d, dword [rdi + r11*4 + 8]
mov eax, dword [rdi + r11*4 + 0x4c]
ror r9d, 5
lea rcx, [rdi + r11*4]
lea r8, [rdi + r11*4]
ror eax, 0xd
add r9d, r10d
add eax, dword [rdi + rbx*4 + 0x4c]
dec r11d
mov dword [r8 + 0x4c], r9d
cmovs r11d, ebp
dec ebx
mov dword [rcx + 8], eax
cmovs ebx, ebp
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
dec rsi
jne 0x1400c7ba0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c7c00
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp dword [0x14190f450], 0
mov rbx, rcx
jne 0x1400c7c17
call fcn.1400c7920
mov ecx, dword [0x14190f454]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, rax
test rax, rax
jne 0x1400c7c3f
call fcn.1400c7920
mov ecx, dword [0x14190f454]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9, rax
movsxd r8, dword [r9]
movsxd rdx, dword [r9 + 4]
mov eax, reloc.WS2_32.dll_recv
mov r10d, dword [r9 + r8*4 + 0x4c]
mov r11d, dword [r9 + r8*4 + 8]
ror r10d, 0xd
add r10d, dword [r9 + rdx*4 + 0x4c]
ror r11d, 5
add r11d, dword [r9 + rdx*4 + 8]
mov dword [r9 + r8*4 + 8], r10d
mov dword [r9 + r8*4 + 0x4c], r11d
dec r8d
mov ecx, r11d
cmovs r8d, eax
dec edx
cmovs edx, eax
mov dword [r9], r8d
mov dword [r9 + 4], edx
inc rbx
je 0x1400c7cb8
mov edx, r10d
mov r8, rbx
mov eax, ebx
shr r8, 0x20
imul rax, rdx
shr rax, 0x20
imul rcx, r8
imul rdx, r8
shr rcx, 0x20
add rax, rcx
add rax, rdx
add rsp, 0x20
pop rbx
ret
mov eax, r10d
shl rax, 0x20
and rax, rcx
add rsp, 0x20
pop rbx
ret

Function at 0x1400c7d90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp dword [0x141905034], 0xffffffff
jne 0x1400c7dbf
call fcn.1400c84b0
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400c7d40]
call fcn.140166ac4
jmp 0x1400c7df0
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400c7df0
call fcn.1400c9090
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
lea rcx, [0x1400c7d40]
call fcn.140166ac4
add rsp, 0x28
ret
Function at 0x1400c7e00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x20]
mov rdx, qword [rdx + 0x10]
mov qword [rcx + rax*8 + 0x18], rdx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
inc rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x338], rax
add rsp, 0x38
ret

Function at 0x1400c7e60
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x338]
dec rax
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x338], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x338]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax*8 + 0x18]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400c7ed0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
dec rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x338], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x20]
mov rax, qword [rdx + rax*8 + 0x18]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rsp, 0x38
ret

Function at 0x1400c7f40
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
dec rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x338], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x20]
mov rax, qword [rdx + rax*8 + 0x18]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
add rsp, 0x38
ret

Function at 0x1400c7fb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
dec rax
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x338], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x338]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x20]
add rcx, qword [rdx + rax*8 + 0x18]
mov rax, rcx
add rsp, 0x38
ret
Function at 0x1400c8040
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1400c80a6
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r8, rax
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
jmp 0x1400c80d1
movsxd rax, dword [rsp + 0x20]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x20]
xor edx, edx
mov ecx, 2
div rcx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
add rcx, qword [rdx]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call fcn.1400c8d00
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400c8290
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
add rsp, 0x38
ret

Function at 0x1400c83d0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400c8420
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
add rax, 2
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400c84b0
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x1419106e0], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x141905034], eax
call fcn.1400c9090
add rsp, 0x28
ret
Function at 0x1400c8520
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x58], 0xffffffff
jne 0x1400c8550
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, 4
cmp rax, rcx
jl 0x1400c85c2
mov eax, dword [rsp + 0x20]
add eax, 0x4000
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x1400c8620
mov rax, qword [rsp + 0x28]
cmp qword [rax + 8], 0x100000
jle 0x1400c8620
cmp dword [rsp + 0x20], 0x100000
jge 0x1400c85e3
mov dword [rsp + 0x20], 0x100000
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
add rax, 0xa
mov r9, rax
mov rax, qword [rsp + 0x28]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x58]
movsxd rcx, dword [rsp + 0x50]
lea rax, [rax + rcx*2]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x30]
add rsp, 0x48
ret

Function at 0x1400c8660
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x40]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 0x10]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
add rsp, 0x38
ret

Function at 0x1400c86a0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
xor edx, edx
mov word [rcx + rax], dx
add rsp, 0x38
ret
Function at 0x1400c8bd0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
cmp qword [rsp + 0x40], rax
jb 0x1400c8c2b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx + 0x10]
cmp qword [rsp + 0x40], rax
ja 0x1400c8c2b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
inc rax
jmp 0x1400c8c2d
xor eax, eax
add rsp, 0x38
ret

Function at 0x1400c8c40
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx]
lea rax, [rcx + rax - 1]
add rsp, 0x38
ret

Function at 0x1400c8cd0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
add rax, qword [rcx]
add rsp, 0x38
ret

Function at 0x1400c9090
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, 0x340
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, reloc.WS2_32.dll_recv
xor edx, edx
mov rcx, qword [0x1419106e0]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], reloc.WS2_32.dll_recv
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x338], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x141905034]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret
Function at 0x1400c92a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
lea rbx, [rcx + 0x588]
lea rsi, [rcx + 0x1c58]
xor edi, edi
lea r14, [rcx + 0x1018]
lea r15, [rcx + 0x1038]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rsi + 2]
mov r8d, edi
mov r10d, edi
shr rax, 4
and r8d, 1
shr r10d, 1
mov edx, r10d
mov ecx, r8d
add r8d, 2
neg ecx
and edx, 1
shr r10d, 1
shr rcx, 4
lea r9d, [rdx + r8*2]
and r10d, 1
and ecx, 0x7f
inc edi
lea r15, [r15 + 4]
xor rcx, rax
mov eax, edx
lea r14, [r14 + 4]
mov r11d, dword [rbx + rcx*4]
movzx ecx, word [rsi + r8*2]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
mov eax, r10d
add r11d, dword [rbx + rcx*4]
movzx ecx, word [rsi + r9*2]
neg eax
shr rax, 4
shr rcx, 4
and eax, 0x7f
xor rcx, rax
lea eax, [r10 + r9*2]
add r11d, dword [rbx + rcx*4]
movzx eax, word [rsi + rax*2]
mov edx, eax
shr rax, 4
mov ecx, dword [rbx + rax*4]
xor rdx, 0x7f0
add ecx, r11d
shr rdx, 4
mov dword [r14 - 4], ecx
mov ecx, dword [rbx + rdx*4]
add ecx, r11d
mov dword [r15 - 4], ecx
cmp edi, 8
jb 0x1400c92e0
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
pop r15
ret
Function at 0x1400cb640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r10d, 0x100
xor ebx, ebx
mov r11d, r8d
or edx, r10d
mov rdi, rcx
nop dword [rax + rax]
add r11d, r11d
mov r8d, edx
mov ecx, edx
shr ecx, 7
shr r8d, 8
mov eax, r10d
and ecx, 1
and eax, r11d
add edx, edx
neg ecx
add eax, r10d
shr rcx, 4
add r8d, eax
movzx r8d, word [rdi + r8*2]
and ecx, 0x7f
shr r8, 4
xor r8, rcx
mov ecx, edx
add ebx, dword [r9 + r8*4]
xor ecx, r11d
not ecx
and r10d, ecx
cmp edx, 0x10000
jb 0x1400cb660
mov rdi, qword [rsp + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 8]
ret

Function at 0x1400ccbd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xcc], 0
mov rbp, rcx
jne 0x1400ccbfd
call fcn.1400c93b0
mov rcx, rbp
call fcn.1400c92a0
mov ecx, dword [rbp + 0xc4]
mov eax, dword [rbp + 0x48]
mov ebx, 1
dec eax
mov edx, ebx
lea r8, [rbp + 0x22d8]
shl edx, cl
lea r9, [rbp + 0x588]
lea rcx, [rbp + 0x6ad8]
mov dword [rbp + 0xaedc], eax
mov dword [rbp + 0x6ad8], eax
mov dword [rbp + 0xec], 0x40
call fcn.1400cb2b0
mov ecx, dword [rbp + 0xc4]
lea r8, [rbp + 0x26d8]
shl ebx, cl
lea r9, [rbp + 0x588]
lea rcx, [rbp + 0xaedc]
mov edx, ebx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400cb2b0

Function at 0x1400cd4d0
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
mov rbx, r9
mov rdi, r8
mov ebp, edx
mov rsi, rcx
xor r11d, r11d
mov r9d, r11d
mov r10d, r11d
add r11d, 2
shr r9d, 2
shr r10d, 1
lea rdi, [rdi + 8]
lea eax, [r9 + 2]
mov ecx, r10d
movzx edx, word [rsi + rax*2]
movzx eax, word [rsi + 2]
and ecx, 1
neg ecx
shr rdx, 4
shr rax, 4
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
mov ecx, r9d
mov r8d, dword [rbx + rdx*4]
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rcx, rax
lea eax, [r10 + 4]
add r8d, dword [rbx + rcx*4]
movzx eax, word [rsi + rax*2]
add r8d, ebp
mov edx, eax
shr rax, 4
mov ecx, dword [rbx + rax*4]
xor rdx, 0x7f0
add ecx, r8d
shr rdx, 4
mov dword [rdi - 8], ecx
mov ecx, dword [rbx + rdx*4]
add ecx, r8d
mov dword [rdi - 4], ecx
cmp r11d, 8
jb 0x1400cd4f2
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x1400cfc00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov qword [rcx + 0x480], 0xffffffffffffffff
mov dword [rcx + 0x3c], 0x20
mov byte [rcx + 0x21], 1
mov dword [rcx + 0x5c], 4
lea r8, [rcx + 0x78]
mov qword [rcx + 0x40], rdx
mov word [rcx + 0x22], dx
mov qword [rcx + 0x28], rdx
nop
mov ecx, edx
mov eax, edx
inc edx
shr eax, 1
and ecx, 1
lea r8, [r8 + 4]
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [r8 - 4], eax
cmp edx, 0x100
jb 0x1400cfc30
ret
Function at 0x1400d5de0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x1400d5e4f
mov qword [rsp], rbx
lea rbx, [0x14019b340]
test r10b, 1
je 0x1400d5e43
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x1400d5e30
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x1400d5e43
shr edx, 1
test al, 1
je 0x1400d5e3f
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400d5e20
shr eax, 1
jmp 0x1400d5e20
inc r11d
sar r10, 1
jne 0x1400d5e00
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x1400df920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r15
sub rsp, 8
mov r14, rdx
mov r15, rcx
cmp r8, 5
jae 0x1400df93f
xor eax, eax
add rsp, 8
pop r15
pop r14
ret
mov r9d, dword [rcx + 0x4e00]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbp
mov ebp, dword [rcx + 0x4e04]
mov qword [rsp + 0x30], rsi
mov rsi, qword [rcx + 0x4df8]
lea rbx, [r8 - 4]
mov qword [rsp + 0x38], rdi
xor r10d, r10d
mov qword [rsp], r12
lea r12, [0x140000000]
add rbx, rdx
nop dword [rax]
lea rax, [r10 + r14]
cmp rax, rbx
jae 0x1400df9a3
nop dword [rax]
movzx ecx, byte [rax]
and cl, 0xfe
cmp cl, 0xe8
je 0x1400df9a3
inc rax
cmp rax, rbx
jb 0x1400df990
mov r10, rax
sub r10, r14
cmp rax, rbx
jae 0x1400dfac7
mov rcx, r10
sub rcx, rsi
cmp rcx, 3
jbe 0x1400df9e0
xor r9d, r9d
movzx edx, byte [rax + 4]
mov rsi, r10
lea ecx, [rdx - 1]
cmp cl, 0xfd
ja 0x1400dfa26
and r9d, 3
add r9d, r9d
or r9d, 1
inc r10
jmp 0x1400df980
dec ecx
shl r9d, cl
and r9d, 7
je 0x1400df9c1
movzx ecx, byte [r9 + r12 + 0x19bca8]
mov rdx, rax
sub rdx, rcx
cmp byte [r9 + r12 + 0x19bca0], 0
movzx ecx, byte [rdx + 4]
je 0x1400dfa10
inc cl
test cl, 0xfe
jne 0x1400df9c1
and r9d, 3
mov rsi, r10
add r9d, r9d
or r9d, 1
inc r10
jmp 0x1400df980
movzx ecx, byte [rax + 3]
movzx r8d, dl
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rax + 2]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rax + 1]
shl r8d, 8
or r8d, ecx
sub r8d, r10d
sub r8d, ebp
test r9d, r9d
je 0x1400dfa98
movzx r11d, byte [r9 + r12 + 0x19bca8]
shl r11d, 3
neg r11d
nop word [rax + rax]
lea ecx, [r11 + 0x18]
mov edx, r8d
shr edx, cl
inc dl
test dl, 0xfe
jne 0x1400dfa98
lea ecx, [r11 + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor r8d, edx
sub r8d, r10d
sub r8d, ebp
jmp 0x1400dfa70
mov ecx, r8d
mov byte [rax + 1], r8b
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [rax + 4], cl
mov ecx, r8d
shr ecx, 0x10
mov byte [rax + 3], cl
mov ecx, r8d
shr ecx, 8
add r10, 5
mov byte [rax + 2], cl
jmp 0x1400df980
add dword [r15 + 0x4e04], r10d
mov r12, qword [rsp]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov qword [r15 + 0x4df8], rsi
mov rsi, qword [rsp + 0x30]
mov dword [r15 + 0x4e00], r9d
mov rax, r10
add rsp, 8
pop r15
pop r14
ret

Function at 0x1400e6630
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, 0x24
mov rbx, rdx
mov edi, ecx
lea ecx, [r8 - 0x22]
lea rdx, str.Fatal_Internal_Error_in_libarchive:
call fcn.1400edaa0
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400e6660
mov rdx, rbx
mov ecx, 2
call fcn.1400edaa0
mov r8d, 1
lea rdx, [0x14019d014]
lea ecx, [r8 + 1]
call fcn.1400edaa0
mov ecx, edi
call qword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1400e7f40
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.1400e7a40
test rax, rax
jne 0x1400e7f68
lea rdx, str.Out_of_memory
lea ecx, [rax + 1]
add rsp, 0x28
jmp fcn.1400e6630
add rsp, 0x28
ret
Function at 0x1400ed3a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, 0xffffffff
mov rbx, r8
mov rdi, rdx
cmp r8, rax
cmova rbx, rax
test ecx, ecx
jns 0x1400ed3db
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 9
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test rbx, rbx
jne 0x1400ed3ed
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.msvcrt.dll__get_osfhandle]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ed477
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe8
jne 0x1400ed43c
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], reloc.WS2_32.dll_inet_addr
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp eax, 0x6d
je 0x1400ed3e0
cmp eax, 5
jne 0x1400ed461
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 9
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400ecfe0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400edaa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov eax, 0xffffffff
mov rbx, r8
mov rdi, rdx
cmp r8, rax
cmova rbx, rax
test ecx, ecx
jns 0x1400edadb
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 9
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.msvcrt.dll__get_osfhandle]
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400edb3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400edb28
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 9
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, eax
call fcn.1400ecfe0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret