Function at 0x180005f00
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, [0x1800d68c0]
lea rcx, [rbp - 8]
call fcn.1800242f0
lock inc dword [0x1800d0214]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800d6900]
mov rcx, qword [0x1800d68f8]
test rcx, rcx
je 0x180005f77
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180005f77
cmp dword [rcx + 0x18], r8d
je 0x180005f70
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180005f60
jmp 0x180005f77
mov ebx, 1
jmp 0x180005f79
mov ebx, edi
lea rcx, [rbp - 8]
call fcn.180024330
test ebx, ebx
je 0x180005fbe
cmp dword [0x1800d6b50], edi
je 0x180005fb4
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, [0x1800d6a98]
call fcn.180015770
mov edi, 1
jmp 0x18000644c
mov r8d, 1
lea rdx, [0x1800d6860]
lea rcx, [rbp - 0x20]
call fcn.1800242f0
lock inc dword [0x1800d0214]
mov r8d, dword [rsi + 8]
xor edx, edx
mov eax, r8d
div dword [0x1800d68a0]
mov rcx, qword [0x1800d6898]
test rcx, rcx
je 0x180006017
mov rcx, qword [rcx + rdx*8]
test rcx, rcx
je 0x180006017
nop
cmp dword [rcx + 0x18], r8d
je 0x180006010
mov rcx, qword [rcx]
test rcx, rcx
jne 0x180006000
jmp 0x180006017
mov ebx, 1
jmp 0x180006019
mov ebx, edi
lea rcx, [rbp - 0x20]
call fcn.180024330
test ebx, ebx
je 0x18000603a
cmp dword [0x1800d6b50], edi
je 0x180005fb4
lea r9, str.CModuleMgr::IsOk_Module__d__is_Ignore_Check.
jmp 0x180005f95
lea rax, vtable.CObjectID.0
mov qword [rsp + 0x50], rax
mov eax, 1
lock xadd dword [0x1800d0214], eax
inc eax
mov dword [rsp + 0x58], eax
mov rax, qword [0x18007db48]
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 [0x1800d6840]
mov rbx, qword [0x1800d6838]
test rbx, rbx
je 0x180006442
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x180006442
cmp dword [rbx + 0x18], ecx
je 0x1800060c4
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800060b2
jmp 0x180006442
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x58], eax
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180021110
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x68]
call fcn.180021110
lea rdx, [rbx + 0x40]
lea rcx, [rsp + 0x70]
call fcn.180021110
lea rdx, [rbx + 0x48]
lea rcx, [rsp + 0x78]
call fcn.180021110
lea rdx, [rbx + 0x50]
lea rcx, [rbp - 0x80]
call fcn.180021110
lea rdx, [rbx + 0x58]
lea rcx, [rbp - 0x78]
call fcn.180021110
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.180021110
lea rdx, [rbx + 0x88]
lea rcx, [rbp - 0x48]
call fcn.180021110
lea rdx, [rbx + 0x90]
lea rcx, [rbp - 0x40]
call fcn.180021110
mov rcx, qword [rbx + 0x98]
mov qword [rbp - 0x38], rcx
test rcx, rcx
je 0x180006198
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test eax, eax
jne 0x180006198
jmp 0x180006442
cmp dword [0x1800d6b50], 0
je 0x1800061d1
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, [0x1800d6a98]
call fcn.180015770
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800061e6
jmp 0x180006442
mov qword [rsp + 0x40], rdi
mov rax, qword [0x18007db48]
mov qword [rbp + 0x50], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [0x1800d6980]
lea rdx, [0x180092930]
lea rcx, [rbp + 0x50]
call fcn.180021bb0
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.18002e000
test eax, eax
jne 0x18000624d
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
jmp 0x180006442
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.18002e000
test eax, eax
jne 0x18000628c
lea edi, [rax + 1]
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
jmp 0x180006442
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x1800062ae
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
jmp 0x180006442
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x493e0
jbe 0x1800063d3
cmp dword [0x1800d6b50], 0
je 0x1800062f6
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, [0x1800d6a98]
call fcn.180015770
mov rcx, qword [rsp + 0x68]
call fcn.18002f4f0
test eax, eax
jne 0x180006313
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
jmp 0x180006442
cmp dword [0x1800d6b50], 0
je 0x18000634c
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, [0x1800d6a98]
call fcn.180015770
mov dword [rbp + 0x40], edi
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180022c10
nop
mov dword [rbp + 0x48], 1
lea rdx, [rbp + 0x40]
mov rcx, qword [rax]
call fcn.180047b90
test eax, eax
je 0x18000637f
cmp dword [rbp + 0x40], 0
jne 0x18000637f
mov bl, 1
jmp 0x180006381
xor bl, bl
lea rcx, [rbp - 0x30]
call fcn.180022130
test bl, bl
je 0x18000639d
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
jmp 0x180006442
cmp dword [0x1800d6b50], 0
je 0x1800063d3
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, [0x1800d6a98]
call fcn.180015770
mov edi, 1
lea rcx, [rbp + 0x50]
call fcn.180021000
nop
lea rcx, [rbp - 0x40]
call fcn.180021000
nop
lea rcx, [rbp - 0x48]
call fcn.180021000
nop
lea rcx, [rbp - 0x50]
call fcn.180021000
nop
lea rcx, [rbp - 0x78]
call fcn.180021000
nop
lea rcx, [rbp - 0x80]
call fcn.180021000
nop
lea rcx, [rsp + 0x78]
call fcn.180021000
nop
lea rcx, [rsp + 0x70]
call fcn.180021000
nop
lea rcx, [rsp + 0x68]
call fcn.180021000
nop
lea rcx, [rsp + 0x60]
call fcn.180021000
nop
jmp 0x18000644c
lea rcx, [rsp + 0x50]
call fcn.180005720
mov eax, edi
add rsp, 0x118
pop rdi
pop rsi
pop rbx
pop rbp
ret