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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x10244540]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov esi, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], 0
mov eax, dword [edi + 0x18]
mov ecx, eax
or ecx, 0xffffffbf
mov dword [esp + 0x18], ecx
test al, 0x10
je 0x100ca70e
push 0x20e17
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._db__mDbFlags__DBFLAG_SchemaKnownOk_0
call fcn.101aa953
add esp, 0xc
test esi, esi
js 0x100ca717
cmp esi, dword [edi + 0x14]
jl 0x100ca72e
push 0x20e18
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.iDb_0__iDb_db__nDb
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 0x10]
mov ecx, esi
shl ecx, 4
mov dword [esp + 0x10], ecx
cmp dword [ecx + eax + 0xc], 0
jne 0x100ca758
push 0x20e19
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db__aDb_iDb_.pSchema
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100ca7ac
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100ca788
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push dword [esp + 0x14]
call eax
add esp, 4
test eax, eax
jne 0x100ca7ac
push 0x20e1a
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.sqlite3_mutex_held_db__mutex_
call fcn.101aa953
add esp, 0xc
cmp esi, 1
je 0x100ca7dc
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + ecx + 4]
call fcn.100504e0
test eax, eax
jne 0x100ca7dc
push 0x20e1b
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.iDb1__sqlite3BtreeHoldsMutex_db__aDb_iDb_.pBt_
call fcn.101aa953
add esp, 0xc
mov ecx, str.sqlite_temp_master
mov byte [edi + 0xb1], 1
cmp esi, 1
mov dword [esp + 0x74], str.table
mov eax, str.sqlite_master
mov dword [esp + 0x80], 0x1021cbb8
cmove eax, ecx
mov dword [esp + 0x84], str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x74]
push 0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x90], 0
push 5
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.100ca260
mov eax, dword [esp + 0x28]
add esp, 0x10
and dword [edi + 0x18], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100caf05
mov esi, dword [edi + 0x10]
add esi, dword [esp + 0x10]
mov dword [esp + 0x30], esi
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x100ca8c6
cmp dword [esp + 0x20], 1
je 0x100ca8b4
push 0x20e3d
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.iDb1
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
or word [eax + 0x4e], 1
xor eax, eax
jmp 0x100caf25
call fcn.100501b0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100ca93a
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100ca92c
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100ca908
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push dword [esp + 0x18]
call eax
add esp, 4
test eax, eax
jne 0x100ca92c
push 0x12f55
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3_mutex_held_p__db__mutex_
call fcn.101aa953
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp byte [eax + 8], 0
jne 0x100caa61
mov ecx, dword [esi + 4]
xor edx, edx
push 0
call fcn.10056460
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x100caa59
mov ecx, eax
mov edx, str.unknown_error
mov dword [esp + 0x10], edx
sub ecx, 0x64
je 0x100ca997
sub ecx, 1
je 0x100ca990
sub ecx, 0x19f
je 0x100ca989
movzx eax, al
cmp eax, 0x1d
jae 0x100ca9a0
mov eax, dword [eax*4 + 0x101ed950]
test eax, eax
je 0x100ca9a0
mov edx, eax
jmp 0x100ca99c
mov edx, str.abort_due_to_ROLLBACK
jmp 0x100ca99c
mov edx, str.no_more_rows_available
jmp 0x100ca99c
mov edx, str.another_row_available
mov dword [esp + 0x10], edx
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ca9a5
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, edi
push eax
mov dword [esp + 0x20], eax
call fcn.10030d80
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x100ca9db
push dword [esp + 0x18]
push dword [esp + 0x14]
push eax
call fcn.10190960
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100caa39
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100caa15
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push dword [esp + 0x18]
call eax
add esp, 4
test eax, eax
jne 0x100caa39
push 0x7231
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db0__sqlite3_mutex_held_db__mutex_
call fcn.101aa953
add esp, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100caa4a
mov edx, eax
mov ecx, edi
call fcn.10030890
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x100caef1
mov dword [esp + 0x28], 1
lea eax, [esp + 0x50]
xor edi, edi
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov ecx, dword [esi + 4]
inc edi
push eax
mov edx, edi
call fcn.10063470
mov eax, dword [esp + 0x18]
add esp, 4
add eax, 4
mov dword [esp + 0x14], eax
cmp edi, 5
jl 0x100caa70
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
and eax, 0x2000000
or eax, 0
je 0x100caaac
xorps xmm0, xmm0
xor edx, edx
movaps xmmword [esp + 0x50], xmm0
jmp 0x100caab0
mov edx, dword [esp + 0x60]
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x50]
mov dword [ecx], eax
test edx, edx
je 0x100caadf
cmp dword [esp + 0x20], 0
jne 0x100cab16
test byte [edi + 0x18], 0x40
jne 0x100cab16
and dl, 3
mov eax, 1
movzx edx, dl
mov ecx, edi
cmove edx, eax
call fcn.100b2c60
mov ecx, dword [esi + 0xc]
mov al, byte [edi + 0x54]
mov byte [ecx + 0x4d], al
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x50], 0
jne 0x100cac0c
mov eax, dword [esp + 0x58]
test eax, eax
jns 0x100cabf1
cmp eax, 0x80000000
jne 0x100cabef
mov eax, bind
jmp 0x100cabfb
and edx, 3
cmp dl, byte [edi + 0x54]
je 0x100caadf
push 0
push 0x44
mov ecx, edi
call fcn.10030d80
mov ecx, eax
add esp, 8
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x100cab69
movups xmm0, xmmword [str.attached_databases_must_use_the_same_text_encoding_as_main_database]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x1021f470]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x1021f480]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x1021f490]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [0x1021f4a0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100cabc7
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100caba3
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push dword [esp + 0x24]
call eax
add esp, 4
test eax, eax
jne 0x100cabc7
push 0x7231
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db0__sqlite3_mutex_held_db__mutex_
call fcn.101aa953
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100cabd8
mov edx, eax
mov ecx, edi
call fcn.10030890
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [ecx], eax
jmp 0x100caeb9
neg eax
test eax, eax
mov edx, 0xfffff830
cmove eax, edx
mov dword [ecx + 0x50], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 0x50]
call fcn.100557b0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov byte [eax + 0x4c], cl
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x4c], 0
jne 0x100cac23
mov byte [eax + 0x4c], 1
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x4c], 4
jbe 0x100cace7
push 0
push 0x18
mov ecx, edi
call fcn.10030d80
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x100cac5d
movups xmm0, xmmword [str.unsupported_file_format]
movups xmmword [eax], xmm0
movq xmm0, qword [0x102260b8]
movq qword [eax + 0x10], xmm0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100cacbb
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100cac97
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push dword [esp + 0x24]
call eax
add esp, 4
test eax, eax
jne 0x100cacbb
push 0x7231
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db0__sqlite3_mutex_held_db__mutex_
call fcn.101aa953
add esp, 0xc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100cabd8
mov edx, eax
mov ecx, edi
call fcn.10030890
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [ecx], eax
jmp 0x100caeb9
cmp dword [esp + 0x20], 0
jne 0x100cacfd
cmp ecx, 4
jl 0x100cacfd
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfffffffd
mov dword [edi + 0x24], eax
cmp byte [edi + 0xb1], 0
jne 0x100cad1d
push 0x20eab
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db__init.busy
call fcn.101aa953
add esp, 0xc
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.100504e0
test eax, eax
jne 0x100cad42
push 0x10daf
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.sqlite3BtreeHoldsMutex_p_
call fcn.101aa953
add esp, 0xc
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
push dword [esp + 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x10]
push dword [eax + ecx*8]
push str.SELECTFROM__w_._s_ORDER_BY_rowid
push edi
call fcn.10033770
mov esi, dword [edi + 0x168]
lea ecx, [esp + 0x44]
push 0
push ecx
push fcn.100ca260
push eax
push edi
mov dword [esp + 0x50], eax
mov dword [edi + 0x168], 0
call fcn.100c2f60
add esp, 0x24
mov dword [edi + 0x168], esi
mov esi, dword [edi + 0xc]
test eax, eax
cmove eax, dword [esp + 0x40]
mov dword [esp + 0x14], eax
test esi, esi
je 0x100cadef
mov eax, dword [0x1024512c]
test eax, eax
jne 0x100cadce
push 0x6c13
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.p0__sqlite3GlobalConfig.mutex.xMutexHeld
call fcn.101aa953
mov eax, dword [0x1024512c]
add esp, 0xc
push esi
call eax
add esp, 4
test eax, eax
jne 0x100cadef
push 0x7231
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.db0__sqlite3_mutex_held_db__mutex_
call fcn.101aa953
add esp, 0xc
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x100cadfe
mov ecx, edi
call fcn.10030890
cmp dword [esp + 0x14], 0
jne 0x100cae10
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.100a31a0
mov eax, dword [edi + 0x10]
add eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
cmp esi, eax
je 0x100cae36
push 0x20ec5
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pDb___db__aDb_iDb__
call fcn.101aa953
add esp, 0xc
cmp byte [edi + 0x57], 0
je 0x100cae85
cmp dword [0x102451bc], 0
je 0x100cae4f
add dword [0x102549bc], 0x2a8ea
push 0x101f8cf4
push 0x20ec7
push 0x10236394
push str._s_at_line__d_of___.10s_
push 7
call fcn.10033a50
add esp, 0x14
mov dword [esp + 0x14], 7
mov ecx, edi
call fcn.100a6b70
mov esi, dword [edi + 0x10]
add esi, dword [esp + 0x10]
jmp 0x100caeb9
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100cae9f
mov eax, dword [edi + 0x20]
and eax, 0x8000000
or eax, 0
je 0x100caeb9
cmp ecx, 7
je 0x100caeb9
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov dword [esp + 0x14], 0
mov eax, dword [eax + ecx*8 + 0xc]
or word [eax + 0x4e], 1
cmp dword [esp + 0x28], 0
je 0x100caef1
mov eax, dword [esi + 4]
mov ecx, eax
mov dword [esp + 0x10], eax
call fcn.100501b0
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.10057660
test eax, eax
jne 0x100caee8
mov ecx, dword [esp + 0x10]
xor edx, edx
call fcn.10057990
mov ecx, dword [esp + 0x10]
call fcn.10050450
mov ecx, dword [esi + 4]
call fcn.10050450
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x100caf25
cmp eax, 7
je 0x100caf11
cmp eax, 0xc0a
jne 0x100caf18
mov ecx, edi
call fcn.10031340
mov edx, esi
mov ecx, edi
call fcn.100a6a30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x8c]
mov byte [edi + 0xb1], 0
pop edi
pop esi
xor ecx, esp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret