Function at 0x180005ef0
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, [0x1800d58c0]
lea rcx, [rbp - 8]
call fcn.180023840
lock inc dword [0x1800cf214]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800d5900]
mov rcx, qword [0x1800d58f8]
test rcx, rcx
je 0x180005f67
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180005f67
cmp dword [rcx + 0x18], r8d
je 0x180005f60
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180005f50
jmp 0x180005f67
mov ebx, 1
jmp 0x180005f69
mov ebx, edi
lea rcx, [rbp - 8]
call fcn.180023880
test ebx, ebx
je 0x180005fae
cmp dword [0x1800d5b50], edi
je 0x180005fa4
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, [0x1800d5a98]
call fcn.180015620
mov edi, 1
jmp 0x18000643c
mov r8d, 1
lea rdx, [0x1800d5860]
lea rcx, [rbp - 0x20]
call fcn.180023840
lock inc dword [0x1800cf214]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800d58a0]
mov rcx, qword [0x1800d5898]
test rcx, rcx
je 0x180006007
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180006007
nop
cmp dword [rcx + 0x18], r8d
je 0x180006000
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180005ff0
jmp 0x180006007
mov ebx, 1
jmp 0x180006009
mov ebx, edi
lea rcx, [rbp - 0x20]
call fcn.180023880
test ebx, ebx
je 0x18000602a
cmp dword [0x1800d5b50], edi
je 0x180005fa4
lea r9, str.CModuleMgr::IsOk_Module__d__is_Ignore_Check.
jmp 0x180005f85
lea rax, vtable.CObjectID.0
mov qword [rsp + 0x50], rax
mov eax, 1
lock xadd dword [0x1800cf214], eax
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [0x18007cb48]
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 [0x1800d5840]
mov rbx, qword [0x1800d5838]
test rbx, rbx
je 0x180006432
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x180006432
cmp dword [rbx + 0x18], ecx
je 0x1800060b4
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800060a2
jmp 0x180006432
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x58], eax
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180020660
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x68]
call fcn.180020660
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180020660
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180020660
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x80]
call fcn.180020660
lea rdx, [rbx + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180020660
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.180020660
lea rdx, [rbx + 0x88]
lea rcx, [rbp - 0x48]
call fcn.180020660
lea rdx, [rbx + 0x90]
lea rcx, [rbp - 0x40]
call fcn.180020660
mov rcx, qword [rbx + 0x98]
mov qword [rbp - 0x38], rcx
test rcx, rcx
je 0x180006188
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test eax, eax
jne 0x180006188
jmp 0x180006432
cmp dword [0x1800d5b50], 0
je 0x1800061c1
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, [0x1800d5a98]
call fcn.180015620
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800061d6
jmp 0x180006432
mov qword [rsp + 0x40], rdi
mov rax, qword [0x18007cb48]
mov qword [rbp + 0x50], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [0x1800d5980]
lea rdx, [0x180091930]
lea rcx, [rbp + 0x50]
call fcn.180021100
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.18002d4c0
test eax, eax
jne 0x18000623d
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x180006432
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.18002d4c0
test eax, eax
jne 0x18000627c
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x180006432
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x18000629e
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x180006432
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x493e0
jbe 0x1800063c3
cmp dword [0x1800d5b50], 0
je 0x1800062e6
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, [0x1800d5a98]
call fcn.180015620
mov rcx, qword [rsp + 0x68]
call fcn.18002e9a0
test eax, eax
jne 0x180006303
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x180006432
cmp dword [0x1800d5b50], 0
je 0x18000633c
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, [0x1800d5a98]
call fcn.180015620
mov dword [rbp + 0x40], edi
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180022170
nop
mov dword [rbp + 0x48], 1
lea rdx, [rbp + 0x40]
mov rcx, qword [rax]
call fcn.180047040
test eax, eax
je 0x18000636f
cmp dword [rbp + 0x40], 0
jne 0x18000636f
mov bl, 1
jmp 0x180006371
xor bl, bl
lea rcx, [rbp - 0x30]
call fcn.180021690
test bl, bl
je 0x18000638d
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
jmp 0x180006432
cmp dword [0x1800d5b50], 0
je 0x1800063c3
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, [0x1800d5a98]
call fcn.180015620
mov edi, 1
lea rcx, [rbp + 0x50]
call fcn.180020550
nop
lea rcx, [rbp - 0x40]
call fcn.180020550
nop
lea rcx, [rbp - 0x48]
call fcn.180020550
nop
lea rcx, [rbp - 0x50]
call fcn.180020550
nop
lea rcx, [rbp - 0x78]
call fcn.180020550
nop
lea rcx, [rbp - 0x80]
call fcn.180020550
nop
lea rcx, [rsp + 0x78]
call fcn.180020550
nop
lea rcx, [rsp + 0x70]
call fcn.180020550
nop
lea rcx, [rsp + 0x68]
call fcn.180020550
nop
lea rcx, [rsp + 0x60]
call fcn.180020550
nop
jmp 0x18000643c
lea rcx, [rsp + 0x50]
call fcn.180005710
mov eax, edi
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret