Function at 0x14002c4f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x498
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor r14d, r14d
mov rsi, r9
mov rbp, r8
mov rdi, rcx
test rdx, rdx
je 0x14002c526
cmp r14w, word [rdx]
je 0x14002c531
test rsi, rsi
je 0x14002c53b
cmp r14w, word [r9]
jne 0x14002c53b
mov eax, 0x57
jmp 0x14002c890
mov qword [rsp + 0x490], rbx
test rdx, rdx
je 0x14002c567
mov rcx, rdx
call fcn.14027883c
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14002c881
cmp r14w, word [rax]
je 0x14002c881
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.14026c200
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x200
call fcn.14026c200
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14002c654
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x280]
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], 0x100
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call fcn.140278b38
lea rcx, [rsp + 0x280]
call fcn.14027883c
mov qword [rdi + 0x18], rax
test rax, rax
je 0x14002c881
cmp r14w, word [rax]
je 0x14002c881
xor edx, edx
lea rcx, [rdi + 0x54]
mov r8d, 0x410
call fcn.14026c200
mov r9, qword [rdi + 0x18]
lea rax, str.CAD0E02E86CD4436B6318C111B9092AC
lea r8, [0x1402f8188]
mov qword [rsp + 0x20], rax
mov edx, 0x208
lea rcx, [rdi + 0x54]
call fcn.1400263c0
lea r8, [rdi + 0x54]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rdi + 0x468], rax
test rax, rax
jne 0x14002c670
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x14002c886
mov dword [rdi + 8], 1
jmp 0x14002c886
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.14026b9c8
lea rcx, [rax + 2]
test rax, rax
jne 0x14002c68d
lea rcx, [rsp + 0x70]
call fcn.14027883c
mov qword [rdi + 0x20], rax
test rbp, rbp
je 0x14002c6fd
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.14026c200
mov r8d, 0x104
lea rdx, [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14002c6fd
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14002c6d7
call fcn.1402767a0
mov qword [rdi + 0x20], r14
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call fcn.14026b9c8
lea rcx, [rax + 2]
test rax, rax
jne 0x14002c6f4
lea rcx, [rsp + 0x70]
call fcn.14027883c
mov qword [rdi + 0x20], rax
test rsi, rsi
je 0x14002c721
mov rcx, rsi
call fcn.14027883c
mov qword [rdi + 0x30], rax
test rax, rax
je 0x14002c881
cmp r14w, word [rsi]
je 0x14002c881
mov rcx, rdi
call fcn.14002d550
mov ebx, eax
test eax, eax
jne 0x14002c886
mov rcx, qword [rdi + 0x480]
test rcx, rcx
je 0x14002c750
cmp r14w, word [rcx]
je 0x14002c750
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002c779
mov rcx, qword [rdi + 0x488]
test rcx, rcx
je 0x14002c85a
cmp r14w, word [rcx]
je 0x14002c85a
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c85a
lea rax, [rsp + 0x50]
mov r9d, 1
lea r8, str.Enable
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002d860
test eax, eax
jne 0x14002c7a6
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x490], eax
lea rax, [rsp + 0x54]
mov r9d, 0x25800
lea r8, str.MaxSize
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002d860
test eax, eax
jne 0x14002c7d3
mov eax, dword [rsp + 0x54]
mov dword [rdi + 0x470], eax
lea rax, [rsp + 0x58]
mov r9d, 3
lea r8, str.MaxEntries
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002d860
test eax, eax
jne 0x14002c800
mov eax, dword [rsp + 0x58]
mov dword [rdi + 0x474], eax
lea rax, [rsp + 0x5c]
mov r9d, 3
lea r8, str.Severity
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002d860
test eax, eax
jne 0x14002c82d
mov eax, dword [rsp + 0x5c]
mov dword [rdi + 0x478], eax
lea rax, [rsp + 0x60]
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Options
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.14002d860
test eax, eax
jne 0x14002c85a
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x47c], eax
cmp dword [rdi + 0x490], r14d
jne 0x14002c86f
mov ebx, r14d
mov dword [rdi + 8], 1
jmp 0x14002c886
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rdi + 0x28], eax
mov dword [rdi + 8], 1
jmp 0x14002c886
mov ebx, select
mov eax, ebx
mov rbx, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140269300
add rsp, 0x498
pop r14
pop rdi
pop rsi
pop rbp
ret