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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, ecx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], edx
mov dword [edx], esi
call sym.nss3.dll_sqlite3_initialize
test eax, eax
jne 0x10067840
mov eax, dword [ebp + 8]
test ax, ax
js 0x10067161
cmp byte [0x101f1024], 0
je 0x10067161
bt eax, 0x10
jb 0x10067847
movzx esi, byte [0x101f1025]
bt eax, 0x12
mov dword [ebp - 0x2c], edi
jb 0x100677c1
cmp dword [0x101f10e8], 0
jne 0x10067a01
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.10142fa0
mov dword [ebp - 0x30], 7
test eax, eax
je 0x10067821
mov edi, eax
push 0x220
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ebx, ebx
test esi, esi
je 0x1006784f
cmp byte [0x101f1024], 0
je 0x10067818
mov ecx, dword [0x101f1068]
call dword [section..00cfg]
push 1
call ecx
add esp, 4
mov dword [edi + 0xc], eax
test eax, eax
je 0x10067818
mov esi, eax
mov ecx, dword [0x101f1070]
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 [0x101b204c]
movups xmmword [edi + 0x98], xmm0
movups xmm0, xmmword [0x101b202c]
movups xmmword [edi + 0x78], xmm0
movups xmm0, xmmword [0x101b203c]
movups xmmword [edi + 0x88], xmm0
mov dword [edi + 0xa4], ebx
mov byte [edi + 0x55], 1
mov byte [edi + 0x5a], 0xff
mov edx, dword [0x101f10c8]
mov esi, dword [0x101f10cc]
mov dword [edi + 0x34], esi
mov dword [edi + 0x30], edx
mov dword [edi + 0x64], ebx
mov dword [edi + 0xb8], 0x101f183c
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, 0x10005340
mov ecx, edi
mov edx, 0x101b1a9f
push ebx
push esi
push ebx
xor eax, eax
inc eax
push eax
call fcn.1001e860
add esp, 0x10
mov ecx, edi
mov edx, 0x101b1a9f
push ebx
push esi
push ebx
push 3
call fcn.1001e860
add esp, 0x10
mov ecx, edi
mov edx, 0x101b1a9f
push ebx
push esi
push ebx
mov eax, 2
push eax
call fcn.1001e860
add esp, 0x10
mov ecx, edi
mov edx, str.NOCASE
push ebx
push 0x10186840
push ebx
xor eax, eax
inc eax
push eax
mov esi, eax
call fcn.1001e860
add esp, 0x10
mov ecx, edi
mov edx, str.RTRIM
push ebx
push 0x101868c0
push ebx
push esi
call fcn.1001e860
add esp, 0x10
cmp byte [edi + 0x57], 0
jne 0x1006767d
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x3c], eax
mov ecx, dword [ebp - 0x24]
and ecx, 7
mov eax, 0x46
bt eax, ecx
mov ebx, edi
jae 0x10067858
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x1c]
lea edi, [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
push eax
push esi
push ebx
push edi
call fcn.10067fc0
add esp, 0x10
test eax, eax
jne 0x100678a1
mov eax, 0x100
or eax, dword [ebp - 0x18]
mov ecx, dword [ebx]
mov esi, dword [ebx + 0x10]
add esi, 4
mov edx, dword [ebp - 0x1c]
push eax
push 0
push esi
push ebx
call fcn.10014d20
add esp, 0x10
test eax, eax
mov edi, ebx
jne 0x100678b6
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
jne 0x100677e8
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 4]
mov ecx, edi
call fcn.10067bf0
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [edi + 0x57], 0
jne 0x1006745f
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x1b4]
mov eax, dword [eax + 0xc]
movzx ebx, byte [eax + 0x4d]
mov byte [edi + 0x54], bl
test ecx, ecx
mov dword [ebp - 0x34], edi
jne 0x100677cb
mov esi, edi
add edi, 0x1b0
add esi, 0x1ac
mov esi, dword [esi]
mov eax, 0x101f4340
test esi, esi
je 0x1006743f
mov dword [ebp - 0x24], ebx
mov edi, dword [edi]
mov ebx, dword [edi + 0xc]
xor ecx, ecx
movzx edx, byte [ebx + ecx]
movzx eax, byte [ecx + 0x101b1a9f]
cmp dl, al
jne 0x10067426
test edx, edx
je 0x100677b7
inc ecx
jmp 0x1006740c
mov dl, byte [edx + 0x101b1828]
cmp dl, byte [eax + 0x101b1828]
je 0x10067423
dec esi
jne 0x10067405
mov ebx, dword [ebp - 0x24]
mov eax, 0x101f4340
mov eax, dword [eax + 8]
test eax, eax
lea ecx, [ebx + ebx*4]
lea ecx, [eax + ecx*4 - 0x14]
cmove ecx, eax
mov edi, dword [ebp - 0x34]
mov dword [edi + 8], ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x10067796
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
jne 0x100677ff
mov ecx, 0x54
xor edx, edx
call fcn.10142fa0
mov esi, eax
test eax, eax
je 0x100678d2
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 0x1006767d
mov dword [edi + 0x40], 0
cmp dword [edi + 0x11c], 0
jne 0x100678de
mov dword [edi + 0x44], 0xffffffff
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1006750f
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, edi
mov edx, 0x101d603e
push 0
push 1
push 2
call fcn.10146b40
add esp, 0xc
mov esi, eax
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x1006753f
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
test esi, esi
jne 0x100675a3
push 0x101d603e
push 0x101cd1ea
call sym.nss3.dll_sqlite3_mprintf
add esp, 8
test eax, eax
je 0x10067834
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], 0x10161370
mov dword [esp + 4], 1
mov dword [esp], 2
mov ecx, edi
mov edx, 0x101d603e
call fcn.10068fd0
add esp, 0x24
cmp eax, 7
je 0x10067834
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x100678ec
cmp byte [edi + 0x57], 0
jne 0x10067937
mov esi, dword [edi + 0x48]
and esi, dword [edi + 0x40]
jne 0x1006793c
xor ebx, ebx
mov ecx, dword [ebx*4 + 0x101b6fac]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, eax
test eax, eax
jne 0x100675eb
lea eax, [ebx + 1]
cmp ebx, 3
mov ebx, eax
jb 0x100675c8
test esi, esi
jne 0x1006793c
cmp dword [0x101f4244], 0
jne 0x10067a0b
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x10067af3
cmp byte [edi + 0x57], 0
jne 0x1006767d
mov eax, dword [edi + 0x48]
test dword [edi + 0x40], eax
jne 0x1006767d
mov ecx, edi
xor edx, edx
push dword [0x101f1038]
push dword [0x101f1034]
call fcn.10067d00
add esp, 8
mov esi, dword [edi + 0xc]
test esi, esi
je 0x100679e8
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [edi + 0xc]
mov dword [edi + 0x108], 0x100037c0
mov dword [edi + 0x10c], 0x3e8
test esi, esi
je 0x1006767d
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov esi, dword [edi + 0xc]
test esi, esi
je 0x10067696
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
movzx eax, byte [edi + 0x61]
cmp eax, 0x76
jne 0x1006794d
cmp byte [edi + 0x57], 0
jne 0x100679a6
mov eax, dword [edi + 0x48]
and eax, dword [edi + 0x40]
cmp al, 7
je 0x100679ad
xor ebx, ebx
test eax, eax
jne 0x1006799b
mov eax, dword [ebp - 0x38]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x10067782
add edi, 0xfffffffc
cmp byte [edi + 3], 0
jne 0x10067812
cmp byte [edi + 2], 0
jne 0x10067812
cmp byte [edi + 1], 0
jne 0x10067812
cmp byte [edi], 0
jne 0x10067812
cmp dword [0x101f1020], 0
je 0x100679b7
mov esi, dword [0x101f4170]
test esi, esi
je 0x1006772f
mov ecx, dword [0x101f1070]
cmp ecx, 0x10137970
jne 0x100679c6
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ecx, dword [0x101f104c]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
sub dword [0x101f411c], eax
dec dword [0x101f4140]
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov esi, dword [0x101f4170]
test esi, esi
je 0x10067782
mov ecx, dword [0x101f1078]
cmp ecx, 0x10129ee0
jne 0x100679d7
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x98]
and edx, 0xfffffffc
or edx, 2
mov dword [eax + 0x98], edx
mov eax, ecx
test ecx, ecx
je 0x1006745f
jmp 0x10067796
mov eax, edi
mov ebx, dword [ebp - 0x24]
jmp 0x1006743f
and eax, 0xfffdffff
jmp 0x1006717b
add edi, 0x1a8
mov eax, 0x2eb35835
xor edx, edx
div dword [edi]
lea esi, [ecx + edx*8]
lea edi, [ecx + edx*8]
add edi, 4
jmp 0x100673f7
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100673ae
call fcn.10020150
jmp 0x100673ae
dec dword [ecx + 0xc]
jne 0x1006746f
call fcn.10020120
jmp 0x1006746f
dec edi
jmp 0x100676d8
push edi
call sym.nss3.dll_sqlite3_free
add esp, 4
xor ecx, ecx
xor edx, edx
call fcn.1006efb0
mov ebx, dword [ebp - 0x30]
xor edi, edi
jmp 0x100676c5
mov ecx, edi
call fcn.10157fd0
jmp 0x100675a3
mov ebx, eax
jmp 0x10067782
xor esi, esi
inc esi
jmp 0x10067161
xor eax, eax
xor ecx, ecx
jmp 0x10067205
mov edi, ebx
push 0x101db30a
push 0x2b88c
push 0x101cfb52
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, 0x101cd1ea
cmove ecx, esi
push esi
push ecx
push eax
push edi
call fcn.1005d2c0
add esp, 0x10
push esi
call sym.nss3.dll_sqlite3_free
jmp 0x1006767a
mov edi, ebx
cmp eax, 7
jne 0x1006787d
mov ecx, edi
call fcn.10157fd0
mov eax, 7
jmp 0x1006787d
cmp eax, 0xc0a
mov edx, 7
cmovne edx, eax
mov dword [edi + 0x40], edx
mov ecx, edi
call fcn.1000eea0
jmp 0x1006767d
mov ecx, edi
call fcn.10157fd0
jmp 0x100674a6
mov ecx, edi
xor edx, edx
call fcn.1000eea0
jmp 0x100674f6
cmp eax, 0x6d
je 0x100675b0
cmp eax, 0xba
je 0x100675b0
mov esi, 0x15
push 0x101d0f17
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101db30a
push 0x2b5b3
push 0x101cfb52
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
jmp 0x1006793c
mov esi, 7
mov dword [edi + 0x40], esi
mov ecx, edi
mov edx, esi
call fcn.1000eea0
jmp 0x1006761b
cmp eax, 0x6d
je 0x100676a3
cmp eax, 0xba
je 0x100676a3
mov esi, 0x15
push 0x101d0f17
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101db30a
push 0x2b5b3
push 0x101cfb52
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 0x100676c5
mov ecx, edi
jmp 0x10067823
mov ecx, edi
mov dword [ebp - 0x30], eax
jmp 0x10067823
mov ecx, dword [0x101f1044]
call dword [section..00cfg]
push edi
jmp 0x100679de
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x1006772f
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x10067782
mov dword [edi + 0x108], 0x100037c0
mov dword [edi + 0x10c], 0x3e8
jmp 0x1006767d
or eax, 0x20000
jmp 0x1006717b
xor ebx, ebx
mov al, 1
mov dword [ebp - 0x2c], eax
cmp byte [0x101f1024], 0
je 0x10067a59
mov ecx, dword [0x101f1068]
call dword [section..00cfg]
push 2
call ecx
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x10067a60
mov esi, eax
mov ecx, dword [0x101f1070]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], esi
jmp 0x10067a60
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x24], 0
cmp ebx, dword [0x101f4244]
jae 0x10067a7f
mov eax, dword [0x101f4248]
mov esi, dword [eax + ebx*4]
xor eax, eax
inc eax
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x2c], 0
jne 0x10067a99
mov ecx, dword [0x101f1078]
call dword [section..00cfg]
push dword [ebp - 0x28]
call ecx
add esp, 4
mov dword [ebp - 0x14], 0
test esi, esi
je 0x10067ad8
mov ecx, esi
call dword [section..00cfg]
push 0x101b2fb4
lea eax, [ebp - 0x14]
push eax
push edi
call esi
add esp, 0xc
test eax, eax
je 0x10067ad8
push dword [ebp - 0x14]
push str.automatic_extension_loading_failed:__s
push eax
push edi
call fcn.1005d2c0
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 0x10067a0d
jmp 0x10067600
cmp eax, 0x6d
je 0x1006760d
cmp eax, 0xba
je 0x1006760d
mov esi, 0x15
push 0x101d0f17
push str.API_call_with__s_database_connection_pointer
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0xc
push 0x101db30a
push 0x2b5b3
push 0x101cfb52
push str._s_at_line__d_of___.10s_
push esi
call sym.nss3.dll_sqlite3_log
add esp, 0x14
jmp 0x1006767d