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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x1401cdd83], 0
je 0x1400580c9
lea rax, [0x1401c79d0]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret
xor r10d, r10d
mov dword [rbp - 0x60], 0x1f000f
mov dword [rbp - 0x5c], 0xa0007
mov dword [rbp - 0x58], 0x55001d
mov dword [rbp - 0x54], 0x160001
mov dword [rbp - 0x50], 0x120017
mov edx, r10d
mov dword [rbp - 0x4c], 0x1c0005
mov dword [rbp - 0x48], 0x4f0004
mov dword [rbp - 0x44], 0x190009
mov dword [rbp - 0x40], 0x150018
mov dword [rbp - 0x3c], 0x510010
mov dword [rbp - 0x38], 0x130003
mov dword [rbp - 0x34], 0xf0005
mov dword [rbp - 0x30], 0x150014
mov dword [rbp - 0x2c], 0x47001e
mov dword [rbp - 0x28], 0xb0004
mov dword [rbp - 0x24], 0x1e0002
mov dword [rbp - 0x20], 0x59
lea r9, [0x1401c79d0]
lea r8, [0x1401c6d91]
nop word [rax + rax]
movzx eax, byte [rdx + r8 - 1]
movzx ecx, word [rbp + rdx*2 - 0x5e]
add rdx, 3
xor ax, word [rbp + rdx*2 - 0x66]
mov word [r9 + rdx*2 - 6], ax
movzx eax, byte [rdx + r8 - 3]
xor cx, ax
movzx eax, byte [rdx + r8 - 2]
xor ax, word [rbp + rdx*2 - 0x62]
mov word [r9 + rdx*2 - 4], cx
mov word [r9 + rdx*2 - 2], ax
cmp rdx, 0x21
jl 0x140058160
mov ecx, dword [0x1401cbd80]
mov eax, 0x38e38e39
mov byte [0x1401cdd83], 1
mov r8d, ecx
imul r8d, ecx
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub r8d, eax
cmp r8d, 0xb
jne 0x1400581fa
test ecx, ecx
je 0x1400581f3
nop dword [rax]
mov edx, ecx
mov eax, ecx
and edx, 1
add r10d, edx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jne 0x1400581e0
mov dword [0x1401cbd80], r10d
mov rax, r9
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret
Function at 0x140058210
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x18], rax
cmp byte [0x1401cdd78], 0
je 0x140058245
lea rax, [0x1401c7420]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x28
ret
mov dword [rsp], 0x8001c
mov dword [rsp + 4], 0x160007
mov dword [rsp + 8], 0x1a0006
mov dword [rsp + 0xc], 0x530008
mov dword [rsp + 0x10], 0x140006
mov dword [rsp + 0x14], 0x1e
xor ecx, ecx
lea r9, [0x1401c7420]
lea rdx, [0x1401c6d90]
movzx eax, byte [rcx + rdx]
inc rcx
xor ax, word [rsp + rcx*2 - 2]
mov word [r9 + rcx*2 - 2], ax
cmp rcx, 0xb
jl 0x140058284
mov ecx, dword [0x1401cbd80]
mov byte [0x1401cdd78], 1
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
imul r8d, ecx
mov eax, r8d
and eax, 0x80000007
jge 0x1400582c9
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 5
jne 0x14005831f
mov eax, 0x88888889
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub r8d, edx
cmp r8d, 0xc
jne 0x14005831f
mov eax, 0xb1
mov r8d, LoadRegTypeLib
nop word [rax + rax]
test r8d, r8d
je 0x140058315
cdq
mov ecx, r8d
idiv r8d
mov eax, ecx
mov r8d, edx
test ecx, ecx
jne 0x140058300
lea ecx, [r8 + rax]
mov dword [0x1401cbd80], ecx
mov rax, r9
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x28
ret
Function at 0x140058340
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
call fcn.140053ca0
xor edi, edi
test al, al
jne 0x1400584af
mov qword [rsp + 0x5d0], rbx
mov qword [rsp + 0x5d8], rsi
mov esi, 0xae
mov ebx, edi
nop dword [rax]
call fcn.1400d2038
inc rbx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rsp + rbx*8 + 0x18], xmm0
cmp rbx, rsi
jb 0x140058390
mov rbx, qword [rsp + 0x5d0]
mov r9, rdi
mov r10d, 0xad
nop dword [rax]
mov edx, 0xad
cmp r9, rdx
jge 0x140058498
cmp r10, 4
jl 0x14005846d
mov r8d, 0xa9
lea rcx, [rbp + 0x478]
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14005841a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x140058432
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14005844a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x140058464
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x140058400
cmp rdx, r9
jle 0x140058498
movsd xmm0, qword [rsp + rdx*8 + 0x20]
movsd xmm1, qword [rsp + rdx*8 + 0x18]
comisd xmm0, xmm1
jbe 0x140058490
movsd qword [rsp + rdx*8 + 0x20], xmm1
movsd qword [rsp + rdx*8 + 0x18], xmm0
dec rdx
cmp rdx, r9
jg 0x140058472
inc r9
dec r10
dec rsi
jne 0x1400583c0
mov rsi, qword [rsp + 0x5d8]
cmp byte [0x1401cdd92], dil
je 0x1400584c4
lea rax, [0x1401c75a8]
jmp 0x140058598
mov dword [rbp + 0x490], 0x1d0025
mov dword [rbp + 0x494], 0xb0010
mov dword [rbp + 0x498], 0x7003f
mov dword [rbp + 0x49c], 0x100009
mov dword [rbp + 0x4a0], 0x150006
mov dword [rbp + 0x4a4], 0x52001f
mov dword [rbp + 0x4a8], 0x1a0000
mov dword [rbp + 0x4ac], 0x1d
lea rdx, [0x1401c75a8]
lea r8, [0x1401c6d91]
movzx eax, byte [rdi + r8 - 1]
movzx ecx, word [rbp + rdi*2 + 0x492]
add rdi, 5
xor ax, word [rbp + rdi*2 + 0x486]
mov word [rdx + rdi*2 - 0xa], ax
movzx eax, byte [rdi + r8 - 5]
xor cx, ax
movzx eax, byte [rdi + r8 - 4]
xor ax, word [rbp + rdi*2 + 0x48a]
mov word [rdx + rdi*2 - 8], cx
movzx ecx, byte [rdi + r8 - 3]
xor cx, word [rbp + rdi*2 + 0x48c]
mov word [rdx + rdi*2 - 6], ax
mov word [rdx + rdi*2 - 4], cx
movzx ecx, byte [rdi + r8 - 2]
xor cx, word [rbp + rdi*2 + 0x48e]
mov word [rdx + rdi*2 - 2], cx
cmp rdi, 0xf
jl 0x140058522
mov byte [0x1401cdd92], 1
mov rax, rdx
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1400d1680
mov rdi, qword [rsp + 0x5e0]
add rsp, 0x5c0
pop rbp
ret
Function at 0x1400585c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp - 0x20], rax
cmp byte [0x1401cdda5], 0
je 0x1400585f3
lea rax, [0x1401c7880]
jmp 0x140058785
mov qword [rsp + 0x90], rsi
mov ebx, 4
mov qword [rsp + 0x98], rdi
lea esi, [rbx - 3]
mov dword [rbp - 0x60], 0x1f0029
mov dword [rbp - 0x5c], 0x40010
mov dword [rbp - 0x58], 0x10001b
mov dword [rbp - 0x54], 0x1c0032
mov dword [rbp - 0x50], 0xa000c
mov qword [rbp - 0x28], rsi
mov dword [rbp - 0x4c], 0x170004
mov dword [rbp - 0x48], 0x1f000f
mov dword [rbp - 0x44], 0x42005c
mov dword [rbp - 0x40], 0x80039
mov dword [rbp - 0x3c], 0x10005
xor edi, edi
mov dword [rbp - 0x38], 0x90000
mov dword [rbp - 0x34], 0x180005
mov dword [rbp - 0x30], 0x51
mov dword [rbp - 0x2c], 0xe000c
call fcn.140053de0
test al, al
jne 0x14005869b
mov ecx, ebx
call fcn.1400d1e38
mov rbx, rax
call fcn.1400d2038
mov rcx, rbx
mov dword [rbx], eax
mov dword [0x1401cbd80], eax
call fcn.1400d1660
lea rbx, [0x1401c7880]
lea rcx, [0x1401c6d90]
nop dword [rax]
movzx eax, byte [rdi + rcx]
inc rdi
xor ax, word [rbp + rdi*2 - 0x62]
mov word [rbx + rdi*2 - 2], ax
cmp rdi, 0x1f
jl 0x1400586b0
call fcn.140053e60
mov rdi, qword [rsp + 0x98]
mov r8d, dword [0x1401cbd80]
test al, al
jne 0x1400586ed
test r8d, r8d
cmove r8d, esi
mov dword [0x1401cbd80], r8d
lea ecx, [r8 + 1]
mov eax, 0x2e8ba2e9
mov byte [0x1401cdda5], sil
mov rsi, qword [rsp + 0x90]
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 0xb
jne 0x140058782
movsd xmm3, qword [0x14015adc8]
movsd xmm5, qword [0x14015adf0]
movd xmm4, r8d
xorps xmm2, xmm2
movaps xmmword [rsp + 0x70], xmm6
movsd xmm6, qword [0x14015adc0]
cvtdq2pd xmm4, xmm4
nop dword [rax + rax]
addsd xmm2, xmm3
movaps xmm0, xmm2
mulsd xmm0, xmm2
comisd xmm0, xmm4
jbe 0x140058769
subsd xmm2, xmm3
divsd xmm3, xmm5
movaps xmm1, xmm2
movaps xmm0, xmm4
mulsd xmm1, xmm2
subsd xmm0, xmm1
comisd xmm0, xmm6
ja 0x140058750
movaps xmm6, xmmword [rsp + 0x70]
mov rax, rbx
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rbp
ret
Function at 0x1400587b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ecx, dword [0x1401cbd80]
mov eax, ecx
imul eax, ecx
imul eax, ecx
and eax, 0x8000000f
jge 0x1400587e3
dec eax
or eax, 0xfffffff0
inc eax
xor r8d, r8d
cmp eax, 0xa
jne 0x14005880e
mov r9d, r8d
test ecx, ecx
je 0x140058805
mov eax, ecx
and eax, 1
add r9d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jne 0x1400587f2
mov ecx, r9d
mov dword [0x1401cbd80], ecx
cmp byte [0x1401cdd9e], r8b
mov qword [rsp + 0x70], rbx
je 0x140058828
lea rax, [0x1401c7918]
jmp 0x140058986
mov dword [rbp - 0x40], 0x1f003d
mov dword [rbp - 0x3c], 0x11001c
mov dword [rbp - 0x38], 0x25000a
mov dword [rbp - 0x34], 0x1c0014
mov dword [rbp - 0x30], 0x30000
mov dword [rbp - 0x2c], 0x1001f
mov dword [rbp - 0x28], 0xa002e
mov dword [rbp - 0x24], 0x1f0002
mov dword [rbp - 0x20], 0x1f0018
mov dword [rbp - 0x1c], 0x51005e
mov word [rbp - 0x18], r8w
lea rbx, [0x1401c7918]
lea r9, [0x1401c6d91]
nop word [rax + rax]
movzx eax, byte [r8 + r9 - 1]
movzx edx, word [rbp + r8*2 - 0x3e]
add r8, 5
xor ax, word [rbp + r8*2 - 0x4a]
mov word [rbx + r8*2 - 0xa], ax
movzx eax, byte [r8 + r9 - 5]
xor dx, ax
movzx eax, byte [r8 + r9 - 4]
xor ax, word [rbp + r8*2 - 0x46]
mov word [rbx + r8*2 - 8], dx
mov word [rbx + r8*2 - 6], ax
movzx eax, byte [r8 + r9 - 3]
xor ax, word [rbp + r8*2 - 0x44]
mov word [rbx + r8*2 - 4], ax
movzx eax, byte [r8 + r9 - 2]
xor ax, word [rbp + r8*2 - 0x42]
mov word [rbx + r8*2 - 2], ax
cmp r8, 0x14
jl 0x140058890
lea r9d, [rcx + 1]
mov eax, 0x2aaaaaab
mov r8d, r9d
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0x16
jne 0x14005897c
lea r8d, [rcx + 2]
mov eax, 0x30c30c31
imul r8d, r9d
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub r8d, edx
cmp r8d, 5
jne 0x140058955
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0xcccccccd
mul r8d
shr edx, 6
lea ecx, [rdx + rdx*4]
shl ecx, 4
sub r8d, ecx
inc r8d
mov dword [0x1401cbd80], r8d
mov byte [0x1401cdd9e], 1
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret
Function at 0x1400589a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [0x1401cdd8e], 0
je 0x1400589d8
lea rax, [0x1401c7a18]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov dword [rsp + 0x20], 0x8001c
mov dword [rsp + 0x24], 0x160007
mov dword [rsp + 0x28], 0x1a0006
mov dword [rsp + 0x2c], 0x490008
mov dword [rsp + 0x30], 0x560043
mov word [rsp + 0x40], dx
mov dword [rsp + 0x34], 0x420042
mov dword [rsp + 0x38], 0x5f004d
mov dword [rsp + 0x3c], 0x400041
lea rbx, [0x1401c7a18]
lea r8, [0x1401c6d91]
nop dword [rax]
movzx eax, byte [rdx + r8 - 1]
movzx ecx, word [rsp + rdx*2 + 0x22]
add rdx, 4
xor ax, word [rsp + rdx*2 + 0x18]
mov word [rbx + rdx*2 - 8], ax
movzx eax, byte [rdx + r8 - 4]
xor cx, ax
movzx eax, byte [rdx + r8 - 3]
xor ax, word [rsp + rdx*2 + 0x1c]
mov word [rbx + rdx*2 - 6], cx
mov word [rbx + rdx*2 - 4], ax
movzx eax, byte [rdx + r8 - 2]
xor ax, word [rsp + rdx*2 + 0x1e]
mov word [rbx + rdx*2 - 2], ax
cmp rdx, 0x10
jl 0x140058a30
mov eax, dword [0x1401cbd80]
lea r8d, [rax + 1]
imul r8d, eax
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xb
sub r8d, edx
cmp r8d, 3
jne 0x140058ab0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov byte [0x1401cdd8e], 1
mov rax, rbx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x50
pop rbx
ret

Function at 0x140058ad0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, dword [0x1401cbd80]
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x2aaaaaab
imul r8d, ecx
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 1
jne 0x140058b24
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401cbd80], eax
cmp byte [0x1401cdda8], 0
je 0x140058b46
lea rax, [0x1401c7470]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x58
ret
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov dword [rsp + 0x24], 0x20014
mov dword [rsp + 0x28], 0x55000a
mov dword [rsp + 0x2c], 0x120008
mov dword [rsp + 0x30], 0x3000e
mov dword [rsp + 0x34], 0x1004c
mov dword [rsp + 0x38], 0x30006
mov dword [rsp + 0x3c], 9
lea rdx, [0x1401c7470]
lea r9, [0x1401c6d91]
nop word [rax + rax]
movzx eax, byte [r8 + r9 - 1]
movzx ecx, word [rsp + r8*2 + 0x22]
add r8, 5
xor ax, word [rsp + r8*2 + 0x16]
mov word [rdx + r8*2 - 0xa], ax
movzx eax, byte [r8 + r9 - 5]
xor cx, ax
movzx eax, byte [r8 + r9 - 4]
xor ax, word [rsp + r8*2 + 0x1a]
mov word [rdx + r8*2 - 8], cx
movzx ecx, byte [r8 + r9 - 3]
xor cx, word [rsp + r8*2 + 0x1c]
mov word [rdx + r8*2 - 6], ax
mov word [rdx + r8*2 - 4], cx
movzx ecx, byte [r8 + r9 - 2]
xor cx, word [rsp + r8*2 + 0x1e]
mov word [rdx + r8*2 - 2], cx
cmp r8, 0xf
jl 0x140058ba0
mov byte [0x1401cdda8], 1
mov rax, rdx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x58
ret
Function at 0x140058d60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x2de0]
mov eax, 0x2ee0
call fcn.1400d6730
sub rsp, rax
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x2dd0], rax
call fcn.1400540c0
xor edi, edi
test al, al
jne 0x140058e0d
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x2e50
mov word [rsp + 0x70], di
call fcn.1400d6ac0
mov r10d, edi
mov r9d, edi
mov rax, rdi
test r10, r10
je 0x140058de3
test rax, rax
je 0x140058de3
lea rcx, [r9 + rax]
lea r8, [rsp + 0x70]
lea r8, [r8 + rcx*2]
lea rcx, [r9 + rax]
movzx edx, word [rsp + rcx*2 - 0x2a]
inc dx
add dx, word [r8 - 2]
mov word [r8], dx
inc rax
cmp rax, 0x4d
jl 0x140058db7
add r9, 0x4d
inc r10
cmp r9, 0x1729
jl 0x140058db4
movsx r8d, word [rbp + 0x2dc0]
mov dword [0x1401cbd80], r8d
jmp 0x140058e14
mov r8d, dword [0x1401cbd80]
cmp byte [0x1401cdd79], dil
mov qword [rsp + 0x2ef0], rbx
je 0x140058e31
lea rax, [0x1401c7490]
jmp 0x140058f66
mov dword [rsp + 0x30], 0xc0009
mov dword [rsp + 0x34], 0x11001b
mov dword [rsp + 0x38], 0x14004f
mov dword [rsp + 0x3c], 0x1f000a
mov dword [rsp + 0x40], 0x5000c
mov dword [rsp + 0x44], 0x1d004c
mov dword [rsp + 0x48], 0x1b0016
mov dword [rsp + 0x4c], 0x1f004f
mov dword [rsp + 0x50], 0x46000c
mov dword [rsp + 0x54], 0x140009
mov dword [rsp + 0x58], 0xe001e
mov dword [rsp + 0x5c], 0x150018
mov word [rsp + 0x60], di
mov rdx, rdi
lea rbx, [0x1401c7490]
lea r9, [0x1401c6d91]
nop word [rax + rax]
movzx eax, byte [rdx + r9 - 1]
movzx ecx, word [rsp + rdx*2 + 0x32]
add rdx, 6
xor ax, word [rsp + rdx*2 + 0x24]
mov word [rbx + rdx*2 - 0xc], ax
movzx eax, byte [rdx + r9 - 6]
xor cx, ax
movzx eax, byte [rdx + r9 - 5]
xor ax, word [rsp + rdx*2 + 0x28]
mov word [rbx + rdx*2 - 0xa], cx
mov word [rbx + rdx*2 - 8], ax
movzx eax, byte [rdx + r9 - 4]
xor ax, word [rsp + rdx*2 + 0x2a]
mov word [rbx + rdx*2 - 6], ax
movzx eax, byte [rdx + r9 - 3]
xor ax, word [rsp + rdx*2 + 0x2c]
mov word [rbx + rdx*2 - 4], ax
movzx eax, byte [rdx + r9 - 2]
xor ax, word [rsp + rdx*2 + 0x2e]
mov word [rbx + rdx*2 - 2], ax
cmp rdx, 0x18
jl 0x140058eb0
imul r8d, r8d
mov eax, 0x88888889
mov byte [0x1401cdd79], 1
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub r8d, edx
cmp r8d, 3
jne 0x140058f63
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov rax, rbx
mov rbx, qword [rsp + 0x2ef0]
mov rcx, qword [rbp + 0x2dd0]
xor rcx, rsp
call fcn.1400d1680
mov rdi, qword [rsp + 0x2ef8]
add rsp, 0x2ee0
pop rbp
ret
Function at 0x140058f90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401cbd80]
xor r9d, r9d
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x2aaaaaab
imul r8d, ecx
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 1
jne 0x140058ffe
mov r8d, r9d
test ecx, ecx
je 0x140058ff5
mov eax, ecx
and eax, 1
add r8d, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jne 0x140058fe2
mov ecx, r8d
mov dword [0x1401cbd80], ecx
cmp byte [0x1401cdd88], r9b
mov qword [rsp + 0x50], rbx
je 0x140059018
lea rax, [0x1401c7a88]
jmp 0x1400590d4
mov dword [rsp + 0x20], 0x80038
mov dword [rsp + 0x24], 0x10014
mov dword [rsp + 0x28], 0x7003f
mov dword [rsp + 0x2c], 0x100009
mov dword [rsp + 0x30], 0x150006
mov dword [rsp + 0x34], 0x3f001f
mov dword [rsp + 0x38], 0x20006
mov dword [rsp + 0x3c], 0x20000
mov dword [rsp + 0x40], 0x5c0013
mov dword [rsp + 0x44], 0x44
lea rbx, [0x1401c7a88]
lea rdx, [0x1401c6d90]
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc r9
xor ax, word [rsp + r9*2 + 0x1e]
mov word [rbx + r9*2 - 2], ax
cmp r9, 0x13
jl 0x140059080
imul ecx, ecx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 2
jne 0x1400590ca
mov ecx, 4
call fcn.1400d1e38
mov ecx, dword [0x1401cbd80]
mov dword [rax], ecx
mov byte [0x1401cdd88], 1
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x58
ret
Function at 0x1400590f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xb40
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0xb30], rax
mov ecx, dword [0x1401cbd80]
mov eax, 0x2aaaaaab
xor ebp, ebp
mov r8d, ecx
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0x12
jne 0x140059180
lea ecx, [rbp + 0x28]
call fcn.1400d0cc8
mov ebx, ebp
mov rdi, rax
call fcn.1400d2038
inc rbx
add eax, dword [0x1401cbd80]
mov dword [rdi + rbx*4 - 4], eax
cmp rbx, 0xa
jl 0x140059151
mov eax, dword [rdi + 0x24]
mov rcx, rdi
mov dword [0x1401cbd80], eax
call fcn.1400d272c
mov ecx, dword [0x1401cbd80]
cmp byte [0x1401cdd97], bpl
mov qword [rsp + 0xb58], r14
je 0x14005919d
lea rax, [0x1401c7990]
jmp 0x14005934a
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
mov dword [rsp + 0xb10], 0x20004
mov dword [rsp + 0xb14], 0x40003
mov dword [rsp + 0xb18], 0x100042
mov dword [rsp + 0xb1c], 0x10014
imul r8d, eax
imul r8d, ecx
mov eax, 0x66666667
mov dword [rsp + 0xb20], 0x14000c
mov dword [rsp + 0xb24], 0x150042
mov dword [rsp + 0xb28], 0x9000a
mov word [rsp + 0xb2c], bp
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 0xd
jne 0x14005923c
lea edx, [r8 + 0x5e]
lea rcx, str._d__d_n
lea r8d, [rdx + 1]
call fcn.1400d1f8c
mov ecx, dword [0x1401cbd80]
mov r8, rbp
lea r14, [0x1401c7990]
lea r9, [0x1401c6d91]
nop dword [rax]
movzx eax, byte [r8 + r9 - 1]
movzx edx, word [rsp + r8*2 + 0xb12]
add r8, 2
xor ax, word [rsp + r8*2 + 0xb0c]
mov word [r14 + r8*2 - 4], ax
movzx eax, byte [r8 + r9 - 2]
xor dx, ax
mov word [r14 + r8*2 - 2], dx
cmp r8, 0xe
jl 0x140059250
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x2aaaaaab
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0xf
jne 0x140059340
mov qword [rsp + 0xb50], rsi
lea rdi, [rsp + 0x20]
mov esi, ebp
nop word [rax + rax]
mov r10d, ebp
nop word [rax + rax]
mov eax, ecx
lea r8d, [rsi + 1]
lea ebx, [r10 + 1]
cdq
idiv r8d
mov eax, ecx
mov r8d, ecx
sub r8d, esi
lea rcx, [0x140153c68]
mov r9d, edx
cdq
idiv ebx
imul r9d, r8d
add r9d, eax
sub r9d, r10d
mov edx, r9d
call fcn.1400d1f8c
add rdi, 4
mov r10d, ebx
cmp ebx, 0x19
jge 0x140059329
mov ecx, dword [0x1401cbd80]
jmp 0x1400592e0
inc esi
cmp esi, 0x1c
jge 0x140059338
mov ecx, dword [0x1401cbd80]
jmp 0x1400592d0
mov rsi, qword [rsp + 0xb50]
mov byte [0x1401cdd97], 1
mov rax, r14
mov r14, qword [rsp + 0xb58]
mov rcx, qword [rsp + 0xb30]
xor rcx, rsp
call fcn.1400d1680
lea r11, [rsp + 0xb40]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140059380
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x1401cdda2], 0
je 0x1400593b9
lea rax, [0x1401c7a58]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret
mov ecx, dword [0x1401cbd80]
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x2aaaaaab
imul r8d, ecx
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0xf
jne 0x1400593f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
xor ecx, ecx
mov dword [rbp - 0x40], 0x8000d
mov dword [rbp - 0x3c], 0x280001
mov dword [rbp - 0x38], 0x110000
mov dword [rbp - 0x34], 0x1f0013
mov dword [rbp - 0x30], 0x2e0006
mov word [rbp - 0x14], cx
mov dword [rbp - 0x2c], 0x1c000d
mov dword [rbp - 0x28], 0x30007
mov dword [rbp - 0x24], 0x3e000a
mov dword [rbp - 0x20], 0x2003e
mov dword [rbp - 0x1c], 0x1d0008
mov dword [rbp - 0x18], 0x410049
lea rax, [0x1401c7a58]
lea r9, [0x1401c6d91]
nop dword [rax + rax]
movzx edx, byte [rcx + r9 - 1]
movzx r8d, word [rbp + rcx*2 - 0x3e]
add rcx, 2
xor dx, word [rbp + rcx*2 - 0x44]
mov word [rax + rcx*2 - 4], dx
movzx edx, byte [rcx + r9 - 2]
xor r8w, dx
mov word [rax + rcx*2 - 2], r8w
cmp rcx, 0x16
jl 0x140059460
mov byte [0x1401cdda2], 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret