Function at 0x140077630
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rsp + 0x148], rbx
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r8
mov r13, rdx
mov rbx, rcx
xor r14d, r14d
mov r12d, r14d
cmp qword [rcx + 0x18], 8
jb 0x14007767f
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x140077a59
lea rdx, [rbp - 9]
mov rcx, rbx
call fcn.14001c720
nop
mov qword [rbp - 0x31], r14
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.14001f520
nop
mov qword [rsp + 0x30], r14
cmp qword [rax + 0x18], 0x10
jb 0x1400776bb
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x31]
call fcn.14007f080
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140077720
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007771b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a89
call fcn.1400cd424
mov rbx, qword [rbp - 0x31]
test rbx, rbx
jne 0x14007772e
mov r12d, r14d
jmp 0x140077743
mov r12, qword [rbx + 0x50]
test r12, r12
jne 0x140077743
mov r12, qword [rbx + 0x38]
sub r12, qword [rbx + 0x30]
sar r12, 3
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov dword [rsp + 0x20], r12d
mov r9, rdi
lea r8, str.Number_of_multiple_whitelist_files__s:__d
mov edx, 4
call fcn.140016fb0
mov r15d, r14d
test r12d, r12d
jle 0x140077a13
movzx edi, byte [rsp + 0x38]
test rbx, rbx
je 0x140077789
mov edx, r15d
mov rcx, rbx
call fcn.14007d9f0
jmp 0x14007778e
call fcn.14007d960
mov rsi, rax
mov qword [rsp + 0x30], r14
lea rdx, [0x14012b3e8]
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14007e740
mov rsi, rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
mov rdx, qword [rsi]
test rdx, rdx
je 0x14007783f
add rdx, 0x10
lea rcx, [rsp + 0x40]
call fcn.140003990
nop
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x40]
cmp qword [rbp - 0x71], 0x10
cmovae rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x140077838
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077833
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a83
call fcn.1400cd424
mov rax, qword [rsp + 0x30]
jmp 0x140077847
mov rax, r14
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14007786f
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14007785f
mov rcx, qword [rax]
test rcx, rcx
je 0x14007786f
cmp r8, 0x10
jb 0x140077876
mov rdx, qword [rax]
jmp 0x140077876
lea rdx, [0x140123b98]
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140077890
lea rcx, [rbp - 0x29]
call fcn.140003a60
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14007d290
nop
cmp qword [rbp - 0x19], 0
je 0x1400779cc
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x71], 7
mov word [rsp + 0x40], r14w
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x29]
call fcn.140008860
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 9]
call fcn.14001c9a0
nop
mov byte [rsp + 0x20], dil
mov r9, rax
lea rdx, [rbp - 0x41]
mov rcx, r13
call fcn.140059420
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x140077945
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077940
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a95
call fcn.1400cd424
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], r14w
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x140077997
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a95
call fcn.1400cd424
lea r14, [rbp - 0x29]
cmp qword [rbp - 0x11], 0x10
cmovae r14, qword [rbp - 0x29]
xor ecx, ecx
call fcn.1400186d0
mov rcx, rax
mov qword [rsp + 0x20], r14
lea r9d, [r15 + 1]
lea r8, str._d._Filename:__s
mov edx, 5
call fcn.140016fb0
xor r14d, r14d
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140077a07
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a83
call fcn.1400cd424
inc r15d
cmp r15d, r12d
jl 0x140077777
lea rcx, [rbp - 0x31]
call fcn.14007f3f0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x140077a59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077a54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077a8f
call fcn.1400cd424
mov eax, r12d
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400cd400
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3