Function at 0x1400075c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa8], 0
lea rdi, [rsp + 0xb0]
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xa0], 0
xor r8d, r8d
lea rdx, [0x14000aaf8]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
lea rdx, [0x14000ab50]
lea rcx, [0x14000f9b0]
call fcn.140005a30
mov rcx, qword [rsp + 0x130]
add rcx, 0x68
call fcn.140007df0
mov rcx, qword [rsp + 0x130]
add rcx, 0x10
mov word [rsp + 0x30], 0xa
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x4050
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.140007f70
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
mov edx, 0x400
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor r9d, r9d
mov r8d, 1
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140007703
xor r8d, r8d
lea rdx, [0x14000abe0]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
lea rdx, str._CIPCServer::RunServerThread__Creating_event_is_failed
lea rcx, [0x14000f9b0]
call fcn.140005a30
jmp 0x140007bd2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xa0]
call fcn.140008260
test eax, eax
jne 0x140007754
mov dword [rsp + 0xc8], 0x18
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0
jmp 0x14000779d
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0xc8], 0x18
lea rax, [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rdx, rax
mov rax, qword [rsp + 0x130]
mov qword [rax + 0xb8], rdx
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0xb8], 0
jne 0x140007812
xor r8d, r8d
lea rdx, [0x14000ac80]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._CIPCServer::RunServerThread__CreateIoCompletionPort_Failed___d_
lea rcx, [0x14000f9b0]
call fcn.140005a30
jmp 0x140007bd2
mov rcx, qword [rsp + 0x130]
call fcn.140007470
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x130]
call fcn.140006e10
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xa0], 1
je 0x140007bd2
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0xa8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x3e8
xor r8d, r8d
lea rdx, [rsp + 0xf8]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x10c], eax
cmp dword [rsp + 0x10c], 0
je 0x1400078f2
cmp dword [rsp + 0x10c], 1
je 0x140007920
cmp dword [rsp + 0x10c], 0xc0
je 0x140007b93
cmp dword [rsp + 0x10c], 0x102
je 0x140007b95
jmp 0x140007b97
xor r8d, r8d
lea rdx, [0x14000ad38]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
lea rdx, str._CIPCServer::RunServerThread__StopEvent
lea rcx, [0x14000f9b0]
call fcn.140005a30
jmp 0x140007bcd
cmp qword [rsp + 0x88], 0
jne 0x140007959
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x130]
call fcn.140006e10
mov dword [rsp + 0x70], eax
jmp 0x140007848
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0xd0], 0
je 0x1400079f8
mov dword [rsp + 0x108], 0
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetNamedPipeClientProcessId]
cmp eax, 1
jne 0x1400079f8
mov ecx, dword [rsp + 0x108]
mov rax, qword [rsp + 0x130]
call qword [rax + 0xd0]
test eax, eax
jne 0x1400079f8
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x130]
call fcn.140006e10
mov dword [rsp + 0x70], eax
jmp 0x140007848
mov rcx, qword [rsp + 0x130]
add rcx, 0x10
call fcn.1400080c0
mov qword [rsp + 0xe0], rax
cmp qword [rsp + 0xe0], 0
jne 0x140007a58
xor r8d, r8d
lea rdx, [0x14000adf0]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._CIPCServer::RunServerThread__Allocating_memory_is_failed___X_
lea rcx, [0x14000f9b0]
call fcn.140005a30
jmp 0x140007bd2
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x20
mov rcx, qword [rsp + 0x130]
add rcx, 0x68
call fcn.140007ec0
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0xe0]
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x88]
mov qword [rdx + 0x38], rax
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x40], 0
mov rax, qword [rsp + 0xe0]
mov dword [rax + 0x30], 1
mov r8d, dword [rsp + 0xe0]
xor r9d, r9d
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0xb8]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rdx, qword [rsp + 0x130]
mov ecx, dword [rdx + 0x2e0]
mov rdi, qword [rsp + 0xe0]
add rdi, 0x50
xor eax, eax
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0xe0]
add rdx, 0x50
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
mov rax, qword [rsp + 0x130]
mov r8d, dword [rax + 0x2e0]
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_ReadFile]
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x130]
call fcn.140006e10
mov dword [rsp + 0x70], eax
jmp 0x140007bcd
jmp 0x140007bcd
jmp 0x140007bcd
xor r8d, r8d
lea rdx, [0x14000aea0]
lea rcx, [0x14000f9b0]
call fcn.1400058d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str._RunServerThread__Waiting_request_is_failed___X_
lea rcx, [0x14000f9b0]
call fcn.140005a30
jmp 0x140007bd2
jmp 0x140007848
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0xb8], 0
je 0x140007c31
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0xb0], 0
jle 0x140007c1c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0xb8]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007be4
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rsp + 0x130]
add rcx, 0x68
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x68], rcx
jne 0x140007c6a
mov dword [rsp + 0x110], 1
jmp 0x140007c75
mov dword [rsp + 0x110], 0
cmp dword [rsp + 0x110], 1
je 0x140007cbd
mov rcx, qword [rsp + 0x130]
add rcx, 0x68
call fcn.140007e20
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
sub rax, 0x20
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x130]
call fcn.140007050
jmp 0x140007c43
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x130]
add rcx, 0x78
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsp + 0x130]
add rcx, 0x10
call fcn.140008010
cmp qword [rsp + 0xa0], 0
je 0x140007d0b
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0xf0], 0
je 0x140007d2f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0xf0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp qword [rsp + 0x80], 0
je 0x140007d48
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x88], 0
je 0x140007d61
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x130]
add rax, 8
xor ecx, ecx
xchg dword [rax], ecx
mov eax, ecx
cdqe
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
je 0x140007d96
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x130]
mov dword [rax + 0xa0], 0
xor r8d, r8d
lea rdx, str...CommonIPCServer.cpp
lea rcx, [0x14000f9b0]
call fcn.1400058d0
lea rdx, str._RunServerThread__User_mode_IPC_server_thread_is_stopped
lea rcx, [0x14000f9b0]
call fcn.140005a30
xor ecx, ecx
call qword [sym.imp.MSVCR90.dll__endthreadex]
xor eax, eax
add rsp, 0x120
pop rdi
ret