joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cfc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r10, qword [rcx]
mov r9, qword [rdx]
jmp 0x14007cfe1
cmp bl, byte [r9]
jne 0x14007d12d
add r10, 1
add r9, 1
mov bl, byte [r10]
test bl, bl
je 0x14007d137
cmp bl, 0x2a
je 0x14007d137
cmp r9, r8
jae 0x14007d131
cmp bl, 0x3f
je 0x14007cfd9
cmp bl, 0x5b
je 0x14007d030
cmp bl, 0x5c
jne 0x14007cfd0
mov al, byte [r10 + 1]
test al, al
je 0x14007d14b
cmp al, byte [r9]
jne 0x14007d12d
add r10, 2
add r9, 1
jmp 0x14007cfe1
lea rax, [r10 + 1]
mov r11b, byte [r10 + 1]
add r10, 2
cmp r11b, 0x5e
cmovne r10, rax
xor esi, esi
jmp 0x14007d061
add r10, 1
cmp byte [r9], bl
sete al
and sil, 1
or sil, al
movzx ebx, byte [r10]
cmp bl, 0x5c
je 0x14007d080
cmp bl, 0x5d
jne 0x14007d089
jmp 0x14007d117
movzx ebx, byte [r10 + 1]
add r10, 1
mov eax, 0xfffffffe
test bl, bl
je 0x14007d150
cmp byte [r10 + 1], 0x2d
jne 0x14007d050
movzx edi, byte [r10 + 2]
cmp dil, 0x5c
je 0x14007d0d0
mov r14d, 2
cmp dil, 0x5d
je 0x14007d144
test dil, dil
jne 0x14007d0e0
jmp 0x14007d150
movzx edi, byte [r10 + 3]
mov r14d, 3
test dil, dil
je 0x14007d150
add r10, r14
add r10, 1
movzx eax, byte [r9]
cmp bl, dil
movzx ebx, bl
movzx edi, dil
mov ebp, edi
cmovb ebp, ebx
cmova edi, ebx
cmp dil, al
movzx edi, sil
mov esi, 1
cmovb esi, edi
cmp bpl, al
cmova esi, edi
jmp 0x14007d061
cmp r11b, 0x5e
sete al
test sil, 1
sete bl
xor bl, al
je 0x14007cfd9
xor eax, eax
jmp 0x14007d150
xor eax, eax
test bl, bl
jne 0x14007d150
mov qword [rcx], r10
mov qword [rdx], r9
mov eax, 1
jmp 0x14007d150
mov eax, 0xfffffffd
jmp 0x14007d150
mov eax, 0xffffffff
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140085410
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov r9, qword [rdx + 8]
test r9, r9
je 0x140085483
mov r8, qword [rdx]
xor r10d, r10d
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + r10]
xor ecx, eax
mov eax, ecx
and eax, 0xf
shr ecx, 4
imul edx, eax, 0x11111044
xor edx, ecx
imul r11d, eax, 0x8840020
imul ecx, eax, 0x4220000
xor ecx, r11d
xor ecx, edx
and edx, 0xf
shr ecx, 4
imul eax, edx, 0x11111044
imul r11d, edx, 0x8840020
xor r11d, eax
imul eax, edx, 0x4220000
xor eax, ecx
xor eax, r11d
add r10, 1
cmp r9, r10
jne 0x140085430
ret

Function at 0x140085490
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 8]
test r9, r9
je 0x140085504
mov r8, qword [rcx]
xor r10d, r10d
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, byte [r8 + r10]
xor edx, eax
mov eax, edx
and eax, 0xf
shr edx, 4
imul ecx, eax, 0x11111044
xor ecx, edx
imul r11d, eax, 0x8840020
imul edx, eax, 0x4220000
xor edx, r11d
xor edx, ecx
and ecx, 0xf
shr edx, 4
imul eax, ecx, 0x11111044
imul r11d, ecx, 0x8840020
xor r11d, eax
imul eax, ecx, 0x4220000
xor eax, edx
xor eax, r11d
add r10, 1
cmp r9, r10
jne 0x1400854b0
ret
xor eax, eax
ret
Function at 0x140087c80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, r9
mov ebx, r8d
mov qword [rsp + 0x28], rdx
mov r12, rcx
mov ebp, dword [rsp + 0x120]
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x140087ccd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x140087e94
movsxd rax, ebx
mov qword [rsp + 0x20], rax
xor ebx, ebx
jmp 0x140087d02
add ebx, 1
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jle 0x140087e94
mov r14d, ebp
mov r15, qword [r12 + 0x28]
cmp r15, r14
mov r13, r14
cmovb r13, r15
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
cmp qword [r12 + 0x28], 0x73
jb 0x140087d3e
lea rcx, str.h__hlen___MAX_HASH_LEN
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_crypto_rsa.c
mov r8d, 0x393
call fcn.1400b215c
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
call fcn.140040cf0
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.140040e20
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test r13d, r13d
jle 0x140087cf0
cmp r13, 8
jae 0x140087d80
xor eax, eax
jmp 0x140087e70
cmp r13, 0x20
jae 0x140087d8d
xor eax, eax
jmp 0x140087e35
mov eax, r13d
and eax, 0xffffffe0
lea rcx, [rax - 0x20]
mov r8, rcx
shr r8, 5
add r8, 1
test rcx, rcx
je 0x140087e86
mov rcx, r8
and rcx, 0xfffffffffffffffe
neg rcx
xor edx, edx
nop word [rax + rax]
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
movups xmm2, xmmword [rsi + rdx + 0x20]
movups xmm3, xmmword [rsi + rdx + 0x30]
xorps xmm0, xmmword [rsp + rdx + 0x30]
xorps xmm1, xmmword [rsp + rdx + 0x40]
movups xmmword [rsi + rdx], xmm0
movups xmmword [rsi + rdx + 0x10], xmm1
xorps xmm2, xmmword [rsp + rdx + 0x50]
xorps xmm3, xmmword [rsp + rdx + 0x60]
movups xmmword [rsi + rdx + 0x20], xmm2
movups xmmword [rsi + rdx + 0x30], xmm3
add rdx, 0x40
add rcx, 2
jne 0x140087dc0
test r8b, 1
je 0x140087e26
movups xmm0, xmmword [rsi + rdx]
movups xmm1, xmmword [rsi + rdx + 0x10]
xorps xmm0, xmmword [rsp + rdx + 0x30]
xorps xmm1, xmmword [rsp + rdx + 0x40]
movups xmmword [rsi + rdx], xmm0
movups xmmword [rsi + rdx + 0x10], xmm1
cmp r13, rax
je 0x140087cf0
test r13b, 0x18
je 0x140087e70
mov rcx, rax
cmp r15, r14
cmovb r14, r15
mov eax, r14d
and eax, 0xfffffff8
nop word cs:[rax + rax]
nop
mov rdx, qword [rsp + rcx + 0x30]
xor qword [rsi + rcx], rdx
add rcx, 8
cmp rax, rcx
jne 0x140087e50
cmp r14, rax
je 0x140087cf0
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rax], cl
add rax, 1
cmp r13, rax
jne 0x140087e70
jmp 0x140087cf0
xor edx, edx
test r8b, 1
jne 0x140087e0a
jmp 0x140087e26
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400a5f20
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140088060
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
lea rdx, [0x1400ea32b]
call fcn.1400b465c
test rax, rax
je 0x1400880dd
mov rsi, rax
mov qword [rdi + 8], 0
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400880f6
xor ecx, ecx
nop word cs:[rax + rax]
nop
sub r8, rcx
add rcx, qword [rdi]
mov edx, 1
mov r9, rsi
call fcn.1400b47e4
mov rbx, rax
mov rcx, rsi
call fcn.1400b40b4
test eax, eax
jne 0x1400880e4
mov rcx, qword [rdi + 8]
test rbx, rbx
je 0x1400880eb
add rcx, rbx
mov qword [rdi + 8], rcx
mov r8, qword [rdi + 0x10]
cmp r8, rcx
ja 0x1400880a0
jmp 0x1400880ef
mov ebx, 2
jmp 0x140088134
mov ebx, 2
jmp 0x14008812c
mov r8, qword [rdi + 0x10]
xor ebx, ebx
cmp rcx, r8
jne 0x14008810a
mov rcx, rsi
call fcn.1400b4434
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
lea rdx, [rdi + 0x18]
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rcx
mov qword [rdi + 0x20], 0
mov dword [rdi + 0x30], 0
mov qword [rdi + 0x38], rdx
mov rcx, rsi
call fcn.1400b3fcc
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x14008d490
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov r9, rcx
shr r9, 0x20
mov r10d, dword [rdx + r8*4]
xor r10d, r9d
mov r11d, r9d
rol r11d, 4
xor r11d, dword [rdx + r8*4 + 0x40]
mov eax, r11d
and eax, 0xfc00fc
or eax, 0xff00ff00
shr r11d, 8
and r11d, 0xfc00fc
or r11d, 0xff00ff00
mov edx, r10d
and edx, 0xfc00fc
or edx, 0xff00ff00
shr r10d, 8
and r10d, 0xfc00fc
or r10d, 0xff00ff00
xor r8d, r8d
lea rsi, [0x1400d70d0]
lea r14, [0x1400d72d0]
xor r15d, r15d
xor edi, edi
xor ebx, ebx
nop word [rax + rax]
mov ebp, dword [rsi]
and ebp, eax
xor ebx, ebp
add eax, 0x80008
mov ebp, dword [rsi + 4]
and ebp, r11d
xor edi, ebp
add r11d, 0x80008
mov ebp, dword [rsi + 8]
and ebp, edx
xor r15d, ebp
add edx, 0x80008
mov ebp, dword [rsi + 0xc]
and ebp, r10d
xor r8d, ebp
add r10d, 0x80008
add rsi, 0x10
cmp rsi, r14
jb 0x14008d510
mov esi, ebx
shl esi, 4
and eax, 0x40004
imul eax, eax, 0x3c00
and eax, esi
xor eax, ebx
mov esi, edi
shl esi, 4
and r11d, 0x40004
imul ebx, r11d, 0x3c00
and ebx, esi
xor ebx, edi
mov ebp, r15d
shl ebp, 4
and edx, 0x40004
imul esi, edx, 0x3c00
and esi, ebp
xor esi, r15d
mov ebp, r8d
shl ebp, 4
and r10d, 0x40004
imul edi, r10d, 0x3c00
and edi, ebp
xor edi, r8d
and edi, 0xf000f000
shr eax, 0xc
and eax, 0xf000f
shr ebx, 4
and ebx, 0xf000f00
shr esi, 8
and esi, 0xf000f0
or esi, ebx
or esi, edi
or eax, esi
shr esi, 4
xor esi, eax
and esi, 0x7030702
xor eax, esi
shl esi, 4
xor esi, eax
mov edx, esi
shr edx, 8
xor edx, eax
and edx, 0x4e009e
xor esi, edx
shl edx, 8
xor edx, esi
mov eax, edx
shr eax, 0x10
xor eax, edx
and eax, 0xd9d3
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, eax
and edx, 0x5040004
mov ebp, edx
xor ebp, eax
shl edx, 4
shr eax, 1
xor eax, ebp
and eax, 0x4045015
xor edx, ecx
xor edx, ebp
xor edx, eax
add eax, eax
xor eax, edx
shl rax, 0x20
or rax, r9
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140097010
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
call fcn.140007240
test al, al
je 0x140097069
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x1f0001
mov r9, rsi
call fcn.1400446c0
test al, al
je 0x1400970db
mov rax, qword [rsp + 0x40]
jmp 0x14009706b
xor eax, eax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x18
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x1400970b9
mov rbx, rax
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400970dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.CreateMutex___s___failed:__s
mov rdx, rdi
mov r8, rax
call fcn.140040ac0
mov qword [rsi], rax
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400970ed
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400970fd
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a5f20
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140097140
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str..pipe_
mov r8d, 9
call fcn.1400b63f0
test eax, eax
je 0x140097191
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_windows_named_pipe_client.c
mov r8d, 0x16
call fcn.1400b215c
lea rcx, [rdi + 9]
mov edx, 0x5c
call fcn.1400a78f0
test rax, rax
je 0x1400971bd
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_windows_named_pipe_client.c
mov r8d, 0x17
call fcn.1400b215c
mov rsi, qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
nop word cs:[rax + rax]
nop dword [rax]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rsi
cmp rax, 0xffffffffffffffff
jne 0x14009723f
call r15
cmp eax, 0xe7
jne 0x1400972aa
mov rcx, rdi
xor edx, edx
call r12
test eax, eax
jne 0x1400971e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.Error_waiting_for_named_pipe__s:__s
jmp 0x1400972be
mov rbx, rax
call fcn.140044520
test rax, rax
je 0x1400972cb
mov rsi, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
lea r9, [rsp + 0x48]
mov rcx, rbx
mov edx, 6
mov r8d, 1
call qword [0x140105dd0]
test eax, eax
je 0x140097318
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.Unable_to_get_named_pipe_security_information:__s
jmp 0x1400972e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.Unable_to_open_named_pipe__s:__s
mov rdx, rdi
mov r8, rax
call fcn.140040ac0
jmp 0x1400972f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.Unable_to_get_user_SID:__s
mov rdx, rax
call fcn.140040ac0
mov qword [r14], rax
mov rbx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a5f20
mov rax, rbx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x140097337
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400972fa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, str.Owner_of_named_pipe__s_is_not_us
mov rdx, rdi
jmp 0x1400972eb
Function at 0x140097400
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rdx
mov r15, rcx
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ecx, 1
mov edx, 0x60
xor r8d, r8d
call fcn.1400416b0
mov rdi, rax
lea rax, [0x1400d96c8]
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], 0
mov qword [rdi], 0
mov rcx, r15
call fcn.1400477e0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], 0
mov qword [rdi + 0x40], 0
lea rdx, str..pipe_
mov r8d, 9
mov rcx, r15
call fcn.1400b63f0
test eax, eax
je 0x1400974a6
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_windows_named_pipe_server.c
mov r8d, 0xd5
call fcn.1400b215c
lea r14, [rdi + 0x50]
lea rsi, [rdi + 8]
lea rcx, [r15 + 9]
mov edx, 0x5c
call fcn.1400a78f0
test rax, rax
je 0x1400974da
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_aew3xwii_putty_windows_named_pipe_server.c
mov r8d, 0xd6
call fcn.1400b215c
mov rbx, rdi
add rbx, 0x58
mov ecx, 0xc0000000
mov rdx, rdi
mov r8, rsi
mov r9, r14
call fcn.1400446c0
test al, al
je 0x1400975cf
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x18
mov rax, qword [rdi]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40080003
mov r8d, 8
mov r9d, 0xff
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov qword [rdi + 0x18], rax
cmp rax, 0xffffffffffffffff
je 0x1400975ad
movups xmmword [rdi + 0x30], xmm6
movups xmmword [rdi + 0x20], xmm6
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rdi + 0x38], rax
lea rdx, [0x1400975f0]
mov rcx, rax
mov r8, rdi
call fcn.14002c050
mov qword [rdi + 0x40], rax
mov rcx, rdi
xor edx, edx
call fcn.140097600
jmp 0x1400975cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140045070
lea rcx, str.unable_to_create_named_pipe__s:__s
mov rdx, r15
mov r8, rax
call fcn.140040ac0
mov qword [r14], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5f20
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140097600
Capabilities:
Connect pipe
Create pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rbx, [rcx + 0x20]
lea r14, [0x140097830]
xorps xmm6, xmm6
lea r13, [rsp + 0x40]
mov r12, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r15, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400976b5
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x18
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000
mov dword [rsp + 0x20], 0x1000
mov edx, 0x40000003
mov r8d, 8
mov r9d, 0xff
call r12
mov qword [rsi + 0x18], rax
cmp rax, 0xffffffffffffffff
je 0x140097719
test dil, 1
jne 0x1400976f0
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400976f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400976f2
mov ebp, eax
cmp eax, 0x217
je 0x1400976f2
jmp 0x14009778b
xor edi, edi
mov rbp, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x48]
mov rax, qword [rcx]
mov rdx, r14
mov r8, rbp
call qword [rax + 0x20]
test eax, eax
je 0x140097650
mov rcx, rbp
call r15
jmp 0x140097650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call fcn.140045070
lea rcx, str.Error_while_listening_to_named_pipe:__s
mov rdx, rax
call fcn.140040ac0
mov rdi, rax
mov rcx, qword [rsi + 0x10]
call fcn.14003d320
mov rcx, qword [rsi + 0x48]
mov rbx, qword [rcx]
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdi
mov edx, 1
mov r8, rax
xor r9d, r9d
call qword [rbx]
mov rcx, rdi
call fcn.140041750
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5f20
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 0x3e5
jne 0x140097721
jmp 0x140097768
Function at 0x14009aec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x58], r9
mov edi, edx
mov ebx, ecx
mov r12, qword [rsp + 0x140]
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0xa0], rax
imul eax, r8d, 0x3e8
imul r14, rax, 0x10624dd3
shr r14, 0x26
mov esi, 1
mov r13, qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, 1
nop dword [rax]
mov r15d, ebp
mov ebp, esi
call r13
mov esi, eax
mov rax, qword [rsp + 0x120]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x128]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x130]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x138]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x48], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x20], eax
mov ecx, ebx
mov edx, edi
mov r8d, ebp
mov r9d, dword [rsp + 0x110]
call fcn.140099ed0
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x14009afe7
test cl, cl
jne 0x14009afe7
mov rcx, r12
xor edx, edx
call fcn.140041be0
jmp 0x14009af20
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400a5f20
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14009b020
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x140102058]
xor rax, rsp
mov qword [rsp + 0xc20], rax
xor eax, eax
mov rcx, qword [r8 + rax*8]
xor rcx, qword [rdx + rax*8]
mov qword [rsp + rax*8 + 0x820], rcx
add rax, 1
cmp rax, 0x80
jne 0x14009b040
lea rdi, [rsp + 0x420]
lea r8, [rsp + 0x820]
mov rcx, rdi
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0x920]
lea rcx, [rsp + 0x520]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0x9a0]
lea rcx, [rsp + 0x5a0]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0xa20]
lea rcx, [rsp + 0x620]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0xaa0]
lea rcx, [rsp + 0x6a0]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0xb20]
lea rcx, [rsp + 0x720]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea r8, [rsp + 0xba0]
lea rcx, [rsp + 0x7a0]
mov edx, 2
mov r9d, 2
call fcn.14009b2c0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdi
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x40]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x450]
lea rcx, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x470]
lea rcx, [rsp + 0x70]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x480]
lea rcx, [rsp + 0x80]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
lea r8, [rsp + 0x490]
lea rcx, [rsp + 0x90]
mov edx, 0x10
mov r9d, 0x10
call fcn.14009b2c0
xor eax, eax
nop word [rax + rax]
mov rcx, qword [rsp + rax*8 + 0x20]
xor rcx, qword [rsp + rax*8 + 0x820]
xor qword [rsi + rax*8], rcx
add rax, 1
cmp rax, 0x80
jne 0x14009b250
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.14006dd10
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.14006dd10
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.14006dd10
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.1400a5f20
nop
add rsp, 0xc28
pop rdi
pop rsi
ret
Function at 0x14009b960
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
test r8, r8
je 0x14009baa9
xor r10d, r10d
cmp r8, 8
jb 0x14009ba7a
mov r9, r8
and r9, 0xfffffffffffffff8
lea rax, [r9 - 8]
mov r10, rax
shr r10, 3
add r10, 1
test rax, rax
je 0x14009baae
mov r11, r10
and r11, 0xfffffffffffffffe
neg r11
pxor xmm2, xmm2
xor eax, eax
pxor xmm0, xmm0
pxor xmm1, xmm1
nop
mov esi, dword [rdx + rax]
mov edi, dword [rdx + rax + 4]
xor esi, dword [rcx + rax]
xor edi, dword [rcx + rax + 4]
movd xmm3, esi
movd xmm4, edi
punpcklbw xmm3, xmm2
punpcklwd xmm3, xmm2
por xmm3, xmm0
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm2
por xmm4, xmm1
mov esi, dword [rdx + rax + 8]
mov edi, dword [rdx + rax + 0xc]
xor esi, dword [rcx + rax + 8]
movd xmm0, esi
xor edi, dword [rcx + rax + 0xc]
movd xmm1, edi
punpcklbw xmm0, xmm2
punpcklwd xmm0, xmm2
por xmm0, xmm3
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm2
por xmm1, xmm4
add rax, 0x10
add r11, 2
jne 0x14009b9b0
test r10b, 1
je 0x14009ba50
mov edi, dword [rdx + rax]
xor edi, dword [rcx + rax]
mov esi, dword [rdx + rax + 4]
movd xmm2, edi
xor esi, dword [rcx + rax + 4]
movd xmm3, esi
pxor xmm4, xmm4
punpcklbw xmm2, xmm4
punpcklwd xmm2, xmm4
por xmm0, xmm2
punpcklbw xmm3, xmm4
punpcklwd xmm3, xmm4
por xmm1, xmm3
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd r10d, xmm0
cmp r9, r8
je 0x14009ba96
and r8d, 7
add rdx, r9
add rcx, r9
xor edi, edi
nop dword [rax]
movzx eax, byte [rdx + rdi]
xor al, byte [rcx + rdi]
movzx eax, al
or r10d, eax
add rdi, 1
cmp r8, rdi
jne 0x14009ba80
add r10d, 0xfffffeff
cmp r10d, 0xffffff00
setb al
jmp 0x14009baab
mov al, 1
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
test r10b, 1
jne 0x14009ba1e
jmp 0x14009ba50