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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f86d8
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 0x10033cc5
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006de0
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027740
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 0x10033c6a
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 0x10033c67
cmp byte [esi + 0x20], 0
jne 0x10033c50
mov edi, dword [ebp - 0x58]
push str.begin_transaction
lea ecx, [ebp - 0x38]
call fcn.100066f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.10048c50
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.100066e0
mov byte [esi + 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027770
test bl, bl
je 0x10033cc5
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 0x10033ce5
mov ecx, edi
call fcn.100447a0
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.100f13e3
mov esp, ebp
pop ebp
ret 8
push str.select_last_insert_rowid___as_last_index
lea ecx, [ebp - 0x38]
call fcn.100066f0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.10015950
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 0x10033dc2
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006de0
mov eax, dword [esi]
add eax, 0x2c
push eax
call fcn.10027740
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10048d00
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10027770
test bl, bl
je 0x10033dbf
cmp byte [ebp - 0x18], 0
jne 0x10033db1
push str.last_index
lea ecx, [ebp - 0x7c]
call fcn.100066f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.100439e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.100066e0
lea ecx, [ebp - 0x50]
call fcn.100066d0
xor edx, edx
mov ecx, eax
call fcn.1003b290
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.100066e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10033dda
push eax
jmp 0x10033dcb
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10033dda
push ecx
call fcn.10071450
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.100066e0
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006de0
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027740
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x50]
mov esi, dword [edi]
push str.commit_transaction
call fcn.100066f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.10048c50
mov bl, al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.100066e0
mov byte [esi + 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027770
test bl, bl
je 0x10033cbe
mov al, 1
jmp 0x10033cc7