joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140079480
Capabilities:
Create thread

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ecx, 1
mov edx, 0x1050
xor r8d, r8d
call fcn.1400434f0
mov rsi, rax
mov dword [rax], 1
lea r14, [rax + 8]
mov qword [rax + 8], rbp
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsi + 0x20], rax
mov dword [rsi + 0x28], 0
mov qword [rsi + 0x30], rbx
lea rcx, [rsi + 0x58]
call fcn.14004a3f0
mov dword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov qword [rsi + 0x90], rsi
mov dword [rsi + 0x38], r15d
cmp qword [0x14012b0a0], 0xffffffffffffffff
jne 0x140079563
lea rax, [0x14012ef70]
mov qword [0x14012ef70], rax
mov qword [0x14012ef78], rax
lea rcx, [0x14012ef80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x14012b0a0], rax
lea rdx, [0x140079aa0]
mov rcx, rax
xor r8d, r8d
call fcn.14002cde0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400795c0]
xor ecx, ecx
xor edx, edx
mov r9, r14
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140079597
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ba9f0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x14007a3e0
Capabilities:
Get session user name

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [0x14012efb0], 0
je 0x14007a40f
mov rsi, qword [0x14012efa8]
test rsi, rsi
jne 0x14007a459
jmp 0x14007a4ba
lea rcx, str.secur32.dll
call fcn.1400462c0
mov rsi, rax
lea rcx, str.sspicli.dll
call fcn.1400462c0
test rsi, rsi
je 0x14007a444
lea rdx, str.GetUserNameExA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
jmp 0x14007a446
xor esi, esi
mov qword [0x14012efa8], rsi
mov byte [0x14012efb0], 1
test rsi, rsi
je 0x14007a4ba
mov dword [rsp + 0x2c], 0
lea rdi, [rsp + 0x2c]
mov ecx, 8
xor edx, edx
mov r8, rdi
call rsi
mov ecx, dword [rsp + 0x2c]
mov edx, 1
xor r8d, r8d
call fcn.1400434f0
mov rsi, rax
mov ecx, 8
mov rdx, rax
mov r8, rdi
call qword [0x14012efa8]
test al, al
je 0x14007a4b2
mov rcx, rsi
mov edx, 0x40
call fcn.1400bc698
test rax, rax
je 0x14007a512
mov byte [rax], 0
jmp 0x14007a512
mov rcx, rsi
call fcn.140043590
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x2c]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x14007a4d9
mov ecx, dword [rsp + 0x2c]
jmp 0x14007a4e6
mov dword [rsp + 0x2c], 0x100
mov ecx, 0x100
mov edx, 1
xor r8d, r8d
call fcn.1400434f0
mov rsi, rax
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14007a512
mov rcx, rsi
call fcn.140043590
xor esi, esi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ba9f0
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret
Function at 0x14007a930
Capabilities:
Get common file path

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

Function at 0x14007c9e0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
cmp rax, qword [rdx]
je 0x14007ca11
lea rcx, str.x0__nw__x1__nw
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
mov r8d, 0xa6
call fcn.1400cb8ac
and ebx, 1
neg rbx
mov qword [rsp + 0x28], rbx
cmp qword [rdi], 0
je 0x14007ca61
xor eax, eax
nop word cs:[rax + rax]
nop
mov rcx, qword [rdi + 8]
mov rdx, qword [rsi + 8]
mov rdx, qword [rdx + rax*8]
xor rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x28]
and rcx, rdx
mov rdx, qword [rdi + 8]
xor qword [rdx + rax*8], rcx
mov rdx, qword [rsi + 8]
xor qword [rdx + rax*8], rcx
add rax, 1
cmp rax, qword [rdi]
jb 0x14007ca30
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400852c0
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 [0x14012b050]
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 0x140085536
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 0x1400854ec
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 0x140085507
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 0x1400853cd
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.14004a3a0
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.140043590
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 0x1400854c3
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.1400abfd0
xor esi, esi
jmp 0x140085555
mov rcx, qword [rsp + 0x100]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0xf8]
jmp 0x140085534
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.140047ad0
lea rcx, str.Unable_to_create_pipes_for_proxy_command:__s
mov rdx, rax
call fcn.140042890
mov rsi, rax
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1400ba9f0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rbx
pop rdi
pop rsi
ret
Function at 0x140088b10
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 0x140088b31
cmp bl, byte [r9]
jne 0x140088c7d
add r10, 1
add r9, 1
mov bl, byte [r10]
test bl, bl
je 0x140088c87
cmp bl, 0x2a
je 0x140088c87
cmp r9, r8
jae 0x140088c81
cmp bl, 0x3f
je 0x140088b29
cmp bl, 0x5b
je 0x140088b80
cmp bl, 0x5c
jne 0x140088b20
mov al, byte [r10 + 1]
test al, al
je 0x140088c9b
cmp al, byte [r9]
jne 0x140088c7d
add r10, 2
add r9, 1
jmp 0x140088b31
lea rax, [r10 + 1]
mov r11b, byte [r10 + 1]
add r10, 2
cmp r11b, 0x5e
cmovne r10, rax
xor esi, esi
jmp 0x140088bb1
add r10, 1
cmp byte [r9], bl
sete al
and sil, 1
or sil, al
movzx ebx, byte [r10]
cmp bl, 0x5c
je 0x140088bd0
cmp bl, 0x5d
jne 0x140088bd9
jmp 0x140088c67
movzx ebx, byte [r10 + 1]
add r10, 1
mov eax, 0xfffffffe
test bl, bl
je 0x140088ca0
cmp byte [r10 + 1], 0x2d
jne 0x140088ba0
movzx edi, byte [r10 + 2]
cmp dil, 0x5c
je 0x140088c20
mov r14d, 2
cmp dil, 0x5d
je 0x140088c94
test dil, dil
jne 0x140088c30
jmp 0x140088ca0
movzx edi, byte [r10 + 3]
mov r14d, 3
test dil, dil
je 0x140088ca0
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 0x140088bb1
cmp r11b, 0x5e
sete al
test sil, 1
sete bl
xor bl, al
je 0x140088b29
xor eax, eax
jmp 0x140088ca0
xor eax, eax
test bl, bl
jne 0x140088ca0
mov qword [rcx], r10
mov qword [rdx], r9
mov eax, 1
jmp 0x140088ca0
mov eax, 0xfffffffd
jmp 0x140088ca0
mov eax, 0xffffffff
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140090e90
Capabilities:
Encode data using xor

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

Function at 0x140090f10
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx + 8]
test r9, r9
je 0x140090f84
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 0x140090f30
ret
xor eax, eax
ret
Function at 0x140093740
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 [0x14012b050]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [rcx]
mov rdi, rax
test rax, rax
je 0x14009378d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test ebp, ebp
jle 0x140093954
movsxd rax, ebx
mov qword [rsp + 0x20], rax
xor ebx, ebx
jmp 0x1400937c2
add ebx, 1
movsxd rax, r13d
add rsi, rax
sub ebp, r13d
jle 0x140093954
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 0x1400937fe
lea rcx, str.h__hlen___MAX_HASH_LEN
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_rsa.c
mov r8d, 0x3c0
call fcn.1400cb8ac
mov rcx, qword [rdi + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
call fcn.140042af0
mov rcx, qword [rdi + 8]
mov edx, ebx
call fcn.140042c20
mov rax, qword [rdi]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call qword [rax + 0x18]
test r13d, r13d
jle 0x1400937b0
cmp r13, 8
jae 0x140093840
xor eax, eax
jmp 0x140093930
cmp r13, 0x20
jae 0x14009384d
xor eax, eax
jmp 0x1400938f5
mov eax, r13d
and eax, 0xffffffe0
lea rcx, [rax - 0x20]
mov r8, rcx
shr r8, 5
add r8, 1
test rcx, rcx
je 0x140093946
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 0x140093880
test r8b, 1
je 0x1400938e6
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 0x1400937b0
test r13b, 0x18
je 0x140093930
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 0x140093910
cmp r14, rax
je 0x1400937b0
nop dword [rax + rax]
movzx ecx, byte [rsp + rax + 0x30]
xor byte [rsi + rax], cl
add rax, 1
cmp r13, rax
jne 0x140093930
jmp 0x1400937b0
xor edx, edx
test r8b, 1
jne 0x1400938ca
jmp 0x1400938e6
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a94c0
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 [0x14012b050]
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.1400a8490
call r13
sub eax, esi
mov esi, r15d
add esi, ebp
setb cl
cmp eax, r14d
jae 0x1400a95e7
test cl, cl
jne 0x1400a95e7
mov rcx, r12
xor edx, edx
call fcn.140043b00
jmp 0x1400a9520
mov rax, qword [rsp + 0x58]
mov dword [rax], ebp
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400ba9f0
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a9620
Capabilities:
Encode data using xor

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
call fcn.1400072d0
test al, al
je 0x1400ab179
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x38]
mov ecx, 0x1f0001
mov r9, rsi
call fcn.140047130
test al, al
je 0x1400ab1e3
mov rax, qword [rsp + 0x40]
jmp 0x1400ab17b
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 0x1400ab1c1
mov rbx, rax
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x1400ab1e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.CreateMutex___s___failed:__s
mov rdx, rdi
mov r8, rax
call fcn.140042890
mov qword [rsi], rax
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ab1f5
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400ab205
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400ba9f0
mov rax, rbx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ab240
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 [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str..pipe_
mov r8d, 9
call fcn.1400d0740
test eax, eax
je 0x1400ab291
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_named_pipe_client.c
mov r8d, 0x16
call fcn.1400cb8ac
lea rcx, [rdi + 9]
mov edx, 0x5c
call fcn.1400bc698
test rax, rax
je 0x1400ab2bd
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_named_pipe_client.c
mov r8d, 0x17
call fcn.1400cb8ac
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 0x1400ab33f
call r15
cmp eax, 0xe7
jne 0x1400ab3aa
mov rcx, rdi
xor edx, edx
call r12
test eax, eax
jne 0x1400ab2e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.Error_waiting_for_named_pipe__s:__s
jmp 0x1400ab3be
mov rbx, rax
call fcn.140046f90
test rax, rax
je 0x1400ab3cb
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 [0x14012edc0]
test eax, eax
je 0x1400ab418
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.Unable_to_get_named_pipe_security_information:__s
jmp 0x1400ab3e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.Unable_to_open_named_pipe__s:__s
mov rdx, rdi
mov r8, rax
call fcn.140042890
jmp 0x1400ab3f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.Unable_to_get_user_SID:__s
mov rdx, rax
call fcn.140042890
mov qword [r14], rax
mov rbx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ba9f0
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 0x1400ab437
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400ab3fa
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 0x1400ab3eb
Function at 0x1400ab500
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 [0x14012b050]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ecx, 1
mov edx, 0x60
xor r8d, r8d
call fcn.1400434f0
mov rdi, rax
lea rax, [0x1400fbe38]
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], 0
mov qword [rdi], 0
mov rcx, r15
call fcn.14004a3a0
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.1400d0740
test eax, eax
je 0x1400ab5a6
lea rcx, str.strncmp_pipename___.pipe___9___0
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_named_pipe_server.c
mov r8d, 0xd5
call fcn.1400cb8ac
lea r14, [rdi + 0x50]
lea rsi, [rdi + 8]
lea rcx, [r15 + 9]
mov edx, 0x5c
call fcn.1400bc698
test rax, rax
je 0x1400ab5da
lea rcx, str.strchr_pipename__9_____NULL
lea rdx, str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_named_pipe_server.c
mov r8d, 0xd6
call fcn.1400cb8ac
mov rbx, rdi
add rbx, 0x58
mov ecx, 0xc0000000
mov rdx, rdi
mov r8, rsi
mov r9, r14
call fcn.140047130
test al, al
je 0x1400ab6c7
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 0x1400ab6a5
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, [0x1400ab6f0]
mov rcx, rax
mov r8, rdi
call fcn.14002cde0
mov qword [rdi + 0x40], rax
mov rcx, rdi
xor edx, edx
call fcn.1400ab700
jmp 0x1400ab6c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047ad0
lea rcx, str.unable_to_create_named_pipe__s:__s
mov rdx, r15
mov r8, rax
call fcn.140042890
mov qword [r14], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ba9f0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret