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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8a68
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10126008]
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 eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x58], edi
test edi, edi
je 0x10034085
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006e30
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027b50
mov dword [ebp - 4], 0
mov esi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp byte [esi + 0x20], 0
je 0x1003402a
mov edi, eax
nop word [eax + eax]
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, edi
cmp eax, dword [esi + 0x1c]
ja 0x10034027
cmp byte [esi + 0x20], 0
jne 0x10034010
mov edi, dword [ebp - 0x58]
push str.begin_transaction
lea ecx, [ebp - 0x38]
call fcn.10006740
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.10049000
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.10006730
mov byte [esi + 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027b80
test bl, bl
je 0x10034085
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push dword [ebp - 0x60]
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x100340a5
mov ecx, edi
call fcn.10044b50
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.100f1763
mov esp, ebp
pop ebp
ret 8
push str.select_last_insert_rowid___as_last_index
lea ecx, [ebp - 0x38]
call fcn.10006740
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.10015ce0
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 3
mov eax, dword [esi + 4]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10034182
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006e30
mov eax, dword [esi]
add eax, 0x2c
push eax
call fcn.10027b50
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100490b0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10027b80
test bl, bl
je 0x1003417f
cmp byte [ebp - 0x18], 0
jne 0x10034171
push str.last_index
lea ecx, [ebp - 0x7c]
call fcn.10006740
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.10043d90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.10006730
lea ecx, [ebp - 0x50]
call fcn.10006720
xor edx, edx
mov ecx, eax
call fcn.1003b640
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x50]
call fcn.10006730
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1003419a
push eax
jmp 0x1003418b
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1003419a
push ecx
call fcn.100717f0
add esp, 4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10006730
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006e30
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027b50
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x50]
mov esi, dword [edi]
push str.commit_transaction
call fcn.10006740
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.10049000
mov bl, al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.10006730
mov byte [esi + 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027b80
test bl, bl
je 0x1003407e
mov al, 1
jmp 0x10034087