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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x40], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x24], eax
jne 0x1009ed74
cmp byte [eax + 0x49], 0
jne 0x1009ed74
call fcn.1009efa0
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x1009ed74
push 0
push 0
push 0x6d
mov edx, esi
mov ecx, edi
call fcn.10081740
mov ecx, eax
xor eax, eax
add esp, 0xc
cmp dword [esi + 0xc], eax
mov dword [esp + 0x58], ecx
setne al
mov dword [esp + 0x70], eax
test ecx, ecx
jne 0x1009e537
mov eax, dword [edi]
test dword [eax + 0x1c], 0x4000
je 0x1009e52d
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.100e7ea0
add esp, 4
cmp dword [eax + 8], 0
jne 0x1009e537
cmp dword [esi + 0x10], 0
jne 0x1009e537
mov dword [esp + 0x14], 0
jmp 0x1009e53f
mov dword [esp + 0x14], 1
mov edx, esi
mov ecx, edi
call fcn.100a36b0
test eax, eax
jne 0x1009ed74
cmp dword [esp + 0x58], eax
mov edx, esi
setne al
mov ecx, edi
push eax
call fcn.1009ef20
add esp, 4
test eax, eax
jne 0x1009ed74
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x24]
call fcn.1008e910
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov edx, 9
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.100a7070
add esp, 0xc
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x1009ed74
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov dword [ecx + 0x38], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
xor edx, edx
mov dword [esp + 0x50], edx
test eax, eax
je 0x1009e5e0
jmp 0x1009e5d0
inc ecx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x1009e5d0
mov dword [esp + 0x50], edx
cmp dword [esp + 0x70], 0
je 0x1009e5ff
mov eax, dword [edi + 0x1b8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov dword [esp + 0x28], edi
mov dword [edi + 0x1b8], eax
jmp 0x1009e60f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x74], esi
test esi, esi
jne 0x1009e640
cmp dword [edi + 0x78], esi
jne 0x1009e62b
mov eax, dword [edi]
test byte [eax + 0x44], 8
jne 0x1009e62b
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.100c9330
mov esi, eax
mov dword [esp + 0x74], eax
test esi, esi
je 0x1009e982
cmp byte [edi + 0x12], 0
jne 0x1009e64d
or dword [esi + 0x94], 0x10
push dword [esp + 0x18]
mov edx, 1
mov ecx, edi
call fcn.100a0830
add esp, 4
cmp dword [esp + 0x70], 0
je 0x1009e688
push dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push dword [ebp + 8]
mov ecx, edi
call fcn.1009edc0
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x80], xmm0
lea ecx, [esp + 0x80]
movdqa xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.100b4e10
test eax, eax
jne 0x1009e982
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x1c], 0x80
je 0x1009e6f0
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
push 0
mov edx, 0x43
mov ecx, esi
mov dword [esp + 0x5c], eax
call fcn.100c8eb0
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp dword [esp + 0x3c], 0
jne 0x1009e7a6
cmp dword [ebp + 8], 0
jne 0x1009e7a6
cmp dword [esp + 0x14], 0
jne 0x1009e7a6
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], 0
jne 0x1009e7a6
cmp dword [ecx + 0xe8], 0
jne 0x1009e7a6
push dword [eax]
mov edx, dword [esp + 0x1c]
push 1
push dword [eax + 0x1c]
mov ecx, edi
call fcn.100a6f40
mov eax, dword [esp + 0x18]
add esp, 0xc
test byte [eax + 0x24], 0x20
jne 0x1009e768
push 0xffffffffffffffff
push dword [eax]
mov edx, 0x85
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x24]
push dword [eax + 0x1c]
call fcn.100c8bd0
mov eax, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
test eax, eax
je 0x1009ed01
mov edi, eax
lea esp, [esp]
push dword [esp + 0x18]
mov edx, 0x85
push dword [edi + 0x2c]
mov ecx, esi
call fcn.100c8eb0
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x1009e780
mov edi, dword [esp + 0x10]
jmp 0x1009ed01
test byte [esp + 0x9c], 0x40
mov ecx, dword [esp + 0x14]
mov eax, 1
cmovne ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 8
cmovne eax, edx
mov ecx, 0x414
or ax, cx
movzx eax, ax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x1009e808
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
push eax
mov dword [esp + 0x38], edx
push edx
mov edx, 0x46
mov ecx, esi
mov dword [esp + 0x20], 1
mov dword [esp + 0x6c], eax
call fcn.100c8eb0
add esp, 8
jmp 0x1009e85a
mov ecx, eax
call fcn.100a5960
movzx ecx, word [eax + 0x32]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], ecx
lea edx, [eax + 1]
movsx ecx, cx
mov dword [esp + 0x4c], edx
mov edx, dword [edi + 0x28]
add eax, ecx
push ecx
mov dword [edi + 0x2c], eax
lea eax, [edx + 1]
mov dword [esp + 0x48], edx
push edx
mov edx, 0x6c
mov ecx, esi
mov dword [edi + 0x28], eax
call fcn.100c8eb0
mov edx, dword [esp + 0x3c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.100c8020
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x40]
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.1006f570
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x1009e982
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x3c], eax
movzx eax, byte [ecx + 0x31]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
test byte [eax + 0x1c], 0x80
je 0x1009e8bc
push 1
push dword [esp + 0x58]
mov edx, 0x50
mov ecx, esi
call fcn.100c8eb0
add esp, 8
mov edx, dword [esp + 0x34]
test edx, edx
je 0x1009e91c
mov eax, dword [esp + 0x18]
cwde
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jle 0x1009e912
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
push eax
push dword [esp + 0x28]
mov ecx, esi
call fcn.100af330
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
movsx eax, dx
mov edx, dword [esp + 0x40]
inc ecx
add esp, 0xc
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x1009e8d7
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jmp 0x1009e943
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0xc]
push 0
inc eax
push eax
push dword [esp + 0x28]
mov ecx, edi
push 0xffffffffffffffff
call fcn.100af250
add esp, 0x10
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x2c]
jle 0x1009e943
mov dword [edi + 0x2c], eax
cmp dword [esp + 0x38], 0
je 0x1009ea45
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
movzx eax, ax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
add eax, 2
cdq
push edx
push eax
call fcn.100ec7e0
mov ecx, eax
add esp, 8
mov dword [esp + 0x48], ecx
test ecx, ecx
jne 0x1009e9e3
mov ecx, dword [esp + 0x60]
call fcn.1006ebc0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009e994
mov dword [eax + 0x1b8], ecx
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.100a0ee0
mov eax, dword [ebp + 8]
test eax, eax
je 0x1009e9b3
mov edx, eax
mov ecx, esi
call fcn.100b3630
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x1009edae
test esi, esi
je 0x1009eda5
cmp dword [esi + 0x1d8], 0
je 0x1009ed81
mov edx, ecx
mov ecx, esi
call fcn.100ecc10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.10003750
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x84]
add esp, 0xc
test eax, eax
js 0x1009ea16
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x3c]
test eax, eax
js 0x1009ea24
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1009ea35
mov edx, eax
mov ecx, esi
call fcn.100c8260
mov ecx, esi
call fcn.100c89b0
mov dword [esp + 0x68], eax
jmp 0x1009ead6
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1009eab1
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movsx esi, ax
push esi
push ecx
mov edx, ecx
mov ecx, dword [edi]
mov dword [esp + 0x1c], 0
call fcn.10097aa0
mov ecx, dword [esp + 0x7c]
add esp, 4
mov edx, 0x63
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x5c]
call fcn.100c8bd0
add esp, 0x14
mov edx, 0x7f
push esi
push dword [esp + 0x50]
mov esi, dword [esp + 0x7c]
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x50]
call fcn.100c8a80
add esp, 0x10
jmp 0x1009eacd
push eax
push dword [esp + 0x68]
mov edx, 0x8f
mov ecx, esi
mov dword [esp + 0x1c], 1
call fcn.100c8eb0
add esp, 8
mov ecx, dword [esp + 0x60]
call fcn.1006ebc0
cmp dword [esp + 0x70], 0
jne 0x1009eb36
cmp dword [esp + 0x38], 2
mov dword [esp + 0x30], 0
jne 0x1009eafc
mov edx, 0x14
mov ecx, esi
call fcn.100c8f90
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x50]
mov ecx, edi
push dword [esp + 0x2c]
push 8
push 0x69
call fcn.10094390
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, 2
jne 0x1009eb3a
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.100c8580
jmp 0x1009eb3e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009eb82
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 0x38], 0
jne 0x1009ebfe
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x20]
cmp byte [eax + edx], 0
je 0x1009ebf8
mov eax, dword [esp + 0x14]
cwde
push eax
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x70]
push edx
mov edx, 0x1d
call fcn.100c8a80
add esp, 0x10
jmp 0x1009ebf0
cmp dword [esp + 0x34], 0
mov ecx, esi
je 0x1009ebd5
push dword [esp + 0x44]
mov edx, 0x25
call fcn.100c8f20
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
add esp, 4
cmp dword [eax + 0x38], 0
push dword [esp + 0x10]
mov ecx, esi
je 0x1009ebc2
push 0
push dword [esp + 0x4c]
mov edx, 0x60
call fcn.100c9000
jmp 0x1009ebed
push dword [esp + 0x48]
mov edx, 0x7a
call fcn.100c8eb0
add esp, 8
jmp 0x1009ebf0
push dword [esp + 0x10]
mov edx, 0x2a
push 0
push dword [esp + 0x6c]
call fcn.100c9000
mov dword [esp + 0x4c], eax
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x38], 0
je 0x1009ec76
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1009ec1f
mov ecx, dword [esp + 0x24]
lea ecx, [ecx]
cmp dword [eax], ecx
je 0x1009ec1b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x1009ec10
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.1007c840
push 0xfffffffffffffff4
push dword [esp + 0x34]
mov edx, 0xc
push dword [esp + 0x18]
mov ecx, esi
push 1
push 0
call fcn.100c8bd0
add esp, 0x14
mov edx, 2
mov ecx, esi
call fcn.100c85b0
mov eax, dword [edi + 0x78]
test eax, eax
mov ecx, edi
cmovne ecx, eax
mov eax, dword [esp + 0x38]
mov byte [ecx + 0x15], 1
cmp eax, 1
jne 0x1009ecb1
cmp dword [edi + 0x78], 0
jne 0x1009ecb5
mov byte [edi + 0x14], 0
jmp 0x1009ecb5
push dword [esp + 0x3c]
cmp byte [edi + 0x12], 0
push dword [esp + 0x3c]
sete al
push 0xa
movzx eax, al
push eax
push dword [esp + 0x24]
mov ecx, edi
push dword [esp + 0x24]
push dword [esp + 0x84]
push edx
push dword [esp + 0x78]
mov edx, dword [esp + 0x30]
call fcn.1009e030
mov eax, dword [esp + 0x5c]
add esp, 0x24
test eax, eax
je 0x1009eccb
mov edx, dword [esp + 0x68]
mov ecx, esi
call fcn.100c8990
mov ecx, dword [esp + 0x60]
call fcn.1006ebc0
jmp 0x1009ed01
cmp dword [esp + 0x34], 0
mov ecx, esi
je 0x1009eced
mov eax, dword [esp + 0x40]
inc eax
push eax
push dword [esp + 0x48]
mov edx, 7
call fcn.100c8eb0
add esp, 8
jmp 0x1009ecf6
mov edx, dword [esp + 0x40]
call fcn.100c8e40
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.100c8580
cmp byte [edi + 0x12], 0
jne 0x1009ed1a
cmp dword [edi + 0x7c], 0
jne 0x1009ed1a
cmp dword [edi + 0x74], 0
je 0x1009ed1a
mov ecx, edi
call fcn.10097560
mov eax, dword [esp + 0x24]
test byte [eax + 0x1c], 0x80
je 0x1009e982
cmp byte [edi + 0x12], 0
jne 0x1009e982
cmp dword [edi + 0x7c], 0
jne 0x1009e982
push 1
push dword [esp + 0x58]
mov edx, 0x4e
mov ecx, esi
call fcn.100c8eb0
mov edx, 1
mov ecx, esi
call fcn.100c6f10
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.100c6ec0
add esp, 0x14
jmp 0x1009e982
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x1009e98a
cmp ecx, dword [esi + 0x130]
jb 0x1009eda5
cmp ecx, dword [esi + 0x134]
jae 0x1009eda5
mov eax, dword [esi + 0x12c]
mov dword [ecx], eax
mov dword [esi + 0x12c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call sym.SQLite.Interop.dll_sqlite3_free
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret