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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10244540]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 0x21], dl
mov ebx, dword [edi + 8]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 0x14]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x10061e64
mov eax, dword [0x1024512c]
test eax, eax
jne 0x10061e43
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 0x10061e64
push 0x106e3
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.cursorHoldsMutex_p_
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x14]
mov eax, dword [eax]
cmp eax, dword [ecx + 4]
je 0x10061e88
push 0x129cc
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.cursorOwnsBtShared_pCur_
call fcn.101aa953
add esp, 0xc
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0x14], 2
je 0x10061ea8
push 0x129cd
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pBt__inTransactionTRANS_WRITE
call fcn.101aa953
add esp, 0xc
test byte [esi + 0x18], 1
je 0x10061ec5
push 0x129ce
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._pBt__btsFlags__BTS_READ_ONLY_0
call fcn.101aa953
add esp, 0xc
test byte [edi + 1], 1
jne 0x10061ee2
push 0x129cf
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pCur__curFlags__BTCF_WriteFlag
call fcn.101aa953
add esp, 0xc
mov edx, dword [edi + 0x40]
xor eax, eax
cmp dword [edi + 0x70], eax
mov ecx, ebx
push 2
setne al
push eax
call fcn.10050980
add esp, 8
test eax, eax
jne 0x10061f15
push 0x129d0
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.hasSharedCacheTableLock_p__pCur__pgnoRoot__pCur__pKeyInfo_0__2_
call fcn.101aa953
add esp, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10061f5a
mov edx, dword [edi + 0x40]
cmp dword [ecx + 0x40], edx
jne 0x10061f3a
mov eax, dword [ecx + 8]
cmp eax, ebx
je 0x10061f3a
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
and eax, 0x400
je 0x10061f43
mov ecx, dword [ecx + 0x18]
test ecx, ecx
jne 0x10061f22
jmp 0x10061f5a
push 0x129d1
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._hasReadConflicts_p__pCur__pgnoRoot_
call fcn.101aa953
add esp, 0xc
test byte [ebp - 0x21], 0xf9
je 0x10061f77
push 0x129d2
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._flags___BTREE_SAVEPOSITION__BTREE_AUXDELETE__0
call fcn.101aa953
add esp, 0xc
mov al, byte [edi]
test al, al
je 0x10061fc2
cmp al, 3
jb 0x1006202b
mov ecx, edi
call fcn.100512a0
mov esi, eax
test esi, esi
jne 0x10062570
cmp dword [0x102450e0], eax
je 0x10061fb9
cmp byte [edi], al
je 0x10061fc2
push 0x129d6
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.rc_SQLITE_OK__CORRUPT_DB__pCur__eStateCURSOR_VALID
call fcn.101aa953
add esp, 0xc
cmp byte [edi], 0
jne 0x10062570
movsx eax, byte [edi + 0x44]
mov ebx, dword [edi + 0x74]
mov dword [ebp - 0x30], eax
movzx eax, word [edi + 0x46]
mov ecx, eax
movzx eax, word [ebx + 0x18]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
cmp eax, ecx
ja 0x10062072
cmp dword [0x102451bc], 0
je 0x10061ff7
add dword [0x102549bc], 0x2a8d5
push 0x101f8cf4
push 0x129e2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10033a50
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
cmp dword [0x102451bc], 0
je 0x1006203e
add dword [0x102549bc], 0x2a8d5
push 0x101f8cf4
push 0x129d9
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10033a50
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx ecx, cx
and ecx, eax
add ecx, dword [ebx + 0x38]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x28], ecx
jge 0x100620e7
mov ecx, ebx
call fcn.100536c0
test eax, eax
je 0x100620e4
cmp dword [0x102451bc], 0
je 0x100620b0
add dword [0x102549bc], 0x2a8d5
push 0x101f8cf4
push 0x129e6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10033a50
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
mov al, byte [ebp - 0x21]
shr al, 1
and al, 1
mov byte [ebp - 0x21], al
je 0x1006213f
cmp byte [ebx + 8], 0
je 0x10062130
mov eax, dword [ebx + 0x4c]
push ecx
push ebx
call eax
mov ecx, dword [ebp - 0x2c]
add esp, 8
movzx esi, ax
mov eax, 0xaaaaaaab
mov ecx, dword [ecx + 0x28]
add ecx, ecx
mul ecx
mov eax, dword [ebx + 0x14]
add eax, 2
shr edx, 1
add eax, esi
cmp eax, edx
jg 0x10062130
cmp word [ebx + 0x18], 1
je 0x10062130
mov byte [ebp - 0x21], 2
jmp 0x1006213f
mov ecx, edi
call fcn.10050ce0
test eax, eax
jne 0x10062572
cmp byte [ebx + 8], 0
jne 0x10062187
xor edx, edx
mov ecx, edi
call fcn.1005b5b0
mov esi, eax
cmp esi, 0x65
jne 0x1006217f
push 0x12a12
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.rc_SQLITE_DONE
call fcn.101aa953
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x10062570
test byte [edi + 1], 0x20
je 0x100621a4
mov edx, dword [edi + 0x40]
mov ecx, dword [ebp - 0x2c]
push edi
call fcn.10050f60
add esp, 4
test eax, eax
jne 0x10062572
cmp dword [edi + 0x70], 0
jne 0x100621c6
mov ecx, dword [ebp - 0x34]
cmp byte [ecx + 0xb], 0
je 0x100621c6
mov edx, dword [edi + 0x40]
push 0
push dword [edi + 0x24]
push dword [edi + 0x20]
call fcn.10050c50
add esp, 0xc
mov ecx, dword [ebx + 0x48]
call fcn.1004a1e0
test eax, eax
jne 0x10062572
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x50]
push esi
push ebx
call eax
movzx eax, word [ebp - 0x10]
add esp, 0xc
cmp eax, dword [ebp - 0x14]
je 0x10062202
lea eax, [ebp - 0x20]
mov edx, esi
push eax
mov ecx, ebx
call fcn.1005c790
add esp, 4
jmp 0x10062204
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov ecx, ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
movzx eax, word [ebp - 0xe]
push eax
call fcn.1005d040
mov esi, dword [ebp - 0x28]
add esp, 8
test esi, esi
jne 0x10062570
cmp byte [ebx + 8], 0
jne 0x10062381
mov esi, dword [edi + 0x74]
cmp dword [esi + 0x14], 0
jge 0x1006224a
mov ecx, esi
call fcn.100536c0
test eax, eax
jne 0x10062572
movsx eax, byte [edi + 0x44]
mov ecx, dword [ebp - 0x30]
dec eax
cmp ecx, eax
jge 0x1006225c
mov eax, dword [edi + ecx*4 + 0x7c]
jmp 0x1006225f
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 4]
movzx ecx, word [esi + 0x18]
mov edx, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x40]
mov ax, word [eax + ecx*2 - 2]
mov ch, al
mov cl, ah
movzx eax, word [esi + 0x1a]
movzx ecx, cx
and ecx, eax
lea eax, [edx + 4]
add ecx, edx
mov dword [ebp - 0x44], ecx
cmp ecx, eax
jae 0x100622d4
cmp dword [0x102451bc], 0
je 0x100622a0
add dword [0x102549bc], 0x2a8d5
push 0x101f8cf4
push 0x12a41
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.10033a50
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x4c]
push ecx
push esi
call eax
movzx ecx, ax
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov eax, dword [eax + 0x24]
sub eax, 8
cmp eax, ecx
jge 0x10062308
push 0x12a43
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.MX_CELL_SIZE_pBt____nCell
call fcn.101aa953
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1006232c
push 0x12a45
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pTmp_0
call fcn.101aa953
add esp, 0xc
mov ecx, dword [esi + 0x48]
call fcn.1004a1e0
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x10062360
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov ecx, ebx
push dword [ebp - 0x2c]
add eax, 4
push eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffffc
push eax
call fcn.1005d310
add esp, 0x14
movzx edx, word [esi + 0x18]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x34]
dec edx
mov ecx, esi
call fcn.1005d040
mov esi, dword [ebp - 0x28]
add esp, 8
test esi, esi
jne 0x10062570
mov eax, dword [edi + 0x74]
cmp byte [eax + 0xc], 0
je 0x100623a1
push 0x12a5d
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pCur__pPage__nOverflow0
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 0x74]
cmp dword [eax + 0x14], 0
jge 0x100623c1
push 0x12a5e
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pCur__pPage__nFree_0
call fcn.101aa953
add esp, 0xc
mov eax, dword [edi + 0x74]
mov eax, dword [eax + 0x14]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x28]
add eax, eax
cmp ecx, eax
jg 0x100623da
xor esi, esi
jmp 0x100623eb
mov ecx, edi
call fcn.10060870
mov esi, eax
test esi, esi
jne 0x10062570
movsx eax, byte [edi + 0x44]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jle 0x1006244d
mov ecx, dword [edi + 0x74]
call fcn.10054420
mov dl, byte [edi + 0x44]
mov esi, dword [ebp - 0x30]
dec dl
movsx eax, dl
mov byte [edi + 0x44], dl
cmp eax, esi
jle 0x1006242f
movsx eax, dl
dec dl
mov ecx, dword [edi + eax*4 + 0x78]
mov byte [edi + 0x44], dl
test ecx, ecx
je 0x10062425
call fcn.10054420
mov dl, byte [edi + 0x44]
movsx eax, dl
cmp eax, esi
jg 0x10062410
movsx eax, dl
mov ecx, edi
mov eax, dword [edi + eax*4 + 0x78]
mov dword [edi + 0x74], eax
call fcn.10060870
mov esi, eax
test esi, esi
jne 0x10062570
mov ecx, dword [ebp - 0x30]
cmp byte [ebp - 0x21], 1
jbe 0x10062521
movsx eax, byte [edi + 0x44]
cmp eax, ecx
je 0x1006247f
cmp dword [0x102450e0], 0
je 0x1006247f
push 0x12a72
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._pCur__iPageiCellDepth__CORRUPT_DB_
call fcn.101aa953
add esp, 0xc
cmp ebx, dword [edi + 0x74]
je 0x100624a4
cmp dword [0x102450e0], 0
je 0x100624a4
push 0x12a73
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pPagepCur__pPage__CORRUPT_DB
call fcn.101aa953
add esp, 0xc
movzx eax, word [ebx + 0x18]
mov ecx, eax
test ax, ax
jne 0x100624b8
cmp dword [0x102450e0], 0
jne 0x100624c0
mov eax, dword [ebp - 0x40]
cmp ax, cx
jbe 0x100624da
push 0x12a74
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str._pPage__nCell_0__CORRUPT_DB___iCellIdx_pPage__nCell
call fcn.101aa953
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov byte [edi], 2
cmp ax, word [ebx + 0x18]
jb 0x10062507
mov dword [edi + 4], 0xffffffff
mov ax, word [ebx + 0x18]
dec ax
mov word [edi + 0x46], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.10059850
cmp byte [ebp - 0x21], 0
mov esi, eax
mov dword [ebp - 0x44], esi
je 0x10062568
mov al, byte [edi + 0x44]
test al, al
js 0x10062565
xor esi, esi
test al, al
jle 0x10062556
lea ebx, [edi + 0x78]
mov ecx, dword [ebx]
call fcn.10054420
movsx eax, byte [edi + 0x44]
lea ebx, [ebx + 4]
inc esi
cmp esi, eax
jl 0x10062543
mov ecx, dword [edi + 0x74]
call fcn.10054420
mov esi, dword [ebp - 0x44]
mov byte [edi + 0x44], 0xff
mov byte [edi], 3
xor eax, eax
cmp esi, 0x10
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret