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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp dword [ebp + 8], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [esp + 0x28], edx
push esi
push edi
mov dword [esp + 0x18], ebx
mov edi, dword [ebx]
mov dword [esp + 0x10], edi
jne 0x46381d
test eax, eax
je 0x464358
mov esi, dword [ebx + 0xf4]
test esi, esi
je 0x464358
test eax, eax
jne 0x463894
mov eax, dword [esi]
push 0x5f
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.VCRUNTIME140.dll_strrchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x46388d
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0
mov byte [edi], 0
call fcn.00460060
add esp, 4
mov byte [edi], 0x5f
mov edi, dword [esp + 0x10]
test eax, eax
je 0x463891
cmp byte [eax + 0x2b], 1
jne 0x463891
push dword [esp + 0x24]
mov edx, eax
mov ecx, edi
call fcn.00463760
add esp, 4
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x463894
or dword [esi + 0x1c], 0x1000
jmp 0x463894
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x10]
cmp byte [edi + 0xb1], 0
je 0x4638c3
test eax, eax
jne 0x46397f
cmp byte [esi + 0x2b], al
je 0x463965
cmp dword [edi + 0xac], eax
jne 0x46397f
mov eax, dword [edi + 0xac]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
test eax, 0x10000
je 0x46393d
or dword [esi + 0x1c], 0x10000
xor ecx, ecx
xor edi, edi
cmp cx, word [esi + 0x22]
jge 0x463939
mov dword [esp + 0x24], ecx
mov edx, dword [esi + 4]
add edx, ecx
mov ecx, dword [edx + 4]
test cl, 0xf0
je 0x463994
mov eax, ecx
and al, 0xf0
cmp al, 0x10
jne 0x4638ff
mov byte [edx + 8], 0x41
test byte [edx + 0xe], 1
je 0x463922
movsx eax, word [esi + 0x20]
cmp eax, edi
je 0x463922
test cl, 0xf
jne 0x463922
and ecx, 0xfffffff2
or ecx, 2
mov dword [edx + 4], ecx
or dword [esi + 0x1c], 0x800
mov ecx, dword [esp + 0x24]
inc edi
movsx eax, word [esi + 0x22]
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp edi, eax
jl 0x4638e2
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x10]
test al, al
jns 0x463a0c
mov eax, dword [esi + 0x1c]
test al, 8
je 0x4639e0
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ebx
call fcn.00417860
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xac]
mov dword [esi + 0x14], eax
cmp eax, 1
jne 0x4638c3
or dword [esi + 0x1c], eax
jmp 0x4638c3
push 0x4ff790
push ebx
call fcn.00417860
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [edx + 0xe], 4
mov edi, dword [edx]
je 0x4639c8
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4639a1
sub ecx, edx
lea eax, [ecx + 1]
add eax, edi
push eax
push edi
push dword [esi]
push str.unknown_datatype_for__s._s:___s_
push ebx
call fcn.00417860
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi]
push str.missing_datatype_for__s._s
push ebx
call fcn.00417860
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x4639fb
push dword [esi]
push str.PRIMARY_KEY_missing_on_table__s
push ebx
call fcn.00417860
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0x280
mov edx, esi
mov ecx, ebx
mov dword [esi + 0x1c], eax
call fcn.00463280
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x14], 0xffff8000
test ecx, ecx
je 0x463a3c
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x14], edx
cmp dword [eax], ecx
je 0x463a3c
nop dword [eax + eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x463a30
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x463a6f
push eax
push 0
push 4
mov edx, esi
mov ecx, ebx
call fcn.0044d550
add esp, 0xc
cmp dword [ebx + 0x24], 0
je 0x463a6f
mov edx, dword [esi + 0x10]
test edx, edx
je 0x463a68
mov ecx, edi
call fcn.00450000
mov dword [esi + 0x10], 0
test byte [esi + 0x1c], 0x60
je 0x463b80
xor edx, edx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
cmp ax, word [esi + 0x22]
jge 0x463b64
xor edi, edi
mov dword [esp + 0x24], edi
nop word [eax + eax]
mov eax, dword [esi + 4]
test byte [edi + eax + 0xe], 0x60
je 0x463b79
movzx eax, word [edi + eax + 0xc]
test ax, ax
jne 0x463abc
xor eax, eax
jmp 0x463ae0
cmp byte [esi + 0x2b], 0
je 0x463ac6
xor eax, eax
jmp 0x463ae0
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x463ad1
xor eax, eax
jmp 0x463ae0
cmp dword [ecx], eax
jge 0x463ad9
xor eax, eax
jmp 0x463ae0
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
push 0
push eax
push 8
mov edx, esi
mov ecx, ebx
call fcn.0044d550
add esp, 0xc
test eax, eax
je 0x463b40
mov ecx, dword [esp + 0x10]
push 0
push 0x34
call fcn.00413890
mov edi, eax
add esp, 8
test edi, edi
je 0x463b29
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 0x79
or eax, 0xffffffff
mov dword [edi + 0x18], 1
mov word [edi + 0x22], ax
mov eax, dword [esi + 4]
mov edx, esi
push edi
mov edi, dword [esp + 0x28]
mov ecx, ebx
add eax, edi
push eax
call fcn.004608b0
add esp, 8
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
movsx eax, word [esi + 0x22]
inc ecx
add edi, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edi
cmp ecx, eax
jl 0x463aa0
test edx, edx
jne 0x463b80
push str.must_have_at_least_one_non_generated_column
push ebx
call fcn.00417860
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edx
mov dword [esp + 0x20], edx
jmp 0x463b48
movsx edx, word [esi + 0x22]
xor eax, eax
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x20], eax
cmp edx, 2
jl 0x463bce
movsx ebx, word [esi + 0x22]
add edx, 0xfffffffe
shr edx, 1
inc edx
mov eax, edx
neg eax
lea ebx, [ebx + eax*2]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x18]
nop dword [eax]
movzx eax, byte [ecx + 9]
add edi, eax
movzx eax, byte [ecx + 0x19]
add dword [esp + 0x20], eax
add ecx, 0x20
sub edx, 1
jne 0x463bb0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test edx, edx
jle 0x463bd8
movzx ecx, byte [ecx + 9]
jmp 0x463bda
xor ecx, ecx
add eax, edi
add eax, ecx
cmp word [esi + 0x20], 0
push 0
lea ecx, [eax + 1]
cmovge ecx, eax
shl ecx, 2
push ecx
call fcn.00418cc0
mov edi, dword [esi + 8]
add esp, 8
mov word [esi + 0x28], ax
test edi, edi
je 0x463c10
mov ecx, edi
call fcn.004630b0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x463c02
mov edi, dword [esp + 0x10]
mov al, byte [edi + 0xb1]
test al, al
jne 0x4642ca
mov edi, dword [ebx + 8]
test edi, edi
jne 0x463c4b
cmp dword [ebx + 0x78], edi
jne 0x463c3a
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x463c3a
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00436f50
mov edi, eax
test edi, edi
je 0x464358
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x463c6a
push 0
push 0
push 0
mov edx, 0x7a
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x463c9d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
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 al, byte [esi + 0x2b]
mov edx, str.TABLE
test al, al
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [esp + 0x28], ecx
mov ecx, str.view
cmove ecx, edx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x2c], ecx
je 0x46416d
cmp byte [ebx + 0xd8], 0
je 0x463ce8
inc dword [ebx + 0x24]
mov dword [ebx + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x20], eax
inc eax
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x60]
cmp dword [edi + 0x70], ecx
jg 0x463d2e
push dword [esp + 0x14]
mov ecx, edi
push edx
push 1
mov edx, 0x71
call fcn.00437140
add esp, 0xc
jmp 0x463d61
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x463d78
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov dword [ebx + 0x28], 2
mov eax, dword [edi + 0x6c]
lea edx, [eax + 1]
mov dword [esp + 0x28], edx
cmp dword [edi + 0x70], eax
jg 0x463da6
push edx
push 0
push dword [esp + 0x24]
mov edx, 0xb
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x463dd6
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [edi + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebx + 0x24], 0
jne 0x464358
mov edx, dword [ebp + 0x10]
mov ecx, ebx
push 0x41
call fcn.00485e90
add esp, 4
test eax, eax
je 0x464358
movzx ecx, word [eax + 0x22]
mov word [esi + 0x24], cx
mov word [esi + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
xor ecx, ecx
mov word [eax + 0x22], cx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x210], 0
jne 0x463e25
add dword [eax + 0x18], 0xffffffff
jne 0x463e2c
mov edx, eax
call fcn.00460b40
mov eax, dword [esp + 0x1c]
mov ecx, ebx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x38], 0xd
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.0048cfc0
add esp, 4
cmp dword [ebx + 0x24], 0
jne 0x464358
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x463e96
push 0
push 0
push dword [esp + 0x24]
mov edx, 0x44
mov ecx, edi
call fcn.00437140
add esp, 0xc
jmp 0x463ec9
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [edi + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x463eec
mov eax, 0x5160e0
jmp 0x463efc
mov eax, dword [esp + 0x28]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xfffffff4
mov dword [eax], edx
mov edx, dword [edi + 0x6c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edx
cmp dword [edi + 0x70], edx
jg 0x463f2c
push 0
push 0
push eax
mov edx, 0xc
mov ecx, edi
call fcn.00437140
add esp, 0xc
mov dword [esp + 0x1c], eax
jmp 0x463f5f
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
cmp dword [edi + 0x70], ecx
jg 0x463f8a
push dword [esp + 0x20]
mov ecx, edi
push edx
push eax
mov edx, 0x61
call fcn.00437140
add esp, 0xc
jmp 0x463fbd
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0
mov edx, esi
mov ecx, edi
call fcn.00472b30
mov ecx, dword [edi + 0x6c]
add esp, 4
cmp dword [edi + 0x70], ecx
jg 0x463ff0
push 0
push dword [esp + 0x28]
mov edx, 0x7f
mov ecx, edi
push 1
call fcn.00437140
mov edx, dword [esp + 0x30]
add esp, 0xc
jmp 0x464023
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x464043
push edx
push dword [esp + 0x24]
mov edx, 0x80
mov ecx, edi
push 1
call fcn.00437140
add esp, 0xc
jmp 0x464076
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x46409b
push 0
push dword [esp + 0x20]
mov edx, 9
mov ecx, edi
push 0
call fcn.00437140
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x4640ce
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4640e4
mov eax, 0x5160d8
jmp 0x4640ed
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x464127
push 0
push 0
push 1
mov edx, 0x7a
mov ecx, edi
call fcn.00437140
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.00462db0
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4641b0
lea eax, [ecx + 1]
mov edx, esi
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], 1
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 + 0x10]
call fcn.00462db0
mov ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x4641b0
cmp dword [ebp + 0xc], 0
lea edx, [ebx + 0xcc]
jne 0x46417c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc4]
cmp byte [eax], 0x3b
je 0x46418e
add ecx, dword [edx + 4]
push dword [ebx + 0xc4]
push ecx
push dword [esp + 0x30]
push str.CREATE__s__.s
push dword [esp + 0x20]
call fcn.00416840
add esp, 0x14
mov dword [esp + 0x24], eax
mov ecx, eax
push dword [ebx + 0x5c]
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
push ecx
push dword [ebx + 0x60]
shl edx, 4
push eax
push eax
mov eax, dword [esp + 0x24]
push dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0x10]
push dword [edx + eax]
push str.UPDATE__Q.sqlite_master_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ebx
call fcn.0045ff40
add esp, 0x24
push dword [esp + 0x24]
push dword [esp + 0x14]
call fcn.00413560
mov eax, dword [ebx]
add esp, 8
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0x6c]
inc edx
mov dword [esp + 0x2c], eax
cmp dword [ecx + 0x70], eax
jg 0x46422b
push edx
push 1
push dword [esp + 0x1c]
mov edx, 0x64
call fcn.00437140
add esp, 0xc
jmp 0x464264
mov ebx, dword [esp + 0x14]
inc eax
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
test byte [esi + 0x1c], 8
je 0x464297
cmp byte [ebx + 0xd8], 0
jne 0x464297
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x10]
add ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x464297
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebx
call fcn.0045ff40
add esp, 0xc
push 0
push ecx
push dword [esi]
push str.tbl_name_q_AND_type_trigger
push dword [esp + 0x20]
call fcn.00416840
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, edi
push eax
call fcn.00437610
mov edi, dword [esp + 0x18]
add esp, 8
mov al, byte [edi + 0xb1]
test al, al
je 0x464331
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi]
push esi
lea ecx, [ecx + 8]
call fcn.00418f90
add esp, 4
test eax, eax
je 0x4642ed
mov ecx, edi
call fcn.00413c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0xf4], 0
mov ecx, str.sqlite_sequence
or dword [edi + 0x18], 1
mov eax, dword [esi]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x464322
test dl, dl
je 0x46431e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x464322
add eax, 2
add ecx, 2
test dl, dl
jne 0x464302
xor eax, eax
jmp 0x464327
sbb eax, eax
or eax, 1
test eax, eax
jne 0x464331
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x48], esi
cmp dword [ebp + 0x10], 0
jne 0x464358
cmp byte [esi + 0x2b], 0
jne 0x464358
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test eax, eax
jne 0x46434c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
sub eax, dword [ebx + 0xc4]
add eax, 0xd
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret