joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003aa10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r10, rcx
xor r15d, r15d
mov ecx, dword [rbp + 0x168]
sub ecx, 1
je 0x14003aa6b
sub ecx, 1
je 0x14003aa63
cmp ecx, 1
je 0x14003aa63
lea r9d, [r15 + 1]
jmp 0x14003aa71
mov r9d, 0x101
jmp 0x14003aa71
mov r9d, 0x201
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ab95
mov dword [rsp + 0x40], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0xffff
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
je 0x14003aad6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14003ab95
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140039ec0
nop
mov dword [rsp + 0x44], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
mov r9d, 0xffff
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14003ab42
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003ab3e
call fcn.1400ab1c4
mov eax, ebx
jmp 0x14003ab95
mov ecx, dword [rsp + 0x44]
mov eax, dword [rbp + 0x160]
cmp ecx, eax
je 0x14003ab64
cmp eax, 1
jne 0x14003ab5a
cmp ecx, 2
je 0x14003ab64
cmp ecx, 1
jne 0x14003abb4
cmp eax, 2
jne 0x14003abb4
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14003ab70
mov rcx, r14
call fcn.140008280
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003ab93
call fcn.1400ab1c4
xor eax, eax
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x208
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x1403f1228]
lea rcx, [rsp + 0x60]
call fcn.140005380
nop
lea rcx, [rbp - 0x48]
call fcn.140005740
nop
mov r9d, 0x238
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rbp - 0x28]
call fcn.140005740
nop
lea r8, [0x1403f1240]
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.1400034a0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.1400034a0
nop
lea r8, [0x1403f067c]
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.1400034a0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x58]
call fcn.1400034a0
nop
lea r8, [0x1403f0504]
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.1400034a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rbp - 0x80]
call fcn.1400ac6bc
int3
Function at 0x14003ad60
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rdx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], 0
jne 0x14003ad90
lea edx, [rax*2 + 2]
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r8
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14003ade2
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x130
pop rdi
pop rsi
pop rbx
ret
lea rdx, [0x1403f0e00]
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, 0xd5
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, [0x1403f0e10]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400034a0
nop
mov r8, rsi
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x14003ae70
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x14003aeda
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x140
pop rdi
pop rsi
pop rbx
ret
lea rdx, [0x1403f0d70]
lea rcx, [rsp + 0x38]
call fcn.140005380
nop
lea rcx, [rsp + 0x58]
call fcn.140005740
nop
mov r9d, SetErrorInfo
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, [0x1403f0d80]
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400034a0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, esi
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x14003af70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, r8
sub r9d, 1
je 0x14003af9f
sub r9d, 1
je 0x14003af97
cmp r9d, 1
je 0x14003af97
mov r9d, 1
jmp 0x14003afa5
mov r9d, 0x101
jmp 0x14003afa5
mov r9d, 0x201
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14003afeb
mov rcx, qword [rsp + 0x30]
xor eax, eax
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete al
add rsp, 0x40
pop rdi
ret
Function at 0x14003cfd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edi, edi
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14003c310
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14003d03a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14003d03a
cmp eax, 0x7b
jne 0x14003d0b8
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14003d078
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d073
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d0b2
call fcn.1400ab1c4
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400ab7b0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400b1d8c
nop
lea rdx, str.RunTime::File::attributesIfExist
lea rcx, [rsp + 0x50]
call fcn.140005380
nop
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
mov r9d, 0x5f8
lea r8, [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400057f0
mov rdi, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.14003efa0
nop
mov rcx, rax
call fcn.1400083b0
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x28]
lea rdx, str.Unable_to_get_file___s__attributes
lea rcx, [rsp + 0xb0]
call fcn.1400048b0
mov rbx, rax
lea rcx, [rsp + 0xd0]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400033e0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, esi
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x14003f240
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x120
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003f289
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x6d
jne 0x14003f2ae
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x148]
add rsp, 0x120
pop rdi
ret
lea rdx, str.RunTime::File::read
lea rcx, [rsp + 0x38]
call fcn.140005380
nop
lea rcx, [rsp + 0x58]
call fcn.140005740
nop
mov r9d, 0x89f
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x78]
call fcn.140005740
nop
lea r8, str.Unable_to_read_file
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
int3
Function at 0x140046260
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x320
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov edx, 0x104
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400462f6
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov r8d, eax
lea rdx, [rsp + 0x100]
mov rcx, rbx
call fcn.140008280
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x338]
add rsp, 0x320
pop rdi
ret
lea rdx, str.RunTime::systemDir
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, 0x65a
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, str.Unable_to_get_system_directory
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x140046510
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x320
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov edx, 0x104
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1400465a6
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov r8d, eax
lea rdx, [rsp + 0x100]
mov rcx, rbx
call fcn.140008280
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x338]
add rsp, 0x320
pop rdi
ret
lea rdx, str.RunTime::windowsDir
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, 0x663
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, str.Unable_to_get_windows_directory
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3
Function at 0x140046960
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebp, eax
test eax, eax
je 0x140046a5c
lea edi, [rax + 1]
mov eax, 2
mul rdi
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1400ab1cc
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov rdx, qword [rsp + 0x30]
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x140046a52
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov rdx, qword [rsp + 0x30]
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140046a00
mov r8, rbx
mov rcx, rsi
call fcn.140008280
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x30]
call fcn.1400ab1c4
mov rax, rsi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400ab7b0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x30]
call fcn.14002d0b0
lea rdx, str.VDirectory::current
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, reloc.WS2_32.dll_WSACleanup
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1400057f0
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.get_current_directory
lea rcx, [rsp + 0x70]
call fcn.140004530
mov rbx, rax
lea rcx, [rsp + 0x90]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.1400033e0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rsi
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x140046b40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14001a0b0
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add ebx, eax
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
sub ecx, eax
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SleepEx]
cmp eax, 0xc0
jne 0x140046b86
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x140046b60
lea rcx, [rsp + 0x20]
call fcn.14001a0e0
add rsp, 0x40
pop rbx
ret
Function at 0x140050090
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x100
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x1400500da
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400ab7b0
mov rbx, qword [rsp + 0x120]
add rsp, 0x100
pop rdi
ret
lea rdx, str.VThread::terminate
lea rcx, [rsp + 0x20]
call fcn.140005380
nop
lea rcx, [rsp + 0x40]
call fcn.140005740
nop
mov r9d, 0x8d
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.140005740
nop
lea r8, str.Terminate_thread
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
int3

Function at 0x140065f70
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x140], rax
movzx ebp, r9b
mov esi, r8d
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x38], 0
je 0x1400660b7
cmp byte [rcx + 0x10], 0
jne 0x14006600d
lea rbx, [rcx + 0x18]
mov rcx, rbx
call fcn.140067b50
mov byte [rdi + 0x38], 1
mov dword [rdi + 0x14], esi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140066011
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x26
je 0x140066009
sub eax, 0x47
je 0x140066009
sub eax, 0x7b
je 0x140066009
cmp eax, 0x2fd
jne 0x14006603b
mov byte [rdi + 0x38], 0
cmp byte [rdi + 0x10], 0
jne 0x14006600d
mov dword [rdi + 0x14], esi
xor eax, eax
jmp 0x14006601d
mov byte [rdi + 0x10], 1
xor eax, eax
jmp 0x14006601d
movzx edx, bpl
mov rcx, rdi
call fcn.140067640
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.Con::OverlappedPipe::beginRead
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x90]
call fcn.140005740
nop
mov r9d, 0x13a
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, str.Unable_to_read_from_pipe
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, [0x14040e578]
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, 0x125
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, [0x14040e5d0]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400034a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0xb0]
call fcn.1400ac6bc
int3
Function at 0x140066140
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x150
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x140], rax
movzx ebp, r9b
mov esi, r8d
mov r14, rdx
mov rdi, rcx
cmp byte [rcx + 0x38], 0
je 0x140066287
cmp byte [rcx + 0x10], 0
jne 0x1400661dd
lea rbx, [rcx + 0x18]
mov rcx, rbx
call fcn.140067b50
mov byte [rdi + 0x38], 1
mov dword [rdi + 0x14], esi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400661e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x26
je 0x1400661d9
sub eax, 0x47
je 0x1400661d9
sub eax, 0x7b
je 0x1400661d9
cmp eax, 0x2fd
jne 0x14006620b
mov byte [rdi + 0x38], 0
cmp byte [rdi + 0x10], 0
jne 0x1400661dd
mov dword [rdi + 0x14], esi
xor eax, eax
jmp 0x1400661ed
mov byte [rdi + 0x10], 1
xor eax, eax
jmp 0x1400661ed
movzx edx, bpl
mov rcx, rdi
call fcn.140067640
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.Con::OverlappedPipe::beginWrite
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x90]
call fcn.140005740
nop
mov r9d, 0x166
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, str.Unable_to_write_to_pipe
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, [0x14040e638]
lea rcx, [rsp + 0x30]
call fcn.140005380
nop
lea rcx, [rsp + 0x50]
call fcn.140005740
nop
mov r9d, 0x151
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.140005740
nop
lea r8, str.Previous_request_has_not_completed_
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1400034a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0xb0]
call fcn.1400ac6bc
int3
Function at 0x140066620
Capabilities:
Connect pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, rcx
lea rdx, [rcx + 0x18]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400666a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x217
je 0x1400666a7
cmp eax, 0x3e5
jne 0x1400666c8
mov edx, 0xffffffff
mov rcx, qword [rbx + 0x30]
call fcn.140048170
mov dword [rsp + 0x20], eax
test eax, 0xffffff7f
je 0x1400666a7
lea rcx, [rsp + 0x28]
cmp eax, 0x102
je 0x140066828
cmp eax, 0xffffffff
jne 0x140066734
jmp 0x1400667b9
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1400ab7b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, str.Con::ServerOverlappedPipe::connect
lea rcx, [rsp + 0x28]
call fcn.140005380
nop
lea rcx, [rbp - 0x78]
call fcn.140005740
nop
mov r9d, 0x1d8
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
lea r8, [0x14040eb50]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, [0x14040ea80]
call fcn.140005380
nop
lea rcx, [rbp + 0x38]
call fcn.140005740
nop
mov r9d, 0x1d5
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400057f0
mov rdi, rax
lea r8, [rsp + 0x20]
lea rdx, str.Unable_to_wait_while_pipe_has_been_connected:_Unknown_state__X
lea rcx, [rsp + 0x48]
call fcn.1400046f0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.1400033e0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rbp]
call fcn.1400ac6bc
nop
lea rdx, [0x14040e998]
call fcn.140005380
nop
lea rcx, [rbp - 0x78]
call fcn.140005740
nop
mov r9d, 0x1d3
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400057f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
lea r8, str.Unable_to_wait_while_pipe_has_been_connected
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rdi
mov edx, ebx
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, [0x14040e8d8]
call fcn.140005380
nop
lea rcx, [rbp - 0x78]
call fcn.140005740
nop
mov r9d, 0x1d1
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140005740
nop
lea r8, [0x14040e9c0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, 0x5b4
mov rcx, rax
call fcn.14001f0f0
int3
Function at 0x140067860
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1405c7418]
xor rax, rsp
mov qword [rsp + 0x180], rax
movzx esi, r9b
mov edi, r8d
mov rbx, rcx
mov dword [rsp + 0x38], r8d
cmp byte [rcx + 0x10], 0
jne 0x1400678cb
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400678e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x26
je 0x1400678c7
cmp eax, 0x6d
je 0x1400678c7
cmp eax, 0xe8
jne 0x1400678f7
mov byte [rbx + 0x10], 1
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400ab7b0
add rsp, 0x190
pop rdi
pop rsi
pop rbx
ret
mov eax, dword [rsp + 0x30]
test sil, sil
je 0x1400678cd
cmp eax, edi
jne 0x14006796e
jmp 0x1400678cd
lea rdx, [0x14040e168]
lea rcx, [rsp + 0x40]
call fcn.140005380
nop
lea rcx, [rsp + 0x60]
call fcn.140005740
nop
mov r9d, 0x58
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400057f0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.140005740
nop
lea r8, [0x14040e178]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.1400034a0
nop
mov rcx, rax
call fcn.1400083b0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.14001f0f0
nop
lea rdx, str.Con::Pipe::read
lea rcx, [rsp + 0x40]
call fcn.140005380
nop
lea rcx, [rsp + 0xa0]
call fcn.140005740
nop
mov r9d, 0x5c
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.1400057f0
mov rdi, rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x14040e1c0]
lea rcx, [rsp + 0x80]
call fcn.14003b4c0
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140005740
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400033e0
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14001d280
lea rdx, [0x1405c2328]
lea rcx, [rsp + 0xc0]
call fcn.1400ac6bc
int3