Function at 0x100250e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10154230
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101933a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push str._read_db_time
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], edi
push eax
call fcn.100243c0
add esp, 0xc
add esi, 0x90
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1002513f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002516a
push 1
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x1015e490
mov word [edi], ax
call fcn.10028140
jmp 0x10025314
cmp dword [esi + 0x14], 8
jb 0x10025172
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x3c]
call fcn.1001dc60
mov byte [ebp - 4], 1
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x1002533c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, 0x1015e490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
test eax, 0xffff0000
jne 0x100251b7
movzx eax, ax
push eax
call fcn.1000b800
jmp 0x100251c3
push 1
push 0x1015e490
call fcn.1000e410
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1001dc60
mov byte [ebp - 4], 4
call fcn.1000b6b0
mov ecx, eax
test ecx, ecx
je 0x10025346
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, str.General
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
test eax, 0xffff0000
jne 0x10025217
movzx eax, ax
push eax
call fcn.1000b800
jmp 0x10025223
push 7
push str.General
call fcn.1000e410
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100561a0
add esp, 0x14
mov edx, dword [ebp - 0x2c]
or esi, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025264
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, esi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025282
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100252a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, esi
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100252be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [ebp - 0x34]
mov edx, eax
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x100252e0
sub edx, ebx
mov ecx, edi
sar edx, 1
push edx
push eax
call fcn.10028140
mov edx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10025314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.10004df0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10061045
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.1000b280
push 0x80004005
call fcn.1000b280
int3