joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140043ed0
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 0x140043ef1
cmp bl, byte [r9]
jne 0x14004403d
add r10, 1
add r9, 1
mov bl, byte [r10]
test bl, bl
je 0x140044047
cmp bl, 0x2a
je 0x140044047
cmp r9, r8
jae 0x140044041
cmp bl, 0x3f
je 0x140043ee9
cmp bl, 0x5b
je 0x140043f40
cmp bl, 0x5c
jne 0x140043ee0
mov al, byte [r10 + 1]
test al, al
je 0x14004405b
cmp al, byte [r9]
jne 0x14004403d
add r10, 2
add r9, 1
jmp 0x140043ef1
lea rax, [r10 + 1]
mov r11b, byte [r10 + 1]
add r10, 2
cmp r11b, 0x5e
cmovne r10, rax
xor esi, esi
jmp 0x140043f71
add r10, 1
cmp byte [r9], bl
sete al
and sil, 1
or sil, al
movzx ebx, byte [r10]
cmp bl, 0x5c
je 0x140043f90
cmp bl, 0x5d
jne 0x140043f99
jmp 0x140044027
movzx ebx, byte [r10 + 1]
add r10, 1
mov eax, 0xfffffffe
test bl, bl
je 0x140044060
cmp byte [r10 + 1], 0x2d
jne 0x140043f60
movzx edi, byte [r10 + 2]
cmp dil, 0x5c
je 0x140043fe0
mov r14d, 2
cmp dil, 0x5d
je 0x140044054
test dil, dil
jne 0x140043ff0
jmp 0x140044060
movzx edi, byte [r10 + 3]
mov r14d, 3
test dil, dil
je 0x140044060
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 0x140043f71
cmp r11b, 0x5e
sete al
test sil, 1
sete bl
xor bl, al
je 0x140043ee9
xor eax, eax
jmp 0x140044060
xor eax, eax
test bl, bl
jne 0x140044060
mov qword [rcx], r10
mov qword [rdx], r9
mov eax, 1
jmp 0x140044060
mov eax, 0xfffffffd
jmp 0x140044060
mov eax, 0xffffffff
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14004c3b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov r9, qword [rdx + 8]
test r9, r9
je 0x14004c423
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 0x14004c3d0
ret

Function at 0x14004c430
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 8]
test r9, r9
je 0x14004c4a4
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 0x14004c450
ret
xor eax, eax
ret
Function at 0x14004ec20
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 [0x1400c5038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x14004ec6d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x14004ee34
movsxd rax, ebx
mov qword [rsp + 0x20], rax
xor ebx, ebx
jmp 0x14004eca2
add ebx, 1
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jle 0x14004ee34
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 0x14004ecde
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.14007b7e4
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
call fcn.1400157b0
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.1400158e0
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test r13d, r13d
jle 0x14004ec90
cmp r13, 8
jae 0x14004ed20
xor eax, eax
jmp 0x14004ee10
cmp r13, 0x20
jae 0x14004ed2d
xor eax, eax
jmp 0x14004edd5
mov eax, r13d
and eax, 0xffffffe0
lea rcx, [rax - 0x20]
mov r8, rcx
shr r8, 5
add r8, 1
test rcx, rcx
je 0x14004ee26
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 0x14004ed60
test r8b, 1
je 0x14004edc6
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 0x14004ec90
test r13b, 0x18
je 0x14004ee10
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 0x14004edf0
cmp r14, rax
je 0x14004ec90
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rax], cl
add rax, 1
cmp r13, rax
jne 0x14004ee10
jmp 0x14004ec90
xor edx, edx
test r8b, 1
jne 0x14004edaa
jmp 0x14004edc6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14006cf60
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14004f000
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rdx]
lea rdx, [0x1400b1228]
call fcn.14007d374
test rax, rax
je 0x14004f07d
mov rsi, rax
mov qword [rdi + 8], 0
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x14004f096
xor ecx, ecx
nop word cs:[rax + rax]
nop
sub r8, rcx
add rcx, qword [rdi]
mov edx, 1
mov r9, rsi
call fcn.14007d7d4
mov rbx, rax
mov rcx, rsi
call fcn.14007cdcc
test eax, eax
jne 0x14004f084
mov rcx, qword [rdi + 8]
test rbx, rbx
je 0x14004f08b
add rcx, rbx
mov qword [rdi + 8], rcx
mov r8, qword [rdi + 0x10]
cmp r8, rcx
ja 0x14004f040
jmp 0x14004f08f
mov ebx, 2
jmp 0x14004f0d4
mov ebx, 2
jmp 0x14004f0cc
mov r8, qword [rdi + 0x10]
xor ebx, ebx
cmp rcx, r8
jne 0x14004f0aa
mov rcx, rsi
call fcn.14007d14c
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.14007cce4
mov eax, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140054430
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, [0x14009ec30]
lea r14, [0x14009ee30]
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 0x1400544b0
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 0x14005cc30
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x38
cmp qword [0x1400c7100], 0
jne 0x14005ccb1
mov edx, dword [0x1400c7108]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r9d, eax
cmp qword [0x1400c7108], r9
ja 0x14005ccb1
lea rsi, [0x1400c7108]
mov rdi, qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop dword [rax + rax]
mov rcx, qword [0x1400c7100]
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 1
mov r8d, 1
mov rdx, rsi
call fcn.140016220
mov qword [0x1400c7100], rax
mov edx, dword [0x1400c7108]
mov rcx, rax
call rdi
mov r9d, eax
cmp qword [0x1400c7108], r9
jbe 0x14005cc70
mov rax, qword [0x1400c7100]
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14005ddf0
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400c5038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
call fcn.14000bda0
test al, al
je 0x14005de49
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x1f0001
mov r9, rsi
call fcn.1400172c0
test al, al
je 0x14005debb
mov rax, qword [rsp + 0x40]
jmp 0x14005de4b
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 0x14005de99
mov rbx, rax
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x14005debd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.CreateMutex___s___failed:__s
mov rdx, rdi
mov r8, rax
call fcn.140018810
mov qword [rsi], rax
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005decd
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14005dedd
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006cf60
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005df20
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 [0x1400c5038]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str..pipe_
mov r8d, 9
call fcn.14007fb80
test eax, eax
je 0x14005df71
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.14007b7e4
lea rcx, [rdi + 9]
mov edx, 0x5c
call fcn.14006e9e0
test rax, rax
je 0x14005df9d
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.14007b7e4
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 0x14005e01f
call r15
cmp eax, 0xe7
jne 0x14005e08a
mov rcx, rdi
xor edx, edx
call r12
test eax, eax
jne 0x14005dfc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.Error_waiting_for_named_pipe__s:__s
jmp 0x14005e09e
mov rbx, rax
call fcn.140017120
test rax, rax
je 0x14005e0ab
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 [0x1400c6770]
test eax, eax
je 0x14005e0f8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.Unable_to_get_named_pipe_security_information:__s
jmp 0x14005e0c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.Unable_to_open_named_pipe__s:__s
mov rdx, rdi
mov r8, rax
call fcn.140018810
jmp 0x14005e0d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.Unable_to_get_user_SID:__s
mov rdx, rax
call fcn.140018810
mov qword [r14], rax
mov rbx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006cf60
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 0x14005e117
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x14005e0da
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 0x14005e0cb
Function at 0x14005e1e0
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 [0x1400c5038]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ecx, 1
mov edx, 0x60
xor r8d, r8d
call fcn.140016170
mov rdi, rax
lea rax, [0x1400a1228]
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], 0
mov qword [rdi], 0
mov rcx, r15
call fcn.140020100
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.14007fb80
test eax, eax
je 0x14005e286
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.14007b7e4
lea r14, [rdi + 0x50]
lea rsi, [rdi + 8]
lea rcx, [r15 + 9]
mov edx, 0x5c
call fcn.14006e9e0
test rax, rax
je 0x14005e2ba
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.14007b7e4
mov rbx, rdi
add rbx, 0x58
mov ecx, 0xc0000000
mov rdx, rdi
mov r8, rsi
mov r9, r14
call fcn.1400172c0
test al, al
je 0x14005e3af
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 0x14005e38d
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, [0x14005e3d0]
mov rcx, rax
mov r8, rdi
call fcn.140017d80
mov qword [rdi + 0x40], rax
mov rcx, rdi
xor edx, edx
call fcn.14005e3e0
jmp 0x14005e3af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140034f00
lea rcx, str.unable_to_create_named_pipe__s:__s
mov rdx, r15
mov r8, rax
call fcn.140018810
mov qword [r14], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cf60
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14005e3e0
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 [0x1400c5038]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rbx, [rcx + 0x20]
lea r14, [0x14005e610]
xorps xmm6, xmm6
lea r13, [rsp + 0x40]
mov r12, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r15, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005e495
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 0x14005e4f9
test dil, 1
jne 0x14005e4d0
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14005e4d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14005e4d2
mov ebp, eax
cmp eax, 0x217
je 0x14005e4d2
jmp 0x14005e56b
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 0x14005e430
mov rcx, rbp
call r15
jmp 0x14005e430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call fcn.140034f00
lea rcx, str.Error_while_listening_to_named_pipe:__s
mov rdx, rax
call fcn.140018810
mov rdi, rax
mov rcx, qword [rsi + 0x10]
call fcn.1400125c0
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.140016210
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006cf60
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 0x14005e501
jmp 0x14005e548
Function at 0x140061f00
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 [0x1400c5038]
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.140060f10
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x140062027
test cl, cl
jne 0x140062027
mov rcx, r12
xor edx, edx
call fcn.140016550
jmp 0x140061f60
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14006cf60
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140062060
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x1400c5038]
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 0x140062080
lea rdi, [rsp + 0x420]
lea r8, [rsp + 0x820]
mov rcx, rdi
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0x920]
lea rcx, [rsp + 0x520]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0x9a0]
lea rcx, [rsp + 0x5a0]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0xa20]
lea rcx, [rsp + 0x620]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0xaa0]
lea rcx, [rsp + 0x6a0]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0xb20]
lea rcx, [rsp + 0x720]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea r8, [rsp + 0xba0]
lea rcx, [rsp + 0x7a0]
mov edx, 2
mov r9d, 2
call fcn.140062300
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdi
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x40]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x450]
lea rcx, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x470]
lea rcx, [rsp + 0x70]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x480]
lea rcx, [rsp + 0x80]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
lea r8, [rsp + 0x490]
lea rcx, [rsp + 0x90]
mov edx, 0x10
mov r9d, 0x10
call fcn.140062300
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 0x140062290
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.1400349b0
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.1400349b0
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.1400349b0
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.14006cf60
nop
add rsp, 0xc28
pop rdi
pop rsi
ret
Function at 0x1400629a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
test r8, r8
je 0x140062ae9
xor r10d, r10d
cmp r8, 8
jb 0x140062aba
mov r9, r8
and r9, 0xfffffffffffffff8
lea rax, [r9 - 8]
mov r10, rax
shr r10, 3
add r10, 1
test rax, rax
je 0x140062aee
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 0x1400629f0
test r10b, 1
je 0x140062a90
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 0x140062ad6
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 0x140062ac0
add r10d, 0xfffffeff
cmp r10d, 0xffffff00
setb al
jmp 0x140062aeb
mov al, 1
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
test r10b, 1
jne 0x140062a5e
jmp 0x140062a90