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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8488
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 0x100338c5
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006eb0
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027df0
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 0x1003386a
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 0x10033867
cmp byte [esi + 0x20], 0
jne 0x10033850
mov edi, dword [ebp - 0x58]
push str.begin_transaction
lea ecx, [ebp - 0x38]
call fcn.100067c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.100489a0
mov bl, al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.100067b0
mov byte [esi + 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027e20
test bl, bl
je 0x100338c5
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 0x100338e5
mov ecx, edi
call fcn.100444f0
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.100f11c3
mov esp, ebp
pop ebp
ret 8
push str.select_last_insert_rowid___as_last_index
lea ecx, [ebp - 0x38]
call fcn.100067c0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x20]
call fcn.10015d70
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 0x100339c2
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006eb0
mov eax, dword [esi]
add eax, 0x2c
push eax
call fcn.10027df0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10048a50
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10027e20
test bl, bl
je 0x100339bf
cmp byte [ebp - 0x18], 0
jne 0x100339b1
push str.last_index
lea ecx, [ebp - 0x7c]
call fcn.100067c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.10043720
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x7c]
call fcn.100067b0
lea ecx, [ebp - 0x50]
call fcn.10006770
xor edx, edx
mov ecx, eax
call fcn.1003afa0
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.100067b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100339da
push eax
jmp 0x100339cb
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100339da
push ecx
call fcn.100711f0
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.100067b0
push ecx
lea ecx, [ebp - 0x14]
call fcn.10006eb0
mov eax, dword [edi]
add eax, 0x2c
push eax
call fcn.10027df0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x50]
mov esi, dword [edi]
push str.commit_transaction
call fcn.100067c0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.100489a0
mov bl, al
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x50]
call fcn.100067b0
mov byte [esi + 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10027e20
test bl, bl
je 0x100338be
mov al, 1
jmp 0x100338c7