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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb528
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1022101c]
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 edi, ecx
mov dword [ebp - 0x28], edi
cmp dword [edi + 0x1c], 0
je 0x100c38e5
cmp byte [edi + 0x14], 0
jne 0x100c38e5
xor al, al
lea ebx, [edi + 0x20]
add edi, 0x60
mov byte [ebp - 0x21], al
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
push 4
lea ecx, [ebp - 0x2c]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10017a10
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x100c364f
nop dword [eax + eax]
mov eax, dword [esi + 0x11c]
mov ebx, dword [esi + 0x10]
cmp eax, 1
je 0x100c35dd
cmp eax, 2
je 0x100c35dd
cmp eax, 4
je 0x100c35dd
cmp eax, 5
jne 0x100c3606
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
sub eax, dword [esi + 0x120]
sbb ecx, dword [esi + 0x124]
test ecx, ecx
ja 0x100c377b
jb 0x100c3606
cmp eax, 0xea60
ja 0x100c377b
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100c362c
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100c3628
cmp esi, dword [eax + 8]
jne 0x100c3628
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100c3618
mov esi, eax
jmp 0x100c3644
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100c3642
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100c3636
mov eax, esi
cmp eax, dword [edi]
jne 0x100c35c0
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10017a40
push 4
lea ecx, [ebp - 0x40]
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push ebx
lea ecx, [ebp - 0x40]
call fcn.10017a10
mov dword [ebp - 4], 2
mov edi, dword [ebp - 0x28]
cmp dword [edi + 0x1c], 0
je 0x100c3763
cmp byte [edi + 0x14], 0
jne 0x100c3763
cmp byte [ebp - 0x21], 0
je 0x100c38de
cmp dword [edi + 0x64], 0
jne 0x100c38de
push 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x22], 0
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push ebx
lea ecx, [ebp - 0x38]
call fcn.10017a10
mov byte [ebp - 4], 3
xor bl, bl
cmp dword [edi + 0x64], 0
jne 0x100c36df
cmp dword [edi + 0x1c], 0
je 0x100c36df
cmp byte [edi + 0x14], bl
jne 0x100c36df
mov ecx, dword [edi + 0x1c]
lea eax, [ebp - 0x22]
push eax
call fcn.100cc7e0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.10017a40
cmp byte [ebp - 0x22], 0
jne 0x100c375a
test bl, bl
jne 0x100c3763
push 0
push 0
mov ecx, edi
call fcn.100c2ea0
test al, al
jne 0x100c38de
push 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x23], al
call sym.FileAssociate.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
lea eax, [edi + 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10017a10
mov byte [ebp - 4], 4
cmp dword [edi + 0x64], 0
jne 0x100c3744
cmp dword [edi + 0x1c], 0
je 0x100c3744
cmp byte [edi + 0x14], bl
jne 0x100c3744
mov ecx, dword [edi + 0x1c]
lea eax, [ebp - 0x23]
push eax
call fcn.100cc7e0
mov bl, al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.10017a40
cmp byte [ebp - 0x23], 0
jne 0x100c375a
test bl, bl
jne 0x100c3763
push 0
mov ecx, edi
call fcn.100c42b0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10017a40
mov al, bl
jmp 0x100c38e7
mov edi, dword [esi + 0x18]
test edi, edi
je 0x100c378d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, edi
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
push eax
mov ecx, edi
call fcn.1002a090
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp eax, dword [edi]
je 0x100c3826
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
lea ecx, [ebx + 0x68]
call fcn.1002a090
mov edi, dword [ebp - 0x20]
cmp edi, dword [ebx + 0x68]
je 0x100c382b
mov ebx, dword [edi + 0x14]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
je 0x100c3808
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100c3808
mov eax, dword [ebp - 0x18]
add eax, 0x20
push eax
push 0
push ebx
call fcn.100cdcf0
test al, al
je 0x100c3808
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
test ebx, ebx
je 0x100c3814
push ecx
mov ecx, ebx
call fcn.100c0f40
push edi
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x68]
call fcn.10099dd0
jmp 0x100c382d
mov edi, dword [ebp - 0x28]
jmp 0x100c382d
mov edi, ebx
mov ebx, dword [esi + 0x11c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x18], eax
cmp ebx, 1
je 0x100c3854
cmp ebx, 2
je 0x100c3854
cmp ebx, 4
je 0x100c384d
cmp ebx, 5
jne 0x100c3859
mov ebx, 0x68
jmp 0x100c3859
mov ebx, 0x66
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x7c]
call fcn.100c70e0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [edi + 8]
mov dword [edi], eax
lea eax, [ebp - 0x4c]
mov dword [edi + 4], 0
mov dword [edi + 0xc], ebx
mov edi, dword [ebp - 0x34]
mov ecx, edi
push esi
push eax
call fcn.100c72b0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100c364c
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100c38b1
mov eax, dword [eax]
test eax, eax
je 0x100c38aa
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2c], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 0x21], 1
mov byte [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10017a40
mov ebx, dword [ebp - 0x30]
jmp 0x100c3585
mov bl, 1
jmp 0x100c3765
xor al, al
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.101b075c
mov esp, ebp
pop ebp
ret