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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [edx], esi
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x1006645c
mov eax, dword [ebp + 8]
test ax, ax
js 0x10065e31
cmp byte [0x101ef024], 0
je 0x10065e31
bt eax, 0x10
jb 0x10066460
movzx esi, byte [0x101ef025]
bt eax, 0x12
mov dword [ebp - 0x34], edi
jb 0x100663f8
cmp dword [0x101ef0e8], 0
jne 0x1006660d
mov dword [ebp - 0x24], eax
and eax, 0xfff600e7
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov ecx, 0x220
xor edx, edx
call fcn.10143580
mov dword [ebp - 0x30], 7
test eax, eax
je 0x1006643b
mov edi, eax
push 0x220
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
test esi, esi
je 0x10066468
cmp byte [0x101ef024], 0
je 0x10066432
mov ecx, dword [0x101ef068]
call dword [section..00cfg]
push 1
call ecx
add esp, 4
mov dword [edi + 0xc], eax
test eax, eax
je 0x10066432
mov esi, eax
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
bt dword [ebp - 0x24], 0x19
mov edx, 0
sbb edx, edx
or edx, 0xff
mov dword [edi + 0x48], edx
mov edx, 2
mov dword [edi + 0x14], edx
mov byte [edi + 0x61], 0x6d
lea edx, [edi + 0x1c4]
mov dword [edi + 0x10], edx
xor edx, edx
inc edx
mov dword [edi + 0x128], edx
mov word [edi + 0x12c], 0
movups xmm0, xmmword [0x101afffc]
movups xmmword [edi + 0x98], xmm0
movups xmm0, xmmword [0x101affdc]
movups xmmword [edi + 0x78], xmm0
movups xmm0, xmmword [0x101affec]
movups xmmword [edi + 0x88], xmm0
mov dword [edi + 0xa4], ebx
mov byte [edi + 0x55], 1
mov byte [edi + 0x5a], 0xff
mov edx, dword [0x101ef0c8]
mov esi, dword [0x101ef0cc]
mov dword [edi + 0x34], esi
mov dword [edi + 0x30], edx
mov dword [edi + 0x64], ebx
mov dword [edi + 0xb8], 0x101ef83c
mov dword [edi + 0x24], ecx
or eax, 0xe00480e0
mov dword [edi + 0x20], eax
xorps xmm0, xmm0
movups xmmword [edi + 0x17c], xmm0
movups xmmword [edi + 0x1a8], xmm0
mov esi, 0x100087b0
mov ecx, edi
mov edx, 0x101afa5f
push ebx
push esi
push ebx
xor eax, eax
inc eax
push eax
call fcn.10064190
add esp, 0x10
mov ecx, edi
mov edx, 0x101afa5f
push ebx
push esi
push ebx
push 3
call fcn.10064190
add esp, 0x10
mov ecx, edi
mov edx, 0x101afa5f
push ebx
push esi
push ebx
mov eax, 2
push eax
call fcn.10064190
add esp, 0x10
mov ecx, edi
mov edx, str.NOCASE
push ebx
push 0x101847a0
push ebx
xor eax, eax
inc eax
push eax
mov esi, eax
call fcn.10064190
add esp, 0x10
mov ecx, edi
mov edx, str.RTRIM
push ebx
push 0x10184820
push ebx
push esi
call fcn.10064190
add esp, 0x10
cmp byte [edi + 0x57], 0
jne 0x100662df
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x3c], eax
mov ecx, dword [ebp - 0x24]
and ecx, 7
mov eax, 0x46
bt eax, ecx
jae 0x10066471
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x1c]
lea ebx, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
push eax
push esi
push edi
push ebx
call fcn.10066c10
add esp, 0x10
test eax, eax
jne 0x100664b8
mov eax, 0x100
or eax, dword [ebp - 0x18]
mov ecx, dword [edi]
mov esi, dword [edi + 0x10]
add esi, 4
mov edx, dword [ebp - 0x1c]
push eax
push 0
push esi
push edi
call fcn.1001b5c0
add esp, 0x10
test eax, eax
jne 0x100664cb
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
jne 0x10066402
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 4]
mov ecx, edi
call fcn.10066850
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [edi + 0x57], 0
mov esi, dword [edi + 0x10]
jne 0x100660c4
mov ecx, edi
add ecx, 0x1a8
mov eax, dword [esi + 0xc]
movzx ebx, byte [eax + 0x4d]
mov byte [edi + 0x54], bl
mov edx, 0x101afa5f
call fcn.10158ef0
mov eax, dword [eax + 8]
test eax, eax
lea ecx, [ebx + ebx*4]
lea ecx, [eax + ecx*4 - 0x14]
cmove ecx, eax
mov dword [edi + 8], ecx
mov ecx, dword [esi + 4]
cmp byte [ecx + 9], 0
jne 0x10066419
mov ecx, 0x54
xor edx, edx
call fcn.10143580
mov esi, eax
test eax, eax
je 0x100664e7
xorps xmm0, xmm0
movups xmmword [esi + 0x40], xmm0
movups xmmword [esi + 0x30], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x50], 0
mov byte [esi + 0x4d], 1
mov eax, dword [edi + 0x10]
mov dword [eax + 0x1c], esi
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
mov byte [edi + 0x61], 0x76
cmp byte [edi + 0x57], 0
jne 0x100662df
mov dword [edi + 0x40], 0
cmp dword [edi + 0x11c], 0
jne 0x100664f3
mov dword [edi + 0x44], 0xffffffff
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10066171
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, edi
mov edx, 0x101d3e76
push 0
push 1
push 2
call fcn.10151720
add esp, 0xc
mov esi, eax
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x100661a1
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
test esi, esi
jne 0x10066205
push 0x101d3e76
push 0x101caf3f
call sym.nss3.dll_sqlite3_mprintf
add esp, 8
test eax, eax
je 0x10066450
sub esp, 0x24
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 8], eax
mov dword [esp + 0x20], sym.nss3.dll_sqlite3_free
mov dword [esp + 0xc], 0x10160630
mov dword [esp + 4], 1
mov dword [esp], 2
mov ecx, edi
mov edx, 0x101d3e76
call fcn.10067bf0
add esp, 0x24
cmp eax, 7
je 0x10066450
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x10066501
cmp byte [edi + 0x57], 0
jne 0x1006654c
mov esi, dword [edi + 0x48]
and esi, dword [edi + 0x40]
jne 0x10066551
xor ebx, ebx
mov ecx, dword [ebx*4 + 0x101b4f14]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, eax
test eax, eax
jne 0x1006624d
lea eax, [ebx + 1]
cmp ebx, 3
mov ebx, eax
jb 0x1006622a
test esi, esi
jne 0x10066551
cmp dword [0x101f2214], 0
jne 0x10066617
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x100666ff
cmp byte [edi + 0x57], 0
jne 0x100662df
mov eax, dword [edi + 0x48]
test dword [edi + 0x40], eax
jne 0x100662df
mov ecx, edi
xor edx, edx
push dword [0x101ef038]
push dword [0x101ef034]
call fcn.10066950
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100665f4
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [edi + 0xc]
mov dword [edi + 0x108], 0x10006990
mov dword [edi + 0x10c], 0x3e8
test esi, esi
je 0x100662df
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100662f8
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x10066562
cmp byte [edi + 0x57], 0
jne 0x1006643d
mov eax, dword [edi + 0x48]
and eax, dword [edi + 0x40]
cmp al, 7
je 0x100665bb
xor ebx, ebx
test eax, eax
jne 0x100665b0
mov eax, dword [ebp - 0x34]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x100663e4
add edi, 0xfffffffc
cmp byte [edi + 3], 0
jne 0x1006642c
cmp byte [edi + 2], 0
jne 0x1006642c
cmp byte [edi + 1], 0
jne 0x1006642c
cmp byte [edi], 0
jne 0x1006642c
cmp dword [0x101ef020], 0
je 0x100665c3
mov esi, dword [0x101f2140]
test esi, esi
je 0x10066391
mov ecx, dword [0x101ef070]
cmp ecx, 0x10137ef0
jne 0x100665d2
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101ef04c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
sub dword [0x101f20ec], eax
dec dword [0x101f2110]
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, dword [0x101f2140]
test esi, esi
je 0x100663e4
mov ecx, dword [0x101ef078]
cmp ecx, 0x10137ee0
jne 0x100665e3
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
and eax, 0xfffdffff
jmp 0x10065e4b
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x1006607a
call fcn.10005b90
jmp 0x1006607a
dec dword [ecx + 0xc]
jne 0x100660d1
call fcn.10005b60
jmp 0x100660d1
dec edi
jmp 0x1006633a
push edi
call sym.nss3.dll_sqlite3_free
add esp, 4
xor edi, edi
mov ecx, edi
xor edx, edx
call fcn.1006da10
mov ebx, dword [ebp - 0x30]
xor edi, edi
jmp 0x10066327
mov ecx, edi
call fcn.10157ae0
jmp 0x10066205
mov ebx, eax
jmp 0x100663e4
xor esi, esi
inc esi
jmp 0x10065e31
xor eax, eax
xor ecx, ecx
jmp 0x10065ed5
push 0x101cff9b
push 0x2b4f5
push 0x101cd882
push str._s_at_line__d_of___.10s_
push 0x15
call sym.nss3.dll_sqlite3_log
add esp, 0x14
mov eax, 0x15
mov esi, dword [ebp - 0x20]
test esi, esi
mov ecx, 0x101caf3f
cmove ecx, esi
push esi
push ecx
push eax
push edi
call fcn.10058a30
add esp, 0x10
push esi
call sym.nss3.dll_sqlite3_free
jmp 0x100662dc
cmp eax, 7
jne 0x10066494
mov ecx, edi
call fcn.10157ae0
mov eax, 7
jmp 0x10066494
cmp eax, 0xc0a
mov edx, 7
cmovne edx, eax
mov dword [edi + 0x40], edx
mov ecx, edi
call fcn.100667f0
jmp 0x100662df
mov ecx, edi
call fcn.10157ae0
jmp 0x10066108
mov ecx, edi
xor edx, edx
call fcn.100667f0
jmp 0x10066158
cmp eax, 0x6d
je 0x10066212
cmp eax, 0xba
je 0x10066212
mov esi, 0x15
push 0x101cec3d
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101cff9b
push 0x2b21f
push 0x101cd882
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
jmp 0x10066551
mov esi, 7
mov dword [edi + 0x40], esi
mov ecx, edi
mov edx, esi
call fcn.100667f0
jmp 0x1006627d
cmp eax, 0x6d
je 0x10066305
cmp eax, 0xba
je 0x10066305
mov esi, 0x15
push 0x101cec3d
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101cff9b
push 0x2b21f
push 0x101cd882
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
mov eax, 0x15
add esp, 0x14
mov byte [edi + 0x61], 0xba
mov ebx, eax
jmp 0x10066327
mov dword [ebp - 0x30], eax
jmp 0x1006643d
mov ecx, dword [0x101ef044]
call dword [section..00cfg]
push edi
jmp 0x100665ea
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10066391
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x100663e4
mov dword [edi + 0x108], 0x10006990
mov dword [edi + 0x10c], 0x3e8
jmp 0x100662df
or eax, 0x20000
jmp 0x10065e4b
xor ebx, ebx
mov al, 1
mov dword [ebp - 0x2c], eax
cmp byte [0x101ef024], 0
je 0x10066665
mov ecx, dword [0x101ef068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x1006666c
mov esi, eax
mov ecx, dword [0x101ef070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], esi
jmp 0x1006666c
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x24], 0
cmp ebx, dword [0x101f2214]
jae 0x1006668b
mov eax, dword [0x101f2218]
mov esi, dword [eax + ebx*4]
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x2c], 0
jne 0x100666a5
mov ecx, dword [0x101ef078]
call dword [section..00cfg]
push dword [ebp - 0x28]
call ecx
add esp, 4
mov dword [ebp - 0x14], 0
test esi, esi
je 0x100666e4
mov ecx, esi
call dword [section..00cfg]
push 0x101b0f5c
lea eax, [ebp - 0x14]
push eax
push edi
call esi
add esp, 0xc
test eax, eax
je 0x100666e4
push dword [ebp - 0x14]
push str.automatic_extension_loading_failed:__s
push eax
push edi
call fcn.10058a30
add esp, 0x10
mov dword [ebp - 0x24], 0
push dword [ebp - 0x14]
call sym.nss3.dll_sqlite3_free
add esp, 4
inc ebx
cmp dword [ebp - 0x24], 0
jne 0x10066619
jmp 0x10066262
cmp eax, 0x6d
je 0x1006626f
cmp eax, 0xba
je 0x1006626f
mov esi, 0x15
push 0x101cec3d
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101cff9b
push 0x2b21f
push 0x101cd882
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
jmp 0x100662df