Function at 0x41826d
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x208
cmp dword [0x45f014], 0
jne 0x418283
mov al, 1
jmp 0x4185b4
push ebx
push ebp
push esi
push edi
mov ebp, 0x460520
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [0x45f014], 1
jne 0x418589
call fcn.004181c0
xor edx, edx
lea ecx, [esp + 0x10]
push ebx
inc edx
call fcn.00435c08
lea eax, [esp + 0x14]
mov dword [esp], 0x453a30
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4185a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_step
push esi
call edi
mov dword [0x45f37c], eax
test eax, eax
je 0x418576
push str.sqlite3_clear_bindings
push esi
call edi
mov dword [0x45f3d0], eax
test eax, eax
je 0x418576
push str.sqlite3_reset
push esi
call edi
mov dword [0x45f368], eax
test eax, eax
je 0x418576
push str.sqlite3_busy_timeout
push esi
call edi
mov dword [0x45f39c], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_double
push esi
call edi
mov dword [0x45f3d4], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_int
push esi
call edi
mov dword [0x45f378], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_int64
push esi
call edi
mov dword [0x45f3b8], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_null
push esi
call edi
mov dword [0x45f364], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_text
push esi
call edi
mov dword [0x45f3a4], eax
test eax, eax
je 0x418576
push str.sqlite3_bind_blob
push esi
call edi
mov dword [0x45f388], eax
test eax, eax
je 0x418576
push str.sqlite3_column_count
push esi
call edi
mov dword [0x45f384], eax
test eax, eax
je 0x418576
push str.sqlite3_column_decltype
push esi
call edi
mov dword [0x45f3ac], eax
test eax, eax
je 0x418576
push str.sqlite3_column_type
push esi
call edi
mov dword [0x45f3c8], eax
test eax, eax
je 0x418576
push str.sqlite3_column_int
push esi
call edi
mov dword [0x45f3b0], eax
test eax, eax
je 0x418576
push str.sqlite3_column_int64
push esi
call edi
mov dword [0x45f360], eax
test eax, eax
je 0x418576
push str.sqlite3_column_double
push esi
call edi
mov dword [0x45f36c], eax
test eax, eax
je 0x418576
push str.sqlite3_column_text
push esi
call edi
mov dword [0x45f398], eax
test eax, eax
je 0x418576
push str.sqlite3_column_blob
push esi
call edi
mov dword [0x45f38c], eax
test eax, eax
je 0x418576
push str.sqlite3_column_bytes
push esi
call edi
mov dword [0x45f380], eax
test eax, eax
je 0x418576
push str.sqlite3_sql
push esi
call edi
mov dword [0x45f374], eax
test eax, eax
je 0x418576
push str.sqlite3_prepare_v2
push esi
call edi
mov dword [0x45f3a8], eax
test eax, eax
je 0x418576
push str.sqlite3_changes
push esi
call edi
mov dword [0x45f3a0], eax
test eax, eax
je 0x418576
push str.sqlite3_exec
push esi
call edi
mov dword [0x45f390], eax
test eax, eax
je 0x418576
push str.sqlite3_finalize
push esi
call edi
mov dword [0x45f3d8], eax
test eax, eax
je 0x418576
push str.sqlite3_last_insert_rowid
push esi
call edi
mov dword [0x45f394], eax
test eax, eax
je 0x418576
push str.sqlite3_errcode
push esi
call edi
mov dword [0x45f370], eax
test eax, eax
je 0x418576
push str.sqlite3_file_control
push esi
call edi
mov dword [0x45f3cc], eax
test eax, eax
je 0x418576
push str.sqlite3_initialize
push esi
call edi
mov dword [0x45f3bc], eax
test eax, eax
je 0x418576
push str.sqlite3_db_config
push esi
call edi
mov dword [0x45f3c0], eax
test eax, eax
je 0x418576
push str.sqlite3_extended_result_codes
push esi
call edi
mov dword [0x45f3c4], eax
test eax, eax
je 0x418576
push str.sqlite3_close
push esi
call edi
mov dword [0x45f35c], eax
test eax, eax
je 0x418576
push str.sqlite3_errmsg
push esi
call edi
mov dword [0x45f3dc], eax
test eax, eax
je 0x418576
push str.sqlite3_open
push esi
call edi
mov dword [0x45f3b4], eax
test eax, eax
jne 0x418589
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x45f014], 1
jmp 0x4185a7
call dword [0x45f3bc]
test eax, eax
jne 0x41859d
mov dword [0x45f014], ebx
mov bl, 1
jmp 0x4185a7
mov dword [0x45f014], 2
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x208
ret