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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rsi, rcx
xor edi, edi
mov dword [rbp + 0x48], edi
lea r8d, [rdi + 1]
lea rdx, [0x1800e5030]
lea rcx, [rbp - 8]
call fcn.180029410
lock inc dword [0x1800de364]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800e5070]
mov rcx, qword [0x1800e5068]
test rcx, rcx
je 0x180006767
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180006767
cmp dword [rcx + 0x18], r8d
je 0x180006760
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180006750
jmp 0x180006767
mov ebx, 1
jmp 0x180006769
mov ebx, edi
lea rcx, [rbp - 8]
call fcn.180029450
test ebx, ebx
je 0x1800067ae
cmp dword [0x1800e52c0], edi
je 0x1800067a4
lea r9, str.CModuleMgr::IsOk_Module__d__is_Ignore_Updata.
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
lea r8, str.CheckModule
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov edi, 1
jmp 0x180006c3c
mov r8d, 1
lea rdx, [0x1800e4fd0]
lea rcx, [rbp - 0x20]
call fcn.180029410
lock inc dword [0x1800de364]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800e5010]
mov rcx, qword [0x1800e5008]
test rcx, rcx
je 0x180006807
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180006807
nop
cmp dword [rcx + 0x18], r8d
je 0x180006800
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1800067f0
jmp 0x180006807
mov ebx, 1
jmp 0x180006809
mov ebx, edi
lea rcx, [rbp - 0x20]
call fcn.180029450
test ebx, ebx
je 0x18000682a
cmp dword [0x1800e52c0], edi
je 0x1800067a4
lea r9, str.CModuleMgr::IsOk_Module__d__is_Ignore_Check.
jmp 0x180006785
lea rax, vtable.CObjectID.0
mov qword [rsp + 0x50], rax
mov eax, 1
lock xadd dword [0x1800de364], eax
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [0x180087258]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov ecx, dword [rsi + 8]
xor edx, edx
mov eax, ecx
div dword [0x1800e4fb0]
mov rbx, qword [0x1800e4fa8]
test rbx, rbx
je 0x180006c32
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x180006c32
cmp dword [rbx + 0x18], ecx
je 0x1800068b4
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800068a2
jmp 0x180006c32
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x58], eax
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180025980
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x68]
call fcn.180025980
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180025980
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180025980
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x80]
call fcn.180025980
lea rdx, [rbx + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180025980
mov r11d, dword [rbx + 0x60]
mov dword [rbp - 0x70], r11d
mov eax, dword [rbx + 0x64]
mov dword [rbp - 0x6c], eax
mov eax, dword [rbx + 0x68]
mov dword [rbp - 0x68], eax
mov eax, dword [rbx + 0x6c]
mov dword [rbp - 0x64], eax
mov eax, dword [rbx + 0x70]
mov dword [rbp - 0x60], eax
mov eax, dword [rbx + 0x74]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbx + 0x78]
mov dword [rbp - 0x58], eax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x50]
call fcn.180025980
lea rdx, [rbx + 0x88]
lea rcx, [rbp - 0x48]
call fcn.180025980
lea rdx, [rbx + 0x90]
lea rcx, [rbp - 0x40]
call fcn.180025980
mov rcx, qword [rbx + 0x98]
mov qword [rbp - 0x38], rcx
test rcx, rcx
je 0x180006988
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test eax, eax
jne 0x180006988
jmp 0x180006c32
cmp dword [0x1800e52c0], 0
je 0x1800069c1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
lea r9, str.CModuleMgr::IsOk_Module__d__Path__s__is_Lookup_success.
lea r8, str.CheckModule
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800069d6
jmp 0x180006c32
mov qword [rsp + 0x40], rdi
mov rax, qword [0x180087258]
mov qword [rbp + 0x50], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [0x1800e50f0]
lea rdx, [0x18009c688]
lea rcx, [rbp + 0x50]
call fcn.180026420
lea r11, [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x50]
call fcn.180033260
test eax, eax
jne 0x180006a3d
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
jmp 0x180006c32
mov qword [rbp + 0x58], rdi
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.180033260
test eax, eax
jne 0x180006a7c
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
jmp 0x180006c32
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x180006a9e
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
jmp 0x180006c32
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x493e0
jbe 0x180006bc3
cmp dword [0x1800e52c0], 0
je 0x180006ae6
mov dword [rsp + 0x28], 0x493e0
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
lea r9, str.CModuleMgr::IsOk_1_Module__d__ChcPeValid__d_
lea r8, str.CheckModule
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov rcx, qword [rsp + 0x68]
call fcn.180034870
test eax, eax
jne 0x180006b03
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
jmp 0x180006c32
cmp dword [0x1800e52c0], 0
je 0x180006b3c
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
lea r9, str.CModuleMgr::IsOk_2_Module__d__Path__s_
lea r8, str.CheckModule
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov dword [rbp + 0x40], edi
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180027d30
nop
mov dword [rbp + 0x48], 1
lea rdx, [rbp + 0x40]
mov rcx, qword [rax]
call fcn.18004cfd0
test eax, eax
je 0x180006b6f
cmp dword [rbp + 0x40], 0
jne 0x180006b6f
mov bl, 1
jmp 0x180006b71
xor bl, bl
lea rcx, [rbp - 0x30]
call fcn.180026ba0
test bl, bl
je 0x180006b8d
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
jmp 0x180006c32
cmp dword [0x1800e52c0], 0
je 0x180006bc3
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 8]
mov dword [rsp + 0x20], eax
lea r9, str.CModuleMgr::IsOk_3_Module__d__PeNum__d_
lea r8, str.CheckModule
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [0x1800e5208]
call fcn.180018f90
mov edi, 1
lea rcx, [rbp + 0x50]
call fcn.180025870
nop
lea rcx, [rbp - 0x40]
call fcn.180025870
nop
lea rcx, [rbp - 0x48]
call fcn.180025870
nop
lea rcx, [rbp - 0x50]
call fcn.180025870
nop
lea rcx, [rbp - 0x78]
call fcn.180025870
nop
lea rcx, [rbp - 0x80]
call fcn.180025870
nop
lea rcx, [rsp + 0x78]
call fcn.180025870
nop
lea rcx, [rsp + 0x70]
call fcn.180025870
nop
lea rcx, [rsp + 0x68]
call fcn.180025870
nop
lea rcx, [rsp + 0x60]
call fcn.180025870
nop
jmp 0x180006c3c
lea rcx, [rsp + 0x50]
call fcn.180005b30
mov eax, edi
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret