Function at 0xa52f40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0xa9c19b
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x3e9]
push ebx
push eax
mov dword [esp + 0x64], esi
mov byte [esp + 0x3f0], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x4f1]
push ebx
push ecx
mov byte [esp + 0x4f8], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x2e1]
push ebx
push edx
mov byte [esp + 0x2e8], bl
call fcn.00a7ffb0
mov eax, dword [esp + 0x64]
mov ecx, 0x34
lea edi, [esp + 0x100]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov esi, 1
add esp, 0xc
cmp dword [eax + 0xcc], esi
push esi
setne cl
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [eax + 0xcc], esi
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x178]
call fcn.00962f00
mov dword [esp + 0x54], eax
cmp eax, ebx
je 0xa53049
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xa53049
lea edx, [esp + 0x54]
push edx
call fcn.00985290
jmp 0xa53602
cmp byte [0xbde468], bl
jne 0xa5305b
mov esi, 0xbde468
call fcn.009899d0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xbde468
lea eax, [esp + 0x3e8]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [esp + 0x3e4], bl
je 0xa530aa
lea eax, [esp + 0x3e4]
inc eax
cmp byte [eax], bl
jne 0xa53086
lea ecx, [esp + 0x3e4]
sub eax, ecx
je 0xa530aa
cmp byte [esp + eax + 0x3e3], 0x5c
je 0xa530aa
push 0xaa1564
mov edx, ecx
push edx
call esi
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x3e8]
push ecx
call esi
push 1
push ebx
xor edx, edx
lea ecx, [esp + 0x3ec]
call fcn.0095a0f0
add esp, 8
test eax, eax
je 0xa530f6
lea edx, [esp + 0x3e4]
push edx
lea eax, [esp + 0x2e0]
push str.Missing__s_
push eax
call fcn.00a78f30
add esp, 0xc
jmp 0xa53602
push 0xbde468
lea ecx, [esp + 0x4f0]
push ecx
call edi
lea ecx, [esp + 0x4ec]
call fcn.00960910
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x4f0]
push eax
call esi
push 4
push ebx
push 6
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x4fc]
push edx
lea ecx, [esp + 0x2f0]
lea edx, [esp + 0x50]
call fcn.00a4fa40
add esp, 0x14
test eax, eax
jne 0xa531a2
cmp dword [esp + 0x4c], 0x1a
jne 0xa532b3
mov eax, dword [esp + 0x3c]
push eax
call fcn.00a4ff60
add esp, 4
lea eax, [esp + 0x4ec]
mov dword [esp + 0x3c], ebx
call fcn.0094dd20
push 5
push ebx
push 6
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x4fc]
push edx
lea ecx, [esp + 0x2f0]
lea edx, [esp + 0x50]
call fcn.00a4fa40
add esp, 0x14
cmp eax, 1
jne 0xa532b3
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x2e0]
call fcn.00a4fbe0
add esp, 4
test eax, eax
jne 0xa53231
cmp dword [esp + 0x1b4], ebx
jne 0xa531d6
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push str.CREATE_TABLE_IF_NOT_EXISTS_Lft__DulfDM_TEXT_
push eax
jmp 0xa531e7
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
push ecx
push ebx
push ebx
push str.CREATE_TABLE_IF_NOT_EXISTS_Lft__DulfDM_TEXT__Nfx_TEXT_
push edx
call fcn.00a2c4a0
add esp, 0x14
cmp eax, ebx
je 0xa53231
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0xa53227
push eax
lea eax, [esp + 0x2e0]
push str.SQExecCT_Failed__Reason:__s
push eax
call fcn.00a78f30
add esp, 0xc
lea ecx, [esp + 0x2dc]
push ecx
push str._SQT___s
push ebx
call fcn.0096a780
add esp, 0xc
mov edx, dword [esp + 0x3c]
push edx
jmp 0xa535fa
cmp dword [esp + 0x1b4], ebx
jne 0xa53249
push str.INSERT_INTO_Lft_VALUES___DulfDM_
lea eax, [esp + 0x5f8]
push eax
jmp 0xa53256
push str.INSERT_INTO_Lft_VALUES___DulfDM___Nfx_
lea ecx, [esp + 0x5f8]
push ecx
call fcn.00a78f30
mov ecx, dword [esp + 0x44]
add esp, 8
push ebx
lea edx, [esp + 0x44]
push edx
push ebx
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x608]
push eax
push ecx
call fcn.00a31a00
mov esi, dword [esp + 0x5c]
add esp, 0x1c
cmp eax, ebx
jne 0xa535af
cmp esi, ebx
je 0xa535af
mov edx, dword [esp + 0x3c]
push edx
lea ecx, [esp + 0x2e0]
call fcn.00a4fd80
add esp, 4
test eax, eax
jne 0xa532bd
lea esi, [esp + 0x40]
call fcn.00a4ff40
mov eax, dword [esp + 0x3c]
push eax
jmp 0xa535fa
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], ebx
call fcn.0097f770
mov dword [esp + 0x740], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x50], ebx
call edi
push 0x114
lea ecx, [esp + 0x1cc]
push ebx
push ecx
mov dword [esp + 0x1d0], ebx
call fcn.00a7ffb0
add esp, 0xc
lea edx, [esp + 0x1b8]
push edx
push ebx
mov esi, 1
push esi
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x60]
mov edx, 0xbde468
call fcn.00a51170
mov ecx, dword [esp + 0x1cc]
add esp, 0x14
cmp dword [esp + 0x44], ebx
jne 0xa5333e
mov edx, dword [esp + 0x58]
mov dword [edx + 0xc4], ecx
cmp eax, ebx
jne 0xa533a8
lea eax, [esp + 0x3e4]
push eax
lea ecx, [esp + 0x2e0]
push str.Error_reading__s_
push ecx
call fcn.00a78f30
add esp, 0xc
lea edx, [esp + 0x2dc]
push edx
push str._SQT___s
push ebx
call fcn.0096a780
add esp, 0xc
lea esi, [esp + 0x40]
call fcn.00a4ff40
mov eax, dword [esp + 0x3c]
push eax
call fcn.00a4ff60
add esp, 4
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x740], 0xffffffff
call fcn.0097f840
jmp 0xa53602
cmp dword [0xbde25c], ebx
je 0xa533e4
mov edx, dword [esp + 0x4c]
fild dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x138]
push ecx
test edx, edx
jge 0xa533cb
fadd qword [0xb0baa8]
fdiv qword [0xb0bad0]
sub esp, 8
fstp qword [esp]
push str.It_took__.2f_Secs_to_complete_FillAVSFileList__s____u_files__n
call fcn.00a7a8b1
add esp, 0x14
call edi
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x2d8], esi
mov dword [esp + 0x2d4], ebx
xor eax, eax
jmp 0xa53410
mov cl, byte [esp + eax + 0x4ec]
mov byte [esp + eax + 0x1c8], cl
add eax, esi
cmp cl, bl
jne 0xa53410
cmp dword [esp + 0x1b4], ebx
jne 0xa5343d
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2cc], ebx
jmp 0xa53467
mov eax, str.clnsign
lea ecx, [esp + 0x134]
mov dword [esp + 0x2d0], esi
mov dword [esp + 0x2cc], esi
call fcn.0094c3e0
test eax, eax
jne 0xa53467
mov dword [esp + 0x2d4], esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x1d0]
push eax
xor edx, edx
call fcn.00a50fa0
lea esi, [esp + 0x6c]
call fcn.00956c50
mov ecx, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2f0]
call fcn.00a4fe60
add esp, 0x14
cmp dword [0xbde25c], ebx
je 0xa534e0
mov edx, dword [esp + 0x50]
push edx
call edi
sub eax, dword [esp + 0x48]
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
test eax, eax
jge 0xa534c7
fadd qword [0xb0baa8]
fdiv qword [0xb0bad0]
sub esp, 8
fstp qword [esp]
push str.It_took__.2f_Secs_to_insert__u_records._n
call fcn.00a7a8b1
add esp, 0x10
lea esi, [esp + 0x40]
call fcn.00a4ff40
call edi
mov esi, eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0xa5354c
lea ecx, [esp + 0x48]
push ecx
push ebx
push ebx
push str.CREATE_INDEX_Lft_idx_ON_Lft__DulfDM_
push eax
call fcn.00a2c4a0
add esp, 0x14
test eax, eax
je 0xa5354c
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0xa53542
push eax
lea edx, [esp + 0x2e0]
push str.SQExecCI_Failed__Reason:__s
push edx
call fcn.00a78f30
add esp, 0xc
lea eax, [esp + 0x2dc]
push eax
push str._SQT___s
push ebx
call fcn.0096a780
add esp, 0xc
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0xa53383
cmp dword [0xbde25c], ebx
je 0xa53583
call edi
sub eax, esi
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
test eax, eax
jge 0xa5356a
fadd qword [0xb0baa8]
fdiv qword [0xb0bad0]
sub esp, 8
fstp qword [esp]
push str.It_took__.2f_Secs_to_Create_Index._n
call fcn.00a7a8b1
add esp, 0xc
mov edx, dword [esp + 0x3c]
push edx
call fcn.00a4ff60
add esp, 4
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x40], ebx
call fcn.00985290
lea ecx, [esp + 0x4ec]
call fcn.00962b90
jmp 0xa5338f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00a4def0
add esp, 4
push eax
lea edx, [esp + 0x2e0]
push str.SQExecPV2_Failed:__s_n
push edx
call fcn.00a78f30
add esp, 0xc
lea eax, [esp + 0x2dc]
push eax
push str._SQT___s
push ebx
call fcn.0096a780
add esp, 0xc
cmp esi, ebx
je 0xa535f5
push esi
call fcn.00a06130
add esp, 4
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00a4ff60
add esp, 4
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f0]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret