Function at 0x1400789a0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0xf0], rbx
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x38], rsi
jne 0x140078cbf
mov rcx, rdx
call fcn.14005c860
test al, al
je 0x140078ce5
lea rdx, [rbp + 0x1f]
mov rcx, rbx
call fcn.14005da80
nop
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], si
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.MultipleWhitelist.json
lea rcx, [rbp - 0x21]
call fcn.140003a60
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x21]
call fcn.140008860
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140078a7f
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078a7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d0a
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1e0]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 0x21], 0
lea r8, [rbp - 0x59]
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.14001c9a0
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 8
jb 0x140078ae2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078add
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d10
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], si
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rcx, qword [rbp - 1]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x140078ba8
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140078b50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078b4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d04
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], si
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x140078ba1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078b9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d04
call fcn.1400cd424
mov al, 1
jmp 0x140078ce5
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
lea r9, [rbp - 0x11]
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.14001cb60
mov qword [rbp - 0x31], rsi
lea rdx, str.WhiteListUpdateInterval
lea rcx, [rbp - 0x31]
call fcn.14007d290
nop
call fcn.140038d80
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.14004f1a0
mov rcx, qword [rax]
mov ebx, Ordinal_27
test rcx, rcx
je 0x140078c14
cvttsd2si rax, qword [rcx + 8]
test rax, rax
cmovle rax, rbx
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x31]
call fcn.14007d290
nop
imul rcx, rbx, 0xe10
mov rax, qword [rbp - 0x11]
add rcx, rax
mov qword [rdi + 0x38], rcx
mov rdx, qword [rbp + 0x17]
cmp rdx, 8
jb 0x140078c72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078c6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d04
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], si
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x140078cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078cba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078d04
call fcn.1400cd424
mov qword [rbp - 0x31], rsi
mov dword [rbp - 0x29], esi
mov edx, 1
lea rcx, [rbp - 0x31]
call fcn.1400dcc40
mov rdx, qword [rdi + 0x38]
cmp qword [rbp - 0x31], rdx
setge al
jl 0x140078ce5
mov qword [rdi + 0x38], rsi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400cd400
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3