Function at 0x10062880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
shl eax, 4
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov ecx, dword [esi]
mov ebx, dword [esi + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ecx
mov edi, dword [ecx + 0x10]
add edi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edi
lea eax, [esi + 0x74]
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0x100628e3
cmp dword [eax], ebx
jne 0x100628cf
test byte [ecx + 0x50], 8
jne 0x100628cf
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.10033b40
mov ebx, eax
mov dword [esp + 0x18], eax
lea eax, [esi + 0x74]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax]
test ecx, ecx
mov eax, 1
cmovne esi, ecx
mov ecx, dword [ebp + 8]
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x10062910
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x10062910
mov ecx, esi
call fcn.10066570
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x50]
or byte [esi + 0x14], 1
bts eax, ecx
mov dword [esi + 0x50], eax
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x2b], 1
jne 0x10062979
mov ecx, dword [ebx + 0x74]
cmp dword [ebx + 0x78], ecx
jg 0x10062946
push 0
push 0
push 0
mov edx, 0xa9
mov ecx, ebx
call fcn.10033da0
add esp, 0xc
jmp 0x10062979
lea eax, [ecx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4], 0xa9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.1008f6f0
mov esi, eax
test esi, esi
je 0x100629a4
mov edi, dword [esp + 0xc]
nop
mov edx, esi
mov ecx, edi
call fcn.10090f00
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x10062990
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
test byte [esi + 0x1c], 8
je 0x100629c3
push dword [esi]
push dword [edi]
push str.DELETE_FROM__Q.sqlite_sequence_WHERE_name_Q
push dword [esp + 0x18]
call fcn.1005d610
add esp, 0x10
push dword [esi]
push dword [edi]
mov edi, dword [esp + 0x14]
push str.DELETE_FROM__Q.sqlite_master_WHERE_tbl_name_Q_and_type_trigger
push edi
call fcn.1005d610
add esp, 0x10
cmp dword [ebp + 0xc], 0
jne 0x10062a6a
cmp byte [esi + 0x2b], 1
je 0x10062a74
mov ebx, esi
xor edx, edx
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
xor esi, esi
test edx, edx
je 0x10062a02
cmp eax, edx
jae 0x10062a04
mov esi, eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x10062a27
nop dword [eax + eax]
mov ecx, dword [eax + 0x2c]
test edx, edx
je 0x10062a1b
cmp ecx, edx
jae 0x10062a20
cmp ecx, esi
cmova esi, ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10062a10
test esi, esi
je 0x10062a62
mov edx, dword [ebx + 0x3c]
mov ecx, 0xffff8000
test edx, edx
je 0x10062a4d
mov eax, dword [edi]
xor ecx, ecx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x10062a4d
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x10062a45
push ecx
mov edx, esi
mov ecx, edi
call fcn.10062710
mov eax, dword [esp + 0x28]
add esp, 4
mov edx, esi
jmp 0x100629f8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x2b], 1
jne 0x10062b16
mov edx, dword [ebx + 0x74]
mov esi, dword [esi]
cmp dword [ebx + 0x78], edx
jg 0x10062a98
push 0
push 0
push dword [ebp + 8]
mov edx, 0xab
mov ecx, ebx
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x10062ace
mov edi, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0xab
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x10062ae3
push esi
xor edx, edx
call fcn.10034850
add esp, 4
jmp 0x10062b01
test edx, edx
jns 0x10062aeb
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
push 0
push esi
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.10034ac0
add esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov esi, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov edx, dword [ebx + 0x74]
mov esi, dword [esi]
cmp dword [ebx + 0x78], edx
jg 0x10062b3a
push 0
push 0
push dword [ebp + 8]
mov edx, 0x96
mov ecx, ebx
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x10062b70
mov edi, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebx + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0xc]
mov dword [eax + ecx*4], 0x96
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x57], 0
je 0x10062b85
push esi
xor edx, edx
call fcn.10034850
add esp, 4
jmp 0x10062ba3
test edx, edx
jns 0x10062b8d
mov edx, dword [ebx + 0x74]
dec edx
mov eax, dword [ebx + 0x70]
lea ecx, [edx + edx*4]
push 0
push esi
lea edx, [eax + ecx*4]
mov ecx, ebx
call fcn.10034ac0
add esp, 8
mov eax, dword [edi]
mov esi, dword [edi + 8]
mov edi, dword [esp + 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + edi + 0xc]
mov edx, dword [eax]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x10062bd5
push edx
push 1
push dword [ebp + 8]
mov edx, 0x63
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x10062c03
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov esi, dword [edi + eax + 0xc]
test byte [esi + 0x4e], 2
je 0x10062cc9
mov esi, dword [esi + 0x10]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x10062cb9
mov esi, dword [esi + 8]
cmp byte [esi + 0x2b], 2
jne 0x10062ca3
mov edi, dword [esi + 4]
test edi, edi
je 0x10062ca3
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 0x22]
jge 0x10062c5c
mov edx, dword [edi]
test edx, edx
je 0x10062c50
call fcn.1000f1f0
mov ecx, dword [esp + 0x14]
movsx eax, word [esi + 0x22]
inc ebx
add edi, 0x10
cmp ebx, eax
jl 0x10062c41
mov edx, dword [esi + 4]
test edx, edx
je 0x10062c68
call fcn.1000f1f0
mov al, byte [esi + 0x2b]
test al, al
jne 0x10062c82
mov edx, dword [esi + 0x34]
test edx, edx
je 0x10062c82
mov ecx, dword [esp + 0x14]
call fcn.1004d0f0
mov al, byte [esi + 0x2b]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x210], 0
jne 0x10062ca3
xor edx, edx
mov dword [esi + 4], 0
mov word [esi + 0x22], dx
test al, al
jne 0x10062ca3
mov dword [esi + 0x34], edx
mov esi, dword [esp + 0x1c]
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x10062c27
mov edi, dword [esp + 0x20]
mov eax, dword [ecx + 0x10]
mov ecx, 0xfffd
mov eax, dword [edi + eax + 0xc]
and word [eax + 0x4e], cx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret