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

Disassembly:
sub esp, 0x38
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x4c]
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [ebx]
mov dword [esp + 0xc], ebp
jne 0x10055612
test eax, eax
je 0x10055dba
push edi
mov edi, dword [ebx + 0xf0]
test edi, edi
je 0x10055db9
test eax, eax
jne 0x1005563f
push dword [edi]
push ebp
call fcn.10074ad0
add esp, 8
test eax, eax
mov eax, dword [esp + 0x58]
je 0x1005563f
or dword [edi + 0x1c], 0x1000
cmp byte [ebp + 0xb1], 0
je 0x1005566e
test eax, eax
jne 0x1005572a
cmp byte [edi + 0x2b], al
je 0x10055710
cmp dword [ebp + 0xac], eax
jne 0x1005572a
mov eax, dword [ebp + 0xac]
mov dword [edi + 0x14], eax
mov ecx, dword [esp + 0x54]
push esi
test ecx, 0x10000
je 0x100556e5
or dword [edi + 0x1c], 0x10000
xor eax, eax
xor edx, edx
cmp ax, word [edi + 0x22]
jge 0x100556e5
xor ebp, ebp
nop
mov esi, dword [edi + 4]
add esi, ebp
mov ecx, dword [esi + 4]
mov eax, ecx
and eax, 0xf0
je 0x1005573f
cmp eax, 0x10
jne 0x100556ae
mov byte [esi + 8], 0x41
test byte [esi + 0xe], 1
je 0x100556d1
movsx eax, word [edi + 0x20]
cmp eax, edx
je 0x100556d1
test cl, 0xf
jne 0x100556d1
and ecx, 0xfffffff2
or ecx, 2
mov dword [esi + 4], ecx
or dword [edi + 0x1c], 0x800
movsx eax, word [edi + 0x22]
inc edx
add ebp, 0x10
cmp edx, eax
jl 0x10055690
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
lea esi, [edi + 0x1c]
test cl, cl
jns 0x100557b2
mov eax, dword [esi]
test al, 8
je 0x10055785
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ebx
call fcn.10055e80
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [ebp + 0xac]
mov dword [edi + 0x14], eax
cmp eax, 1
jne 0x1005566e
or dword [edi + 0x1c], eax
jmp 0x1005566e
push 0x100b342a
push ebx
call fcn.10055e80
add esp, 8
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
test byte [esi + 0xe], 4
je 0x1005576b
push 0x100b342a
push esi
call fcn.100512b0
push eax
push dword [esi]
push dword [edi]
push str.unknown_datatype_for__s._s:___s_
push ebx
call fcn.10055e80
add esp, 0x1c
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
push dword [esi]
push dword [edi]
push str.missing_datatype_for__s._s
push ebx
call fcn.10055e80
add esp, 0x10
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
test al, 4
jne 0x100557a1
push dword [edi]
push str.PRIMARY_KEY_missing_on_table__s
push ebx
call fcn.10055e80
add esp, 0xc
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
or eax, 0x280
push edi
push ebx
mov dword [esi], eax
call fcn.10025bf0
add esp, 8
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x10], 0xffff8000
mov dword [esp + 0x18], esi
test ecx, ecx
je 0x100557f3
mov eax, dword [ebp + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
cmp dword [eax], ecx
je 0x100557f3
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x100557e0
lea eax, [edi + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x1005583b
push eax
push 0
push 4
push edi
push ebx
call fcn.1006fd20
mov ecx, dword [esp + 0x2c]
add esp, 0x14
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x1c], ecx
je 0x1005583b
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1005582e
push eax
push ebp
call fcn.1002abf0
add esp, 8
mov dword [edi + 0x10], 0
mov ecx, esi
mov dword [esp + 0x1c], esi
test byte [ecx], 0x60
je 0x10055935
xor ecx, ecx
xor esi, esi
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], esi
cmp ax, word [edi + 0x22]
jge 0x10055918
xor ebp, ebp
nop
mov eax, dword [edi + 4]
test byte [eax + ebp + 0xe], 0x60
je 0x1005592e
movzx eax, word [eax + ebp + 0xc]
test ax, ax
jne 0x1005587c
xor eax, eax
jmp 0x100558a0
cmp byte [edi + 0x2b], 0
je 0x10055886
xor eax, eax
jmp 0x100558a0
mov ecx, dword [edi + 0x34]
test ecx, ecx
jne 0x10055891
xor eax, eax
jmp 0x100558a0
cmp dword [ecx], eax
jge 0x10055899
xor eax, eax
jmp 0x100558a0
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
push 0
push eax
push 8
push edi
push ebx
call fcn.1006fd20
add esp, 0x14
test eax, eax
je 0x100558fc
push 0
push 0x34
push dword [esp + 0x1c]
call fcn.10053d40
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100558e7
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esi], 0x79
or eax, 0xffffffff
mov dword [esi + 0x18], 1
mov word [esi + 0x22], ax
mov eax, dword [edi + 4]
push esi
add eax, ebp
push eax
push edi
push ebx
call fcn.100511e0
mov esi, dword [esp + 0x30]
add esp, 0x10
mov ecx, dword [esp + 0x18]
movsx eax, word [edi + 0x22]
inc esi
add ebp, 0x10
mov dword [esp + 0x20], esi
cmp esi, eax
jl 0x10055860
test ecx, ecx
jne 0x10055935
push str.must_have_at_least_one_non_generated_column
push ebx
call fcn.10055e80
add esp, 8
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
inc ecx
mov dword [esp + 0x18], ecx
jmp 0x10055900
movsx eax, word [edi + 0x22]
xor esi, esi
mov ecx, dword [edi + 4]
xor ebp, ebp
xor edx, edx
cmp eax, 2
jl 0x10055978
movsx ebx, word [edi + 0x22]
lea edx, [eax - 2]
shr edx, 1
inc edx
mov eax, edx
neg eax
lea ebx, [ebx + eax*2]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x4c]
movzx eax, byte [ecx + 9]
add esi, eax
movzx eax, byte [ecx + 0x19]
add ebp, eax
add ecx, 0x20
sub edx, 1
jne 0x10055960
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x10055980
movzx edx, byte [ecx + 9]
lea eax, [esi + ebp]
add eax, edx
cmp word [edi + 0x20], 0
push 0
lea ecx, [eax + 1]
cmovge ecx, eax
shl ecx, 2
push ecx
call fcn.10065880
mov esi, dword [edi + 8]
add esp, 8
mov word [edi + 0x28], ax
test esi, esi
je 0x100559c0
nop dword [eax]
push esi
call fcn.10027850
mov esi, dword [esi + 0x14]
add esp, 4
test esi, esi
jne 0x100559b0
mov esi, dword [esp + 0x14]
cmp byte [esi + 0xb1], 0
jne 0x10055d1d
mov ebp, dword [ebx + 8]
test ebp, ebp
jne 0x100559fc
cmp dword [ebx + 0x78], ebp
jne 0x100559e9
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x100559e9
mov byte [ebx + 0x17], 1
push ebx
call fcn.1007aff0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10055db8
mov ecx, dword [ebp + 0x6c]
cmp dword [ebp + 0x70], ecx
jg 0x10055a17
push 0
push 0
push 0
push 0x7a
push ebp
call fcn.10031c40
add esp, 0x14
jmp 0x10055a4a
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 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 [edi + 0x2b]
mov edx, str.TABLE
test al, al
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [esp + 0x4c], ecx
mov ecx, str.view
cmove ecx, edx
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x28], ecx
je 0x10055c33
cmp byte [ebx + 0xd4], 0
je 0x10055a97
inc dword [ebx + 0x24]
pop esi
pop edi
pop ebp
mov dword [ebx + 0xc], 1
pop ebx
add esp, 0x38
ret
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
push dword [esp + 0x10]
inc eax
mov dword [esp + 0x50], eax
inc eax
mov dword [esp + 0x1c], 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
push dword [ebx + 0x60]
push 1
push 0x71
push ebp
call fcn.1007aa20
mov eax, dword [ebp + 0x6c]
add esp, 0x14
test eax, eax
jle 0x10055ae5
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebp + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov dword [ebx + 0x28], 2
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x24], eax
inc eax
push eax
push 0
push dword [esp + 0x54]
push 0xb
push ebp
call fcn.1007aa20
add esp, 0x14
cmp dword [ebx + 0x24], 0
jne 0x10055db8
push 0x41
push dword [esp + 0x60]
push ebx
call fcn.1006fe00
add esp, 0xc
test eax, eax
je 0x10055db8
movzx ecx, word [eax + 0x22]
mov word [edi + 0x24], cx
mov word [edi + 0x22], cx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
xor ecx, ecx
mov word [eax + 0x22], cx
mov dword [eax + 4], ecx
cmp dword [esi + 0x210], ecx
jne 0x10055b50
add dword [eax + 0x18], 0xffffffff
jne 0x10055b5a
push eax
push esi
call fcn.10026fc0
add esp, 8
mov esi, dword [esp + 0x4c]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x60]
mov byte [esp + 0x34], 0xd
push ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.100712b0
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x10055db8
push esi
push ebp
call fcn.1007b580
push dword [esp + 0x2c]
push ebp
call fcn.10084d50
push dword [esp + 0x40]
push 0xc
push ebp
call fcn.1007a960
push dword [esp + 0x34]
mov esi, eax
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push 0x61
push ebp
call fcn.1007aa20
push 0
push edi
push ebp
call fcn.10076340
push dword [esp + 0x5c]
push 1
push 0x7f
push ebp
call fcn.1007a9c0
add esp, 0x4c
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push 0x80
push ebp
call fcn.1007aa20
push esi
push ebp
call fcn.10084800
push esi
push ebp
call fcn.10084d50
push 1
push 0x7a
push ebp
call fcn.1007a960
mov esi, dword [esp + 0x44]
push edi
push esi
call fcn.10026630
mov ecx, eax
add esp, 0x38
mov dword [esp + 0x4c], ecx
jmp 0x10055c75
cmp dword [esp + 0x58], 0
lea edx, [ebx + 0xc8]
jne 0x10055c44
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc0]
cmp byte [eax], 0x3b
je 0x10055c56
add ecx, dword [edx + 4]
push dword [ebx + 0xc0]
push ecx
push dword [esp + 0x54]
push str.CREATE__s__.s
push esi
call fcn.10065ac0
add esp, 0x14
mov dword [esp + 0x4c], eax
mov ecx, eax
push dword [ebx + 0x5c]
mov eax, dword [edi]
mov edx, dword [esp + 0x14]
push ecx
push dword [ebx + 0x60]
shl edx, 4
push eax
push eax
mov eax, dword [esi + 0x10]
push dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
push dword [eax + edx]
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.10066290
mov eax, dword [esp + 0x70]
add esp, 0x24
test eax, eax
je 0x10055cb5
push eax
push esi
call fcn.10053c30
add esp, 8
push dword [esp + 0x10]
push ebx
call fcn.1004f5e0
mov eax, dword [esp + 0x24]
add esp, 8
test byte [eax], 8
je 0x10055cf4
cmp byte [ebx + 0xd4], 0
jne 0x10055cf4
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x10055cf4
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebx
call fcn.10066290
add esp, 0xc
push 0
push dword [edi]
push str.tbl_name_q_AND_type_trigger
push esi
call fcn.10065ac0
add esp, 0xc
push eax
push dword [esp + 0x18]
push ebp
call fcn.1007ac40
add esp, 0x10
cmp byte [esi + 0xb1], 0
je 0x10055d8f
mov eax, dword [edi + 0x3c]
push edi
push dword [edi]
add eax, 8
push eax
call fcn.10061d50
add esp, 0xc
test eax, eax
je 0x10055d44
push esi
call fcn.100664c0
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret
mov dword [ebx + 0xf0], 0
mov ecx, str.sqlite_sequence
or dword [esi + 0x18], 1
mov eax, dword [edi]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10055d80
test dl, dl
je 0x10055d7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10055d80
add eax, 2
add ecx, 2
test dl, dl
jne 0x10055d60
xor eax, eax
jmp 0x10055d85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10055d8f
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x48], edi
cmp dword [esp + 0x5c], 0
jne 0x10055db8
cmp byte [edi + 0x2b], 0
jne 0x10055db8
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
jne 0x10055dac
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
sub eax, dword [ebx + 0xc0]
add eax, 0xd
mov dword [edi + 0x2c], eax
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x38
ret