joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400839b0
Capabilities:
Create pipe
Create process on windows
Create reverse shell

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x130
movaps xmmword [rsp + 0x120], xmm6
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov dword [rsp + 0xd0], 0x18
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0xe0], 1
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0xf8]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140083c26
lea rcx, [rsp + 0x108]
lea rdx, [rsp + 0x110]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140083bdc
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xe8]
lea r8, [rsp + 0xd0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140083bf7
mov rcx, qword [rsp + 0x110]
mov rbx, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov edx, 1
xor r8d, r8d
call rbx
mov rcx, qword [rsp + 0x100]
mov edx, 1
xor r8d, r8d
call rbx
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140083abd
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [rsp + 0x68], 0x68
xorps xmm6, xmm6
movups xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x80], 0
mov dword [rsp + 0xa4], 0x100
mov word [rsp + 0xaa], 0
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xc8], rax
mov rcx, rdi
call fcn.140046a00
mov rdi, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], 1
xor ecx, ecx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, rdi
call fcn.14003f720
mov rcx, qword [rsp + 0x50]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rdi
mov rcx, qword [rsp + 0x58]
call rdi
mov rcx, qword [rsp + 0x108]
call rdi
mov rcx, qword [rsp + 0xf8]
call rdi
mov rcx, qword [rsp + 0xe8]
test rcx, rcx
je 0x140083bb3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x110]
mov byte [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400aa7f0
xor esi, esi
jmp 0x140083c45
mov rcx, qword [rsp + 0x100]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xf8]
jmp 0x140083c24
mov rcx, qword [rsp + 0x100]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xf8]
call rsi
mov rcx, qword [rsp + 0x110]
call rsi
mov rcx, qword [rsp + 0x108]
call rsi
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rdx, rax
call fcn.14003ea20
mov rsi, rax
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1400b9230
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbx
pop rdi
pop rsi
ret
Function at 0x140087210
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 0x140087231
cmp bl, byte [r9]
jne 0x14008737d
add r10, 1
add r9, 1
mov bl, byte [r10]
test bl, bl
je 0x140087387
cmp bl, 0x2a
je 0x140087387
cmp r9, r8
jae 0x140087381
cmp bl, 0x3f
je 0x140087229
cmp bl, 0x5b
je 0x140087280
cmp bl, 0x5c
jne 0x140087220
mov al, byte [r10 + 1]
test al, al
je 0x14008739b
cmp al, byte [r9]
jne 0x14008737d
add r10, 2
add r9, 1
jmp 0x140087231
lea rax, [r10 + 1]
mov r11b, byte [r10 + 1]
add r10, 2
cmp r11b, 0x5e
cmovne r10, rax
xor esi, esi
jmp 0x1400872b1
add r10, 1
cmp byte [r9], bl
sete al
and sil, 1
or sil, al
movzx ebx, byte [r10]
cmp bl, 0x5c
je 0x1400872d0
cmp bl, 0x5d
jne 0x1400872d9
jmp 0x140087367
movzx ebx, byte [r10 + 1]
add r10, 1
mov eax, 0xfffffffe
test bl, bl
je 0x1400873a0
cmp byte [r10 + 1], 0x2d
jne 0x1400872a0
movzx edi, byte [r10 + 2]
cmp dil, 0x5c
je 0x140087320
mov r14d, 2
cmp dil, 0x5d
je 0x140087394
test dil, dil
jne 0x140087330
jmp 0x1400873a0
movzx edi, byte [r10 + 3]
mov r14d, 3
test dil, dil
je 0x1400873a0
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 0x1400872b1
cmp r11b, 0x5e
sete al
test sil, 1
sete bl
xor bl, al
je 0x140087229
xor eax, eax
jmp 0x1400873a0
xor eax, eax
test bl, bl
jne 0x1400873a0
mov qword [rcx], r10
mov qword [rdx], r9
mov eax, 1
jmp 0x1400873a0
mov eax, 0xfffffffd
jmp 0x1400873a0
mov eax, 0xffffffff
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14008f5c0
Capabilities:
Encode data using xor

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

Function at 0x14008f640
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 8]
test r9, r9
je 0x14008f6b4
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 0x14008f660
ret
xor eax, eax
ret
Function at 0x140091e80
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 [0x14012c040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x140091ecd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x140092094
movsxd rax, ebx
mov qword [rsp + 0x20], rax
xor ebx, ebx
jmp 0x140091f02
add ebx, 1
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jle 0x140092094
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 0x140091f3e
lea rcx, str.h__hlen___MAX_HASH_LEN
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_crypto_rsa.c
mov r8d, 0x3dd
call fcn.1400ca0ec
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
call fcn.14003ec10
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.14003ed40
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test r13d, r13d
jle 0x140091ef0
cmp r13, 8
jae 0x140091f80
xor eax, eax
jmp 0x140092070
cmp r13, 0x20
jae 0x140091f8d
xor eax, eax
jmp 0x140092035
mov eax, r13d
and eax, 0xffffffe0
lea rcx, [rax - 0x20]
mov r8, rcx
shr r8, 5
add r8, 1
test rcx, rcx
je 0x140092086
mov rcx, r8
and rcx, 0xfffffffffffffffe
xor edx, edx
nop word cs:[rax + rax]
nop
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, 0xfffffffffffffffe
jne 0x140091fc0
test r8b, 1
je 0x140092026
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 0x140091ef0
test r13b, 0x18
je 0x140092070
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 0x140092050
cmp r14, rax
je 0x140091ef0
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rax], cl
add rax, 1
cmp r13, rax
jne 0x140092070
jmp 0x140091ef0
xor edx, edx
test r8b, 1
jne 0x14009200a
jmp 0x140092026
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400b9230
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a7bb0
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 [0x14012c040]
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.1400a6b80
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x1400a7cd7
test cl, cl
jne 0x1400a7cd7
mov rcx, r12
xor edx, edx
call fcn.14003fc90
jmp 0x1400a7c10
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b9230
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a7d10
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xc28
mov rsi, rcx
mov rax, qword [0x14012c040]
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 0x1400a7d30
lea rdi, [rsp + 0x420]
lea r8, [rsp + 0x820]
mov rcx, rdi
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0x8a0]
lea rcx, [rsp + 0x4a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0x920]
lea rcx, [rsp + 0x520]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0x9a0]
lea rcx, [rsp + 0x5a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0xa20]
lea rcx, [rsp + 0x620]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0xaa0]
lea rcx, [rsp + 0x6a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0xb20]
lea rcx, [rsp + 0x720]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea r8, [rsp + 0xba0]
lea rcx, [rsp + 0x7a0]
mov edx, 2
mov r9d, 2
call fcn.1400a7fb0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov r8, rdi
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x430]
lea rcx, [rsp + 0x30]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x440]
lea rcx, [rsp + 0x40]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x450]
lea rcx, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x60]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x470]
lea rcx, [rsp + 0x70]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x480]
lea rcx, [rsp + 0x80]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
lea r8, [rsp + 0x490]
lea rcx, [rsp + 0x90]
mov edx, 0x10
mov r9d, 0x10
call fcn.1400a7fb0
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 0x1400a7f40
lea rcx, [rsp + 0x820]
mov edx, 0x400
call fcn.140076910
lea rcx, [rsp + 0x420]
mov edx, 0x400
call fcn.140076910
lea rcx, [rsp + 0x20]
mov edx, 0x400
call fcn.140076910
mov rcx, qword [rsp + 0xc20]
xor rcx, rsp
call fcn.1400b9230
nop
add rsp, 0xc28
pop rdi
pop rsi
ret
Function at 0x1400a9920
Capabilities:
Check mutex on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
call fcn.140007550
test al, al
je 0x1400a9979
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x1f0001
mov r9, rsi
call fcn.1400439c0
test al, al
je 0x1400a99e3
mov rax, qword [rsp + 0x40]
jmp 0x1400a997b
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
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
test rax, rax
je 0x1400a99c1
mov rbx, rax
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400a99e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.CreateMutex___s___failed:__s
mov rdx, rdi
mov r8, rax
call fcn.14003ea20
mov qword [rsi], rax
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400a99f5
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a9a05
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b9230
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400a9a40
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 [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str..pipe_
mov r8d, 9
call fcn.1400cf060
test eax, eax
je 0x1400a9a91
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_named_pipe_client.c
mov r8d, 0x16
call fcn.1400ca0ec
lea rcx, [rdi + 9]
mov edx, 0x5c
call fcn.1400baed8
test rax, rax
je 0x1400a9abd
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_named_pipe_client.c
mov r8d, 0x17
call fcn.1400ca0ec
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 0x1400a9b3f
call r15
cmp eax, 0xe7
jne 0x1400a9baa
mov rcx, rdi
xor edx, edx
call r12
test eax, eax
jne 0x1400a9ae0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Error_waiting_for_named_pipe__s:__s
jmp 0x1400a9bbe
mov rbx, rax
call fcn.140043820
test rax, rax
je 0x1400a9bcb
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 [0x14012ea20]
test eax, eax
je 0x1400a9c18
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Unable_to_get_named_pipe_security_information:__s
jmp 0x1400a9be8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Unable_to_open_named_pipe__s:__s
mov rdx, rdi
mov r8, rax
call fcn.14003ea20
jmp 0x1400a9bf0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.Unable_to_get_user_SID:__s
mov rdx, rax
call fcn.14003ea20
mov qword [r14], rax
mov rbx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b9230
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 0x1400a9c37
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400a9bfa
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 0x1400a9beb
Function at 0x1400a9d00
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 [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ecx, 1
mov edx, 0x60
xor r8d, r8d
call fcn.14003f680
mov rdi, rax
lea rax, [0x1400fc458]
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], 0
mov qword [rdi], 0
mov rcx, r15
call fcn.140046a00
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.1400cf060
test eax, eax
je 0x1400a9da6
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_named_pipe_server.c
mov r8d, 0xd0
call fcn.1400ca0ec
lea r14, [rdi + 0x50]
lea rsi, [rdi + 8]
lea rcx, [r15 + 9]
mov edx, 0x5c
call fcn.1400baed8
test rax, rax
je 0x1400a9dda
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_named_pipe_server.c
mov r8d, 0xd1
call fcn.1400ca0ec
mov rbx, rdi
add rbx, 0x58
mov ecx, 0xc0000000
mov rdx, rdi
mov r8, rsi
mov r9, r14
call fcn.1400439c0
test al, al
je 0x1400a9ec7
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 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 0x1400a9ea5
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, [0x1400a9ef0]
mov rcx, rax
mov r8, rdi
call fcn.14002c430
mov qword [rdi + 0x40], rax
mov rcx, rdi
xor edx, edx
call fcn.1400a9f00
jmp 0x1400a9ec7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140044050
lea rcx, str.unable_to_create_named_pipe__s:__s
mov rdx, r15
mov r8, rax
call fcn.14003ea20
mov qword [r14], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b9230
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400a9f00
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 [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rbx, [rcx + 0x20]
lea r14, [0x1400aa120]
xorps xmm6, xmm6
lea r13, [rsp + 0x40]
mov r12, qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov r15, qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a9fad
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 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 0x1400aa009
test dil, 1
jne 0x1400a9fe0
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400a9fe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400a9fe2
mov ebp, eax
cmp eax, 0x217
je 0x1400a9fe2
jmp 0x1400aa088
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 0x1400a9f50
mov rcx, rbp
call r15
jmp 0x1400a9f50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, ebp
call fcn.140044050
lea rcx, str.Error_while_listening_to_named_pipe:__s
mov rdx, rax
call fcn.14003ea20
mov rdi, rax
mov rcx, qword [rsi + 0x10]
call fcn.14003ae20
mov rcx, qword [rsi + 0x48]
add rsi, 0x58
mov rbx, qword [rcx]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov rdx, rsi
mov r8d, 1
mov r9, rax
call qword [rbx]
mov rcx, rdi
call fcn.14003f720
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b9230
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 0x1400aa011
jmp 0x1400aa065
Function at 0x1400acc20
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
test r8, r8
je 0x1400acd63
xor r10d, r10d
cmp r8, 8
jb 0x1400acd3a
mov r9, r8
and r9, 0xfffffffffffffff8
lea rax, [r9 - 8]
mov r10, rax
shr r10, 3
add r10, 1
test rax, rax
je 0x1400acd6b
mov r11, r10
and r11, 0xfffffffffffffffe
pxor xmm2, xmm2
xor eax, eax
pxor xmm0, xmm0
pxor xmm1, xmm1
nop dword [rax]
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, 0xfffffffffffffffe
jne 0x1400acc70
test r10b, 1
je 0x1400acd10
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 0x1400acd56
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 0x1400acd40
mov eax, 0x100
sub eax, r10d
shr eax, 8
jmp 0x1400acd68
mov eax, 1
pop rdi
pop rsi
ret
pxor xmm0, xmm0
xor eax, eax
pxor xmm1, xmm1
test r10b, 1
jne 0x1400accde
jmp 0x1400acd10
Function at 0x1400b68c0
Capabilities:
Hash data using sha512

Disassembly:
push rsi
sub rsp, 0x20
mov esi, ecx
cmp ecx, 0x41
jb 0x1400b68e5
lea rcx, str.hashlen___ssh_blake2b.hlen
lea rdx, str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_crypto_blake2.c
mov r8d, pe_nt_image_headers64
call fcn.1400ca0ec
mov ecx, 1
mov edx, 0x108
xor r8d, r8d
call fcn.14003f680
lea r8, [rax + 0xf8]
lea rdx, [0x1400fd4d0]
mov qword [rax + 0xf8], rdx
mov dword [rax + 0x40], esi
lea rdx, [rax + 0xe0]
lea rcx, [0x1400b6c20]
mov qword [rax + 0xe0], rcx
mov qword [rax + 0xe8], 0
mov qword [rax + 0xf0], rdx
mov qword [rax + 0x100], rdx
movaps xmm0, xmmword [0x1400fd530]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x1400fd540]
movups xmmword [rax + 0x10], xmm0
movaps xmm0, xmmword [0x1400fd550]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x1400fd560]
movups xmmword [rax + 0x30], xmm0
mov ecx, esi
movabs rdx, 0x6a09e667f2bdc908
xor rdx, rcx
mov qword [rax], rdx
xorps xmm0, xmm0
movups xmmword [rax + 0xc8], xmm0
mov qword [rax + 0xd8], 0
mov rax, r8
add rsp, 0x20
pop rsi
ret