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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [eax], ebx
call sym.e_sqlite3.dll_sqlite3_initialize
test eax, eax
jne 0x1007558a
mov eax, dword [ebp + 0x10]
push esi
cmp byte [0x101250fc], bl
jne 0x10074df6
xor esi, esi
jmp 0x10074e14
test eax, 0x8000
je 0x10074e01
xor esi, esi
jmp 0x10074e14
mov esi, 1
test eax, 0x10000
jne 0x10074e14
movzx esi, byte [0x101250fd]
test eax, 0x40000
je 0x10074e22
and eax, 0xfffdffff
jmp 0x10074e2f
cmp dword [0x101251c0], ebx
je 0x10074e2f
or eax, 0x20000
push edi
and eax, 0xfff600e7
push 0
push 0x218
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], eax
call fcn.100b3720
mov edi, eax
add esp, 8
test edi, edi
je 0x1007553b
push 0x218
push 0
push edi
call fcn.100fc010
add esp, 0xc
mov dword [ebp - 0x14], edi
test esi, esi
je 0x10074eb8
cmp byte [0x101250fc], bl
jne 0x10074e89
push edi
mov dword [edi + 0xc], ebx
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
xor eax, eax
lea esi, [eax + 7]
jmp 0x10075545
mov esi, dword [0x10125140]
mov ecx, esi
push 1
call dword [0x1010a1d8]
call esi
add esp, 4
mov dword [edi + 0xc], eax
test eax, eax
jne 0x10074eb8
push edi
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
xor eax, eax
lea esi, [eax + 7]
jmp 0x10075545
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10074ed3
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov esi, dword [ebp - 0x18]
mov eax, esi
and eax, 0x2000000
mov dword [edi + 0x14], 2
neg eax
mov byte [edi + 0x61], 0x6d
mov dword [edi + 0x130], 1
sbb eax, eax
and eax, 0xffffff00
add eax, 0xff
mov dword [edi + 0x48], eax
lea eax, [edi + 0x1cc]
mov dword [edi + 0x10], eax
xor eax, eax
mov word [edi + 0x134], ax
movups xmm0, xmmword [0x1010e01c]
push 0
push fcn.10028370
movups xmmword [edi + 0x78], xmm0
push 0
movups xmm0, xmmword [0x1010e02c]
push 1
push 0x1010d464
movups xmmword [edi + 0x88], xmm0
push edi
movups xmm0, xmmword [0x1010e03c]
mov byte [edi + 0x55], 1
mov byte [edi + 0x5a], 0xff
movups xmmword [edi + 0x98], xmm0
mov dword [edi + 0xa4], eax
mov eax, dword [0x101251a0]
mov ecx, dword [0x101251a4]
or dword [edi + 0x20], 0xe004c0e0
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x64], ebx
mov dword [edi + 0xb8], 0x10125684
mov dword [edi + 0x24], eax
mov dword [edi + 0x1b8], ebx
mov dword [edi + 0x1b4], ebx
mov dword [edi + 0x1b0], ebx
mov dword [edi + 0x1bc], ebx
mov dword [edi + 0x18c], ebx
mov dword [edi + 0x188], ebx
mov dword [edi + 0x184], ebx
mov dword [edi + 0x190], ebx
call fcn.100306d0
push 0
push fcn.10028370
push 0
push 3
push 0x1010d464
push edi
call fcn.100306d0
push 0
push fcn.10028370
push 0
push 2
push 0x1010d464
push edi
call fcn.100306d0
add esp, 0x48
push 0
push 0x10073fd0
push 0
push 1
push str.NOCASE
push edi
call fcn.100306d0
push 0
push 0x10084d20
push 0
push 1
push str.RTRIM
push edi
call fcn.100306d0
add esp, 0x30
mov dword [ebp - 4], edi
cmp byte [edi + 0x57], bl
jne 0x100752c1
mov ecx, esi
mov dword [edi + 0x3c], esi
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x10075047
push 0x2b4f5
call fcn.100b3e40
add esp, 4
jmp 0x1007506b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.100b6580
mov ebx, dword [ebp - 0x10]
add esp, 0x18
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10075137
cmp eax, 7
jne 0x10075084
push edi
call fcn.100b41c0
add esp, 4
mov esi, dword [ebp - 8]
xor ecx, ecx
test esi, esi
mov eax, 0x1010ba8c
push esi
cmove eax, ecx
push eax
push dword [ebp - 0xc]
push edi
call fcn.100966b0
add esp, 0x10
test esi, esi
je 0x1007512f
cmp dword [0x101250f8], 0
je 0x1007511b
mov eax, dword [0x10129520]
test eax, eax
je 0x100750d2
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
mov esi, dword [ebp - 8]
add esp, 4
push esi
mov esi, dword [0x10125124]
mov ecx, esi
call dword [0x1010a1d8]
call esi
sub dword [0x101294b8], eax
add esp, 4
mov eax, dword [ebp - 8]
mov esi, dword [0x1012511c]
mov ecx, esi
dec dword [0x101294dc]
push eax
call dword [0x1010a1d8]
call esi
mov eax, dword [0x10129520]
add esp, 4
test eax, eax
je 0x1007512f
mov esi, dword [0x10125150]
push eax
jmp 0x10075122
push esi
mov esi, dword [0x1012511c]
mov ecx, esi
call dword [0x1010a1d8]
call esi
add esp, 4
mov dword [ebp - 4], edi
jmp 0x100752c1
mov eax, dword [edi + 0x10]
or esi, 0x100
push esi
push 0
add eax, 4
push eax
push edi
push ebx
push dword [edi]
call fcn.1008dbf0
add esp, 0x18
test eax, eax
je 0x10075176
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
push eax
push edi
call fcn.100964d0
add esp, 8
mov dword [ebp - 4], edi
jmp 0x100752c1
mov eax, dword [edi + 0x10]
push dword [eax + 4]
call fcn.1008cba0
mov eax, dword [edi + 0x10]
push dword [eax + 4]
push edi
call fcn.100beef0
mov ecx, dword [edi + 0x10]
add esp, 0xc
mov dword [ecx + 0xc], eax
cmp byte [edi + 0x57], 0
jne 0x100751b0
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push eax
push edi
call fcn.100c2480
add esp, 8
mov eax, dword [edi + 0x10]
push dword [eax + 4]
call fcn.1008db70
push 0
push edi
call fcn.100beef0
mov ecx, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [eax], str.main
mov eax, dword [edi + 0x10]
mov byte [eax + 8], 3
mov eax, dword [edi + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [edi + 0x10]
mov byte [eax + 0x18], 1
cmp byte [edi + 0x57], 0
mov byte [edi + 0x61], 0x76
jne 0x100752c1
cmp dword [edi + 0x124], 0
mov dword [edi + 0x40], 0
je 0x1007521b
push 0
push edi
call fcn.10096500
add esp, 8
jmp 0x10075222
mov dword [edi + 0x44], 0xffffffff
push 2
push str.MATCH
push edi
call sym.e_sqlite3.dll_sqlite3_overload_function
add esp, 0xc
cmp eax, 7
jne 0x10075240
push edi
call fcn.100b41c0
add esp, 4
push edi
call sym.e_sqlite3.dll_sqlite3_errcode
mov edx, eax
mov dword [ebp - 4], edi
add esp, 4
test edx, edx
jne 0x10075290
mov eax, 0x1010e96c
mov ecx, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
nop
mov edx, edi
mov esi, ecx
cmp eax, 0x1010e980
jge 0x10075337
mov esi, dword [eax]
mov ecx, esi
push edi
call dword [0x1010a1d8]
call esi
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, edi
add eax, 4
mov dword [ebp - 0x10], eax
test edx, edx
je 0x10075260
push edx
push edi
call fcn.100964d0
add esp, 8
push dword [0x10125110]
push dword [0x1012510c]
push 0
push edi
call fcn.100870a0
push 0x3e8
push 0x100d7ad0
push edi
call sym.e_sqlite3.dll_sqlite3_wal_hook
add esp, 0x1c
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100752dc
mov esi, dword [0x10125150]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov al, byte [edi + 0x61]
cmp al, 0xba
je 0x10075513
cmp al, 0x76
je 0x10075513
cmp al, 0x6d
je 0x10075513
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call sym.e_sqlite3.dll_sqlite3_log
push 0x1011b6ec
push 0x2b21f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.e_sqlite3.dll_sqlite3_log
mov eax, dword [ebp - 4]
add esp, 0x20
mov esi, 0x15
mov byte [eax + 0x61], 0xba
jmp 0x10075552
cmp dword [0x101296d8], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edx
je 0x100754b5
xor ecx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edi
nop dword [eax]
cmp byte [0x101250fc], 0
jne 0x1007536d
xor ebx, ebx
jmp 0x1007539f
mov esi, dword [0x10125140]
mov ecx, esi
push 2
call dword [0x1010a1d8]
call esi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1007539c
mov esi, dword [0x10125148]
mov ecx, esi
push ebx
call dword [0x1010a1d8]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [0x101296d8]
jb 0x100753b7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
jmp 0x100753c2
mov eax, dword [0x101296dc]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x100753da
mov esi, dword [0x10125150]
mov ecx, esi
push ebx
call dword [0x1010a1d8]
call esi
add esp, 4
mov esi, dword [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 8], ebx
test esi, esi
je 0x10075419
push 0x1010baf0
lea eax, [ebp - 8]
mov ecx, esi
push eax
push edi
call dword [0x1010a1d8]
call esi
add esp, 0xc
test eax, eax
je 0x10075416
push dword [ebp - 8]
push str.automatic_extension_loading_failed:__s
push eax
push edi
call fcn.100966b0
add esp, 0x10
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100754a1
cmp dword [0x101250f8], 0
je 0x1007548d
mov eax, dword [0x10129520]
test eax, eax
je 0x10075447
mov esi, dword [0x10125148]
mov ecx, esi
push eax
call dword [0x1010a1d8]
call esi
add esp, 4
mov esi, dword [0x10125124]
mov ecx, esi
push ebx
call dword [0x1010a1d8]
call esi
mov esi, dword [0x1012511c]
add esp, 4
sub dword [0x101294b8], eax
mov ecx, esi
dec dword [0x101294dc]
push ebx
call dword [0x1010a1d8]
call esi
mov eax, dword [0x10129520]
add esp, 4
test eax, eax
je 0x100754a1
mov esi, dword [0x10125150]
push eax
jmp 0x10075494
mov esi, dword [0x1012511c]
push ebx
mov ecx, esi
call dword [0x1010a1d8]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
inc ecx
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ecx
jne 0x10075360
mov ebx, dword [ebp - 0x1c]
mov al, byte [edi + 0x61]
cmp al, 0xba
je 0x100754f8
cmp al, 0x76
je 0x100754f8
cmp al, 0x6d
je 0x100754f8
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call sym.e_sqlite3.dll_sqlite3_log
push 0x1011b6ec
push 0x2b21f
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call sym.e_sqlite3.dll_sqlite3_log
add esp, 0x20
jmp 0x100752c1
cmp byte [edi + 0x57], 0
jne 0x100752c1
mov eax, dword [edi + 0x40]
and eax, dword [edi + 0x48]
jne 0x100752c1
jmp 0x1007529a
cmp byte [edi + 0x57], 0
jne 0x10075538
mov ecx, dword [edi + 0x40]
and ecx, dword [edi + 0x48]
mov eax, dword [ebp - 0x14]
mov edx, ecx
mov dword [ebp - 0x1c], ecx
cmp cl, 7
je 0x10075542
mov esi, edx
test edx, edx
je 0x10075552
mov byte [eax + 0x61], 0xba
jmp 0x10075552
mov eax, dword [ebp - 4]
mov esi, 7
jmp 0x10075545
mov esi, dword [ebp - 0x1c]
push 0
push eax
call fcn.1008fb10
add esp, 8
xor eax, eax
mov ecx, dword [ebp + 0xc]
pop edi
mov dword [ecx], eax
test ebx, ebx
je 0x10075587
nop dword [eax]
cmp byte [ebx - 1], 0
jne 0x10075578
cmp byte [ebx - 2], 0
jne 0x10075578
cmp byte [ebx - 3], 0
jne 0x10075578
cmp byte [ebx - 4], 0
je 0x1007557b
dec ebx
jmp 0x10075560
lea ecx, [ebx - 4]
push ecx
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret