joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ab80
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
sub rsp, 0x58
mov qword [rax + 0x10], rbx
mov rbx, rcx
mov qword [rax + 0x18], rbp
mov rbp, qword [rcx + 8]
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov edi, dword [rcx + 0x18]
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
lea r15, [rcx + 0x18]
mov r14, r15
test rbp, rbp
jne 0x14005abd5
mov ecx, 0x80
mov ebp, reloc.WS2_32.dll_recv
call fcn.1400de458
mov rdx, rax
mov rsi, rax
xor ecx, ecx
mov r13d, ebp
jmp 0x14005ac00
xor esi, esi
xor r13d, r13d
add rbp, rbp
je 0x14005ac15
lea rcx, [rbp*8]
call fcn.1400de458
xor ecx, ecx
mov rdx, rax
mov rsi, rax
mov r13, rbp
test rbp, rbp
je 0x14005ac15
nop dword [rax]
mov eax, dword [r14]
mov dword [rdx + rcx*8], eax
xor eax, eax
mov word [rdx + rcx*8 + 4], ax
inc rcx
cmp rcx, rbp
jb 0x14005ac00
xor r11d, r11d
cmp qword [rbx + 8], r11
jbe 0x14005acde
movabs rbp, 0x100000001b3
movabs r14, 0xcbf29ce484222325
nop word [rax + rax]
mov rax, qword [rbx]
mov r10d, dword [rax + r11*8]
cmp r10d, dword [r15]
je 0x14005acd1
mov eax, r10d
movzx ecx, r10b
shr eax, 8
lea r9, [r13 - 1]
movzx eax, al
xor rcx, r14
imul rcx, rbp
xor rax, rcx
mov ecx, r10d
imul rax, rbp
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
xor rax, rdx
shr rcx, 0x18
imul rax, rbp
xor rax, rcx
imul rax, rbp
and rax, r9
xor ecx, ecx
mov r8d, dword [rsi + rax*8]
lea rdx, [rsi + rax*8]
cmp r8d, edi
je 0x14005acb9
cmp r8d, r10d
je 0x14005acbc
inc rax
add rax, rcx
inc rcx
and rax, r9
cmp rcx, r9
jbe 0x14005ac92
xor edx, edx
jmp 0x14005acbc
mov dword [rdx], r10d
mov rax, qword [rbx]
lea rcx, [rax + r11*8]
mov eax, dword [rax + r11*8]
mov dword [rdx], eax
movzx eax, word [rcx + 4]
mov word [rdx + 4], ax
inc r11
cmp r11, qword [rbx + 8]
jb 0x14005ac40
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
mov qword [rbx], rsi
mov rsi, qword [rsp + 0x50]
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005ad19
add rsp, 0x58
jmp fcn.1400de494
add rsp, 0x58
ret
Function at 0x140070a50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov rdi, rdx
mov rbx, rcx
mov esi, ebp
cmp qword [rdx + 0x40], rbp
jbe 0x140070adb
mov qword [rsp + 0x40], r14
movabs r14, 0x8080808080808080
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rdi + 0x38]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, qword [r8 + rsi*8]
call fcn.140070090
inc rsi
mov r8, qword [rax]
add r8, qword [rbx + 0x38]
mov rdx, r8
mov qword [rbx + 0x40], rbp
and rdx, r14
mov rax, rdx
mov rcx, rdx
shr rax, 7
xor rdx, r8
sub rcx, rax
or rcx, rdx
mov qword [rbx + 0x38], rcx
cmp rsi, qword [rdi + 0x40]
jb 0x140070a90
mov r14, qword [rsp + 0x40]
mov rdx, qword [rdi + 0x48]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x20], 1
mov r9d, 3
mov qword [rsp + 0x28], rbp
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.140070660
mov rbx, qword [rsp + 0x48]
xor al, al
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r9, rdx
mov r14, rcx
je 0x140073dad
mov r12d, dword [rdx + 8]
cmp r12d, dword [rcx + 0x20]
jne 0x140073d18
mov rdx, qword [rcx + 0x18]
mov r8d, r12d
mov rcx, qword [r9]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140073dad
mov r9, qword [rsp + 0x58]
mov r15, qword [r14 + 8]
xor ebp, ebp
dec r15
mov edx, 0x811c9dc5
mov ecx, ebp
test r12, r12
je 0x140073d45
mov r8, qword [r9]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r12
jb 0x140073d30
mov edi, edx
and rdi, r15
nop word [rax + rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r14]
mov esi, dword [rbx + 8]
mov r13d, esi
cmp esi, r12d
jne 0x140073d77
mov rdx, qword [r9]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140073da8
cmp esi, dword [r14 + 0x20]
jne 0x140073d90
mov rdx, qword [r14 + 0x18]
mov r8, r13
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140073dad
inc rdi
add rdi, rbp
inc rbp
and rdi, r15
cmp rbp, r15
ja 0x140073dad
mov r9, qword [rsp + 0x58]
jmp 0x140073d50
mov rax, rbx
jmp 0x140073daf
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140073dd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r14, qword [rcx + 8]
xor ebp, ebp
mov r12d, dword [rdx + 8]
dec r14
mov r10, rdx
mov r13, rcx
mov r9d, 0x811c9dc5
mov r8d, ebp
test r12, r12
je 0x140073e27
mov rdx, qword [rdx]
nop
movzx eax, byte [rdx + r8]
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
cmp r8, r12
jb 0x140073e10
mov edi, r9d
and rdi, r14
mov qword [rsp + 0x50], r15
mov rbx, rdi
shl rbx, 4
add rbx, qword [r13]
mov esi, dword [rbx + 8]
mov r15d, esi
cmp esi, dword [r13 + 0x20]
jne 0x140073e61
mov rdx, qword [r13 + 0x18]
mov r8d, esi
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140073e90
mov r10, qword [rsp + 0x58]
cmp esi, r12d
jne 0x140073e78
mov rdx, qword [r10]
mov r8, r15
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140073e9f
inc rdi
add rdi, rbp
inc rbp
and rdi, r14
cmp rbp, r14
ja 0x140073ea4
mov r10, qword [rsp + 0x58]
jmp 0x140073e32
mov rax, qword [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
inc qword [r13 + 0x10]
mov rax, rbx
jmp 0x140073ea6
xor eax, eax
mov r15, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140087970
Capabilities:
Hash data using murmur3

Disassembly:
and r8d, 0xf
mov r9, rdx
cmp r8, 4
jb 0x14008790e
mov r10d, r8d
shr r10, 2
imul rax, r10, 0xfffffffffffffffc
add r8, rax
nop dword [rax + rax]
mov eax, dword [r9]
add r9, 4
imul edx, eax, 0x3d4d51c3
sub ecx, edx
rol ecx, 0x11
imul ecx, ecx, 0x27d4eb2f
sub r10, 1
jne 0x1400878f0
test r8, r8
je 0x14008793f
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
imul edx, eax, 0x165667b1
add ecx, edx
rol ecx, 0xb
imul ecx, ecx, 0x9e3779b1
sub r8, 1
jne 0x140087920
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
sub rsp, 0x28
mov r11, rdx
mov rdx, rcx
cmp r11, 0x10
jb 0x140087a27
mov qword [rsp + 0x20], rbx
mov eax, 0x61c88679
lea rbx, [rcx - 0xf]
mov r8d, 0x24234452
add rbx, r11
mov r9d, 0x85ebcaa1
mov r10d, 0x2a
nop word [rax + rax]
imul ecx, dword [rdx], 0x7a143589
sub r8d, ecx
imul ecx, dword [rdx + 4], 0x7a143589
rol r8d, 0xd
imul r8d, r8d, 0x9e3779b1
sub r9d, ecx
imul ecx, dword [rdx + 8], 0x7a143589
rol r9d, 0xd
imul r9d, r9d, 0x9e3779b1
sub r10d, ecx
imul ecx, dword [rdx + 0xc], 0x7a143589
rol r10d, 0xd
add rdx, 0x10
imul r10d, r10d, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp rdx, rbx
jb 0x1400879b0
mov rbx, qword [rsp + 0x20]
rol eax, 0x12
rol r10d, 0xc
add eax, r10d
rol r9d, 7
add eax, r9d
rol r8d, 1
add eax, r8d
jmp 0x140087a2c
mov eax, 0x165667db
mov r8, r11
lea ecx, [r11 + rax]
and r8d, 0xf
add rsp, 0x28
jmp 0x1400878d0
Function at 0x140087b40
Capabilities:
Encode data using xor

Disassembly:
push rbx
and r8d, 0x1f
movabs rbx, 0xc2b2ae3d27d4eb4f
movabs r11, 0x9e3779b185ebca87
cmp r8, 8
jb 0x140087aac
mov r10d, r8d
mov qword [rsp + 0x10], rdi
shr r10, 3
movabs rdi, 0x7a1435883d4d519d
imul rax, r10, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
mov rax, qword [rdx]
add rdx, 8
imul rax, rbx
rol rax, 0x1f
imul rax, r11
xor rcx, rax
rol rcx, 0x1b
imul rcx, r11
sub rcx, rdi
sub r10, 1
jne 0x140087a80
mov rdi, qword [rsp + 0x10]
movabs r10, 0x165667b19e3779f9
cmp r8, 4
jb 0x140087ad8
mov eax, dword [rdx]
add rdx, 4
imul rax, r11
xor rcx, rax
rol rcx, 0x17
imul rcx, rbx
add rcx, r10
sub r8, 4
test r8, r8
je 0x140087b0c
movabs r9, 0x27d4eb2f165667c5
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
imul rax, r9
xor rcx, rax
rol rcx, 0xb
imul rcx, r11
sub r8, 1
jne 0x140087af0
mov rax, rcx
shr rax, 0x21
xor rax, rcx
imul rax, rbx
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r10
mov rax, rcx
shr rax, 0x20
xor rax, rcx
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, rcx
cmp rbx, 0x20
jb 0x140087c86
mov qword [rsp + 0x40], rsi
lea r11, [rcx - 0x1f]
mov qword [rsp + 0x48], rdi
add r11, rbx
movabs rdi, 0xc2b2ae3d27d4eb4f
xor r9d, r9d
mov r8, rdi
movabs rcx, 0x60ea27eeadc0b5d6
movabs rsi, 0x9e3779b185ebca87
movabs r10, 0x61c8864e7a143579
nop word [rax + rax]
mov rax, qword [rdx]
imul rax, rdi
add rcx, rax
mov rax, qword [rdx + 8]
imul rax, rdi
rol rcx, 0x1f
add r8, rax
mov rax, qword [rdx + 0x10]
imul rax, rdi
imul rcx, rsi
add r9, rax
rol r8, 0x1f
mov rax, qword [rdx + 0x18]
add rdx, 0x20
imul rax, rdi
imul r8, rsi
add r10, rax
rol r9, 0x1f
rol r10, 0x1f
imul r10, rsi
imul r9, rsi
cmp rdx, r11
jb 0x140087ba0
mov r11, r10
mov rax, r9
rol r11, 0x12
rol rax, 0xc
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, rcx
imul rcx, rdi
imul r8, rdi
imul r9, rdi
imul r10, rdi
mov rdi, qword [rsp + 0x48]
rol rax, 1
add r11, rax
rol rcx, 0x1f
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
imul rcx, rsi
imul r8, rsi
xor r11, rcx
rol r9, 0x1f
imul r11, rsi
imul r9, rsi
sub r11, rax
rol r10, 0x1f
xor r11, r8
imul r11, rsi
imul r10, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
imul r11, rsi
mov rsi, qword [rsp + 0x40]
sub r11, rax
jmp 0x140087c90
movabs r11, 0x27d4eb2f165667c5
lea rcx, [r11 + rbx]
mov r9d, 1
mov r8, rbx
add rsp, 0x20
pop rbx
jmp 0x140087a40
Function at 0x140087e60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov rbx, qword [rcx]
mov rdi, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rbx, 0x20
jb 0x140087f44
mov rdx, qword [rcx + 8]
mov r9, qword [rdi + 0x18]
mov rcx, rdx
mov r8, qword [rdi + 0x10]
mov rax, r9
mov r10, qword [rdi + 0x20]
mov r11, r8
rol r11, 7
rol rax, 0xc
add r11, rax
rol rdx, 1
mov rax, r10
imul rcx, rbp
imul r8, rbp
imul r9, rbp
imul r10, rbp
rol rax, 0x12
add r11, rax
rol rcx, 0x1f
add r11, rdx
rol r8, 0x1f
imul rcx, rsi
imul r8, rsi
rol r9, 0x1f
movabs rax, 0x85ebca77c2b2ae63
xor r11, rcx
rol r10, 0x1f
imul r11, rsi
imul r9, rsi
imul r10, rsi
sub r11, r15
xor r11, r8
imul r11, rsi
sub r11, r15
xor r11, r9
imul r11, rsi
sub r11, r15
xor r11, r10
imul r11, rsi
add rax, r11
jmp 0x140087f4b
mov rax, qword [rcx + 0x18]
add rax, r14
add rax, rbx
lea r8, [rdi + 0x28]
and ebx, 0x1f
cmp rbx, 8
jb 0x140087f97
mov edx, ebx
shr rdx, 3
imul rcx, rdx, 0xfffffffffffffff8
add rbx, rcx
nop dword [rax + rax]
mov rcx, qword [r8]
add r8, 8
imul rcx, rbp
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
sub rdx, 1
jne 0x140087f70
movabs r9, 0x165667b19e3779f9
cmp rbx, 4
jb 0x140087fc4
mov edx, dword [r8]
add r8, 4
imul rdx, rsi
xor rax, rdx
rol rax, 0x17
imul rax, rbp
add rax, r9
sub rbx, 4
test rbx, rbx
je 0x140087fed
nop dword [rax]
movzx ecx, byte [r8]
lea r8, [r8 + 1]
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
sub rbx, 1
jne 0x140087fd0
mov rbx, qword [rsp + 0x28]
mov rcx, rax
mov rsi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x30]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r9
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop rdi
ret
Function at 0x1400d2da0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
mov r12, qword [rdx + 0x10]
movabs rax, 0xff00ff00ff00ff00
cmp r12, rax
jae 0x1400d2e12
mov ecx, 0x20000
sub rcx, r12
shr rcx, 0xb
mov eax, esi
cmp r12, 0x20000
cmovb rax, rcx
mov r14, r12
shr r14, 8
add r14, rax
add r14, r12
jne 0x1400d2e19
mov r14, 0xffffffffffffffb8
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
lea rbp, [r14 + 8]
mov qword [rdi], rsi
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rsi
test rbp, rbp
je 0x1400d2ea3
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
ja 0x1400d2fe0
cmp rbp, 0x1000
jb 0x1400d2e7b
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x1400d2fe6
call fcn.1400de458
test rax, rax
je 0x1400d2e74
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1400d2e86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400de458
mov rcx, rax
mov qword [rdi], rcx
lea rax, [rcx + rbp]
mov qword [rdi + 0x10], rax
lea rbx, [rcx + rbp]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rdi + 8], rbx
mov dword [rsp + 0x30], 1
mov rax, qword [rdi]
mov byte [rax], 0x52
mov rax, qword [rdi]
mov byte [rax + 1], 0x53
mov rax, qword [rdi]
mov byte [rax + 2], 0x42
mov rax, qword [rdi]
mov byte [rax + 3], 0x31
mov rax, qword [rdi]
mov qword [rax + 4], r12
cmp qword [r15 + 0x18], 0xf
jbe 0x1400d2ed7
mov r15, qword [r15]
mov rcx, qword [rdi]
add rcx, 8
mov dword [rsp + 0x20], socket
mov r9, r12
mov r8, r15
mov rdx, r14
call fcn.140092b30
cmp rax, 0xffffffffffffff88
ja 0x1400d2fbd
lea rbx, [rax + 8]
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.140087970
mov dword [rsp + 0x58], eax
test rbx, rbx
je 0x1400d2f42
mov r8, rsi
nop dword [rax]
mov rdx, qword [rdi]
add rdx, r8
and r8d, 3
movsx eax, sil
imul ecx, eax, 0x29
add cl, byte [rsp + r8 + 0x58]
xor byte [rdx], cl
inc esi
mov r8d, esi
cmp r8, rbx
jb 0x1400d2f20
mov qword [r13], rbx
mov rsi, qword [rdi + 8]
mov rdx, qword [rdi]
mov rcx, rsi
sub rcx, rdx
cmp rbx, rcx
jae 0x1400d2f62
lea rax, [rdx + rbx]
mov qword [rdi + 8], rax
jmp 0x1400d2f95
jbe 0x1400d2f95
mov rax, qword [rdi + 0x10]
sub rax, rdx
cmp rbx, rax
jbe 0x1400d2f7d
mov rdx, rbx
mov rcx, rdi
call fcn.1400d5a20
jmp 0x1400d2f95
sub rbx, rcx
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx + rsi]
mov qword [rdi + 8], rcx
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dde30
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_compress_the_bytecode.
lea rcx, [rsp + 0x40]
call fcn.1400d2b70
lea rdx, [0x14010fd00]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400479f0
int3
call fcn.14003c020
int3
Function at 0x1400d5c00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r13, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
mov r12, qword [rdx + 0x10]
movabs rax, 0xff00ff00ff00ff00
cmp r12, rax
jae 0x1400d5c77
mov eax, 0x20000
sub rax, r12
shr rax, 0xb
mov ecx, edi
cmp r12, 0x20000
cmovb rcx, rax
mov r15, r12
shr r15, 8
add r15, r12
add r15, rcx
jne 0x1400d5c7e
mov r15, 0xffffffffffffffb8
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
lea rbp, [r15 + 8]
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
test rbp, rbp
je 0x1400d5d08
movabs rax, 0x7fffffffffffffff
cmp rbp, rax
ja 0x1400d5e3a
cmp rbp, 0x1000
jb 0x1400d5ce0
lea rcx, [rbp + 0x27]
cmp rcx, rbp
jbe 0x1400d5e40
call fcn.1400de458
test rax, rax
je 0x1400d5cd9
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x1400d5ceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbp
call fcn.1400de458
mov rcx, rax
mov qword [rsi], rcx
lea rax, [rcx + rbp]
mov qword [rsi + 0x10], rax
lea rbx, [rcx + rbp]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rsi + 8], rbx
mov dword [rsp + 0x30], 1
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
lea r8, str.RSB1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov rax, qword [rsi]
mov r8, qword [rsi + 0x10]
sub r8, rax
lea rcx, [rax + 4]
test rcx, rcx
jne 0x1400d5d48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], socket
jmp 0x1400d5d66
cmp r8, 8
jb 0x1400d5d53
mov qword [rcx], r12
jmp 0x1400d5d6c
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov r8, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x1400d5d79
mov r8, qword [r14]
mov rcx, qword [rsi]
add rcx, 8
mov dword [rsp + 0x20], socket
mov r9, r12
mov rdx, r15
call fcn.140092b30
cmp rax, 0xffffffffffffff88
ja 0x1400d5e17
lea rbx, [rax + 8]
mov rdx, rbx
mov rcx, qword [rsi]
call fcn.140087970
mov dword [rsp + 0x58], eax
test rbx, rbx
je 0x1400d5de3
mov r9, rdi
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rsi]
add r8, r9
and r9d, 3
movsx eax, dil
imul edx, eax, 0x29
add dl, byte [rsp + r9 + 0x58]
xor byte [r8], dl
inc edi
mov r9d, edi
cmp r9, rbx
jb 0x1400d5dc0
mov qword [r13], rbx
mov rcx, r14
call fcn.140047ab0
mov rax, rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400dde30
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_compress_the_bytecode.
lea rcx, [rsp + 0x38]
call fcn.1400d2b70
lea rdx, [0x14010fd00]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.1400479f0
int3
call fcn.14003c020
int3
Function at 0x1400dae70
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 case.default.0x1400dae91
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 0x1400daebe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400daec0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400daf19
test ecx, ecx
jle 0x1400daef9
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 0x1400daf19
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400daf19
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 0x1400daf40
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 0x1400daf62
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400daf71
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 0x1400daf94
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400daf96
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400dafd2
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 0x1400db06e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400db00d
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 0x1400db04e
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 0x1400db06e
cmp rbx, rax
ja 0x1400db020
test rbx, rbx
je 0x1400db06e
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 0x1400db490
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400db4bd
xor eax, eax
jmp 0x1400db629
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400db4f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400db4f7
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 0x1400db629
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400db61c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400db53a
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 0x1400db565
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 0x1400db621
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 0x1400db5d4
sub eax, 1
je 0x1400db5d4
cmp eax, 2
jne 0x1400db61c
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 0x1400db621
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400db602
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 0x1400db61c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400db621
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400dde30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret