Function at 0x4aabd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e361
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5ea2c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x88], eax
lea esi, [edi + 4]
jb 0x4aac22
mov eax, dword [esi]
jmp 0x4aac24
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4ab0e4
mov dword [ebp - 4], 0
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x4aac49
call fcn.00404b70
push str.ReadSQL_1
call fcn.0047b0e0
add esp, 4
lea edx, [ebp - 0x68]
push edx
call fcn.004aa7a0
mov byte [ebp - 4], 1
cmp dword [edi + 0x18], 0x10
jb 0x4aac6d
mov ecx, dword [esi]
jmp 0x4aac6f
mov ecx, esi
mov edi, dword [ebp - 0x84]
add edi, 0x1c
push edi
mov eax, 1
call fcn.004aa3c0
mov eax, dword [0x5ef5f4]
test eax, eax
jne 0x4aac91
call fcn.00404b70
push str.ReadSQL_2
call fcn.0047b0e0
add esp, 4
push ebx
push edi
lea eax, [ebp - 0x80]
call fcn.004aa560
mov byte [ebp - 4], 2
lea esp, [esp]
cmp dword [ebp - 0x78], 0
jne 0x4aacfd
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [ebp - 0x94], vtable.CppSQLite3Exception.0
mov dword [ebp - 0x90], 0x3e8
call fcn.004b1920
add esp, 0x10
push 0x5df708
lea ecx, [ebp - 0x94]
push ecx
mov dword [ebp - 0x8c], eax
call fcn.0052e5fb
cmp byte [ebp - 0x74], 0
lea edi, [ebp - 0x80]
jne 0x4ab07c
push str.softid
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aad6a
push str.softid
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aad43
mov edx, 0x59b313
jmp 0x4aad52
mov edx, dword [ebp - 0x78]
push esi
push edx
call fcn.004d3210
add esp, 8
mov edx, eax
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aad57
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00405bb0
push str.clkforms
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aaea8
push str.clkforms
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aadaa
mov edx, 0x59b313
jmp 0x4aadb9
mov eax, dword [ebp - 0x78]
push esi
push eax
call fcn.004d3210
add esp, 8
mov edx, eax
xor ebx, ebx
mov edi, 0xf
mov eax, edx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x9c], ebx
mov byte [ebp - 0xac], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aadd7
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xb0]
call fcn.00405bb0
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 3
call fcn.00490630
add esp, 4
lea edx, [ebp - 0xe8]
push edx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004924e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00405870
mov esi, 0x10
cmp dword [ebp - 0xd0], esi
jb 0x4aae47
mov eax, dword [ebp - 0xe4]
push eax
call fcn.005273b8
add esp, 4
cmp dword [ebp - 0xb4], 8
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], 0
jb 0x4aae72
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.005273b8
add esp, 4
xor edx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], dx
cmp dword [ebp - 0x98], esi
jb 0x4aaeaa
mov eax, dword [ebp - 0xac]
push eax
call fcn.005273b8
add esp, 4
jmp 0x4aaeaa
xor ebx, ebx
push str.opentype
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aaef3
push str.opentype
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aaee3
xor eax, eax
jmp 0x4aaef0
mov ecx, dword [ebp - 0x78]
push esi
push ecx
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x30], eax
push str.opentimes
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aaf3c
push str.opentimes
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aaf2c
xor eax, eax
jmp 0x4aaf39
mov edx, dword [ebp - 0x78]
push esi
push edx
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x2c], eax
push str.clicktimes
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aaf85
push str.clicktimes
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aaf75
xor eax, eax
jmp 0x4aaf82
mov eax, dword [ebp - 0x78]
push esi
push eax
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x28], eax
push str.showsec
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4aafce
push str.showsec
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4aafbe
xor eax, eax
jmp 0x4aafcb
mov ecx, dword [ebp - 0x78]
push esi
push ecx
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x24], eax
push str.timestamp
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4ab017
push str.timestamp
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4ab007
xor eax, eax
jmp 0x4ab014
mov edx, dword [ebp - 0x78]
push esi
push edx
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x20], eax
push str.operate_date
lea edi, [ebp - 0x80]
call fcn.004aa060
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
je 0x4ab060
push str.operate_date
call fcn.004aa060
mov esi, eax
mov ecx, eax
mov edx, edi
call fcn.004aa150
cmp eax, 5
jne 0x4ab050
xor eax, eax
jmp 0x4ab05d
mov eax, dword [ebp - 0x78]
push esi
push eax
call fcn.004d3110
add esp, 8
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x88]
lea ecx, [ebp - 0x68]
push ecx
call fcn.004abf20
lea esi, [ebp - 0x80]
call fcn.004aa200
jmp 0x4aacb0
call fcn.004aa2d0
mov esi, dword [ebp - 0x84]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4ab09f
push 0
call fcn.0051de60
add esp, 4
mov dword [esi + 0x20], 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.004a9f30
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x4ab0c1
mov edx, dword [ebp - 0x48]
push edx
call fcn.005273b8
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], esi
jb 0x4ab0e4
mov eax, dword [ebp - 0x64]
push eax
call fcn.005273b8
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005273c3
mov esp, ebp
pop ebp
ret 8