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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
xor eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x14], esi
cmp dword [edi + 0x40], eax
jne 0x1008c16c
cmp byte [esi + 0x41], al
jne 0x1008c16c
mov eax, dword [ebp + 0xc]
mov ebx, edi
call fcn.10042fa0
mov dword [esp + 0x10], eax
test eax, eax
je 0x1008c162
push 0
mov esi, eax
push 0
push 0x6d
mov edx, esi
mov eax, edi
call fcn.10024910
mov dword [esp + 0x74], eax
xor eax, eax
add esp, 0xc
cmp dword [esi + 0xc], eax
push esi
setne al
mov dword [esp + 0x64], eax
mov eax, edi
call fcn.10056c00
add esp, 4
test eax, eax
jne 0x1008c162
xor ecx, ecx
cmp dword [esp + 0x68], ecx
mov eax, edi
setne cl
push ecx
mov ecx, esi
call fcn.100351a0
add esp, 4
test eax, eax
jne 0x1008c162
mov ecx, dword [esp + 0x14]
mov ebx, esi
mov esi, dword [ebx + 0x44]
call fcn.10012bc0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x1c], eax
shl eax, 4
mov eax, dword [eax + ecx]
push eax
push 0
push edx
push 9
mov eax, edi
call fcn.100396f0
add esp, 0x10
mov dword [esp + 0x58], eax
cmp eax, 1
je 0x1008c162
mov esi, dword [edi + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], esi
inc dword [edi + 0x44]
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0x44]
xor edx, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x5c], edx
test eax, eax
je 0x1008be11
inc ecx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x1008be01
mov dword [esp + 0x5c], edx
cmp dword [esp + 0x60], 0
je 0x1008be2e
mov ecx, dword [edi + 0x1ec]
mov edx, dword [ebx]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ecx
mov dword [edi + 0x1ec], edx
mov eax, edi
call fcn.1003c530
mov dword [esp + 0x20], eax
test eax, eax
je 0x1008c162
cmp byte [edi + 0x12], 0
jne 0x1008be4b
or dword [eax + 0x58], 0x10
mov ecx, dword [esp + 0x1c]
push 1
mov edx, edi
call fcn.10077fb0
add esp, 4
cmp dword [esp + 0x60], 0
je 0x1008be79
mov eax, dword [ebp + 0x10]
push esi
push eax
push ebx
push edi
call fcn.10077e60
add esp, 0x10
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea esi, [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ecx
call fcn.10048610
test eax, eax
jne 0x1008c162
mov edx, dword [esp + 0x14]
test byte [edx + 0x18], 0x80
mov ebx, dword [esp + 0x20]
je 0x1008bf02
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
push eax
push 0
push 0x19
mov esi, ebx
mov dword [esp + 0x70], eax
call fcn.1003a180
add esp, 0xc
cmp dword [esp + 0x58], 0
jne 0x1008bfbf
cmp dword [ebp + 0x10], 0
jne 0x1008bfbf
cmp dword [esp + 0x68], 0
jne 0x1008bfbf
mov esi, dword [esp + 0x10]
test byte [esi + 0x2c], 0x10
jne 0x1008bfc3
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x1008bf4c
push 0
push 0
push esi
call fcn.10026eb0
add esp, 0xc
test eax, eax
jne 0x1008bfc3
mov ecx, dword [esi]
mov edx, dword [esi + 0x20]
mov ebx, dword [esp + 0x1c]
push ecx
push 1
push edx
mov eax, edi
call fcn.10035b70
add esp, 0xc
test byte [esi + 0x2c], 0x20
jne 0x1008bf8e
mov edx, dword [esp + 0x64]
mov eax, esi
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
push 0xfffffffffffffffe
push ecx
push edx
mov edx, dword [eax + 0x20]
mov ecx, ebx
push ecx
push edx
push 0x76
call fcn.1003f5a0
mov esi, dword [esp + 0x28]
add esp, 0x18
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1008c4da
mov esi, dword [esp + 0x20]
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x28]
push eax
push ecx
push 0x76
call fcn.1003a180
mov ebx, dword [ebx + 0x14]
add esp, 0xc
test ebx, ebx
jne 0x1008bfa0
jmp 0x1008c4da
mov esi, dword [esp + 0x10]
test byte [esi + 0x2c], 0x20
jne 0x1008bff5
mov eax, 1
add dword [edi + 0x48], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0x1c
mov esi, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x78], eax
call fcn.1003a180
add esp, 0xc
jmp 0x1008c046
mov eax, dword [esp + 0x10]
call fcn.10013030
movzx ecx, word [eax + 0x2e]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x38], ecx
movsx ecx, cx
lea edx, [eax + 1]
add eax, ecx
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x44]
push ecx
mov dword [esp + 0x50], edx
push eax
lea edx, [eax + 1]
push 0x39
mov esi, ebx
mov dword [esp + 0x48], eax
mov dword [edi + 0x44], edx
call fcn.1003a180
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
add esp, 0xc
mov eax, edi
call fcn.100527a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
inc eax
push eax
push 0xc
push 0
push 0
push ecx
push edx
push edi
call fcn.10074990
add esp, 0x1c
mov dword [esp + 0x58], eax
test eax, eax
je 0x1008c162
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x18], 0x80
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], eax
je 0x1008c0a2
mov edx, dword [esp + 0x64]
push 1
push edx
push 0x25
mov esi, ebx
call fcn.1003a180
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x1008c0f6
movsx eax, word [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x1008c0e8
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
lea ecx, [esi + eax]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x10]
movsx ebx, word [eax + esi*2]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.10059890
movsx eax, word [esp + 0x48]
inc esi
add esp, 0x10
cmp esi, eax
jl 0x1008c0b4
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
jmp 0x1008c121
mov eax, dword [edi + 0x48]
mov edx, dword [esp + 0x2c]
inc eax
push 0
push eax
mov eax, dword [esp + 0x18]
push edx
push 0xffffffffffffffff
push eax
mov eax, edi
call fcn.1005ce30
add esp, 0x14
cmp eax, dword [edi + 0x48]
mov dword [esp + 0x18], eax
jle 0x1008c121
mov ecx, eax
mov dword [edi + 0x48], ecx
cmp dword [esp + 0x1c], 0
je 0x1008c233
movzx edx, word [esp + 0x38]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x50], edx
cdq
push edx
push eax
call fcn.10028800
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
jne 0x1008c1c6
mov eax, dword [esp + 0x58]
push eax
call fcn.1003b2a0
add esp, 4
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
xor eax, eax
mov ecx, dword [esp + 0x74]
cmp ecx, eax
je 0x1008c17e
mov eax, dword [esp + 0x70]
mov dword [ecx + 0x1ec], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, esi
call fcn.1002b050
mov edx, dword [ebp + 0x10]
add esp, 4
push edx
push esi
call fcn.100316b0
add esp, 8
test ebx, ebx
je 0x1008c581
test esi, esi
je 0x1008c578
cmp dword [esi + 0x208], 0
je 0x1008c54d
mov eax, ebx
mov ecx, esi
call fcn.10022ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x5c]
inc ecx
push ecx
push 1
push esi
call fcn.10004b00
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
add esp, 0xc
mov byte [edx + esi + 1], 0
test eax, eax
jl 0x1008c1f3
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x7c]
test eax, eax
jl 0x1008c203
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
cmp dword [esp + 0x40], 0
je 0x1008c21e
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
call fcn.1003f340
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x20]
push 0x10
mov esi, ebx
call fcn.1003a230
add esp, 4
mov dword [esp + 0x48], eax
jmp 0x1008c2b5
cmp dword [esp + 0x24], 0
je 0x1008c294
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], eax
movsx eax, word [esp + 0x38]
push eax
mov dword [esp + 0x44], eax
push ecx
mov eax, ebx
mov dword [esp + 0x58], 0
call fcn.1002adb0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
add esp, 4
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push 0x31
mov esi, ebx
call fcn.1003f5a0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
push ecx
push edx
push 0x6e
call fcn.1003a180
add esp, 0x24
jmp 0x1008c2b5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
push 0x80
mov esi, ebx
mov dword [esp + 0x5c], 1
call fcn.1003a180
add esp, 0xc
mov edx, dword [esp + 0x58]
push edx
call fcn.1003b2a0
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x1008c2ee
mov eax, ebx
call fcn.10037070
push eax
push 0
push 0x10
mov esi, ebx
mov dword [esp + 0x3c], eax
call fcn.1003a180
mov eax, dword [esp + 0x54]
add esp, 0xc
mov edx, ebx
call fcn.1001c180
cmp dword [esp + 0x60], 0
jne 0x1008c319
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0x37
push ecx
push edi
call fcn.10056380
add esp, 0x1c
cmp dword [esp + 0x1c], 0
je 0x1008c351
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
cmp byte [edx + eax], 0
je 0x1008c39d
movsx ecx, word [esp + 0x50]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
push eax
push 0x44
mov eax, ebx
call fcn.1003f420
add esp, 0x14
jmp 0x1008c39d
cmp dword [esp + 0x24], 0
mov esi, ebx
je 0x1008c380
mov edx, dword [esp + 0x3c]
push edx
push 0x6c
call fcn.1003a1e0
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push 0x65
call fcn.1003a180
add esp, 0x14
jmp 0x1008c39d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x6c]
push edx
push 0
push eax
push 0x81
call fcn.100370c0
add esp, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
je 0x1008c3f2
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.10012890
mov esi, eax
push edx
mov eax, edi
call fcn.1005b420
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0xfffffffffffffff6
push esi
push ecx
push 1
push 0
push 0xf
mov esi, ebx
call fcn.1003f5a0
mov eax, dword [ebx + 4]
add esp, 0x18
test eax, eax
je 0x1008c3e9
mov ecx, dword [ebx + 0x20]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 2
mov ecx, edi
call fcn.10012d90
jmp 0x1008c42a
cmp byte [edi + 0x12], 0
mov ecx, dword [esp + 0x1c]
push ecx
push 0xa
sete dl
movzx ecx, dl
mov edx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x80]
push ecx
push edx
push eax
push edi
call fcn.1008b960
add esp, 0x28
cmp dword [esp + 0x1c], 0
je 0x1008c442
mov eax, dword [esp + 0x30]
push eax
mov ecx, ebx
call fcn.10014570
add esp, 4
jmp 0x1008c476
cmp dword [esp + 0x24], 0
mov esi, ebx
je 0x1008c45a
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
inc ecx
push ecx
push edx
push 9
jmp 0x1008c463
mov eax, dword [esp + 0x34]
push eax
push 0
push 0x10
call fcn.1003a180
mov eax, dword [esp + 0x40]
add esp, 0xc
mov edx, ebx
call fcn.1001c180
cmp dword [esp + 0x60], 0
jne 0x1008c4da
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x10
jne 0x1008c4da
cmp dword [esp + 0x24], 0
jne 0x1008c49f
mov edx, dword [esp + 0x44]
push edx
push 0x3d
mov esi, ebx
call fcn.1003a1e0
add esp, 8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
test eax, eax
je 0x1008c4da
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x30]
push edx
push 0x3d
mov esi, ebx
call fcn.1003a1e0
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
inc dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x1008c4b6
cmp byte [edi + 0x12], 0
jne 0x1008c4f2
cmp dword [edi + 0x19c], 0
jne 0x1008c4f2
push edi
call fcn.10056560
add esp, 4
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x18], 0x80
je 0x1008c546
cmp byte [edi + 0x12], 0
jne 0x1008c546
cmp dword [edi + 0x19c], 0
jne 0x1008c546
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x20]
push 1
push edx
push 0x23
call fcn.1003a180
add esp, 0xc
push 1
mov ebx, esi
call fcn.10039fd0
add esp, 4
push 0
push 0
push 0
mov ebx, str.rows_deleted
mov ecx, esi
call fcn.10044630
add esp, 0xc
jmp 0x1008c162
mov esi, ecx
jmp 0x1008c166
cmp ebx, dword [esi + 0x114]
jb 0x1008c578
cmp ebx, dword [esi + 0x118]
jae 0x1008c578
mov eax, dword [esi + 0x110]
mov dword [ebx], eax
dec dword [esi + 0xfc]
mov dword [esi + 0x110], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret