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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x10244540]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [esp + 8], ebx
push edi
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], edi
cmp dword [ebx + 0x14], esi
je 0x100895ee
push 0x18470
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pIncr__bEof0
call fcn.101aa953
mov eax, dword [esp + 0x2c]
add esp, 0xc
push dword [esp + 0x1c]
mov eax, dword [eax + 8]
lea edx, [esp + 0x4c]
push dword [esp + 0x1c]
mov ecx, dword [ebx + 0x30]
push dword [eax + 0xc]
call fcn.100889d0
add esp, 0xc
nop dword [eax + eax]
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xc]
lea edi, [eax + ecx*8]
mov eax, dword [esp + 0x58]
cdq
add eax, dword [esp + 0x60]
mov dword [esp + 0x3c], edi
adc edx, dword [esp + 0x64]
cmp dword [edi + 0x18], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
je 0x100897a7
mov eax, dword [edi + 0x14]
mov ecx, 1
mov dword [esp + 0x38], eax
cdq
mov ebx, eax
mov dword [esp + 0x28], edx
mov esi, edx
mov dword [esp + 0x24], ebx
shrd eax, esi, 7
shr esi, 7
mov edi, eax
mov dword [esp + 0x34], eax
or eax, esi
je 0x100896aa
mov ebx, ecx
cmp ebx, 0xa
jl 0x10089690
push 0x86f9
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.i_10
call fcn.101aa953
add esp, 0xc
shrd edi, esi, 7
inc ebx
shr esi, 7
mov ecx, edi
or ecx, esi
jne 0x10089674
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, ecx
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0xc]
add esi, ebx
adc ecx, edi
add esi, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
adc ecx, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x18]
adc edx, dword [esp + 0x1c]
cmp ecx, edx
jg 0x1008979f
jl 0x100896e3
cmp esi, eax
ja 0x1008979f
test edi, edi
ja 0x10089722
jb 0x100896ee
cmp ebx, 0x7f
ja 0x100896fc
and bl, 0x7f
mov eax, 1
mov byte [esp + 0x70], bl
jmp 0x10089730
test edi, edi
ja 0x10089722
jb 0x1008970a
cmp ebx, 0x3fff
ja 0x10089722
mov eax, dword [esp + 0x34]
or al, 0x80
and bl, 0x7f
mov byte [esp + 0x70], al
mov eax, 2
mov byte [esp + 0x71], bl
jmp 0x10089730
push edi
push ebx
lea ecx, [esp + 0x78]
call fcn.10038a40
add esp, 8
push eax
lea edx, [esp + 0x74]
lea ecx, [esp + 0x4c]
call fcn.10088a80
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x4c]
add esp, 4
mov edx, dword [edx + 0x20]
push dword [esp + 0x38]
call fcn.10088a80
mov ebx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 4]
cmp dword [eax + 4], ecx
je 0x1008977f
push 0x18483
push str.L:DevGetDouYinCookieClientDll_srcLibrary_sqlite_sqlite3.c
push str.pIncr__pMerger__pTaskpTask
call fcn.101aa953
add esp, 0xc
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x44]
call fcn.10088f40
mov edi, dword [esp + 0x40]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x10089610
jmp 0x100897a7
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
lea edx, [ebx + 0x38]
lea ecx, [esp + 0x48]
call fcn.10088b70
mov ecx, dword [esp + 0x7c]
test esi, esi
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1018e7c9
mov esp, ebp
pop ebp
ret