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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rbp - 0x50], r14d
cmp qword [rcx + 0x18], 8
jb 0x14005ac05
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov r15d, 5
cmp eax, 1
jne 0x14005acf5
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14005ac27
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005ac3a
test al, 0x10
jne 0x14005acf5
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14005ac47
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea rdx, [0x14015c818]
test rax, rax
cmovne rdx, rax
mov qword [rbp - 0x48], r14
movdqa xmm0, xmmword [0x140167e40]
movdqu xmmword [rbp - 0x38], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14005ac73
lea rcx, [rbp - 0x48]
call fcn.140008ee0
mov edi, 9
lea r9, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r9, qword [rbp - 0x48]
mov r10, qword [rbp - 0x38]
mov rcx, r10
cmp r10, r15
cmova rcx, r15
lea rax, str..done
test rcx, rcx
je 0x14005acec
movzx edx, word [r9]
mov r8d, 0x2e
cmp dx, r8w
jb 0x14005acf1
sub r9, rax
cmp dx, r8w
ja 0x14005acf1
cmp rcx, 1
je 0x14005acec
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14005acca
xor bl, bl
jmp 0x14005acf7
cmp r10, r15
je 0x14005acf5
xor bl, bl
jmp 0x14005acf7
mov bl, 1
test dil, 1
je 0x14005ad09
and edi, 0xfffffffe
lea rcx, [rbp - 0x48]
call fcn.140008e70
test bl, bl
je 0x14005ad14
xor al, al
jmp 0x14005af40
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], r15d
jl 0x14005ada0
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rbx, rax
lea rdx, [rbp - 0x48]
mov rcx, rsi
call fcn.1400219c0
nop
or edi, 2
mov dword [rbp - 0x50], edi
cmp qword [rax + 0x18], 0x10
jb 0x14005ad8a
mov rax, qword [rax]
mov r9, rax
lea r8, str.DuplicateHandler:_MarkAsProcessed_for__s
mov edx, r15d
mov rcx, rbx
call fcn.14001e890
nop
test dil, 2
je 0x14005adb2
and edi, 0xfffffffd
lea rcx, [rbp - 0x48]
call fcn.140009080
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.14005b030
mov rbx, rax
mov qword [rbp - 0x48], r14
movdqa xmm0, xmmword [0x140167e50]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
xor r8d, r8d
lea rdx, [0x14015892f]
lea rcx, [rbp - 0x48]
call fcn.1400090e0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rbp - 0x38]
mov rcx, rbx
call fcn.140022da0
movzx r14d, al
lea rcx, [rbp - 0x48]
call fcn.140009080
nop
lea rcx, [rbp - 0x28]
call fcn.140008e70
test r14b, r14b
jne 0x14005af3c
mov rcx, rsi
call fcn.14004ffe0
test al, al
je 0x14005af3c
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
lea r9, str.SDKFoldersHelper
xor r8d, r8d
lea rdx, [0x140040cf0]
mov rcx, rax
call fcn.1400272d0
mov rbx, rax
lea rdx, str.JSON
lea rcx, [rbp - 0x28]
call fcn.14004fdb0
nop
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140072760
movzx ebx, al
lea rcx, [rbp - 0x28]
call fcn.140008e70
test bl, bl
je 0x14005af3c
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
cmp dword [rax + 0x40], 2
jl 0x14005af2d
xor ecx, ecx
call fcn.140027000
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001c7c0]
mov rcx, rax
call fcn.1400272d0
mov rbx, rax
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.1400219c0
nop
or edi, 4
mov dword [rbp - 0x50], edi
cmp qword [rax + 0x18], 0x10
jb 0x14005af15
mov rax, qword [rax]
mov r9, rax
lea r8, str.DuplicateHandler:_MarkAsProcessed_failed_for__s._Client_service_will_stop_processing_event_files_in_the_secondary_folder.
mov edx, 2
mov rcx, rbx
call fcn.14001e890
nop
test dil, 4
je 0x14005af3c
lea rcx, [rbp - 0x28]
call fcn.140009080
movzx eax, r14b
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret