Function at 0x10013f90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100706c1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x10085510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xde
push str.jsp::CJSPApi::Initialize
push str._s__d
xor ebx, ebx
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
add esp, 0x14
call fcn.10015480
xor ecx, ecx
mov word [ebp - 0x490], cx
mov ecx, eax
mov dword [ebp - 0x47c], 7
mov dword [ebp - 0x480], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10014001
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.10014ce0
push 0x3ff
lea edx, [ebp - 0x473]
push ebx
mov dword [ebp - 4], ebx
push edx
mov byte [ebp - 0x474], bl
call fcn.100568e0
mov eax, dword [ebp - 0x490]
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0x47c], esi
jae 0x10014054
lea eax, [ebp - 0x490]
lea ecx, [ebp - 0x4cc]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0x400
lea ecx, [ebp - 0x474]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x474]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10014080
sub eax, edx
push eax
lea edx, [ebp - 0x474]
push edx
mov ecx, 0x10087100
call fcn.100040d0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x490]
push eax
mov ecx, 0x1008711c
call fcn.10010590
cmp dword [0x10087114], 0x10
mov eax, dword [0x10087100]
jae 0x100140c2
mov eax, 0x10087100
push eax
push str.PATH__s
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
add esp, 0x10
push 0xe5
push str.jsp::CJSPApi::Initialize
push str._s__d
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
push str.SQLite.Interop.dll
lea ecx, [ebp - 0x490]
push ecx
lea edx, [ebp - 0x4c8]
push edx
call fcn.10015030
add esp, 0x20
mov eax, 1
mov byte [ebp - 4], al
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test byte [0x10088838], al
jne 0x10014152
or dword [0x10088838], eax
mov eax, dword [ebp - 0x4c8]
cmp dword [ebp - 0x4b4], esi
jae 0x1001413d
lea eax, [ebp - 0x4c8]
push eax
call edi
push 0x10071c70
mov dword [0x100886a4], eax
call fcn.10053842
add esp, 4
mov eax, dword [0x100886a4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.sqlite3_key
push eax
call esi
mov ecx, dword [0x100886a4]
push str.sqlite3_open_v2
push ecx
mov dword [0x100885fc], eax
call esi
mov edx, dword [0x100886a4]
push str.sqlite3_open
push edx
mov dword [0x10088600], eax
call esi
mov dword [0x10088604], eax
mov eax, dword [0x100886a4]
push str.sqlite3_prepare_v2
push eax
call esi
mov ecx, dword [0x100886a4]
push str.sqlite3_step
push ecx
mov dword [0x10088608], eax
call esi
mov edx, dword [0x100886a4]
push str.sqlite3_column_count
push edx
mov dword [0x1008860c], eax
call esi
mov dword [0x10088610], eax
mov eax, dword [0x100886a4]
push str.sqlite3_column_name
push eax
call esi
mov ecx, dword [0x100886a4]
push str.sqlite3_column_type
push ecx
mov dword [0x10088614], eax
call esi
mov edx, dword [0x100886a4]
push str.sqlite3_column_text
push edx
mov dword [0x10088618], eax
call esi
mov dword [0x1008861c], eax
mov eax, dword [0x100886a4]
push str.sqlite3_column_int
push eax
call esi
mov ecx, dword [0x100886a4]
push str.sqlite3_finalize
push ecx
mov dword [0x10088620], eax
call esi
mov edx, dword [0x100886a4]
push str.sqlite3_close_v2
push edx
mov dword [0x10088624], eax
call esi
mov dword [0x10088628], eax
push 0x1007ed04
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
call fcn.10015030
add esp, 0xc
mov byte [ebp - 4], 2
test byte [0x10088838], 2
jne 0x10014291
or dword [0x10088838], 2
cmp dword [ebp - 0x498], 8
mov eax, dword [ebp - 0x4ac]
jae 0x1001427c
lea eax, [ebp - 0x4ac]
push eax
call edi
push 0x10071c50
mov dword [0x100886a0], eax
call fcn.10053842
add esp, 4
mov edx, dword [0x100886a0]
push str.OpenJsp
push edx
call esi
mov dword [0x1008862c], eax
mov eax, dword [0x100886a0]
push str.CloseJsp
push eax
call esi
mov ecx, dword [0x100886a0]
push str.CallCmdQiYe
push ecx
mov dword [0x10088630], eax
call esi
mov edx, dword [0x100885fc]
push edx
push str.sqlite3_key__p
push ebx
mov dword [0x10088634], eax
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x10088600]
add esp, 0x10
push eax
push str.sqlite3_open_v2__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov ecx, dword [0x10088604]
add esp, 0x10
push ecx
push str.sqlite3_open__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov edx, dword [0x10088608]
add esp, 0x10
push edx
push str.sqlite3_prepare_v2__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x1008860c]
add esp, 0x10
push eax
push str.sqlite3_step__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov ecx, dword [0x10088610]
add esp, 0x10
push ecx
push str.sqlite3_column_count__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov edx, dword [0x10088614]
add esp, 0x10
push edx
push str.sqlite3_column_name__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x10088618]
add esp, 0x10
push eax
push str.sqlite3_column_type__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov ecx, dword [0x1008861c]
add esp, 0x10
push ecx
push str.sqlite3_column_text__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov edx, dword [0x10088620]
add esp, 0x10
push edx
push str.sqlite3_column_int__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x10088624]
add esp, 0x10
push eax
push str.sqlite3_finalize__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov ecx, dword [0x10088628]
add esp, 0x10
push ecx
push str.sqlite3_close_v2__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov edx, dword [0x1008862c]
add esp, 0x10
push edx
push str.OpenJsp__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x10088630]
add esp, 0x10
push eax
push str.CloseJsp__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov ecx, dword [0x10088634]
add esp, 0x10
push ecx
push str.CallCmdQiYe__p
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov esi, 8
add esp, 0x10
cmp dword [ebp - 0x498], esi
jb 0x10014475
mov edx, dword [ebp - 0x4ac]
push edx
call fcn.10053416
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x49c], ebx
mov word [ebp - 0x4ac], ax
cmp dword [ebp - 0x4b4], esi
jb 0x100144a6
mov ecx, dword [ebp - 0x4c8]
push ecx
call fcn.10053416
add esp, 4
xor edx, edx
mov dword [ebp - 0x4b4], edi
mov dword [ebp - 0x4b8], ebx
mov word [ebp - 0x4c8], dx
cmp dword [ebp - 0x47c], esi
jb 0x100144d2
mov eax, dword [ebp - 0x490]
push eax
call fcn.10053416
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052dab
mov esp, ebp
pop ebp
ret