Function at 0x10008c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0x48], 0
push 0x100775c8
lea ecx, [ebp - 0x15c]
call fcn.1000d430
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.1000d4d0
mov byte [ebp - 4], 1
push 0x100ad538
lea ecx, [ebp - 0x18c]
call fcn.1000d680
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
push str.Databasemain.cvd
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.1000c240
add esp, 0xc
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x18c]
call fcn.100125f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x144]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 8
jb 0x10008cd8
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
jmp 0x10008cde
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008d63
push 0x100ad538
lea ecx, [ebp - 0x1bc]
call fcn.1000d680
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
push str.Databasemain.cld
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x1a4]
push edx
call fcn.1000c240
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x144]
call fcn.1000de20
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x1a4]
call fcn.100125f0
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x1bc]
call fcn.100125f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x10008d8e
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x10008d94
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x6c], edx
push 0
push 0x80
push 3
push 0
push 1
push connect
mov eax, dword [ebp - 0x6c]
push eax
call dword [0x100ad888]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x10008eb8
push 0
lea ecx, [ebp - 0xac]
push ecx
push 0x100
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [0x100ad88c]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x415]
mov dword [ebp - 0x70], edx
push 0x10078270
mov eax, dword [ebp - 0x70]
push eax
call fcn.10049ed8
add esp, 8
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x10008eb8
push 0x1007831c
lea ecx, [ebp - 0x204]
call fcn.1000d430
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.1000d430
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
lea eax, [ebp - 0x1d4]
push eax
call fcn.1000bce0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0xec]
call fcn.1000dcb0
mov byte [ebp - 4], 0xb
push 0
push 1
lea ecx, [ebp - 0x1d4]
call fcn.10012480
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp - 0x1ec]
call fcn.10012480
mov byte [ebp - 4], 0xd
push 0
push 1
lea ecx, [ebp - 0x204]
call fcn.10012480
mov byte [ebp - 4], 4
push 0x100ad538
lea ecx, [ebp - 0x21c]
call fcn.1000d680
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 0xe
push str.Databasedaily.cld
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.1000c240
add esp, 0xc
mov byte [ebp - 4], 0x11
push 0
push 1
lea ecx, [ebp - 0x21c]
call fcn.100125f0
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x12c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
jb 0x10008f41
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
jmp 0x10008f47
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10008fe8
push 0x100ad538
lea ecx, [ebp - 0x24c]
call fcn.1000d680
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 0x12
push str.Databasedaily.cvd
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x234]
push ecx
call fcn.1000c240
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x12c]
call fcn.1000de20
mov byte [ebp - 4], 0x13
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.100125f0
mov byte [ebp - 4], 0x14
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.100125f0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp dword [edx + 0x14], 8
jb 0x10009019
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
jmp 0x1000901f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0xa8], ecx
push 0
push 0x80
push 3
push 0
push 1
push connect
mov edx, dword [ebp - 0xa8]
push edx
call dword [0x100ad888]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10009239
push 0
lea eax, [ebp - 0xac]
push eax
push 0x100
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [0x100ad88c]
lea eax, [ebp - 0x415]
mov dword [ebp - 0xb0], eax
push 0x10078270
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.10049ed8
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10009124
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x27c]
call fcn.1000d430
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xb8]
push ecx
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x264]
push eax
call fcn.1000bea0
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xec]
call fcn.1000dcb0
mov byte [ebp - 4], 0x16
push 0
push 1
lea ecx, [ebp - 0x264]
call fcn.10012480
mov byte [ebp - 4], 0x17
push 0
push 1
lea ecx, [ebp - 0x27c]
call fcn.10012480
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x338]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x1000922f
mov byte [ebp - 0x304], 0
push 0x3f
push 0
lea ecx, [ebp - 0x303]
push ecx
call fcn.10040790
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x324]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [ebp - 0x114]
sub ecx, 0x7d0
push ecx
movzx edx, word [ebp - 0x10e]
push edx
movzx eax, word [ebp - 0x112]
push eax
push str._02d__02d__02d
push 0x40
lea ecx, [ebp - 0x304]
push ecx
call fcn.1000fa70
add esp, 0x18
push 0x10078330
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000bfe0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x304]
push edx
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x294]
push ecx
call fcn.1000be30
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0xec]
call fcn.1000dcb0
mov byte [ebp - 4], 0x19
push 0
push 1
lea ecx, [ebp - 0x294]
call fcn.10012480
mov byte [ebp - 4], 0x1a
push 0
push 1
lea ecx, [ebp - 0x2ac]
call fcn.10012480
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.1000bef0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.1000dcb0
mov byte [ebp - 4], 0x1b
push 0
push 1
lea ecx, [ebp - 0x2c4]
call fcn.10012480
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x15c]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 0x10
jb 0x100092b6
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
jmp 0x100092bc
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.1000aec0
add esp, 8
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000d530
mov ecx, dword [ebp - 0x48]
or ecx, 1
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 0x1c
push 0
push 1
lea ecx, [ebp - 0x174]
call fcn.100125f0
mov byte [ebp - 4], 0x1d
push 0
push 1
lea ecx, [ebp - 0x12c]
call fcn.100125f0
mov byte [ebp - 4], 0x1e
push 0
push 1
lea ecx, [ebp - 0x144]
call fcn.100125f0
mov byte [ebp - 4], 0x1f
push 0
push 1
lea ecx, [ebp - 0xec]
call fcn.10012480
mov dword [ebp - 4], 0x20
push 0
push 1
lea ecx, [ebp - 0x15c]
call fcn.10012480
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4